/* ZARAYSK custom profile and shared account header. */
.navbar .navbar_usermenu {gap:10px;min-width:0}
.navbar .navbar_usermenu>.z-header-skins {order:-3;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #567a39;border-radius:6px;color:#9bcb68;background:#122011;font:600 12px 'Roboto',sans-serif;white-space:nowrap}
.navbar .z-header-balance {order:-2;display:flex;gap:4px;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #34382e;border-radius:22px;background:#171b16;color:#f0efea;font:700 13px 'Roboto',sans-serif;white-space:nowrap}
.navbar .z-header-balance small {color:#a5ad9f;font-size:11px}
.navbar .navbar_usermenu>#notifyOpen {display:inline-flex!important;order:-1;min-width:40px;min-height:40px;width:40px;padding:10px;border-radius:6px}
.navbar .navbar_usermenu>.pay_button {min-height:40px;padding:8px 14px;border-radius:6px;background:#9bcb68;color:#0b0b0b;font:600 12px 'Roboto',sans-serif;white-space:nowrap}
.navbar .navbar_usermenu>.z-header-account {display:flex;align-items:center;gap:10px;min-height:44px;padding:0 0 0 4px;background:transparent;border:0;border-radius:0;color:#f0efea;font:600 13px 'Roboto',sans-serif;min-width:0}
.navbar .z-header-account .user__avatar {width:36px;height:36px;flex:0 0 36px;margin:0;border:1px solid #495440;border-radius:50%;overflow:hidden}
.navbar .z-header-account .user__avatar img {width:100%;height:100%;object-fit:cover}
.navbar .z-header-account-name {max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navbar .navbar_usermenu>#profMenuOpen.z-header-account {background:transparent!important;color:#f0efea!important;border:0!important;box-shadow:none!important}
.navbar #profMenuOpen .z-header-account-name {color:#f0efea!important}
.navbar .z-header-streak{order:-2;display:flex;align-items:center;gap:6px;padding:6px 10px;min-height:36px;border:1px solid #34382e;border-radius:22px;background:#171b16;color:#c0c5bb;font:700 12px 'Roboto',sans-serif;white-space:nowrap}
.z-header-streak svg{width:22px;height:22px;flex:none}.z-header-streak small{margin-left:3px;font-size:10px;color:#a5ad9f}
.navbar .z-header-account-copy{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:0}
.navbar #profMenuOpen .z-header-account-balance{font:600 11px/1.2 'Roboto',sans-serif;color:#9bcb68!important;white-space:nowrap}
@media(max-width:1000px){.navbar .z-header-streak{display:none}}
@media(max-width:860px){.navbar .z-header-account-copy{display:none}}
.navbar .navbar_usermenu>.pay_button {background:#9bcb68!important;color:#0b0b0b!important;border:1px solid #9bcb68!important}
.navbar .navbar_usermenu>.pay_button :is(svg,span) {color:#0b0b0b!important;fill:#0b0b0b!important}
.z-header-chevron {width:7px;height:7px;border-right:1px solid #a5ad9f;border-bottom:1px solid #a5ad9f;transform:rotate(45deg);margin:0 3px 4px}
.navbar #z-header-account-menu,.navbar #z-header-notifications {max-width:calc(100vw - 32px);top:66px!important;right:0!important;left:auto!important}
.navbar :is(#profMenuOpen,#notifyOpen,.z-header-skins):focus-visible {outline:2px solid #9bcb68;outline-offset:4px}
.z-profile-breadcrumb {display:flex;gap:10px;align-items:center;margin:2px 0 18px;color:#a5ad9f;font:12px 'Roboto',sans-serif}
.z-profile .z-profile-hero {display:grid;grid-template-columns:160px minmax(0,1fr) 300px;gap:28px;padding:38px 30px 30px;margin:0;min-height:340px;border:1px solid #34382e;border-radius:10px;background:linear-gradient(180deg,#0b0b0ba8 0%,#0b0b0bce 45%,#0b0b0bf5 100%),var(--z-profile-banner,url('../img/zaraysk-profile-map-r9.png')) center top/cover;align-items:start;isolation:isolate}
.z-profile .z-profile-identity {display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.z-profile .z-profile-avatar {width:160px;height:160px;flex:none;border:1px solid #6a795b;border-radius:6px;background:#11170f;object-fit:cover}
.z-profile .z-profile-steam {display:inline-flex;align-items:center;min-height:36px;font-size:12px}
.z-profile .z-profile-last-seen {font-size:11px;color:#c0c5bb;line-height:1.5;margin:0}
.z-profile-summary {min-width:0}
.z-profile .z-kicker {font-size:10px;letter-spacing:1.5px;margin:0 0 8px}
.z-profile-summary h1 {font:600 30px/1.2 'Oswald',sans-serif;color:#f0efea;margin:0 0 20px;overflow-wrap:anywhere}
.z-profile .z-profile-rank {padding:0 0 16px;border-bottom:1px solid #f0efea26;position:relative;min-height:65px}
.z-profile .z-rank-heading {align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;padding-right:72px}
.z-profile .z-profile-rank img {position:absolute;right:0;top:0;width:64px;height:30px;margin:0;object-fit:contain}
.z-profile .z-profile-rank progress {margin-top:15px;height:5px;border-radius:3px;overflow:hidden}
.z-profile .z-profile-rank p {font-size:11px;color:#c0c5bb;margin-top:9px}
.z-profile .z-profile-actions {margin:16px 0;gap:8px}
.z-profile .z-profile-actions .z-action {min-height:36px;padding:8px 12px;border-radius:4px;font-size:12px}
.z-profile-privilege-section {margin-top:20px}
.z-profile-privilege-section h2,.z-profile-record h2,.z-profile-about h2 {font:600 14px/1.3 'Roboto',sans-serif;color:#f0efea;margin:0 0 12px}
.z-profile-privileges {font-size:12px;color:#c0c5bb}
.z-profile-privileges p {margin:6px 0 12px;line-height:1.5;overflow-wrap:anywhere}
.z-profile-record {min-width:0;border-left:1px solid #f0efea26;padding-left:24px}
.z-profile .z-profile-stats {display:flex;flex-direction:column;gap:0;margin:0;border:0;background:transparent}
.z-profile .z-profile-stats>div {display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid #f0efea12;background:transparent;min-width:0}
.z-profile .z-profile-stats dt {font-size:11px;color:#c0c5bb;margin:0;flex:1;min-width:0}
.z-profile .z-profile-stats dd {font:600 13px/1.3 'Roboto',sans-serif;color:#f0efea;max-width:65%;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0}
.z-profile .z-profile-stats>div:first-child dd {color:#9bcb68}
.z-profile-about {padding:22px 0;border-bottom:1px solid #34382e}
.z-profile-about p {color:#c0c5bb;font-size:13px;line-height:1.6;overflow-wrap:anywhere;margin:0}
.z-profile-socials {display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;color:#a5ad9f;font-size:12px;overflow-wrap:anywhere}
.z-profile .z-profile-nav {margin-top:16px;gap:4px;padding-bottom:12px}
.z-profile .z-profile-nav a {background:transparent;border-bottom:2px solid transparent;padding:10px 14px}
.z-profile .z-profile-nav a[aria-current] {color:#9bcb68;background:#9bcb6812;border-bottom-color:#9bcb68}
@media(max-width:1200px){.z-profile .z-profile-hero{grid-template-columns:128px minmax(0,1fr) 250px;gap:22px;padding:28px 24px}.z-profile .z-profile-avatar{width:128px;height:128px}.navbar .z-header-account-name{max-width:95px}.navbar .navbar_usermenu{gap:8px}.navbar .navbar_usermenu>.z-header-skins{padding:8px 10px}}
@media(max-width:1000px) and (min-width:861px){.navbar .z-header-account-name{display:none}.navbar .zaraysk-wordmark{width:125px}}
@media(max-width:860px){.navbar .navbar_usermenu{gap:6px}.navbar .z-header-account-name,.navbar .z-header-chevron,.navbar .z-header-balance,.navbar .navbar_usermenu>.z-header-skins,.navbar .navbar_usermenu>.pay_button{display:none}.navbar .navbar_usermenu>.z-header-account{width:40px;min-width:40px;padding:0;justify-content:center}.navbar .navbar_usermenu>#notifyOpen{width:36px;min-width:36px;padding:8px}.navbar .zaraysk-wordmark{width:108px}.navbar .logo-text{gap:7px}.navbar .navbar_usermenu>button:not(#profMenuOpen):not(#notifyOpen){width:40px;min-width:40px;font-size:0;padding:8px}.navbar #z-header-account-menu,.navbar #z-header-notifications{position:fixed!important;top:calc(76px + env(safe-area-inset-top,0px))!important;right:16px!important;max-height:calc(100dvh - 156px);overflow-y:auto}.z-profile .z-profile-hero{grid-template-columns:110px minmax(0,1fr);gap:22px;padding:26px 22px;background-position:center top}.z-profile .z-profile-avatar{width:110px;height:110px}.z-profile-record{grid-column:1/-1;border-left:0;border-top:1px solid #f0efea26;padding:20px 0 0}.z-profile .z-profile-stats{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}}
@media(max-width:500px){.z-profile .z-profile-hero{grid-template-columns:72px minmax(0,1fr);gap:14px;padding:22px 16px;border-radius:6px}.z-profile .z-profile-avatar{width:72px;height:72px}.z-profile .z-profile-identity{gap:8px}.z-profile .z-profile-steam{font-size:10px;white-space:normal;min-height:32px}.z-profile .z-profile-last-seen{font-size:10px}.z-profile-summary h1{font-size:25px;margin-bottom:14px}.z-profile .z-kicker{font-size:9px;letter-spacing:.5px}.z-profile .z-rank-heading{padding-right:0}.z-profile .z-profile-rank img{position:static;margin:8px 0 0;width:48px;height:24px}.z-profile .z-profile-stats{grid-template-columns:1fr}.z-profile .z-profile-stats dt{font-size:12px}.z-profile .z-profile-stats dd{font-size:14px}.z-profile-privilege-section{margin-top:16px}.z-profile .z-profile-actions .z-action{width:100%;min-height:40px}.navbar .zaraysk-wordmark{width:90px}.navbar .navbar_menu_left{gap:6px}.navbar .header_burger{min-width:36px!important;width:36px;padding:8px}}

.z-banner-settings{border:1px solid #34382e;padding:14px;display:grid;gap:12px;min-width:0}.z-banner-settings legend{color:#9bcb68;padding:0 6px;font-size:13px}.z-banner-settings p{color:#a5ad9f;font-size:12px;line-height:1.5;margin:0}.z-banner-settings select{background:#141a12;border:1px solid #34382e;color:#f0efea;padding:10px;width:100%;min-height:44px;font:14px Roboto,sans-serif}
.z-profile-settings .z-banner-settings input[type=file]{display:block!important;width:100%;min-height:44px;height:auto;padding:8px;border:1px solid #34382e;background:#141a12;color:#f0efea;font:12px 'Roboto',sans-serif}
.z-banner-settings input[type=file]::file-selector-button{min-height:30px;margin-right:8px;padding:6px 10px;border:0;background:#9bcb68;color:#0b0b0b;font:600 12px 'Roboto',sans-serif;cursor:pointer}
/* Maintain readable text even over a white user-uploaded banner. */
.z-profile .z-profile-hero{background-image:linear-gradient(180deg,#0b0b0bbf 0%,#0b0b0bde 55%,#0b0b0bf5 100%),var(--z-profile-banner,url('../img/zaraysk-profile-map-r9.png'))}
.z-profile-faceit{color:#b8c0b3;font:12px/1.7 Roboto,sans-serif;margin:0 0 16px;overflow-wrap:anywhere}.z-profile-faceit strong{color:#f0efea}.z-profile-faceit a{display:inline-block;margin-left:8px}
