/* Eagle Match 5.13.7 — matchmaking, profile, collection and store refresh */
:root{
  --em-gold:#e5b765;--em-gold-bright:#f4cf88;--em-gold-soft:rgba(229,183,101,.14);
  --em-card:#15181d;--em-card-raised:#1b1f25;--em-border:#343b43;--em-border-soft:rgba(255,255,255,.075);
  --em-copy:#f5f2ec;--em-dim:#9ca3aa;--em-shadow:0 20px 55px rgba(0,0,0,.28);
}
#dashView .content{background:radial-gradient(900px 420px at 4% 0%,rgba(217,170,87,.045),transparent 72%),linear-gradient(180deg,rgba(255,255,255,.008),transparent 36%)}
#dashView .page{max-width:1320px;padding-bottom:42px}
#dashView .panel{border:1px solid var(--em-border-soft)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(27,30,35,.97),rgba(15,17,20,.98))!important;box-shadow:var(--em-shadow)!important}
#dashView .panel-head{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.065)}
#dashView .panel-head h3{font-size:19px;letter-spacing:.1px}
#dashView .muted{color:#a2a8ad}
#dashView .eyebrow.red{color:var(--em-gold)!important}
#dashView .btn.primary{background:linear-gradient(135deg,#ecc77e,#b9853a)!important;border:1px solid rgba(255,222,165,.6)!important;color:#19150e!important;box-shadow:0 9px 24px rgba(189,139,62,.18)!important;font-weight:950}
#dashView .btn.primary:hover{filter:brightness(1.08);box-shadow:0 13px 30px rgba(189,139,62,.25)!important}
#dashView .btn.ghost{background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.12)!important;color:#e9e7e0!important}
#dashView .btn.ghost:hover{border-color:rgba(229,183,101,.55)!important;color:#f6d99f!important}
#dashView .social-input{background:#0f1216!important;border:1px solid #3a4149!important;color:#f2f1eb!important;border-radius:10px!important}
#dashView .social-input:focus{border-color:var(--em-gold)!important;box-shadow:0 0 0 3px rgba(229,183,101,.13)!important}

/* Matchmaking */
#homePage .em-match-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:28px;min-height:220px;padding:30px 32px!important;border:1px solid rgba(229,183,101,.22)!important;border-radius:22px!important;background:radial-gradient(ellipse at 88% 5%,rgba(229,183,101,.16),transparent 40%),radial-gradient(ellipse at 48% 120%,rgba(146,93,42,.10),transparent 55%),linear-gradient(118deg,#1d2024,#121518 62%,#171513)!important;box-shadow:0 24px 60px rgba(0,0,0,.3)!important}
#homePage .em-match-hero:after{content:"";position:absolute;z-index:-1;right:16%;top:-120px;width:340px;height:340px;border:1px solid rgba(229,183,101,.12);border-radius:50%;box-shadow:0 0 0 35px rgba(229,183,101,.018),0 0 0 70px rgba(229,183,101,.014)}
#homePage .em-match-hero h1{font-size:clamp(31px,4.2vw,52px);line-height:1.04;letter-spacing:-1.5px;margin:10px 0 11px;color:#f4f0e7}
#homePage .em-match-hero h1 span{color:var(--em-gold-bright)!important}
#homePage .em-match-hero p{max-width:650px;color:#b4b4b0;font-size:13px;line-height:1.75}
.em-match-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.em-match-hero-tags span{padding:7px 10px;border:1px solid rgba(229,183,101,.18);border-radius:999px;background:rgba(229,183,101,.055);color:#d6c29d;font-size:8px;font-weight:900;letter-spacing:1.05px}
#homePage .em-rating-card{position:relative;z-index:1;min-width:0;padding:18px 19px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:linear-gradient(145deg,rgba(6,8,10,.63),rgba(22,20,17,.75));text-align:left;box-shadow:inset 0 1px rgba(255,255,255,.035)}
#homePage .em-rating-card strong{display:block;margin-top:6px;font-size:43px;color:#f6dfb0;letter-spacing:-1.5px}
#homePage .em-rating-card .rating-label{font-size:9px;color:#c2a979;font-weight:900;letter-spacing:1.5px}
#homePage .em-rating-card .xp-track{height:6px!important;background:#070809!important}
#homePage .em-rating-card .xp-track i{background:linear-gradient(90deg,#a87935,#f0ce8e)!important}
#homePage .em-rating-card .xp-meta{font-size:8px;color:#aaa49a}
.em-matchmaking-section{margin-top:26px}
.em-section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}
.em-section-title-row h2{margin:5px 0 4px;font-size:clamp(19px,2.5vw,25px);letter-spacing:-.35px;color:#f0ede7}
.em-section-title-row p{margin:0;color:#90979c;font-size:11px}
.em-section-title-row .queue-state{flex:0 0 auto}
.em-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.em-mode-card{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:195px;padding:17px 18px 14px;border:1px solid #3b4147;border-radius:17px;background:radial-gradient(ellipse at 100% 0%,rgba(255,255,255,.055),transparent 49%),linear-gradient(145deg,#1b1f24,#121519 72%);color:#eeeae2;text-align:left;overflow:hidden;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;cursor:pointer}
.em-mode-card:before{content:"";position:absolute;z-index:-1;inset:auto -15% -92% 25%;height:160px;border-radius:50%;background:rgba(229,183,101,.055);filter:blur(20px);opacity:0;transition:opacity .2s}
.em-mode-card:hover:not(:disabled){transform:translateY(-3px);border-color:rgba(229,183,101,.55);box-shadow:0 15px 34px rgba(0,0,0,.23)}
.em-mode-card.selected{border-color:rgba(229,183,101,.82);background:radial-gradient(ellipse at 92% 0%,rgba(229,183,101,.18),transparent 54%),linear-gradient(145deg,#29251f,#17191b 75%);box-shadow:0 0 0 1px rgba(229,183,101,.18),0 16px 36px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.04)}
.em-mode-card.selected:before{opacity:1}
.em-mode-card:focus-visible{outline:2px solid var(--em-gold-bright);outline-offset:3px}
.em-mode-card:disabled{cursor:default;opacity:.72}
.em-mode-card-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px}
.em-mode-index{color:#888f94;font-size:9px;font-weight:900;letter-spacing:1.7px}
.em-mode-tag{padding:5px 8px;border:1px solid rgba(255,255,255,.09);border-radius:999px;color:#aab0b2;font-size:7px;font-weight:900;letter-spacing:1px}
.em-mode-card.selected .em-mode-tag{border-color:rgba(229,183,101,.26);background:rgba(229,183,101,.09);color:#e3c38a}
.em-mode-number{display:block;margin:17px 0 3px;color:#fbf6ec;font-size:45px;font-weight:1000;line-height:.94;letter-spacing:-2.3px}
.em-mode-number span{padding:0 3px;color:var(--em-gold);font-size:.72em}
.em-mode-card>strong{color:#e6e1d7;font-size:10px;font-weight:950;letter-spacing:1.7px}
.em-mode-description{display:block;margin-top:10px;color:#a0a5a7;font-size:10px;line-height:1.55}
.em-mode-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:14px;color:#858d91;font-size:8px;font-weight:850;letter-spacing:.8px}
.em-mode-footer b{color:#ddc18b}
.em-queue-status-block{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:4px 17px 4px 2px;border-right:1px solid rgba(255,255,255,.085)}
.em-queue-count{display:flex;align-items:baseline;gap:9px;margin:7px 0 0;line-height:1}
.em-queue-count strong{font-size:48px;font-weight:1000;letter-spacing:-2px;color:#f2dfb8}
.em-queue-count span{color:#777e82;font-size:23px}
.em-queue-count b{font-size:22px;color:#bec0bb}
.em-queue-status-block .queue-label{color:#a6a9a6;font-size:8px;font-weight:900;letter-spacing:1.5px}
.em-queue-status-block .queue-bar{max-width:250px;height:6px;margin-top:13px;background:#090b0d}
.em-queue-status-block .queue-bar i{background:linear-gradient(90deg,#9b6d31,#f0ce8e)!important}
.em-queue-mode-note{display:flex;align-items:center;gap:7px;margin-top:12px;color:#969c9d;font-size:8px;font-weight:900;letter-spacing:1.1px}
.em-online-dot{width:6px;height:6px;border-radius:50%;background:#6bce9f;box-shadow:0 0 10px rgba(107,206,159,.55)}
#homePage #queueCard{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr);align-items:center;gap:25px;margin-top:16px;padding:20px 22px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:18px!important;background:linear-gradient(120deg,#191c20,#111417 70%,#171611)!important;box-shadow:0 16px 36px rgba(0,0,0,.22)!important}
.em-queue-actions-block{min-width:0}
.em-queue-action-copy h3{margin:4px 0 4px;font-size:17px;color:#f2eee7}
.em-queue-action-copy p{margin:0;color:#969c9d;font-size:10px;line-height:1.6}
.em-match-start-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:14px;max-width:430px}
/* 5.13.11: keep START MATCH visible even if a previous cached UI applied the locked state. */
.em-match-start-actions{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;max-width:620px;margin-top:14px}
.em-match-start-actions.em-start-actions-locked{display:grid!important}
.em-match-start-actions .em-public-start-button{width:100%;min-height:64px;justify-content:center;border:1px solid rgba(255,89,106,.65)!important;background:linear-gradient(135deg,#f04455,#a91f35)!important;color:#fff!important;box-shadow:0 12px 30px rgba(197,35,57,.25)!important;font-size:13px;letter-spacing:1px}
.em-match-start-actions .em-public-start-button:disabled{opacity:.62;filter:saturate(.65);cursor:not-allowed}
.em-match-start-actions .em-public-start-button:not(:disabled):hover{transform:translateY(-1px);filter:brightness(1.08)}
.em-match-start-actions .em-public-start-button>span:last-child{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.em-match-start-actions .em-public-start-button b{font-size:12px;letter-spacing:1px}
.em-match-start-actions .em-public-start-button small{font-size:9px;opacity:.82;letter-spacing:.45px}

.em-match-start-actions .btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:13px 20px!important;border-radius:12px!important;text-align:center;font-size:12px;font-weight:1000;letter-spacing:1.25px}
.em-match-start-actions .btn span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.em-match-start-actions .btn b{font-size:10px;font-weight:1000;letter-spacing:.85px}
.em-match-start-actions .btn small{font-size:8px;font-weight:650;opacity:.76;letter-spacing:.25px}
.em-action-symbol{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,.085);font-size:15px}
#homePage .em-public-start-button .em-action-symbol{background:rgba(35,27,12,.13)}
#homePage .leave-queue-btn{width:100%;margin-top:10px!important;padding:10px!important}
#homePage .queue-state{padding:7px 10px;border:1px solid rgba(229,183,101,.22);border-radius:999px;background:rgba(229,183,101,.065);color:#e7c78f;font-size:8px;font-weight:950;letter-spacing:1px}

/* Dedicated map search page */
.em-page-intro{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:122px;margin:0 0 17px;padding:22px 25px;border:1px solid rgba(229,183,101,.16);border-radius:18px;background:radial-gradient(ellipse at 100% 0,rgba(229,183,101,.10),transparent 45%),linear-gradient(125deg,#1b1e22,#121518)}
.em-page-intro h2{margin:6px 0;font-size:clamp(21px,3vw,30px);letter-spacing:-.6px;color:#f2eee7}
.em-page-intro p{max-width:730px;margin:0;color:#a0a6a6;font-size:11px;line-height:1.7}
.em-intro-mark{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border:1px solid rgba(229,183,101,.18);border-radius:17px;background:rgba(229,183,101,.055)}
.em-intro-mark img{width:100%;height:100%;padding:8px;object-fit:contain}
#mapsPage .em-map-discovery{display:block!important;margin:0;padding:21px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(145deg,#1a1e23,#101317);box-shadow:var(--em-shadow)}
#mapsPage .em-map-discovery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
#mapsPage .em-map-discovery-head h3{margin:5px 0;color:#f2eee7;font-size:18px}
#mapsPage .em-map-discovery-head p{margin:0;color:#99a0a3;font-size:10px}
#mapsPage .em-map-discovery-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#d5b879;font-size:8px;font-weight:900;letter-spacing:1px}
#mapsPage .em-map-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:18px}
#mapsPage .em-home-map-search{display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #3b444c;border-radius:11px;background:#0f1317;color:#d5b879}
#mapsPage .em-home-map-search input{width:100%;min-width:0;padding:12px 0;border:0;outline:0;background:transparent;color:#f2eee7}
#mapsPage .em-map-clear{padding:0 13px;border:1px solid rgba(229,183,101,.22);border-radius:10px;background:rgba(229,183,101,.06);color:#dfc58e;font-size:8px;font-weight:900;letter-spacing:.8px;cursor:pointer}
#mapsPage .em-map-preference{margin:13px 0;padding:10px 12px;border-radius:9px;background:rgba(229,183,101,.055);color:#d9c394;font-size:9px;font-weight:850;letter-spacing:.7px}
#mapsPage .em-map-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#mapsPage .em-map-result{display:flex;align-items:center;gap:11px;min-width:0;padding:11px 12px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.025);color:#e9e5dc;text-align:left}
#mapsPage .em-map-result:hover,#mapsPage .em-map-result.selected{border-color:rgba(229,183,101,.55);background:rgba(229,183,101,.07)}
#mapsPage .em-map-result-icon{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:8px;background:rgba(229,183,101,.10);color:#e7c487}
#mapsPage .em-map-result span:nth-child(2){display:grid;gap:3px;min-width:0}
#mapsPage .em-map-result b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
#mapsPage .em-map-result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8f9799;font-size:8px}
#mapsPage .em-map-result em{margin-left:auto;color:#c3a66f;font-size:7px;font-weight:950;font-style:normal;letter-spacing:.7px}
#mapsPage .em-map-empty{grid-column:1/-1;padding:25px;border:1px dashed rgba(255,255,255,.12);border-radius:12px;color:#9da3a4;text-align:center;font-size:10px}

/* Profile */
#profilePage .profile-grid{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr)!important;align-items:stretch;gap:16px!important}
#profilePage .profile-showcase{position:relative;isolation:isolate;overflow:hidden;min-height:425px;padding:0 23px 21px!important;border:1px solid rgba(229,183,101,.20)!important;border-radius:20px!important;background:radial-gradient(ellipse at 88% 0,rgba(229,183,101,.13),transparent 48%),linear-gradient(145deg,#1d2024,#101317)!important}
#profilePage .profile-showcase:before{width:3px;background:linear-gradient(180deg,#f0cc88,transparent 78%)}
#profilePage .profile-cover{position:relative;height:150px;margin:0 -23px 0;background:radial-gradient(ellipse at 80% 10%,rgba(229,183,101,.22),transparent 48%),linear-gradient(125deg,#29241e,#191c20 58%,#111416);border-bottom:1px solid rgba(229,183,101,.14);overflow:hidden}
#profilePage .profile-cover:after{content:"EAGLE MATCH";position:absolute;right:22px;bottom:15px;color:rgba(244,218,171,.17);font-size:clamp(22px,4vw,40px);font-weight:1000;letter-spacing:4px}
#profilePage .profile-cover>span:not(.profile-cover-placeholder){display:none}
#profilePage .profile-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.78}
#profilePage .profile-cover-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,12,.68),transparent 75%),linear-gradient(0deg,rgba(8,10,12,.74),transparent 70%)}
#profilePage .profile-hero{display:flex;align-items:flex-end;gap:16px;margin-top:-44px;padding-bottom:17px;border-bottom:1px solid rgba(255,255,255,.08)}
#profilePage .profile-avatar-ring{position:relative;z-index:2;flex:0 0 88px;width:88px;height:88px;padding:4px;background:conic-gradient(from 15deg,#f2cf92,#6e532f,#d4a65b,#f2cf92);box-shadow:0 7px 25px rgba(0,0,0,.35)}
#profilePage .profile-avatar-ring .avatar.big{border-color:#111416;background-color:#25282b}
#profilePage .profile-copy h3{font-size:clamp(22px,3vw,31px);letter-spacing:-.8px;color:#f3efe7}
#profilePage .profile-copy .eyebrow{font-size:8px}
#profilePage .profile-rank-line{color:#a8adae;font-size:9px}
#profilePage .profile-rank-line span:first-child{color:#e4c180}
#profilePage .profile-xp{padding:19px 0 5px}
#profilePage .profile-xp-head{color:#bbc0bd;font-size:10px}
#profilePage .profile-xp-head b{color:#f2d9a9}
#profilePage .profile-xp-track{height:7px!important;background:#090c0f!important}
#profilePage .profile-xp-track i{background:linear-gradient(90deg,#9f7438,#f0ce8e)!important;box-shadow:0 0 14px rgba(229,183,101,.18)}
#profilePage .profile-xp-foot{color:#8d9698;font-size:8px}
#profilePage .profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:17px}
#profilePage .profile-stats>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:13px 7px;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:rgba(255,255,255,.025)}
#profilePage .profile-stats b{font-size:21px;color:#f0d39d}
#profilePage .profile-stats span{color:#8f989b;font-size:7px;font-weight:950;letter-spacing:1px}
#profilePage .profile-editor{padding:22px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:20px!important;background:linear-gradient(150deg,#1b1e22,#101316)!important}
#profilePage .profile-customization-controls{display:flex;flex-direction:column;gap:18px}
#profilePage .profile-customization-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid rgba(255,255,255,.075)}
#profilePage .profile-customization-heading h4{margin:6px 0;color:#f0ece3;font-size:18px}
#profilePage .profile-customization-heading p{max-width:360px;color:#9da4a5;font-size:10px;line-height:1.7}
#profilePage .profile-customization-mark{display:grid;place-items:center;flex:0 0 37px;height:37px;border:1px solid rgba(229,183,101,.22);border-radius:10px;background:rgba(229,183,101,.08);color:#eacb91}
#profilePage .profile-avatar-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px;border:1px solid rgba(255,255,255,.075);border-radius:12px;background:rgba(255,255,255,.025)}
#profilePage .profile-avatar-custom-row>div{grid-column:1/-1;display:grid;gap:4px}
#profilePage .profile-avatar-custom-row b,#profilePage .profile-customization-fields label span{color:#e6d5b3;font-size:8px;font-weight:950;letter-spacing:1px}
#profilePage .profile-avatar-custom-row small{color:#8e9799;font-size:9px}
#profilePage .profile-avatar-custom-row input[type=file]{max-width:100%;min-width:0;color:#939a9c;font-size:9px}
#profilePage .profile-customization-fields{display:grid;gap:12px}
#profilePage .profile-customization-fields label{display:grid;gap:7px}
#profilePage .profile-customization-fields .social-input{margin:0;min-height:42px}
#profilePage .profile-customization-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid rgba(255,255,255,.075)}
#profilePage .profile-tip{max-width:220px;color:#929a9b;font-size:9px;line-height:1.55}

/* Store and coins */
#storePage .store-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:26px!important;border:1px solid rgba(229,183,101,.20)!important;border-radius:20px!important;background:radial-gradient(ellipse at 90% 0,rgba(229,183,101,.16),transparent 47%),linear-gradient(130deg,#24211b,#17191b 55%,#101316)!important}
#storePage .store-header h3{margin:5px 0;font-size:clamp(22px,3vw,29px);letter-spacing:-.6px;color:#f5f0e5}
#storePage .store-header p{max-width:640px;color:#aaa9a1;font-size:10px;line-height:1.65}
#storePage .wallet-pill{min-width:175px;padding:14px 17px;border:1px solid rgba(229,183,101,.28)!important;border-radius:14px!important;background:rgba(8,10,11,.43)!important;text-align:left}
#storePage .wallet-pill span{color:#c5a66e;font-size:8px;font-weight:950;letter-spacing:1.6px}
#storePage .wallet-pill b{display:block;margin-top:5px;color:#f4d79e;font-size:29px;letter-spacing:-.8px}
#storePage .store-grid{display:grid;grid-template-columns:minmax(245px,.72fr) minmax(0,1.7fr);align-items:start;gap:15px}
#storePage .store-grid>.panel{min-width:0;padding:19px!important}
#storePage .store-grid>.panel:first-child{background:radial-gradient(ellipse at 100% 0,rgba(229,183,101,.08),transparent 45%),linear-gradient(150deg,#1b1e22,#111417)!important}
#storePage .store-main-panel{background:linear-gradient(150deg,#1b1e22,#111417)!important}
#storePage .panel-head h3{font-size:16px}
#storePage .coin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#storePage .coin-card{display:flex;flex-direction:column;min-width:0;min-height:140px;padding:13px;border:1px solid rgba(255,255,255,.09)!important;border-radius:13px!important;background:linear-gradient(145deg,#202329,#13161a)!important}
#storePage .coin-card:before{height:2px;background:linear-gradient(90deg,transparent,#e7bd72,transparent);opacity:.85}
#storePage .coin-card .eyebrow{font-size:7px;letter-spacing:1.3px;color:#d7b775}
#storePage .coin-count{margin-top:12px;color:#f4d69b;font-size:clamp(17px,2vw,23px);letter-spacing:-.5px;line-height:1.1}
#storePage .coin-price{margin:8px 0 13px;color:#a4a9a8;font-size:9px}
#storePage .coin-card .btn{margin-top:auto;min-height:34px;padding:8px!important;font-size:8px!important}
#storePage .store-contact{margin-top:13px;padding:12px;border:1px dashed rgba(229,183,101,.25)!important;border-radius:11px;background:rgba(229,183,101,.045)!important;color:#c6b28b;font-size:9px;line-height:1.7}
#storePage .store-toolbar{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(130px,.8fr) minmax(135px,.8fr);gap:8px;margin:0 0 14px}
#storePage .store-toolbar .social-input{min-width:0;margin:0;padding:10px 11px;font-size:9px}
#storePage .shop-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:11px}
#storePage .shop-card{display:flex;flex-direction:column;min-width:0;min-height:305px;padding:12px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:14px!important;background:linear-gradient(145deg,#22252a,#13161a)!important;box-shadow:0 10px 24px rgba(0,0,0,.14)}
#storePage .shop-card:before{height:2px;background:linear-gradient(90deg,transparent,#dcb36e,transparent);opacity:.7}
#storePage .shop-card .tag{align-self:flex-start;margin-bottom:9px;padding:5px 8px;border:1px solid rgba(229,183,101,.15);border-radius:999px;background:rgba(229,183,101,.07)!important;color:#dfc28e!important;font-size:7px;font-weight:950;letter-spacing:.9px}
#storePage .shop-item-image{height:130px!important;margin-bottom:9px;border:1px solid rgba(255,255,255,.055)!important;border-radius:10px!important;background:radial-gradient(circle at 50% 45%,rgba(229,183,101,.09),rgba(7,9,11,.5) 72%)!important;object-fit:contain}
#storePage .shop-card h4{margin:4px 0 7px;color:#eee9df;font-size:12px;line-height:1.35}
#storePage .shop-item-price{margin-top:auto;padding-top:9px;color:#f0d194!important;font-size:15px!important;font-weight:1000}
#storePage .shop-card .store-small{margin:7px 0;color:#8f989b;font-size:8px;line-height:1.5}
#storePage .shop-card .btn{margin-top:auto;min-height:36px;padding:9px!important;font-size:8px!important}
#storePage .shop-empty{grid-column:1/-1;padding:40px;border:1px dashed rgba(255,255,255,.12);border-radius:13px}

/* Inventory */
#inventoryPage .em-inventory-intro{min-height:125px}
#inventoryPage .em-inventory-mark{display:grid;place-items:center;flex:0 0 74px;width:74px;height:74px;border:1px solid rgba(229,183,101,.24);border-radius:18px;background:rgba(229,183,101,.08);color:#f0d29a;font-size:34px;box-shadow:inset 0 0 25px rgba(229,183,101,.04)}
#inventoryPage .em-inventory-panel{padding:21px!important}
#inventoryPage .inventory-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:12px}
#inventoryPage .inventory-card{display:flex;flex-direction:column;min-width:0;min-height:310px;padding:13px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:15px!important;background:linear-gradient(145deg,#202329,#13161a)!important;box-shadow:0 9px 24px rgba(0,0,0,.16)}
#inventoryPage .inventory-card:hover{transform:translateY(-3px);border-color:rgba(229,183,101,.43)!important;box-shadow:0 15px 30px rgba(0,0,0,.25)!important}
#inventoryPage .inventory-card.selected-mvp{border-color:rgba(229,183,101,.65)!important;background:radial-gradient(ellipse at 100% 0,rgba(229,183,101,.12),transparent 46%),linear-gradient(145deg,#24231f,#131619)!important}
#inventoryPage .inventory-card-top{display:flex;align-items:center;gap:6px;min-height:24px;margin-bottom:8px}
#inventoryPage .inventory-card .tag{padding:5px 8px;border:1px solid rgba(229,183,101,.15);border-radius:999px;background:rgba(229,183,101,.07)!important;color:#dfc28e!important;font-size:7px;font-weight:950;letter-spacing:.8px}
#inventoryPage .inventory-lock{padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.06);color:#c0c5c4;font-size:7px;font-weight:900}
#inventoryPage .inventory-item-image{height:133px!important;flex:0 0 133px;width:100%;margin-bottom:10px;border:1px solid rgba(255,255,255,.06)!important;border-radius:11px!important;background:radial-gradient(circle,rgba(229,183,101,.07),rgba(5,8,10,.5) 75%)!important;object-fit:contain}
#inventoryPage .inventory-card h4{margin:0 0 6px;color:#f0ece4;font-size:12px;line-height:1.4}
#inventoryPage .inventory-state{min-height:25px;color:#a9ada9;font-size:8px;font-weight:850;letter-spacing:.5px}
#inventoryPage .inventory-actions{margin-top:auto}
#inventoryPage .inventory-actions .btn{width:100%;min-height:35px;font-size:8px!important}
#inventoryPage .inventory-secondary-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:7px}
#inventoryPage .inventory-secondary-actions .btn{min-width:0;padding:7px 8px!important;font-size:7px!important}
#inventoryPage .inventory-gift-select{min-width:0;width:100%;padding:7px;border:1px solid #3a4149;border-radius:8px;background:#101418;color:#ddd;font-size:8px}
#inventoryPage .inventory-sell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.065)}
#inventoryPage .inventory-sell input{min-width:0;margin:0;padding:7px 8px;font-size:8px}
#inventoryPage .inventory-sell .btn{padding:7px 8px!important;font-size:7px!important}
#inventoryPage .inventory-card .btn.danger{background:rgba(180,56,62,.08)!important;border-color:rgba(206,85,91,.25)!important;color:#e6a1a1!important}
#inventoryPage .inventory-grid>.empty{grid-column:1/-1;padding:42px;border:1px dashed rgba(255,255,255,.12);border-radius:13px;text-align:center}

/* Private lobby builder follows the updated visual language. */
.private-modal{background:rgba(4,6,8,.82)!important;backdrop-filter:blur(12px)!important}
.em-private-modal-card{border:1px solid rgba(229,183,101,.24)!important;border-radius:20px!important;background:radial-gradient(ellipse at 100% 0,rgba(229,183,101,.12),transparent 42%),linear-gradient(145deg,#202328,#101316)!important;box-shadow:0 30px 100px rgba(0,0,0,.65)!important}
.em-private-create-head h2{color:#f1eadd!important;letter-spacing:-.7px}
.em-private-create-head p{color:#a5aaab!important;font-size:10px;line-height:1.6}
.em-private-create-grid{gap:11px!important}
.em-private-create-grid label{color:#d9c28f!important;font-size:8px!important;font-weight:950!important;letter-spacing:1px}
.em-private-create-grid .social-input{margin-top:7px}
.em-private-create-capacity{border-color:rgba(229,183,101,.20)!important;background:rgba(229,183,101,.055)!important;color:#aab0ae!important}
.em-private-create-capacity b{color:#f0d39c!important}
.em-private-create-button{min-height:45px;border-radius:11px!important}

/* Small screen behaviour */
@media(max-width:1000px){
  #profilePage .profile-grid{grid-template-columns:1fr!important}
  #storePage .store-grid{grid-template-columns:1fr!important}
  #storePage .store-grid>.panel:first-child .coin-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
}
@media(max-width:760px){
  #homePage .em-match-hero{grid-template-columns:1fr;padding:22px!important;gap:17px}
  #homePage .em-rating-card{max-width:none}
  .em-mode-grid{grid-template-columns:1fr;gap:9px}
  .em-mode-card{min-height:155px;padding:14px 16px}
  .em-mode-number{margin:12px 0 2px;font-size:39px}
  #homePage #queueCard{grid-template-columns:1fr;gap:16px;padding:16px!important}
  .em-queue-status-block{padding:0 0 13px;border-right:0;border-bottom:1px solid rgba(255,255,255,.085)}
  .em-queue-status-block .queue-bar{max-width:none}
  .em-section-title-row{align-items:flex-start;flex-direction:column}
  .em-match-start-actions{grid-template-columns:1fr}
  .em-page-intro{padding:18px;min-height:0}
  .em-intro-mark,.em-inventory-mark{display:none!important}
  #mapsPage .em-map-discovery{padding:15px}
  #mapsPage .em-map-discovery-head{flex-direction:column}
  #mapsPage .em-map-search-row{grid-template-columns:1fr}
  #mapsPage .em-map-results{grid-template-columns:1fr}
  #profilePage .profile-showcase{padding:0 15px 17px!important}
  #profilePage .profile-cover{margin:0 -15px}
  #profilePage .profile-hero{gap:12px}
  #profilePage .profile-avatar-ring{width:72px;height:72px;flex-basis:72px}
  #profilePage .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  #profilePage .profile-customization-footer{align-items:stretch;flex-direction:column}
  #profilePage .profile-customization-footer .btn{width:100%}
  #storePage .store-header{align-items:stretch;flex-direction:column;padding:19px!important}
  #storePage .wallet-pill{width:100%}
  #storePage .store-toolbar{grid-template-columns:1fr}
  #storePage .shop-grid,#inventoryPage .inventory-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}
  #storePage .shop-card{min-height:290px}
  #inventoryPage .em-inventory-panel{padding:14px!important}
}
@media(max-width:420px){
  .em-section-title-row .queue-state{align-self:flex-start}
  #storePage .coin-grid{grid-template-columns:1fr 1fr}
  #storePage .shop-grid,#inventoryPage .inventory-grid{grid-template-columns:1fr 1fr}
  #inventoryPage .inventory-secondary-actions{grid-template-columns:1fr}
  #inventoryPage .inventory-sell{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.em-mode-card,.inventory-card,.shop-card{transition:none!important;transform:none!important}}
