/* Layout/type values come from the supplied Lunar stylesheets. */
.auth-panel .login-header .bg-stretch { background: #168cc2 url('/images/home-banner.jpg') center/cover; }
.auth-panel .login-header img { object-fit: contain; }
.auth-panel .input-group { padding-left: 20px; padding-right: 20px; }
.auth-panel label { font-size: 14px; margin-bottom: 4px; text-align: left; }
.auth-panel .auth-hint,.auth-result { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-result.is-error { color: #c62828; }
.auth-panel input:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.auth-panel button:disabled { opacity: .6; cursor: wait; }
@font-face { font-family: FontAwesome; src: url('/fonts/fontawesome-webfont.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: block; }
.navbar-expand-lg .navbar-brand { display: flex; align-items: center; padding: 0; }
.navbar-expand-lg .navbar-brand img { display: block; width: 40px; height: 40px; object-fit: contain; }
.navbar-expand-lg .navbar-nav { width: auto; flex-wrap: nowrap; }
.navbar-expand-lg .navbar-nav > li { padding: 0 14px; margin: 10px 0; }
.navbar-expand-lg .navbar-nav .nav-link { font: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; }
.navbar-expand-lg button.nav-link { padding: 0; border: 0; background: transparent; color: #262626; opacity: .75; cursor: pointer; }
.navbar-expand-lg button.nav-link:hover, .navbar-expand-lg button.nav-link[aria-expanded=true] { opacity: 1; }
.navbar-expand-lg #stats-toggle,.navbar-expand-lg #stats-toggle:hover,.navbar-expand-lg #stats-toggle:focus,.navbar-expand-lg #stats-toggle[aria-expanded=true] { color: #000 !important; opacity: 1; }
.navbar-expand-lg .account-links.account-dropdown { display: flex; width: auto; margin-left: auto; align-items: center; flex-flow: row nowrap; gap: 0; }
.navbar-expand-lg .account-dropdown .user { width: auto; padding-right: 8px; flex-flow: row nowrap; }
.navbar-expand-lg .account-dropdown .user .user-info { width: auto; padding-right: 8px; white-space: nowrap; }
.navbar-expand-lg .account-dropdown .user .sub-txt { color: #777; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; }
.navbar-expand-lg .account-dropdown .user .user-name { display: block; color: #404040; font-size: 12px; font-weight: 800; letter-spacing: 1.1px; text-align: right; text-decoration: none; }
.navbar-expand-lg .account-dropdown .user .user-avatar img { display: block; width: 22px; height: 22px; object-fit: cover; image-rendering: pixelated; }
.account-logout { margin: 0; }
.account-logout button { border: 0; background: transparent; color: #d94b4b; font-size: 17px; padding: 4px; cursor: pointer; }
.account-logout button:hover { color: #a92424; }
.account-menu { position: relative; margin: 0; }
.account-menu summary { display: flex; width: 20px; height: 30px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary span { display: block; width: 15px; height: 2px; border-radius: 2px; background: #262626; }
.account-menu summary:hover span { background: #527aa4; }
.account-menu summary:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.account-menu-items { position: absolute; top: calc(100% + 6px); right: 0; z-index: 1000; min-width: 145px; padding: 5px 0; border: 1px solid #ddd; border-radius: 4px; background: #fff; box-shadow: 0 4px 12px #0002; }
.account-menu-items a,.account-menu-items button { display: flex; align-items: center; width: 100%; padding: 5px 8px; border: 0; background: transparent; color: #666; text-align: left; font: .75rem/16px Raleway,Arial,Helvetica,sans-serif; text-decoration: none; cursor: pointer; }
.account-menu-items a:hover,.account-menu-items button:hover { background: #f4f4f4; color: #222; text-decoration: none; }
.profile-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: -2px 0 15px; }
.profile-socials a,.profile-socials .social-username { display: inline-block; border: 1px solid #d7e1e5; border-radius: 4px; padding: 6px 12px; background: #fff; color: #426c91; }
.profile-socials a:hover { border-color: #4ccbd2; color: #16383c; }
.password-requirements { margin: 0 20px 14px; font-size: 13px; color: #667; }
.navbar-expand-lg .dropdown-menu[hidden] { display: none !important; }
.navbar-expand-lg .dropdown-menu:not([hidden]) { display: block; }
.navbar-expand-lg .dropdown-menu { top: calc(100% + 9px); margin: 0; }
.navbar-expand-lg .dropdown-menu li { padding: 0; margin: 0; }
.navbar-expand-lg .dropdown-menu .dropdown-item { padding: 7px 14px !important; }
.navbar-expand-lg .dropdown-toggle:focus-visible, .navbar a:focus-visible, .connect-address:focus-visible { outline: 2px solid #247c9e; outline-offset: 5px; }
.copy-status { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); padding: 3px 8px; background: #fff; border-radius: 3px; color: #27613c; text-transform: none; letter-spacing: normal; white-space: nowrap; z-index: 1; }
.copy-status:empty { display: none; }
.home-page { overflow-x: clip; background: #f7f8f9; }
.home-page .main { padding-bottom: 48px; }
.home-page .header { position: absolute; top: 0; right: 0; left: 0; z-index: 20; background: transparent; box-shadow: none; }
.home-page .navbar-expand-lg { background: transparent !important; }
.home-page .navbar-expand-lg .navbar-nav > li { padding: 0; margin: 0 4px; }
.home-page .navbar-expand-lg .navbar-nav > li > .nav-link { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px !important; border-radius: 4px; background: transparent; color: #fff !important; opacity: 1; }
.home-page .navbar-expand-lg #stats-toggle,.home-page .navbar-expand-lg #stats-toggle:hover,.home-page .navbar-expand-lg #stats-toggle:focus { color: #fff !important; }
.home-page .navbar-expand-lg .account-links.account-dropdown { padding: 5px 10px; border-radius: 4px; background: transparent; }
.home-page .navbar-expand-lg .account-dropdown .user .sub-txt,.home-page .navbar-expand-lg .account-dropdown .user .user-name { color: #fff; }
.home-page .account-menu summary span { background: #fff; }
.home-page .account-menu summary .account-menu-notification-count { background: #db4040; }
.home-showcase { display: flex; width: 100vw; min-height: clamp(480px, 55vh, 640px); margin-left: calc(50% - 50vw); padding-top: 70px; align-items: center; justify-content: center; background: linear-gradient(#0002,#0003),url('/images/atlas-home-banner.png') center/cover; color: #fff; text-align: center; }
.home-showcase-inner { padding: 24px 20px 35px; }
.home-showcase img { display: block; width: 190px; height: 175px; margin: 0 auto 10px; object-fit: contain; }
.home-showcase h1 { margin: 0; color: #fff; font-size: 27px; font-weight: 800; letter-spacing: 12px; text-transform: uppercase; }
.home-showcase p { margin: 8px 0 0; color: #c7d4db; font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.home-actions .row { display: flex; flex-wrap: wrap; }
.home-actions .main-top-col { display: flex; }
.home-actions .main-top-content { position: relative; width: 100%; }
.home-actions .main-top-col:first-child .main-top-content.main-top-button a { background: #229ed9; }
.home-actions .main-top-col:last-child .main-top-content.main-top-button a { background: #229ed9; }
.home-connect-address { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; background: transparent; color: #333; cursor: copy; font: inherit; font-weight: 700; letter-spacing: inherit; text-transform: uppercase; }
.home-page .home-connect-address { color: #229ed9; }
.home-connect-address:hover { color: #168cc2; }
.home-copy-status { position: absolute; top: calc(100% + 3px); left: 50%; z-index: 2; transform: translateX(-50%); padding: 2px 6px; border-radius: 3px; background: #fff; color: #27613c; font-size: 12px; letter-spacing: normal; white-space: nowrap; text-transform: none; }
.home-copy-status:empty { display: none; }
.home-news-shell { width: 100%; max-width: 945px; margin: 3px auto 0; }
.home-news-card { min-height: 242px; padding: 21px; border: 1px solid #ececec; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px #0002; }
.home-news-category { padding: 0 0 12px; border-bottom: 1px solid #e8e8e8; color: #555; font-size: 16px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.home-news-content { color: #666; }
.home-news-category + .home-news-content { padding-top: 18px; }
.home-news-header { margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid #ece7e7; }
.home-news-meta { margin: 2px 0 0; color: #777; font-size: 16px; }
.home-news-content h2 { margin: 0 0 12px; color: #333; font-size: 28px; font-weight: 400; line-height: 1.25; }
.home-news-header h2 { margin: 0; color: #39434d; font-size: 22px; font-weight: 700; letter-spacing: 3px; line-height: 1.35; text-transform: uppercase; }
.home-news-content h2 a { color: inherit; }
.home-news-content h2 a:hover { color: #222; }
.home-news-time { position: relative; display: inline-block; cursor: help; }
.home-news-time[data-exact-time]:hover::after,.home-news-time[data-exact-time]:focus-visible::after { content: attr(data-exact-time); position: absolute; z-index: 3; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 6px 9px; background: #222; box-shadow: 0 2px 5px #0004; color: #fff; font: 14px/1.35 Raleway,Arial,sans-serif; white-space: normal; pointer-events: none; }
.home-news-time[data-exact-time]:hover::before,.home-news-time[data-exact-time]:focus-visible::before { content: ''; position: absolute; z-index: 3; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #222; border-bottom: 0; pointer-events: none; }
.home-news-excerpt { min-height: 68px; margin: 0 0 22px; font-size: 14px; line-height: 1.55; }
.home-news-more { display: block; padding: 8px 12px; border: 1px solid #168cc2; border-radius: 5px; background: #229ed9; color: #fff; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.home-news-more:hover { background: #168cc2; color: #fff; text-decoration: none; }
.forum-new-post { max-width: 760px; margin: 20px auto; padding: 26px; border-radius: 5px; background: #fff; box-shadow: 0 1px 2px #0002; }
.forum-new-post h1 { margin: 0 0 12px; font-size: 24px; color: #333; }
.forum-new-post form { display: grid; gap: 8px; margin-top: 20px; }
.forum-new-post label { margin: 8px 0 0; font-weight: 700; }
.forum-new-post input,.forum-new-post select,.forum-new-post textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: #333; font: inherit; }
.forum-new-post textarea { resize: vertical; line-height: 1.5; }
.forum-new-post .btn-holder { margin-top: 10px; text-align: right; }
.forum-new-post .auth-result { min-height: 1.5em; }
.forum-author { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; white-space: nowrap; }
.forum-author img { display: block; border-radius: 2px; image-rendering: pixelated; }
.forum-author a,.forum-author strong { font-weight: 700; }
.home-news-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.thread-list .thread-byline { margin-top: 1px; color: #666; font-size: 15px; line-height: 20px; }
.thread-list .thread-byline .forum-author { vertical-align: baseline; }
.thread-list tbody td { padding-top: 13px; padding-bottom: 13px; vertical-align: middle; }
.thread-list td.thread-gutter { width: 68px; min-width: 68px; padding-right: 10px; text-align: right; vertical-align: middle; }
.thread-list .news-pin-icon { color: #666; font-size: 23px; line-height: 1; }
.thread-list td.thread-main h3 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 700; }
.thread-list td.thread-main h3 a { color: #5578a0; text-decoration: none; }
.thread-list td.thread-main h3 a:hover { text-decoration: underline; }
.forum-post-page { position: relative; min-height: 100vh; background: #f5f7f9; }
.forum-post-page::before { content: ''; position: absolute; inset: 0 0 auto; height: 430px; background: linear-gradient(180deg,#0e2434b8 0%,#1734468c 45%,#f5f7f9 100%),url('/images/atlas-forum-background.png') center 42%/cover no-repeat; pointer-events: none; }
.forum-post-page .wrapper { position: relative; z-index: 1; }
.forum-post-page .header { background: transparent; box-shadow: none; }
.forum-post-page .navbar-expand-lg { background: transparent !important; }
.forum-post-page .navbar-expand-lg .navbar-nav > li > .nav-link,.forum-post-page .navbar-expand-lg #stats-toggle,.forum-post-page .navbar-expand-lg #stats-toggle:hover,.forum-post-page .navbar-expand-lg #stats-toggle:focus { color: #fff !important; }
.forum-post-page .navbar-expand-lg .account-dropdown .user .sub-txt,.forum-post-page .navbar-expand-lg .account-dropdown .user .user-name,.forum-post-page .navbar-expand-lg .account-links:not(.account-dropdown) .nav-link { color: #fff; }
.forum-post-page .account-menu summary span { background: #fff; }
.forum-post-page .account-menu summary .account-menu-notification-count { background: #db4040; }
.forum-post-page .navbar-toggler { border-color: #ffffffaa; }
.forum-post-page .navbar-toggler-icon { filter: invert(1); }
.forum-post-avatar img { display: block; border-radius: 3px; image-rendering: pixelated; }
.forum-post-body { min-width: 0; }
.news-post .forum-post-title { margin: 0 0 8px; color: #29343c; font-size: 28px; font-weight: 500; line-height: 1.2; }
.news-post .forum-post-info { color: #666; font-size: 90%; }
.news-post .forum-post-content { padding: 10px 0; color: #555; font-size: 16px; line-height: 1.5; }
.news-post .forum-post-content p:last-child { margin-bottom: 0; }
.forum-post-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.forum-post-actions form { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.forum-post-actions .btn-danger { color: #fff; background: #c74444; border-color: #b53b3b; }
.forum-post-actions .auth-result.is-error { color: #b22; }
.news-post .forum-post-avatar img { width: 80px; height: 100px; object-fit: contain; }
.news-edited { color: #888; }
.news-thread-reply-form textarea,.news-reply-compose textarea { display: block; width: 100%; margin-bottom: 8px; font: inherit; font-size: 16px; resize: vertical; }
.news-thread-reply-form .auth-result,.news-reply-compose .auth-result { margin-left: 10px; }
.news-login-note { margin: 0; }
#forum-replies > hr { margin: 12px 0 0; }
.news-comment-list .forum-reply { padding-top: 14px; }
.news-comment-list .forum-reply-gutter { flex: 0 0 24px; margin-right: 6px; }
.news-comment-list .forum-reply-gutter img { display: block; width: 24px; height: 24px; image-rendering: pixelated; }
.news-comment-list .forum-reply-children { border-left: 0; }
.news-comment-list .forum-reply-body { min-width: 0; }
.news-comment-list .forum-reply-info { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #888; font-size: 13px; }
.news-comment-list .forum-reply-content { color: #4d5860; font-size: 16px; line-height: 1.5; }
.news-comment-list .forum-reply-controls { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; color: #888; font-size: 12px; }
.news-reply-compose summary { display: inline-block; cursor: pointer; color: #6281a0; font-weight: 700; }
.news-reply-compose summary:hover { text-decoration: underline; }
.news-reply-compose form { margin: 9px 0 12px; }
.forum-reply-permalink { color: #6188b0; }
.forum-reply-delete { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.forum-reply-delete button { border: 0; padding: 0; background: transparent; color: #b74444; font: inherit; cursor: pointer; }
.forum-reply-delete button:hover,.forum-reply-delete button:focus-visible { text-decoration: underline; }
.news-no-comments { margin: 0; color: #777; }
@media (max-width: 600px) { .news-post .forum-post-avatar { flex: 0 0 58px; padding-right: 10px; } .news-post .forum-post-avatar img { width: 48px; height: 64px; } .news-post .forum-post-title { font-size: 22px; } .news-comment-list .forum-reply-children { margin-left: 6px; padding-left: 8px; } }
.atlas-leaderboards .table thead th { background-color: #4ccbd2; color: #fff; }
.atlas-leaderboards .table thead th .bg-box { background-color: #4ccbd2; }
.atlas-leaderboards .table thead th .bg-box:before { background-color: #4ccbd2; }
.footer .footer-logo { width: 40px; height: 40px; object-fit: contain; }
.main .post-body { padding-bottom: 12px; }
/* Match Lunar's search markup and dropdown stylesheet without importing its accounts scripts. */
.navbar-expand-lg .player-search { flex: 0 1 245px; width: 245px; margin-left: 20px; }
.navbar-expand-lg .account-links { margin-left: 12px; }
.player-search .form-control::-webkit-search-cancel-button { -webkit-appearance: none; }
.player-search .autocomplete-suggestions { position: absolute; top: calc(100% + 4px); left: 0; width: 100%; max-height: 300px; z-index: 1000; }
.player-search .autocomplete-suggestions[hidden] { display: none; }
.player-search .autocomplete-suggestion { display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; color: #666; font: inherit; font-size: .75rem; line-height: 16px; border: 0; border-radius: 0; background: white; padding: 5px 8px; cursor: pointer; }
.player-search .player-head { width: 16px; height: 16px; flex: 0 0 16px; image-rendering: pixelated; border-radius: 2px; background: #e5e5e5; }
.player-search .autocomplete-suggestion:hover, .player-search .autocomplete-selected { background: #f0f0f0; color: #262626; }
.player-search .autocomplete-no-suggestion { padding: 8px; line-height: 1.5; white-space: normal; }
.player-results { padding-top: 24px; }
.player-results h1 { font-size: 24px; font-weight: 600; letter-spacing: 1px; }
/* Lunar's archived 2019 profile proportions, adapted to Atlas's public fields and white theme. */
body.profile-page { background: #f5f5f5; color: #262626; }
.profile-page .main { padding-top: 15px; padding-bottom: 64px; }
.profile-page .footer { background: #fff; border-top: 1px solid #eee; color: #767676; }
.profile-page .footer a { color: #767676; }
.player-profile { font-family: Raleway, sans-serif; }
.player-profile h1 { color: #fff; }
.player-profile h3 { color: #262626; }
.profile-banner { min-height: 84px; border: 1px solid #555; box-shadow: inset 0 0 0 2px #ffffff29; border-radius: 6px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 22px; margin-bottom: 15px; background: linear-gradient(#0002,#0003),url('/images/atlas-home-castle.jpg') center/cover; }
.profile-banner img { image-rendering: pixelated; flex: 0 0 32px; }
.profile-banner h1 { margin: 0; font-size: 24px; line-height: 29px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; overflow-wrap: anywhere; }
.profile-name-hover { position: relative; display: inline-block; cursor: help; }
.profile-name-hover:focus-visible { outline: 2px solid #44a1e3; outline-offset: 3px; }
.profile-name-tooltip { position: absolute; z-index: 8; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); display: grid; gap: 5px; min-width: 195px; padding: 10px 12px; border-radius: 4px; background: #17191c; box-shadow: 0 3px 12px #0005; color: #fff; font: 13px/1.4 Montserrat,Arial,sans-serif; font-weight: 400; letter-spacing: 0; text-align: left; text-transform: none; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; }
.profile-name-tooltip span { display: flex; align-items: center; gap: 9px; }
.profile-name-tooltip i { width: 17px; color: #abb5bf; text-align: center; }
.profile-name-hover:hover .profile-name-tooltip,.profile-name-hover:focus-visible .profile-name-tooltip { opacity: 1; visibility: visible; }
.profile-layout { display: grid; grid-template-columns: 24% minmax(0,1fr); gap: 15px; align-items: start; }
.profile-sidebar { min-width: 0; }
.profile-skin-card { overflow: visible; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; text-align: center; }
.profile-card-label, .profile-card-foot { padding: 8px 10px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.profile-card-label { position: relative; border-radius: 4px 4px 0 0; background: #888; }
.profile-card-label { font-size: 16px; line-height: 16px; font-weight: 700; }
.profile-card-label strong,.profile-card-label span { display: block; }
.profile-card-label strong { overflow-wrap: anywhere; }
.profile-card-label span { margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .2px; text-transform: none; }
.profile-card-label.is-offline .last-seen-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.profile-card-label.is-online { background: #328a50; }
.profile-card-label.is-offline { background: #aaa; }
.profile-card-label[data-last-seen-exact]:hover::after,.profile-card-label[data-last-seen-exact]:focus-visible::after { content: attr(data-last-seen-exact); position: absolute; z-index: 3; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 8px 10px; background: #222; box-shadow: 0 2px 5px #0004; color: #fff; font: 600 12px/1.35 Raleway,Arial,sans-serif; letter-spacing: 0; text-transform: none; white-space: normal; pointer-events: none; }
.profile-card-label[data-last-seen-exact]:hover::before,.profile-card-label[data-last-seen-exact]:focus-visible::before { content: ''; position: absolute; z-index: 3; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #222; border-bottom: 0; pointer-events: none; }
.profile-card-foot { background: #aaa; }
.profile-general-card { margin-top: 15px; padding: 14px 10px 13px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; text-align: center; text-transform: uppercase; color: #666; letter-spacing: 1px; }
.profile-general-card h2 { margin: 0 0 8px; color: #888; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1px; }
.profile-general-card p { margin: 4px 0; font-size: 12px; line-height: 18px; }
.profile-general-card strong { color: #555; font-weight: 700; }
.profile-skin-card .profile-body { display: block; width: 128px; max-width: calc(100% - 32px); height: 216px; object-fit: contain; margin: 20px auto 10px; image-rendering: pixelated; }
.profile-skin-footer { position: relative; min-height: 38px; padding: 0 52px 15px; }
.profile-skin-card .profile-skin-footer p { font-size: 18px; line-height: 22px; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.profile-skin-controls { position: absolute; right: 12px; bottom: 11px; display: flex; align-items: center; gap: 2px; }
.profile-skin-controls button { width: 20px; height: 24px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #435767; font: 700 25px/20px Arial,sans-serif; cursor: pointer; }
.profile-skin-controls button:hover:not(:disabled),.profile-skin-controls button:focus-visible { background: #e8f3f5; color: #168b9b; }
.profile-skin-controls button:disabled { color: #bac2c9; cursor: default; }
.profile-cloak-card { margin-top: 15px; padding: 12px 12px 14px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; text-align: center; }
.profile-cloak-card h2 { margin: 0 0 9px; color: #888; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.profile-cloak-card h2 a { color: #2385b2; text-decoration: none; }
.profile-cloak-card h2 a:hover,.profile-cloak-card h2 a:focus-visible { color: #14688c; text-decoration: underline; }
.profile-cloak-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.profile-cloak-item { position: relative; cursor: help; }
.profile-cloak-item:focus-visible { outline: 2px solid #247c9e; outline-offset: 3px; border-radius: 6px; }
.profile-cloak-item:is(:hover,:focus-visible)::after { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); z-index: 2; width: max-content; max-width: 230px; padding: 5px 8px; background: #191919; color: #fff; content: attr(data-tooltip); font: 400 14px/1.2 Arial,Helvetica,sans-serif; white-space: normal; text-align: center; }
.profile-cloak-item:is(:hover,:focus-visible)::before { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); z-index: 2; border: 7px solid transparent; border-top-color: #191919; content: ''; }
.profile-cloak-frame { display: flex; align-items: center; justify-content: center; width: 72px; height: 100px; overflow: hidden; border: 1px solid #4a6882; border-radius: 6px; background: linear-gradient(90deg,#344d64,#1b252f 20%,#1b252f 80%,#344d64); box-shadow: -5px 0 12px -3px #4c8bc077,5px 0 12px -3px #4c8bc077,inset 0 0 8px #8bc7f044; }
.profile-cloak-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); image-rendering: auto; }
.profile-capes-page { max-width: 1000px; margin: 0 auto; padding: 22px; border-radius: 5px; background: #fff; font-family: Raleway,Arial,Helvetica,sans-serif; box-shadow: 0 1px 2px #0002; }
.profile-capes-page h1 { margin: 12px 0 22px; color: #666; font-size: 20px; line-height: 1.3; letter-spacing: 1px; text-align: center; text-transform: uppercase; }
.profile-capes-back { color: #2385b2; }
.profile-capes-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 18px; }
.profile-capes-grid article { display: grid; justify-items: center; align-content: start; gap: 12px; min-width: 0; padding: 16px 10px; border: 1px solid #e1e5e8; border-radius: 6px; text-align: center; }
.profile-capes-grid .profile-cloak-frame { width: 96px; height: 148px; }
.profile-capes-grid h2 { margin: 0; color: #333; font-size: 13px; line-height: 1.35; font-weight: 600; }
.profile-tabs { padding: 20px; text-align: center; background: #fff; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 1px 2px #0002; font-size: 14px; line-height: 17px; letter-spacing: 1.3px; text-transform: uppercase; }
.profile-tabs span { display: inline-block; padding: 5px 11px 3px; background: #b6b6b6; color: #fff; border-radius: 4px; }
.profile-main-tabs { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; padding: 16px 20px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; }
.profile-main-tabs a { display: inline-block; border-radius: 5px; padding: 6px 12px; color: #666; font-size: 14px; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.profile-main-tabs a[aria-current=page] { background: #b6b6b6; color: #fff; }
.profile-main-tabs a:hover { color: #262626; text-decoration: none; }
.profile-main-tabs a[aria-current=page]:hover { color: #fff; }
.profile-main-tabs a:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.profile-main-panel[hidden] { display: none !important; }
.profile-statistics h2.profile-main-heading,.profile-statistics .profile-main-panel > h2,.profile-statistics .profile-game-content > h2 { position: static; width: auto; height: auto; padding: 0; margin: 0 0 15px; overflow: visible; clip: auto; white-space: normal; border: 0; color: #262626; font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: .3px; text-transform: none; }
.profile-data-note { margin: 16px 0 0; color: #767676; font-size: 12px; line-height: 1.6; }
.profile-social-card { position: relative; margin-top: 15px; padding: 13px 12px 15px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; text-align: center; }
.profile-social-card h2 { margin: 0 0 10px; color: #888; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.profile-social-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.profile-social-icon { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 0; background: transparent; color: #777; font: inherit; font-size: 28px; line-height: 1; text-decoration: none; cursor: pointer; transition: color .15s ease; }
.profile-social-icon svg { width: 1em; height: 1em; fill: currentColor; }
.profile-social-icon:hover,.profile-social-icon:focus-visible { background: transparent; color: #262626; text-decoration: none; }
.profile-social-icon:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.profile-social-icon.is-text-only { cursor: help; }
.profile-social-icon.social-discord { color: #5865f2; }
.profile-social-icon.social-telegram { color: #229ed9; }
.profile-social-icon.social-youtube { color: #ff0000; }
.profile-social-icon.social-twitch { color: #9146ff; }
.profile-social-icon.social-twitter { color: #1da1f2; }
.profile-social-icon.social-github { color: #181717; }
.profile-social-icon.social-steam { color: #1b9cda; }
.profile-social-icon:hover,.profile-social-icon:focus-visible { opacity: .72; }
.profile-badge-card { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 90px; margin-top: 15px; padding: 13px 12px 15px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; }
.profile-badge-card h2 { margin: 0 0 8px; color: #888; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.profile-badge-icons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.profile-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; cursor: help; }
.profile-badge img { display: block; width: 30px; height: 30px; object-fit: contain; }
.profile-badge-empty { color: #888; font: 500 12px/1.4 Raleway,Arial,sans-serif; }
.profile-badge-editor { width: 100%; margin-top: 8px; border-top: 1px solid #eee; font-family: Raleway,Arial,Helvetica,sans-serif; }
.profile-badge-editor summary { padding: 8px 0 0; color: #317fa6; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; list-style: none; }
.profile-badge-editor summary::-webkit-details-marker { display: none; }
.profile-badge-editor summary:hover { text-decoration: underline; }
.profile-badge-editor form { display: grid; gap: 8px; padding-top: 11px; }
.profile-badge-editor label { display: flex; align-items: center; gap: 8px; margin: 0; color: #344; font-size: 12px; line-height: 1.35; cursor: pointer; }
.profile-badge-editor label img { object-fit: contain; image-rendering: pixelated; }
.profile-badge-editor label img.badge-famous-icon { image-rendering: auto; }
.profile-badge-editor input { accent-color: #229ed9; }
.profile-badge-editor button { font-family: Raleway,Arial,Helvetica,sans-serif; }
.profile-badge-editor .auth-result { margin: 0; }
.profile-badge:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.profile-badge:is(:hover,:focus-visible)::after { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); z-index: 2; width: max-content; max-width: 230px; padding: 5px 8px; background: #191919; color: #fff; content: attr(data-tooltip); font: 400 14px/1.2 Arial,Helvetica,sans-serif; white-space: normal; text-align: center; }
.profile-badge:is(:hover,:focus-visible)::before { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); z-index: 2; border: 7px solid transparent; border-top-color: #191919; content: ''; }
.profile-games { display: flex; justify-content: center; gap: 20px; padding: 17px 20px 15px; background: #fff; border-bottom: 1px solid #eee; }
.profile-games a { padding: 4px 5px 3px; color: #666; font-size: 12px; line-height: 14.5714px; letter-spacing: 1.3px; text-transform: uppercase; text-decoration: none; }
.profile-games a:hover,.profile-games a[aria-current=page] { color: #262626; text-decoration: underline; }
.profile-games a:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.profile-statistics section { background: #fff; padding: 8px 20px 20px; border-radius: 4px; box-shadow: 0 1px 2px #0002; }
.profile-statistics h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.profile-statistics section + section { margin-top: 15px; }
.profile-stat-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.profile-stat-card { min-height: 219px; border: 0; box-shadow: inset 0 0 0 1px #e5e5e5; border-radius: 6px; overflow: hidden; background: #fff; padding: 13px 17px 17px; }
.profile-stat-card h3 { margin: -13px -17px 10px; padding: 12px 6px; background: #4ccbd2; color: #fff; font-size: 14px; line-height: 17px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }
.profile-statistics .profile-stat-card h3 { color: #fff; text-shadow: none; }
.profile-stat-card dl { display: grid; gap: 12px; padding: 0; margin: 0; }
.profile-stat-card dl > div { min-height: 31px; padding: 7px 4px; background: #f5f5f5; border: 1px solid #eee; border-radius: 5px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; }
.profile-stat-card dt { order: 2; margin: 0; color: #666; font-size: 12px; line-height: 15px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; }
.profile-stat-card dd { order: 1; margin: 0; color: #262626; font-size: 12px; line-height: 15px; letter-spacing: 1.8px; font-weight: 700; }
.auth-result.is-error { color: #c62828; }
.player-profile .stats-updated { color: #767676; font-size: 12px; line-height: 1.7; margin: 20px 0 0; }
@media (max-width: 991px) { .profile-layout { grid-template-columns: 210px minmax(0,1fr); } .profile-stat-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) { .profile-banner { padding: 22px 14px; } .profile-layout { grid-template-columns: minmax(0,1fr); } .profile-sidebar { width: 270px; max-width: 100%; margin: 0 auto; } .profile-statistics section { padding: 10px; } }
@media (max-width: 500px) { .profile-stat-cards { grid-template-columns: minmax(0,256px); justify-content: center; } }
.player-results ul { list-style: none; padding: 0; }
.forum-empty-note,.forum-empty { color: #767676; text-align: center; padding: 16px; }
.forum-list thead { background: linear-gradient(90deg,#0c1b27b8,#131e2db8),url('/images/atlas-home-castle.jpg') center/cover; color: #fff; }
.thread-list thead { background: linear-gradient(90deg,#0c1b2788,#131e2d88),url('/images/atlas-home-banner.png') center/cover; color: #fff; }
.forum-list thead th,.thread-list thead th { color: #fff; }
.thread-list thead th { padding-top: 17px; padding-bottom: 17px; }
.forum-list tbody tr,.thread-list tbody tr { background: #fff; }
.forum-list tbody tr:hover,.thread-list tbody tr:hover { background: #fafafa; }
@media (max-width: 650px) { .thread-list td.thread-gutter { width: 46px; min-width: 46px; padding: 9px 5px; } .thread-list td.thread-main h3 { font-size: 16px; line-height: 20px; } .thread-list .thread-byline { font-size: 13px; line-height: 18px; } .thread-list th:nth-child(n+2),.thread-list td:nth-child(n+3) { display: none; } }
.forum-relative-time { display: inline-block; cursor: help; white-space: nowrap; }
.forum-sort { position: relative; margin: 0 4px; }
.forum-sort summary { display: block; list-style: none; cursor: pointer; }
.forum-sort summary::-webkit-details-marker { display: none; }
.forum-sort summary::after { content: ' ▾'; }
.forum-sort-menu { position: absolute; z-index: 5; top: calc(100% + 4px); right: 0; min-width: 110px; padding: 4px 0; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; box-shadow: 0 3px 8px #0002; }
.forum-sort-menu a { display: block; padding: 6px 12px; color: #49535b; font-size: 13px; white-space: nowrap; }
.forum-sort-menu a:hover { background: #f3f4f5; text-decoration: none; }
.forum-pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 18px 0; color: #667; font-size: 14px; }
.forum-tools .btn:disabled { opacity: .65; cursor: not-allowed; }
.atlas-staff .block { background: #fff; padding: 20px; margin-bottom: 20px; border-radius: 5px; box-shadow: 0 1px 2px #0002; text-align: center; }
.atlas-staff ul { list-style: none; padding-left: 0; }
.staff-bust { display: block; width: 124px; height: 124px; max-width: 100%; object-fit: contain; margin: 0 auto 15px; image-rendering: pixelated; }
.table-scroll { overflow-x: auto; }
.table-scroll .table { min-width: 680px; }
.profile-games { flex-wrap: wrap; }
.player-profile .match-history { margin-top: 24px; padding: 0; background: transparent; box-shadow: none; font-family: Raleway,Arial,Helvetica,sans-serif; font-feature-settings: "lnum"; }
.match-history .recent-games-title { margin: 0; padding: 15px 0; border-top: 1px solid #eee; color: #666; font: 400 12px/1.2142857 Raleway,Arial,Helvetica,sans-serif; letter-spacing: 2px; text-align: center; text-transform: uppercase; }
.match-history .stats-updated { margin: 0 0 12px; color: #767676; text-align: center; }
.match-history ul { margin: 0; padding: 0; list-style: none; }
.match-history .recent-games li { margin: 0 0 15px; padding: 0; background: transparent; box-shadow: none; }
.match-history .recent-games li > a,.match-history .recent-games li > .match-history-entry { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 68px; padding: 8px; border: 1px solid #555; border-radius: 6px; color: #fff; background: linear-gradient(#0007,#0008),url('/images/atlas-home-castle.jpg') center/cover no-repeat; box-shadow: inset 0 0 0 2px #ffffff29; font: 400 14px/1.2142857 Raleway,Arial,Helvetica,sans-serif; text-decoration: none; }
.match-history .recent-games li > a:hover,.match-history .recent-games li > a:focus-visible { border-color: #4ccbd2; box-shadow: inset 0 0 0 2px #ffffff38,0 2px 8px #0003; text-decoration: none; }
.match-contenders { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; color: #fff; }
.match-team { display: inline-flex; align-items: center; min-width: 0; }
.match-team-multi { flex-direction: column; align-items: flex-start; gap: 2px; }
.match-team-players { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.match-team-elo { display: block; color: #fff; font: 400 14px/1.2142857 Raleway,Arial,Helvetica,sans-serif; white-space: nowrap; }
.match-team-multi > .match-team-elo { padding-left: 52px; }
.match-team-elo .elo-gain { color: #85e6a8; }
.match-team-elo .elo-loss { color: #ff9292; }
.match-player { display: inline-flex; align-items: center; gap: 8px; color: #fff; white-space: nowrap; }
.match-player-copy { display: flex; flex-direction: column; align-items: flex-start; }
.match-history .match-player strong { color: #fff; font: 900 18px/1.2142857 Raleway,Arial,Helvetica,sans-serif; text-transform: uppercase; }
.match-history .match-player img { width: 44px; height: 44px; image-rendering: pixelated; }
.match-history .vs { margin: auto 5px; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.match-history .match-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font: 400 14px/1.2142857 Raleway,Arial,Helvetica,sans-serif; white-space: nowrap; }
.match-history .match-meta strong { font: 700 14px/1.2142857 Raleway,Arial,Helvetica,sans-serif; text-transform: uppercase; }
.match-history .match-meta .elo-gain { color: #85e6a8; }
.match-history .match-meta .elo-loss { color: #ff9292; }
.match-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 0 2px; font: 700 13px/1.2 Raleway,Arial,Helvetica,sans-serif; }
.match-pagination a,.match-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; color: #4c5961; text-decoration: none; }
.match-pagination a[aria-current=page] { border-radius: 4px; color: #fff; background: #3b9bc9; }
.match-pagination a:hover:not([aria-current=page]) { color: #2085b5; text-decoration: underline; }
.match-pagination > :first-child,.match-pagination > :last-child { font-size: 24px; }
.match-pagination span { color: #a9b2b8; }
.match-history-time { position: relative; display: inline-block; cursor: help; }
.match-history-time[data-exact-time]:hover::after,.match-history-time[data-exact-time]:focus-visible::after { content: attr(data-exact-time); position: absolute; z-index: 5; right: 0; bottom: calc(100% + 8px); width: max-content; max-width: min(260px,calc(100vw - 32px)); padding: 6px 9px; background: #17191c; box-shadow: 0 2px 6px #0005; color: #fff; font: 13px/1.35 Raleway,Arial,sans-serif; white-space: normal; pointer-events: none; }
.match-history-time[data-exact-time]:hover::before,.match-history-time[data-exact-time]:focus-visible::before { content: ''; position: absolute; z-index: 5; right: 8px; bottom: calc(100% + 2px); border: 6px solid transparent; border-top-color: #17191c; border-bottom: 0; pointer-events: none; }
.elo-gain { color: #24844a; }.elo-loss { color: #bc3131; }
.match-banner { flex-wrap: wrap; color: #fff; font-size: 22px; }
.match-banner p { width: 100%; text-align: center; font-size: 14px; margin: 0; }
.match-detail { max-width: 1180px; margin: 0 auto; }
.match-banner { min-height: 82px; padding: 10px 18px; margin-bottom: 14px; gap: 20px; border: 2px solid #405156; border-radius: 5px; background: linear-gradient(110deg,#122f32,#1d2634 50%,#211534); }
.match-comparison { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 14px; row-gap: 12px; align-items: start; }
.match-player-panel { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid #d9dfe1; border-radius: 5px; background: #f3f4f4; }
.match-loser { flex-direction: row-reverse; }
.match-body { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow-wrap: anywhere; color: inherit; font-size: 12px; }
.match-body img { object-fit: contain; image-rendering: pixelated; width: 76px; height: 174px; }
.match-body span { color: #718087; font-size: 11px; }
.match-combat { flex: 1; min-width: 0; }
.inventory-grid { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); background: #bfc3c4; border: 1px solid #d0d3d4; padding: 3px; }
.inventory-slot { position: relative; aspect-ratio: 1; border: 2px solid; border-color: #777 #f0f0f0 #f0f0f0 #777; background: #8b8b8b; color: #fff; font: 9px sans-serif; overflow: hidden; text-align: center; }
.inventory-item-icon { position: absolute; width: 82%; height: 82%; inset: 9%; object-fit: contain; image-rendering: pixelated; }
.inventory-unknown { display: block; padding-top: 35%; font-size: 8px; line-height: 1.1; }
.inventory-slot b { position: absolute; bottom: 0; right: 1px; z-index: 1; font-size: 11px; text-shadow: 1px 1px #000; }
.combat-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 15px; }
.combat-stats .profile-stat-card,.match-map .profile-stat-card { min-height: 0; padding: 12px 5px; }
.combat-stats h3,.match-map h3 { font-size: 10px; letter-spacing: .4px; }.combat-stats dt,.match-map dt { display: none; }
.combat-stats dd { font-size: 12px; letter-spacing: 0; }
.match-map { display: flex; justify-content: center; gap: 12px; margin: 12px; }.match-map article { width: 150px; }
.match-summary-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 20px; padding: 24px; background: #fff; border-radius: 5px; }
.match-summary-teams > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.match-summary-teams h2 { width: 100%; margin: 0 0 5px; color: #344; font: 700 15px Raleway,Arial,sans-serif; text-align: center; }
.match-summary-player { display: inline-flex; align-items: center; gap: 8px; padding: 8px; color: #263238; font: 700 14px Raleway,Arial,sans-serif; }
.match-summary-player img { image-rendering: pixelated; }
.match-summary-note { margin: 14px 0; color: #667; font: 500 13px Raleway,Arial,sans-serif; text-align: center; }
@media(max-width:575px) { .match-summary-teams { grid-template-columns: 1fr; gap: 8px; } .match-summary-teams > .vs { text-align: center; } }
@media(max-width:767px) { .atlas-staff .staff-item li { width: 50%; } .match-comparison { grid-template-columns: 1fr; } .match-player-panel { padding: 8px; } .match-body { flex-basis: 60px; }.match-body img { width: 60px; height: 138px; } .match-history .recent-games li > a,.match-history .recent-games li > .match-history-entry { grid-template-columns: 1fr; gap: 8px; } .match-history .match-meta { align-items: flex-start; text-align: left; } }
/* Reuse Lunar's archived leaderboard tables, with responsive containment. */
.atlas-leaderboards .page-current .title { width: 100%; margin-bottom: 0; }
.practice-leaderboards .page-current { min-height: 124px; justify-content: center; padding: 20px 24px; border: 1px solid #315765; border-radius: 6px; background: linear-gradient(90deg,#0a222fdc,#0a2938b3 50%,#0a222fdc),url('/images/atlas-home-castle.jpg') center 46%/cover no-repeat; box-shadow: 0 3px 10px #0002,inset 0 0 0 2px #ffffff20; }
.practice-leaderboards .page-current .title { width: 100%; text-align: center; }
.practice-leaderboards .page-current h2 { margin: 0; color: #fff; font: 700 clamp(18px,2vw,24px)/1.25 Montserrat,Arial,Helvetica,sans-serif; letter-spacing: .15em; text-shadow: 0 2px 12px #0009; text-transform: uppercase; }
.practice-leaderboards .page-current h2 i { display: block; margin: 0 auto 8px; color: #9fe5ef; font-size: 17px; }
@media (max-width: 575px) { .practice-leaderboards .page-current { min-height: 104px; padding: 18px 12px; } .practice-leaderboards .page-current h2 { letter-spacing: .09em; } }
.atlas-leaderboards .table { display: table; width: 100%; table-layout: auto; }
.atlas-leaderboards .table .rank { width: 13%; }
.atlas-leaderboards .table .username { width: 64%; }
.atlas-leaderboards .table .username .avatar { width: 100%; max-width: 180px; }
.atlas-leaderboards .table .username .avatar a { flex-wrap: nowrap; }
.atlas-leaderboards .avatar-face { flex: 0 0 16px; image-rendering: pixelated; }
.atlas-leaderboards .table .username .avatar span { width: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atlas-leaderboards .stats-updated { font-size: 12px; color: #767676; margin-bottom: 24px; }
.faction-leaderboards .page-current .title { width: calc(100% - 184px); }
.faction-leaderboards .page-current .sort-holder { width: 184px; display: flex; justify-content: flex-end; }
.faction-leaderboards .table-holder { overflow-x: hidden; border-radius: 5px 5px 0 0; }
.faction-leaderboards .table { display: table; width: 100%; min-width: 0; table-layout: fixed; background: #fff; border-radius: 5px; box-shadow: 0 1px 2px #0002; }
.faction-leaderboards .table thead th,.faction-leaderboards .table .bg-box,.faction-leaderboards .table .bg-box:before { background: #411824; color: #fff; }
.faction-leaderboards .table .rank { width: 8%; }
.faction-leaderboards .table .username { width: 34%; }
.faction-leaderboards .table th,.faction-leaderboards .table td { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .faction-leaderboards .table-holder { overflow-x: auto; } .faction-leaderboards .table { min-width: 640px; } }
.faction-leaderboards .table .username .avatar { width: 100%; }
.atlas-sort-menu { position: relative; }
.atlas-sort-menu summary { list-style: none; cursor: pointer; }
.atlas-sort-menu summary::-webkit-details-marker { display: none; }
.atlas-sort-menu[open] .dropdown-menu { display: block; position: absolute; top: calc(100% + 2px); right: 0; z-index: 20; min-width: 184px; }
.profile-main-panel { padding-top: 14px; }
.leaderboard-pages { display: flex; gap: 20px; justify-content: center; margin: 0 0 24px; }
.player-results li { padding: 12px 0; border-bottom: 1px solid #eee; }
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse { display: flex !important; }
  .navbar-expand-lg .navbar-nav.mr-auto { margin-right: 0 !important; }
  .navbar-expand-lg .player-search { margin-left: auto; }
  .navbar-expand-lg .account-links { margin-left: 12px !important; }
}
@media (max-width: 991px) {
  .navbar-expand-lg { padding-left: 15px; padding-right: 15px; }
  .navbar-expand-lg .navbar-collapse { display: none; flex-basis: 100%; }
  .navbar-expand-lg .navbar-collapse.is-open { display: block; }
  .navbar-expand-lg .navbar-nav { max-width: none; width: 100%; padding: 10px 0; margin: 0; }
  .navbar-expand-lg .navbar-nav > li { padding: 8px 0; margin: 0; }
  .navbar-expand-lg .account-links { margin: 0 -16px; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .navbar-expand-lg .player-search { width: 100%; margin: 8px 0 16px; justify-content: flex-start; }
  .navbar-expand-lg .player-search .form-group, .navbar-expand-lg .player-search .form-control { width: 100%; max-width: none; }
  .navbar-expand-lg .player-search .form-control { height: 34px; font-size: 14px; }
  .navbar-expand-lg .player-search .btn { top: 6px; }
  .navbar-expand-lg .dropdown-menu { position: static; margin-top: 10px; }
}
@media (max-width: 767px) { .home-showcase { min-height: 360px; } }
@media (max-width: 575px) {
  .home-showcase { min-height: 350px; }
  .home-showcase img { width: 145px; height: 145px; }
  .home-showcase h1 { font-size: 22px; letter-spacing: 6px; }
  .home-showcase p { font-size: 9px; letter-spacing: 2px; }
  .home-news-content h2 { font-size: 22px; }
  .home-news-header h2 { font-size: 18px; letter-spacing: 2px; }
}
/* Montserrat and one compact header size in both auth states. */
@font-face { font-family: Montserrat; src: url('/fonts/montserrat-latin.woff2') format('woff2'); font-style: normal; font-weight: 400 800; font-display: swap; }
body,button,input,select,textarea,.player-profile { font-family: Montserrat,Arial,Helvetica,sans-serif; }
.account-menu-items a,.account-menu-items button { font-family: Montserrat,Arial,Helvetica,sans-serif; }
.home-news-time[data-exact-time]:hover::after,.home-news-time[data-exact-time]:focus-visible::after,.profile-card-label[data-last-seen-exact]:hover::after,.profile-card-label[data-last-seen-exact]:focus-visible::after { font-family: Montserrat,Arial,Helvetica,sans-serif; }
.navbar-expand-lg { min-height: 70px; }
.navbar-expand-lg .navbar-brand img { width: 42px; height: 42px; }
.navbar-expand-lg .navbar-nav { font-size: 13px; }
.navbar-expand-lg .form-inline .form-control { height: 30px; max-width: none; font-size: 13px; padding-left: 30px; }
.navbar-expand-lg .form-inline .btn { top: 5px; left: 2px; font-size: 13px; }
.navbar-expand-lg .player-search { flex-basis: 245px; width: 245px; }
.navbar-expand-lg .account-links:not(.account-dropdown) { display: flex; align-items: center; gap: 22px; margin-left: auto; white-space: nowrap; }
.navbar-expand-lg .account-links:not(.account-dropdown) .nav-link { display: inline-flex; padding: 0; font-size: 13px; }
.navbar-expand-lg .account-dropdown .user .sub-txt { font-size: 9px; }
.navbar-expand-lg .account-dropdown .user .user-name { font-size: 13px; }
.navbar-expand-lg .account-dropdown .user .user-avatar img { width: 23px; height: 23px; }
.account-menu summary { width: 20px; height: 30px; }
.account-menu summary span { width: 15px; height: 2px; }
@media (max-width: 991px) {
  .navbar-expand-lg .player-search { width: 100%; }
  .navbar-expand-lg .account-links:not(.account-dropdown) { justify-content: flex-start; margin: 0 0 12px; }
}
.menu-notification-count { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; margin-left: auto; padding: 0 4px; border-radius: 10px; background: #db4040; color: #fff; font-size: 11px; font-weight: 700; }
.account-menu summary { position: relative; }
.account-menu summary .account-menu-notification-count { position: absolute; top: -4px; right: -11px; display: flex; min-width: 18px; width: auto; height: 18px; align-items: center; justify-content: center; padding: 0 3px; border-radius: 999px; background: #db4040; color: #fff; font: 700 10px/1 Montserrat,Arial,Helvetica,sans-serif; }
.account-menu summary:hover .account-menu-notification-count { background: #db4040; }
.social-page { margin: 24px auto; padding: 24px; max-width: 900px; background: #fff; }
.social-page h1 { margin: 0 0 16px; font-size: 26px; }
.social-page h2 { margin: 25px 0 10px; font-size: 18px; }
.social-page-nav { display: flex; flex-wrap: wrap; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid #e5e5e5; }
.social-page .friends-list { margin: 0; padding: 0; list-style: none; }
.friend-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #ececec; }
.friend-identity { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #5b7fa3; font-size: 16px; }
.friend-identity img { image-rendering: pixelated; }
.friend-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.friend-actions form { margin: 0; }
.friend-actions .btn { white-space: nowrap; }
.friends-empty { margin: 10px 0 0; color: #777; }
.profile-friend-card { margin-top: 15px; padding: 15px 12px 16px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px #0002; text-align: center; }
.profile-friend-card h2 { margin: 0 0 11px; color: #aaa; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.profile-friend-card .friends-box-plagin { max-width: 228px; padding: 0; margin: 0 auto; }
.profile-friend-card .friends-holder { padding: 2px; }
.profile-friend-card .friends-holder img,.profile-friend-card .friends-holder .count { display: block; width: 34px; height: 34px; border: 1px solid #f3f3f3; border-radius: 5px; }
.profile-friend-card .friends-holder a { position: relative; }
.profile-friend-card .friends-holder a:is(:hover,:focus-visible)::after { position: absolute; bottom: calc(100% + 4px); left: 50%; z-index: 5; transform: translateX(-50%); padding: 5px 8px; border-radius: 2px; background: #151515; color: #fff; content: attr(data-friend-name); font-size: 14px; line-height: 18px; white-space: nowrap; pointer-events: none; }
.profile-friend-card .friends-holder a:focus-visible { outline: 2px solid #247c9e; outline-offset: 2px; }
.profile-friend-card .friends-holder .count { padding-top: 7px; background: #f9f9f9; color: #6188b0; font-size: 12px; }
.profile-friend-card .friend-actions { justify-content: center; }
.profile-friend-card .profile-friend-action,.profile-friend-card .profile-friend-login { margin-top: 16px; }
.profile-friend-card .profile-friend-action p { margin: 0 0 8px; font-size: 12px; }
.profile-friend-card .friend-actions .btn,.profile-friend-card .profile-friend-login { width: 100%; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.profile-friend-card .friend-actions form { flex: 1 1 auto; }
.profile-friend-card .profile-friend-login { display: block; }
.forum-reply { scroll-margin-top: 130px; }
.forum-reply:target > .forum-reply-body { border-radius: 4px; background: #edf8fa; box-shadow: 0 0 0 8px #edf8fa; }

/* Store: a blue-and-white Atlas adaptation of the classic rank comparison. */
body.store-page { background: #f3f6f9; color: #52616d; }
.store-page .main { padding-bottom: 72px; }
.store-page .header { position: absolute; top: 0; right: 0; left: 0; z-index: 20; background: transparent; box-shadow: none; }
.store-page .navbar-expand-lg { background: transparent !important; }
.store-page .navbar-expand-lg .navbar-nav > li { padding: 0; margin: 0 4px; }
.store-page .navbar-expand-lg .navbar-nav > li > .nav-link { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px !important; border-radius: 4px; background: transparent; color: #fff !important; opacity: 1; }
.store-page .navbar-expand-lg #stats-toggle,.store-page .navbar-expand-lg #stats-toggle:hover,.store-page .navbar-expand-lg #stats-toggle:focus { color: #fff !important; }
.store-page .navbar-expand-lg .account-links.account-dropdown { padding: 5px 10px; border-radius: 4px; background: transparent; }
.store-page .navbar-expand-lg .account-dropdown .user .sub-txt,.store-page .navbar-expand-lg .account-dropdown .user .user-name { color: #fff; }
.store-page .account-menu summary span { background: #fff; }
.store-page .account-menu summary .account-menu-notification-count { background: #db4040; }
.store-page .navbar-toggler { border-color: #ffffffaa; }
.store-page .navbar-toggler-icon { filter: invert(1); }
.store-hero { width: 100vw; margin-left: calc(50% - 50vw); background: linear-gradient(105deg,#082b45e8,#0d6f9ed9),url('/images/atlas-home-castle.jpg') center 42%/cover; color: #fff; box-shadow: inset 0 -1px #ffffff26; }
.store-hero-inner { display: flex; min-height: 330px; max-width: 945px; margin: 0 auto; padding: 105px 24px 55px; align-items: center; gap: 30px; }
.store-hero img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 8px 18px #00182766); }
.store-hero h1 { margin: 2px 0 9px; color: #fff; font-family: Montserrat,Arial,Helvetica,sans-serif; font-size: clamp(29px,4vw,36px); font-weight: 800; line-height: 1.25; letter-spacing: 6px; text-transform: uppercase; }
.store-hero p:last-child { max-width: 610px; margin: 0; color: #d9f3ff; font-size: 16px; line-height: 1.6; }
.store-eyebrow { margin: 0; color: #229ed9; font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.store-hero .store-eyebrow { color: #8ce4ff; }
.store-shell { max-width: 945px; margin: -25px auto 0; position: relative; z-index: 2; }
.store-category-nav { display: flex; min-height: 58px; align-items: stretch; justify-content: center; gap: 2px; border: 1px solid #e0e7ec; border-radius: 5px; background: #fff; box-shadow: 0 8px 24px #13384d14; }
.store-category-nav a,.store-category-nav span { display: inline-flex; min-width: 145px; align-items: center; justify-content: center; gap: 7px; padding: 17px 20px 14px; border-bottom: 3px solid transparent; color: #83909a; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.store-category-nav a[aria-current="page"] { border-color: #229ed9; color: #167dab; }
.store-category-nav a:hover { text-decoration: none; color: #167dab; }
.store-category-nav span { cursor: not-allowed; opacity: .65; }
.store-category-nav small { padding: 2px 5px; border-radius: 999px; background: #e9f6fb; color: #1685b5; font-size: 9px; letter-spacing: .5px; }
.store-layout { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 15px; margin-top: 15px; align-items: start; }
.store-primary { min-width: 0; }
.store-ranks,.store-comparison > header,.store-table-scroll,.store-side-card { border: 1px solid #e0e7ec; border-radius: 5px; background: #fff; box-shadow: 0 2px 8px #15384b0d; }
.store-ranks { padding: 24px; }
.store-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.store-section-heading h2,.store-comparison h2,.store-side-card h2 { margin: 4px 0 0; color: #283842; font-size: 23px; font-weight: 750; line-height: 1.2; }
.store-section-heading > p { max-width: 300px; margin: 0; color: #85919a; font-size: 13px; line-height: 1.5; text-align: right; }
.store-rank-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.store-rank-card { --rank-color: #83909a; position: relative; overflow: hidden; min-height: 248px; padding: 20px; border: 1px solid #e1e8ed; border-top: 4px solid var(--rank-color); border-radius: 5px; background: linear-gradient(145deg,#fff 65%,color-mix(in srgb,var(--rank-color) 7%,white)); }
.store-rank-card::after { position: absolute; right: -35px; bottom: -55px; width: 145px; height: 145px; border: 22px solid color-mix(in srgb,var(--rank-color) 9%,transparent); border-radius: 50%; content: ''; pointer-events: none; }
.store-rank-basic { --rank-color: #85919b; }
.store-rank-pro { --rank-color: #397dda; }
.store-rank-master { --rank-color: #e7a033; }
.store-rank-legend { --rank-color: #178da5; }
.store-rank-mark { width: max-content; min-width: 42px; height: 42px; margin-bottom: 15px; color: var(--rank-color); font-family: "Segoe UI Symbol","Apple Symbols","Noto Sans Symbols 2",sans-serif; font-size: 38px; font-weight: 400; line-height: 42px; text-align: center; text-shadow: 0 5px 12px color-mix(in srgb,var(--rank-color) 22%,transparent); }
.store-rank-master .store-rank-mark { font-weight: 700; }
.store-rank-kicker { margin: 0 0 2px !important; color: var(--rank-color) !important; font-size: 10px !important; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.store-rank-card h2 { margin: 0 0 8px; color: #283842; font-family: Montserrat,Arial,Helvetica,sans-serif; font-size: 23px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; }
.store-rank-card > p:not(.store-rank-kicker) { min-height: 42px; margin: 0 0 13px; color: #74818b; font-size: 13px; line-height: 1.55; }
.store-rank-highlight { position: relative; z-index: 1; margin-bottom: 15px; color: #41525e; font-size: 12px; font-weight: 700; }
.store-rank-highlight i { margin-right: 7px; color: var(--rank-color); }
.store-rank-card button { position: relative; z-index: 1; width: 100%; padding: 10px 9px; border: 0; border-radius: 3px; background: #edf2f5; color: #85919a; font: 700 11px/1.2 Montserrat,Arial,sans-serif; letter-spacing: .7px; text-transform: uppercase; cursor: not-allowed; }
.store-comparison { margin-top: 15px; }
.store-comparison > header { padding: 21px 24px 17px; }
.store-mode-list { display: grid; gap: 14px; margin-top: 12px; }
.store-table-scroll { overflow-x: auto; }
.store-comparison table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
.store-comparison th,.store-comparison td { padding: 12px 13px; border-bottom: 1px solid #e7ecef; text-align: center; }
.store-comparison thead th { background: #26343e; color: #fff; font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.store-comparison thead .store-mode-name { color: #fff; font-size: 12px; letter-spacing: 1.2px; }
.store-comparison thead th:first-child,.store-comparison tbody th { text-align: left; }
.store-comparison tbody th { color: #52616d; font-weight: 600; }
.store-comparison tbody tr:nth-child(even) { background: #f8fafb; }
.store-comparison tbody tr:last-child th,.store-comparison tbody tr:last-child td { border-bottom: 0; }
.store-feature-value { color: #7f8c96; font-weight: 600; white-space: nowrap; }
.store-rank-basic-text { color: #dce2e6 !important; }
.store-rank-pro-text { color: #8ebcff !important; }
.store-rank-master-text { color: #ffc96f !important; }
.store-rank-legend-text { color: #7be1f5 !important; }
.store-feature-yes { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #e2f6fb; color: #168eae; font-size: 11px; }
.store-feature-no { color: #c5cdd2; }
.store-sidebar { display: grid; gap: 15px; }
.store-side-card { padding: 20px; }
.store-status-card { border-top: 4px solid #229ed9; text-align: center; }
.store-status-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: #e4f6fc; color: #1689b8; font-size: 18px; }
.store-side-card h2 { font-size: 17px; }
.store-side-card > p:last-child { margin: 11px 0 0; color: #7a8790; font-size: 12px; line-height: 1.65; }
.store-purchases-card .store-eyebrow { padding-bottom: 12px; border-bottom: 1px solid #edf0f2; }
.store-purchases-empty { display: flex; align-items: center; gap: 12px; min-height: 112px; padding: 18px 0 4px; }
.store-purchases-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 5px; background: #e7f6fc; color: #1689b8; font-size: 17px; }
.store-purchases-empty strong { display: block; margin-bottom: 4px; color: #42525e; font-size: 13px; }
.store-purchases-empty div > span { display: block; color: #7a8790; font-size: 12px; line-height: 1.55; }
.store-help-card { display: flex; align-items: center; gap: 13px; }
.store-help-card > i { color: #229ed9; font-size: 25px; }
.store-help-card a { display: inline-block; margin-top: 6px; color: #1687b6; font-size: 11px; font-weight: 700; }
.store-help-card h2 a { margin: 0; color: inherit; font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-decoration: none; text-transform: none; }
.store-help-card h2 a:hover { color: #1687b6; }
@media (max-width: 991px) { .store-layout { grid-template-columns: 1fr; } .store-sidebar { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 767px) { .store-hero-inner { min-height: 305px; padding: 95px 20px 42px; } .store-hero img { width: 72px; height: 72px; } .store-category-nav { justify-content: flex-start; overflow-x: auto; } .store-category-nav a,.store-category-nav span { min-width: 125px; } .store-section-heading { display: block; } .store-section-heading > p { max-width: none; margin-top: 9px; text-align: left; } .store-sidebar { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .store-hero-inner { display: block; text-align: center; } .store-hero img { margin-bottom: 15px; } .store-hero h1 { font-size: 28px; letter-spacing: 3px; } .store-hero p:last-child { font-size: 14px; } .store-ranks { padding: 18px; } .store-rank-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .social-page { margin: 12px 0; padding: 16px; } .friend-row { align-items: flex-start; flex-direction: column; } }
