
/* Shared score dialog; the independent phone catalogue keeps its navigation. */
.ethnosGamesRankOverlayR720 .ethnosGamesRankModalR720 {width:min(880px,calc(100vw - 24px))!important;max-height:90dvh!important;overflow:auto!important;border:1px solid #46636d!important;border-radius:18px!important;background:#102833!important;color:#f8f4eb!important;box-shadow:0 24px 80px #030d16aa!important;scrollbar-color:#ffb16f #122e38;}
.ethnosGamesRankModalR720 .ethnosGamesDrawerHeadR677 {display:flex;align-items:flex-start;gap:16px;padding:clamp(18px,4vw,38px)!important;background:linear-gradient(105deg,#102b36 35%,#123442ed 65%,#0d2634b0),url('/games/assets/drop-zone-earth-r761.jpg') right 43% / cover!important;border-bottom:1px solid #46636d;}
.ethnosGamesRankModalR720 .ethnosGamesDrawerHeadR677 h2 {font:600 clamp(30px,4vw,51px)/1.05 Georgia,serif!important;color:#ffbd83!important;margin:0 0 9px;}
.ethnosGamesRankModalR720 .ethnosGamesDrawerHeadR677 p {max-width:54ch;color:#ecf2ef!important;line-height:1.5;}
.ethnosGamesRankModalR720 .ethnosGamesRankContentR720 {padding:clamp(12px,3vw,26px)!important;min-width:0;background:#102833!important;}
.ethnosGamesRankModalR720 .ethnosGamesLeaderboardToolsR679 {display:flex!important;flex-wrap:wrap;gap:7px;align-items:center;background:transparent!important;}
.ethnosGamesRankModalR720 .ethnosGamesLeaderboardToolsR679 :is(button,select),.ethnosGamesRankModalR720 .ethnosGamesDrawerCloseR677 {border:1px solid #47646d!important;background:#193b46!important;color:#f5f3e9!important;min-height:38px;border-radius:9px!important;padding:6px 12px;}
.ethnosGamesRankModalR720 .ethnosGamesLeaderboardToolsR679 button.isActive {background:#ffc187!important;color:#102630!important;border-color:#ffc187!important;}
.ethnosGamesRankModalR720 :is(button,select):focus-visible {outline:2px solid #ffbc80;outline-offset:2px;}
.ethnosGamesRankModalR720 [data-rank-host] {overflow-x:auto;scrollbar-color:#ffb16f #102833;}
.ethnosGamesRankModalR720 .gamesPodium {list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:10px;margin:22px 0 16px;padding:0;}
.gamesPodium li {display:grid;gap:5px;align-content:start;border:1px solid #3b5863;border-top:3px solid #97b9c7;background:#193843;border-radius:11px;padding:12px;min-width:0;overflow-wrap:anywhere;}
.gamesPodium li:first-child {border-top-color:#ffc77a;background:linear-gradient(145deg,#3d4136,#193640 80%);}
.gamesPodium li:nth-child(3) {border-top-color:#d49670;}
.gamesPodium li span {font:600 27px/1 Georgia,serif;color:#ffe1b7;}
.gamesPodium li small,.ethnosGamesRankModalR720 .gamesRankEmpty {color:#c5dae0!important;}
.ethnosGamesRankModalR720 .gamesRankEmpty {margin:22px 0;padding:20px;border:1px dashed #46636d;border-radius:10px;text-align:center;}
.ethnosGamesRankModalR720 .gamesMyRank {color:#ffbd83;font-weight:650;}
.ethnosGamesRankModalR720 table.ethnosGamesLeaderboardR649 {width:100%;border-collapse:collapse;color:#f5f5ed!important;background:#12303b!important;}
.ethnosGamesRankModalR720 table.ethnosGamesLeaderboardR649 :is(td,th) {background:transparent!important;color:inherit!important;border-color:#38535d!important;padding:8px;}
.ethnosGamesRankModalR720 table.ethnosGamesLeaderboardR649 th {color:#b8d2d9!important;}
@media(max-width:520px){.ethnosGamesRankModalR720 .gamesPodium {grid-template-columns:1fr;}.gamesPodium li {grid-template-columns:40px 1fr auto;align-items:center;}.ethnosGamesRankModalR720 table.ethnosGamesLeaderboardR649 :is(td,th){padding:5px;font-size:12px;}}
@media(min-width:1100px) ,(min-width:768px) and (pointer:fine) {
 html[data-ethnos-ui] body#ethnosMobileDiscoveryR1234.atlasNativeMounted .ethnosGamesR679 {
  & .ethnosGamesTopBandR679 {padding:0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;color:#f6f3e9!important;background:radial-gradient(ellipse at 50% 100%,#204852,transparent 76%),#0e2832!important;border-bottom:1px solid #3c5963!important;}
  & .ethnosGamesTopLineR679 {display:grid!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;box-sizing:border-box!important;align-items:center;gap:16px;padding:clamp(18px,2vw,32px) clamp(18px,2.4vw,44px)!important;}
  & .ethnosGamesTitleBoxR679 {grid-column:1;justify-self:center!important;padding-inline:0!important;width:min(100%,760px)!important;min-width:0;text-align:center!important;}
  & .ethnosGamesTitleR679 {font:600 clamp(38px,3.4vw,62px)/1 Georgia,serif!important;color:#fff6e6!important;margin:4px 0 8px!important;}
  & .ethnosGamesKickerR679 {color:#ffb16f!important;letter-spacing:.16em;}
  & .ethnosGamesIntroR679 {max-width:59ch!important;margin:0 auto!important;color:#d5e3e3!important;line-height:1.5!important;}
  & .ethnosGamesHeroImageR766 {display:none!important;}
  & .ethnosGamesHeroImageR766 img {width:100%;height:100%;object-fit:contain;background:#060707;}
  & .ethnosGamesUtilityR679 {position:static!important;display:flex!important;justify-content:center!important;align-items:center;gap:10px;margin:14px auto 0!important;}
  & .ethnosGamesUtilityR679 [data-games-tab="rank"] {background:#ffba79!important;border:1px solid #ffc58e!important;color:#152a31!important;font-weight:700!important;box-shadow:0 3px 0 #ab713c;}
  & .ethnosGamesUtilityR679 [data-games-tab="rank"]::before {content:"🏆";margin-inline-end:7px;}
 }
}


/* Keep the ranking artwork in place as the list updates or changes length. */
html body .ethnosGamesRankOverlayR720 .ethnosGamesRankModalR720 {
  height: min(680px, calc(100dvh - 32px)) !important;
  max-height: calc(100dvh - 32px) !important;
  padding: 0 !important;
  overflow: hidden !important;
}
html body .ethnosGamesRankOverlayR720 .ethnosGamesDrawerHeadR677 {
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html body .ethnosGamesRankOverlayR720 .ethnosGamesRankContentR720 {
  min-height: 0 !important;
  overflow: auto !important;
  scrollbar-gutter: stable;
}
html body .ethnosGamesRankOverlayR720 .ethnosGamesRankContentR720 .ethnosGamesLeaderboardToolsR679 {
  position: static !important;
  background: transparent !important;
}
html body .ethnosGamesRankOverlayR720 select.ethnosStandardSelectR679[data-rank-game] {
  appearance: auto !important;
  color-scheme: dark;
  color: #f5f3e9 !important;
  background: #193b46 !important;
  padding-inline: 12px !important;
}
html body .ethnosGamesRankOverlayR720 [data-rank-game] :is(option,optgroup) {
  background: #193b46;
  color: #f5f3e9;
}
html body#ethnosMobileDiscoveryR1234 .ethnosGamesR679 article.ethnosSoloGameEntryR766 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body#ethnosMobileDiscoveryR1234 .ethnosGamesMyOverlayR716 .ethnosGamesInviteActionsR649 :is(button.open,button.accept) {
  background: #203e48 !important;
  color: #f1e7d6 !important;
  border: 1px solid #50717b !important;
}
html body#ethnosMobileDiscoveryR1234 .ethnosGamesMyOverlayR716 .ethnosGamesInviteActionsR649 :is(button.open,button.accept):hover {
  background: #2b4c57 !important;
}
