/* Font */

@font-face {
    font-family: 'VoidTiers';
    src: url('../minecraft_font.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VoidTiers Display';
    src: url('../minecraft_font.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Navbar sizing */
    --nav-h: 47px;
    --nav-fs: 16px;
    --nav-icon-size: 16px;
    /* Link/button sizing */
    --btn-fs: 18px;
    --btn-lh: 21px;
    --btn-h: 35px;
    --link-pad: 14px;
    --hover-gap: 4px;
    /* Auth */
    --auth-card-max: 420px;
    --auth-pad-x: 40px;
    --auth-pad-y: 48px;
    --feature-h: 238px;
    --tiers-rank: 60px;
    --tiers-player-min: 220px;
    --tiers-region: 120px;
    --logo-visual-offset-x: 0px;
    --logo-slot-h: 60px;
    --logo-scale: 1;
    --logo-footer-slot-h: 48px;
    --logo-footer-scale: 1;
    --accent: #b06cff;
    --accent-rgb: 176, 108, 255;
}

/* Base */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'VoidTiers', serif;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.navbar {
    background: #0b0b0c;
    border-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .container {
    padding: 10px 20px;
    overflow: visible;
}

.navbar-content {
    position: relative;
    height: var(--nav-h);
    padding: 0 28px;
    border-radius: 14px;
    background: #0b0c11;
    border: 1px solid rgb(16, 20, 30);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 10px 28px rgba(0, 0, 0, .45);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-left,
.nav-right {
    flex: 1 1 0;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: flex;
    justify-content: center;
    overflow: visible;
    transform: translate(calc(-50% + var(--logo-visual-offset-x)), -50%);
}

.nav-divider {
    color: #e7e9ef;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: var(--btn-h);
    padding: 0 var(--link-pad);
    color: #e7e9ef;
    text-decoration: none;
    font-weight: 300;
    font-size: var(--nav-fs);
    line-height: 1;
    border: 0;
    background: transparent;
    transition: color .15s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link i[class^="fa-"],
.nav-link i.fa-solid,
.nav-link i.fa-regular,
.nav-link i.fa-brands {
    font-size: var(--nav-icon-size);
    line-height: 1;
    height: 1em;
    width: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(0.5px);
}

.nav-link .nav-icon {
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    display: block;
    fill: currentColor;
}

.nav-link::before {
    content: "";
    position: absolute;
    left: var(--link-pad);
    right: var(--link-pad);
    top: calc( (var(--btn-h) - max(var(--btn-lh), var(--nav-icon-size)))/2 - var(--hover-gap));
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right center;
    opacity: 0;
    transition: transform .25s ease-out, opacity .2s ease-out;
    pointer-events: none;
    z-index: 2;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
    transform: scaleX(1);
    opacity: 1;
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active i {
    color: var(--accent);
}

.nav-link.active .nav-icon {
    fill: var(--accent);
}

.nav-link.active::before {
    opacity: 0;
    transform: scaleX(0);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: var(--link-pad);
    right: var(--link-pad);
    top: calc( (var(--btn-h) - max(var(--btn-lh), var(--nav-icon-size)))/2 - var(--hover-gap));
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    z-index: 3;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.2s ease;
    overflow: visible;
}

.logo-img {
    height: var(--logo-slot-h);
    width: auto;
    display: block;
    object-fit: contain;
    transform: scale(var(--logo-scale));
    transform-origin: center center;
}

.btn-signin {
    --btn-border: #700000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: var(--btn-h);
    padding: 0 18px;
    border-radius: 7px;
    border: 1px solid var(--btn-border);
    background: linear-gradient(127deg, #750000 0%, #d40000 14.414%, #e63737 59.459%, #e30000 88.288%, #520000 101.351%);
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    line-height: 1;
    transition: transform .12s ease, filter .12s ease;
}

.btn-signin:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-signin:active {
    transform: none;
    filter: brightness(.98);
}

.btn-signin:focus-visible {
    outline: 2px solid #ff5252;
    outline-offset: 2px;
}

.btn-signin .signin-icon {
    width: 18px;
    height: 18px;
    display: block;
    stroke: #fff;
    stroke-width: 1.5;
}

.search-container {
    background-color: #0a0a0a;
    padding: 20px 0;
    border-top: 1px solid #1a1a1a;
    width: 100%;
}

.search-wrapper {
    width: 100%;
    padding: 0 20px;
    max-width: none;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: #ff4444;
    background-color: #222;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.search-input::placeholder {
    color: #666;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #666;
    pointer-events: none;
}

.search-page {
    padding: 48px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.search-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25), 0 18px 32px rgba(0, 0, 0, .55);
    border-radius: 18px;
    padding: 32px;
}

.search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    color: #a9b3c9;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .03em;
    transition: color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.search-tab i {
    font-size: 16px;
}

.search-tab:hover {
    color: #e7e9ff;
    border-color: #2a3550;
}

.search-tab.active {
    border-color: #fff;
    color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
}

.search-tab.disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.search-panel {
    display: none;
}

.search-panel.active {
    display: block;
}

.search-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.search-meta-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-heading {
    margin: 0;
    font-size: 22px;
    color: #fff;
    letter-spacing: .04em;
}

.search-count {
    margin: 0;
    color: #8b9ac4;
    font-size: 14px;
    letter-spacing: .02em;
}

.search-sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.search-sort label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #5f6a8a;
}

.search-sort select {
    appearance: none;
    background: #060910;
    border: 1px solid #232733;
    border-radius: 8px;
    color: #fff;
    font-family: 'VoidTiers', sans-serif;
    font-size: 13px;
    padding: 8px 30px 8px 12px;
    cursor: pointer;
    position: relative;
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.search-sort select:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, .2);
}

.search-sort select:disabled {
    opacity: .4;
    cursor: default;
}

.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(30, 41, 59, .8);
    background: rgba(6, 9, 16, .85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.search-result:hover {
    border-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 30px rgba(0, 0, 0, .45);
    transform: translateY(-1px);
}

.search-result:focus-visible {
    outline: 2px solid #ff4444;
    outline-offset: 3px;
}

.search-player {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.search-player-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0b0f1a;
    image-rendering: pixelated;
}

.search-player-avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c4cce1;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.search-player-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-player-name {
    color: #fff;
    font-size: 16px;
    letter-spacing: .02em;
}

.search-player-points {
    color: #9aa7c8;
    font-size: 13px;
}

.result-arrow {
    color: #3d4969;
    font-size: 14px;
}

.search-result:hover .result-arrow {
    color: #fff;
}

.search-empty,
.search-error {
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(30, 41, 59, .8);
    background: rgba(6, 9, 16, .75);
    color: #a5b0cd;
    display: flex;
    flex-direction: column;
    gap: 6px;
    letter-spacing: .02em;
}

.search-empty strong {
    color: #fff;
    font-size: 16px;
}

.search-error {
    border-color: rgba(255, 82, 82, .45);
    background: rgba(40, 2, 6, .65);
    color: #ff8a8a;
}

.search-error::before {
    content: '\26A0';
    font-size: 18px;
    font-weight: 700;
}

.search-pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.search-pagination__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-pagination__nav .pg,
.search-pagination__nav .pg:link,
.search-pagination__nav .pg:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(30, 41, 59, .8);
    background: rgba(6, 9, 16, .8);
    color: #cdd6f4;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .03em;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.search-pagination__nav .pg:hover {
    border-color: #fff;
    color: #fff;
}

.search-pagination__nav .pg.active,
.search-pagination__nav .pg[aria-current="page"] {
    border-color: #ff4444;
    background: linear-gradient(135deg, rgba(255, 68, 68, .15), rgba(255, 68, 68, .05));
    color: #fff;
}

.search-pagination__nav .pg.disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.search-pagination__nav .pg:not(.pg-prev):not(.pg-next) {
    min-width: 44px;
}

.search-pagination__nav .ellipsis {
    color: #6b748b;
    padding: 0 8px;
}

.search-pagination__nav .pg:focus-visible {
    outline: 2px solid #ff4444;
    outline-offset: 3px;
}

.footer {
    border-top: 1px solid #333;
    padding: 32px 0 20px;
    font-family: 'VoidTiers', sans-serif;
    background-image: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: visible;
}

.footer-logo img {
    height: var(--logo-footer-slot-h);
    width: auto;
    display: block;
    object-fit: contain;
    transform: scale(var(--logo-footer-scale));
    transform-origin: center center;
}

.footer-content {
    color: #777;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 12px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-info {
    margin: 0;
}

.auth-wrapper {
    width: 100%;
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 96px 20px 160px;
    background: radial-gradient(circle at 50% 20%, rgba(255, 68, 68, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
}

.auth-card {
    width: 100%;
    max-width: var(--auth-card-max);
    padding: var(--auth-pad-y) var(--auth-pad-x) 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 68, 68, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-align: center;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.2);
    transition: all 0.3s ease;
}

.auth-logo:hover {
    transform: scale(1.05);
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.4);
}

.auth-logo img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(255, 68, 68, 0.3));
}

.auth-heading {
    margin: 0 0 32px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.auth-form {
    width: 100%;
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
}

.auth-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
}

.auth-input:focus {
    border-color: #ff4444;
    background-color: #222;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #fff;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.form-error {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #ff6666;
}

.form-row.form-aux {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #aaa;
}

.form-row.form-aux .remember input[type="checkbox"] {
    accent-color: #ff4444;
}

.forgot-link {
    color: #ff4444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #ff6666;
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ff4444, #ff3333);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 68, 68, 0.5);
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.auth-submit:hover {
    background: linear-gradient(135deg, #ff3333, #ff2222);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 68, 68, 0.4);
}

.auth-submit .signin-icon {
    width: 20px;
    height: 20px;
}

.auth-alt {
    margin-top: 40px;
    font-size: 14px;
    color: #888;
    text-align: center;
}

.auth-alt a {
    color: #ff4444;
    text-decoration: none;
    font-weight: 600;
}

.auth-alt a:hover {
    color: #ff6666;
    text-decoration: underline;
}

.home-section {
    padding: 10px 0 80px;
    background-image: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.feature-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.feature-panel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    font-family: 'VoidTiers', sans-serif;
    aspect-ratio: 16 / 9;
}

.feature-image {
    width: 100%;
    height: 238px;
    position: relative;
    border-radius: inherit;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.feature-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.feature-panel {
    height: var(--feature-h);
    aspect-ratio: auto;
    display: block;
    position: relative;
    overflow: hidden;
}

.feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: inherit;
}

.feature-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 5px 5px 5px 15px;
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.feature-title {
    margin: 0;
    font-size: 28px;
}

.feature-subtitle {
    margin-top: 4px;
    font-size: 16px;
}

.feature-panel.tourneys .feature-content {
    background: linear-gradient(135deg, rgba(153, 64, 255, 0.6), rgba(0, 0, 0, 0.2));
}

.feature-panel.leaderboards .feature-content {
    color: black;
    /*background: linear-gradient(135deg, rgba(255, 214, 64, 0.6), rgba(0, 0, 0, 0.2));*/
}

.well-spacer {
    height: 1px;
    background: #222;
    margin: 24px 0;
}

.leaderboard-container {
    border: 1px solid rgb(16, 20, 30);
    border-radius: 14px;
    padding: 24px;
}

.servers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid #222;
    padding-bottom: 12px;
}

.servers-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: 'VoidTiers', sans-serif;
}

.servers-filter {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    transition: color .2s;
}

.servers-filter:hover {
    color: #ff4444;
}

.servers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-item {
    display: grid;
    grid-template-columns: 28px 48px 1fr auto auto;
    align-items: center;
    gap: 16px;
    background: #14161f;
    border: 1px solid #23262f;
    border-radius: 8px;
    padding: 14px 18px;
}

.server-flag {
    width: 28px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.server-icon {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.server-domain {
    font-size: 18px;
    color: #d7d7d7;
    font-weight: 600;
}

.server-count {
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    color: #e4e4e4;
}

.server-divider {
    opacity: .35;
    margin: 0 4px;
}

.server-link {
    color: #999;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color .2s;
    border-radius: 4px;
}

.server-link:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, .1);
}

.discord-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 24px auto 0;
}

.discord-inner {
    text-align: center;
}

.discord-title {
    font-size: 24px;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    color: #fff;
    margin-bottom: 20px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #ff4444, #ff1111);
    border-radius: 10px;
    border: 1px solid rgba(255, 68, 68, .6);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 3px 10px rgba(255, 68, 68, .4);
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 68, 68, .45);
}

.discord-icon {
    width: 24px;
    height: 24px;
}

.top-players {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.top-players-title {
    font-size: 32px;
    color: rgb(255, 200, 0);
    background-image: linear-gradient(0deg, #fff 0%, #ffc800 35%, #000 100%);
    text-shadow: rgb(250, 162, 0) 0 1px 17px;
    background-clip: text;
    -webkit-background-clip: text;
    font-family: 'VoidTiers', serif;
    font-weight: 500;
    text-align: center;
    width: 100%;
    margin: 0 auto 12px;
}

.podium {
    --podium-side-w: 170px;
    --podium-center-w: 190px;
    --podium-gap: 22px;
    display: grid;
    grid-template-columns: var(--podium-side-w) var(--podium-center-w) var(--podium-side-w);
    justify-content: center;
    align-items: end;
    gap: var(--podium-gap);
    width: 100%;
    margin: 0 auto 32px;
    min-height: 280px;
}

.top-list {
    min-height: 5.5rem;
}

.podium {
    position: relative;
    isolation: isolate;
}

/* One player on home podium — center the #1 card (not left column) */
.podium--single,
.podium:has(> .podium-card:only-child) {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    grid-template-columns: unset;
    max-width: 100%;
}

.podium--single .podium-card.first,
.podium:has(> .podium-card:only-child) .podium-card.first {
    justify-self: center;
    margin: 0 auto;
}

.podium::before {
    content: "";
    position: absolute;
    inset: -18% -10% -12% -10%;
    background: linear-gradient(180deg, #fff0 15%, #ffea051a 56.3063%, #ababab00);
    mask: radial-gradient(48% 75% at 50% 50%, #fff 67%, transparent 100%);
    -webkit-mask: radial-gradient(48% 75% at 50% 50%, #fff 67%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.podium-card {
    position: relative;
    z-index: 1;
}

.podium-card {
    --pod-w: 170px;
    --pod-h: 260px;
    --base-h: 34%;
    --tier-name: #fff;
    --place-fg: var(--tier-name);
    width: var(--pod-w);
    height: var(--pod-h);
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr var(--base-h);
    gap: 0;
    padding: 10px 14px 0;
    border-radius: 12px;
    background: #0b0c11;
    border: 1px solid rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 18px 32px rgba(0, 0, 0, .45);
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.podium-card.first {
    --tier-name: #ffcc00;
    --place-fg: #ffcc00;
    --pod-w: 190px;
    --pod-h: 300px;
    z-index: 2;
    background: linear-gradient(rgb(0, 0, 7) 39%, rgba(255, 221, 0, 0.23) 135%);
    justify-self: center;
}

.podium-card.second {
    --tier-name: #cfcfcf;
    --place-fg: #cfcfcf;
    --pod-w: 170px;
    --pod-h: 260px;
    background: linear-gradient(rgb(0, 0, 7) 31%, rgba(84, 84, 84, 0.53) 136%);
    justify-self: end;
}

.podium-card.third {
    --tier-name: #cd7f32;
    --place-fg: #cd7f32;
    --pod-w: 150px;
    --pod-h: 230px;
    background: linear-gradient(rgb(0, 0, 8) 11%, rgba(107, 30, 0, 0.58) 125%);
    justify-self: start;
}

/* Home podium shine — same sweep as tiers #1 / #2 / #3 rows */
.podium-card.first::after,
.podium-card.second::after,
.podium-card.third::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -55%;
    width: 55%;
    z-index: 3;
    pointer-events: none;
    animation: tiers-row-shine 2.75s ease-in-out infinite;
}

.podium-card.first::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 200, 50, 0.06) 18%,
        rgba(255, 230, 140, 0.48) 50%,
        rgba(255, 200, 50, 0.06) 82%,
        transparent 100%
    );
}

.podium-card.second::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(192, 198, 210, 0.06) 18%,
        rgba(230, 235, 245, 0.45) 50%,
        rgba(192, 198, 210, 0.06) 82%,
        transparent 100%
    );
    animation-delay: 0.35s;
}

.podium-card.third::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(180, 110, 45, 0.07) 18%,
        rgba(227, 150, 70, 0.45) 50%,
        rgba(180, 110, 45, 0.07) 82%,
        transparent 100%
    );
    animation-delay: 0.7s;
}

.podium-card.first > *,
.podium-card.second > *,
.podium-card.third > * {
    position: relative;
    z-index: 4;
}

.podium-name {
    grid-row: 1;
    margin: 6px 0 8px;
    font-weight: 800;
    font-size: clamp(14px, calc(var(--pod-w) / 8.5), 20px);
    letter-spacing: .5px;
    line-height: 1.05;
    color: var(--tier-name);
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-name.is-long {
    font-size: clamp(13px, calc(var(--pod-w) / 10), 17px);
    letter-spacing: .25px;
}

.podium-name.is-xlong {
    font-size: clamp(12px, calc(var(--pod-w) / 11.5), 15px);
    letter-spacing: .1px;
}

.podium-avatar {
    grid-row: 2;
    align-self: end;
    justify-self: center;
    width: 108px;
    height: 108px;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
    margin: 0;
}

.podium-card.first .podium-avatar {
    width: 120px;
    height: 120px;
}

.podium-avatar--loading,
.skin-avatar--loading {
    visibility: hidden;
}

.podium-place {
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 56px;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--place-fg);
    text-shadow: rgb(0, 0, 0) 0px 0px 21px, rgb(0, 0, 0) 0px 2px 4px;
}

.podium-card.first .podium-place {
    box-shadow: inset 0 0 24px rgba(255, 180, 0, .35);
    background: radial-gradient(92% 184% at 50% -72.5%, rgb(255, 200, 0) 0%, rgba(0, 0, 0, 0) 94.144144%);
    mask: radial-gradient(50% 219%, rgb(0, 0, 0) 43.243243%, rgba(0, 0, 0, 0) 100%);
    mask-size: auto;
    mask-composite: add;
    mask-mode: match-source;
    opacity: 1;
    font-size: 70px;
}

.podium-card.second .podium-place {
    background: radial-gradient(92% 184% at 50% -72.5%, rgb(186, 186, 186) 0%, rgba(0, 0, 0, 0) 94.144144%);
    mask: radial-gradient(44% 219% at 50% 0%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    mask-size: auto;
    mask-composite: add;
    mask-mode: match-source;
    opacity: 1;
    box-shadow: inset 0 0 20px rgba(160, 160, 160, .35);
}

.podium-card.third .podium-place {
    background: radial-gradient(92% 184% at 50% -72.5%, rgb(222, 104, 0) 0%, rgba(0, 0, 0, 0) 94.144144%);
    mask: radial-gradient(44% 219% at 50% 0%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    mask-size: auto;
    mask-composite: add;
    mask-mode: match-source;
    opacity: 1;
    box-shadow: inset 0 0 20px rgba(205, 127, 50, .35);
    font-size: 36px;
    align-items: flex-start;
    padding-top: 6px;
}

.podium-card.first .podium-place,
.podium-card.second .podium-place {
    align-items: flex-start;
    padding-top: 6px;
}

@media (max-width: 520px) {
    .podium:not(.podium--single):not(:has(> .podium-card:only-child)) {
        --podium-gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .podium-card.first {
        --pod-w: 160px;
        --pod-h: 260px;
    }
    .podium-card.second {
        --pod-w: 140px;
        --pod-h: 230px;
    }
    .podium-card.third {
        --pod-w: 128px;
        --pod-h: 210px;
    }
    .podium-card {
        width: 100%;
    }
    .podium-place {
        font-size: 44px;
    }
    .podium-card.first .podium-place {
        font-size: 52px;
    }
    .podium-card.first .podium-place,
    .podium-card.second .podium-place {
        padding-top: 4px;
    }
    .podium-card.third .podium-place {
        font-size: 38px;
        padding-top: 4px;
        align-items: flex-start;
    }
    .podium-avatar {
        width: 96px;
        height: 96px;
    }
    .podium-card.first .podium-avatar {
        width: 108px;
        height: 108px;
    }
}

.podium-avatar {
    display: block;
    transition: transform .18s ease-out;
    transform-origin: center bottom;
    will-change: transform;
}

.podium-card:hover .podium-avatar {
    transform: scale(1.06);
}

.podium-card:active .podium-avatar {
    transform: scale(1.03);
}

.podium-card:focus-visible .podium-avatar {
    transform: scale(1.06);
}

.podium-card[aria-disabled="true"] {
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    .podium-avatar {
        transition: none;
    }
}

.top-list {
    list-style: none;
    margin: 40px auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
}

.top-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #14161f;
    border: 1px solid #23262f;
    border-radius: 8px;
    padding: 10px 16px;
    color: #e4e4e4;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
}

.top-list-item .rank {
    width: 24px;
    font-weight: 700;
    color: #fff;
}

.top-list-item .avatar {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}

.top-list-item .name {
    flex: 1;
    font-weight: 600;
    color: #d7d7d7;
    text-decoration: none;
}

.top-list-item .points {
    font-size: 14px;
    color: #aaa;
}

.leaderboard-wrap {
    text-align: center;
    margin-top: 24px;
}

.leaderboard-link {
    color: rgb(112, 112, 112);
    text-decoration: none;
    font-weight: 400;
}

.podium-spacer {
    width: min(940px, 92%);
    height: 2px;
    margin: -4px auto 14px;
    background: linear-gradient(90deg, rgba(180, 198, 255, 0.00) 0%, rgba(180, 198, 255, 0.25) 10%, rgba(255, 255, 255, 0.65) 50%, rgba(180, 198, 255, 0.25) 90%, rgba(180, 198, 255, 0.00) 100%);
    -webkit-mask: radial-gradient(34% 89% at 50% 50%, rgb(0 0 0) 0%, rgb(0 0 0) 50.900901%, rgba(0 0 0 / 0) 100%);
    mask: radial-gradient(34% 89% at 50% 50%, rgb(0 0 0) 0%, rgb(0 0 0) 50.900901%, rgba(0 0 0 / 0) 100%);
    filter: drop-shadow(0 6px 14px rgba(148, 178, 255, .25));
    opacity: .9;
}

@media (max-width: 520px) {
    .podium-spacer {
        width: 96%;
        margin: -2px auto 10px;
    }
}

.top-list {
    margin: 12px auto 0;
    padding: 0;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-list-item {
    display: grid;
    grid-template-columns: 36px 52px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #0b0f1a 0%, #0a0d16 100%);
    border-radius: 12px;
    border: 1px solid #1a2a48;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .08), 0 8px 20px rgba(0, 0, 0, .45);
    color: #e4e4e4;
    font-family: 'VoidTiers', sans-serif;
}

.top-list-item .rank {
    width: auto;
    font-weight: 900;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 1px;
    color: #72a9ff;
    text-shadow: 0 0 14px rgba(114, 169, 255, .75), 0 2px 0 rgba(0, 0, 0, .65);
}

.top-list-item .avatar {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    filter: drop-shadow(0px 1px 7px #556b82);
    object-fit: cover;
}

.top-list-item .name {
    font-weight: 700;
    font-size: 20px;
    color: #e9ecff;
    letter-spacing: .3px;
    text-decoration: none;
}

.top-list-item .points {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #bfc8e8;
    white-space: nowrap;
}

.top-list-item .points-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 200, 0, .45));
    transform: translateY(-.4px);
}

.top-players .top-list {
    max-width: 550px;
    margin-top: 10px;
    gap: 10px;
}

.top-players .top-list-item {
    padding: 10px 14px;
    grid-template-columns: 30px 44px 1fr auto;
    gap: 12px;
    border-radius: 10px;
}

.live-matches {
    margin-top: 8px;
}

.matches-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
}

.matches-colheads {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr 120px 80px;
    gap: 16px;
    font-family: 'VoidTiers', sans-serif;
    font-size: 12px;
    color: #9197a6;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.matches-colheads .players {
    grid-column: 2;
}

.matches-colheads .kit {
    grid-column: 3;
    text-align: left;
}

.matches-colheads .result {
    grid-column: 4;
    text-align: left;
}

.matches-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-row {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr 120px 80px;
    gap: 16px;
    align-items: center;
    background: linear-gradient(180deg, #0b0f1a 0%, #0a0d16 100%);
    border: 1px solid #1a2a48;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .07), 0 8px 18px rgba(0, 0, 0, .45);
}

.match-row .server {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.swords {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f121c;
    border: 1px solid #232a3d;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .06);
    color: #d6d9e6;
}

.swords-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.server-name {
    color: #d7d7d7;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

.match-row .players {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'VoidTiers', sans-serif;
}

.match-row .player {
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px;
}

.match-row .player.loser {
    color: #72a9ff;
}

.match-row .player.winner {
    color: #61ff89;
}

.match-row .vs {
    color: #8ea3cc;
    opacity: .9;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.match-row .kit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #cfd3ff;
    font-weight: 600;
}

.match-row .kit-icon {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
    object-fit: contain;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.kit-icon-wrap {
    position: relative;
    display: inline-block;
}

.kit-icon-wrap::after {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) translateY(-8px);
    background: #0b0c11;
    color: #e7e9ef;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #2a2f3b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 10;
}

.kit-icon-wrap::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) translateY(2px);
    border: 6px solid transparent;
    border-top-color: #0b0c11;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 10;
}

.kit-icon-wrap:hover::after,
.kit-icon-wrap:hover::before {
    opacity: 1;
}

.match-row .result .score {
    font-family: 'VoidTiers', sans-serif;
    color: #e9ecff;
    font-weight: 800;
    letter-spacing: .5px;
}

.match-row:hover {
    border-color: #2a3e6e;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .12), 0 10px 22px rgba(0, 0, 0, .5);
    transform: translateY(-1px);
}

@media (max-width: 820px) {
    .matches-colheads {
        display: none;
    }
    .match-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    .match-row .server {
        order: 1;
    }
    .match-row .players {
        order: 2;
    }
    .match-row .kit {
        order: 3;
    }
    .match-row .result {
        order: 4;
    }
}

.top-players .top-list-item .rank {
    font-size: 24px;
}

.top-players .top-list-item .avatar {
    width: 44px;
    height: 44px;
}

.top-players .top-list-item .name {
    font-size: 16px;
    text-decoration: none;
}

.top-players .top-list-item .points {
    font-size: 12px;
}

.top-players .top-list-item .points::before {
    font-size: 10px;
}

.live-matches .matches-header {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr 120px 80px;
    align-items: end;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
}

.live-matches #live-matches-title {
    grid-column: 1;
    margin: 0;
    align-self: end;
}

.live-matches .matches-colheads {
    display: contents;
}

.live-matches .matches-colheads .players {
    grid-column: 2;
}

.live-matches .matches-colheads .kit {
    grid-column: 3;
    text-align: left;
}

.live-matches .matches-colheads .result {
    grid-column: 4;
    text-align: left;
}

.live-matches .match-row {
    grid-template-columns: minmax(220px, 280px) 1fr 120px 80px;
}

.live-matches .matches-list {
    margin-top: 10px;
}

@media (max-width: 820px) {
    .live-matches .matches-colheads {
        display: none;
    }
}

@media (max-width: 900px) {
    .nav-link span,
    .btn-signin span {
        display: none;
    }
    .navbar-content {
        padding: 0 14px;
    }
    .nav-left,
    .nav-right {
        gap: 10px;
    }
    .nav-center .logo {
        padding: 0;
    }
    .logo-img {
        --logo-slot-h: 36px;
    }
}

@media (max-width: 768px) {
    .nav-link span,
    .btn-signin span {
        display: none;
    }
    .logo {
        padding: 0;
    }
    .logo-img {
        --logo-slot-h: 34px;
    }
    .nav-left,
    .nav-right {
        gap: 4px;
    }
    .search-wrapper {
        padding: 0 16px;
    }
    .search-input {
        padding: 14px 14px 14px 46px;
        font-size: 14px;
    }
    .search-card {
        padding: 24px;
    }
    .search-tabs {
        gap: 10px;
    }
    .search-results-meta {
        align-items: stretch;
    }
    .search-sort {
        width: 100%;
        justify-content: space-between;
    }
    .search-sort label {
        flex: 0 0 auto;
    }
    .search-sort select {
        flex: 1 1 auto;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-left {
        align-items: center;
        gap: 12px;
    }
    .footer-info {
        font-size: 13px;
    }
    .footer-logo img {
        --logo-footer-slot-h: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .search-wrapper {
        padding: 0 12px;
    }
    .search-card {
        padding: 20px;
    }
    .search-result {
        flex-direction: column;
        align-items: flex-start;
    }
    .result-arrow {
        align-self: flex-end;
    }
    :root {
        --auth-pad-x: 24px;
        --auth-pad-y: 32px;
    }
    .auth-card {
        padding: var(--auth-pad-y) var(--auth-pad-x) 48px;
    }
    .auth-logo img {
        height: 48px;
    }
    .auth-heading {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .auth-input {
        font-size: 15px;
        padding: 12px 14px;
    }
    .form-row.form-aux {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .auth-submit {
        font-size: 15px;
        padding: 12px 20px;
    }
}

.navbar {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
}

.navbar-content {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
}

.nav-center .logo {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.logo-img {
    height: var(--logo-slot-h) !important;
    width: auto !important;
    max-height: none !important;
    max-width: none !important;
    transform: scale(var(--logo-scale)) !important;
    transform-origin: center center !important;
}

@media (max-width: 900px) {
    .nav-center .logo {
        padding: 0 !important;
    }
    .logo-img {
        --logo-slot-h: 34px !important;
    }
}

@media (max-width: 540px) {
    :root {
        --link-pad: 10px;
        --btn-h: 32px;
        --nav-icon-size: 15px;
    }
    .navbar .container {
        padding: 10px 12px;
    }
    .navbar-content {
        height: auto;
        min-height: var(--nav-h);
        padding: 10px 12px;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
    }
    .nav-left,
    .nav-right {
        flex: 1 1 45%;
        justify-content: center;
    }
    .nav-center {
        position: static;
        transform: none;
        order: -1;
        width: 100%;
        justify-content: center;
    }
    .nav-left,
    .nav-right {
        gap: 6px;
    }
    .nav-link,
    .btn-signin {
        padding: 0 var(--link-pad);
    }
    .logo {
        padding: 0;
    }
    .logo-img {
        --logo-slot-h: 30px !important;
    }
}

.search-container {
    margin-top: 5px;
    padding: 15px 0;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
    border-top: 0;
}

.search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
}

.search-input {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
    color: #fff;
    border: 1px solid #232323;
    font-family: 'VoidTiers', sans-serif;
}

.search-input:focus {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, .15);
}

.search-input::placeholder {
    font-family: 'VoidTiers', sans-serif;
    color: #777;
    opacity: 1;
}

.search-icon {
    color: #777;
}

.profile-container {
    border: 1px solid rgb(16, 20, 30);
    border-radius: 14px;
    padding: 24px;
}

.tiers-section {
    padding: 12px 0 80px;
    linear-gradient(90deg,
    rgb(0,
    0,
    3) 0%,
    rgb(0,
    0,
    7) 33.783783%,
    rgb(0,
    0,
    7) 66.666664%,
    rgb(0,
    0,
    0) 103%) !important;
}

.tiers-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 12px;
    padding: 14px;
    overflow-x: clip;
    overflow-y: visible;
}

.tiers-tabbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    overflow: visible;
    padding: 8px 4px;
}

.tier-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 64px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    border-radius: 12px;
    color: #a9b3c9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    gap: 6px;
    cursor: pointer;
    overflow: visible;
    position: relative;
    z-index: 0;
    transition: color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.tier-tab--overall {
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08), 0 10px 22px rgba(0, 0, 0, .55);
}

.tier-tab .tier-icon,
.tier-tab i {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transform-origin: center center;
    transition: transform .2s ease, filter .2s ease;
    will-change: transform;
}

.tier-tab i {
    font-size: 18px;
    width: auto;
    height: auto;
    line-height: 1;
}

.tier-tab:hover,
.tier-tab:focus-visible {
    color: #e6e9f6;
    border-color: #2a3550;
    z-index: 2;
}

.tier-tab:hover .tier-icon,
.tier-tab:hover i,
.tier-tab:focus-visible .tier-icon,
.tier-tab:focus-visible i {
    transform: scale(1.5);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6));
}

.tier-tab.active {
    border-color: #fff;
    color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
    z-index: 1;
}

.tier-tab.active .tier-icon,
.tier-tab.active i {
    transform: scale(1.5);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6));
}

.tier-tab--overall.active {
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08), 0 10px 22px rgba(0, 0, 0, .55);
}

.tiers-toolbar {
    position: relative;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #1e293b;
}

#overallTable,
#kitBoard {
    position: relative;
    z-index: 1;
}

.tiers-search {
    position: relative;
}

.tiers-search input {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
    border: 1px solid #232323;
    color: #fff;
    padding: 0 44px 0 40px;
    font-family: 'VoidTiers', sans-serif;
}

.tiers-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.tiers-search input::-ms-clear {
    display: none;
}

.tiers-search>i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.tiers-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6f9df8;
    cursor: pointer;
    transition: color .15s ease, opacity .15s ease;
}

.tiers-search-clear:hover {
    color: #fff;
}

.tiers-search-clear i {
    pointer-events: none;
}

.tiers-search.is-loading .tiers-search-clear {
    color: transparent;
    cursor: default;
}

.tiers-search.is-loading .tiers-search-clear::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(114, 169, 255, .35);
    border-top-color: #72a9ff;
    border-radius: 999px;
    animation: tiers-search-spin .75s linear infinite;
}

@keyframes tiers-search-spin {
    to {
        transform: rotate(360deg);
    }
}

.tiers-tools {
    display: inline-flex;
    gap: 8px;
}

.tiers-filter {
    position: relative;
    display: inline-flex;
    z-index: 1000;
}

.tiers-filter.has-active-filter .icon-btn {
    color: #fff;
    border-color: #ffd766;
    box-shadow: 0 0 14px rgba(255, 215, 0, .16);
}

.tiers-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 9999;
    min-width: 210px;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border: 1px solid #1e293b;
    border-radius: 10px;
    background: #080b13;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(114, 145, 245, .06);
}

.tiers-filter.is-open .tiers-filter-menu {
    display: flex;
}

.tiers-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #8f99b3;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tiers-filter-field select {
    height: 34px;
    border: 1px solid #232a3d;
    border-radius: 7px;
    background: #0d111d;
    color: #eef2ff;
    padding: 0 10px;
    font: 700 13px/1 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
}

.tiers-filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #dce4f8;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.tiers-filter-check input {
    width: 15px;
    height: 15px;
    accent-color: #ffd766;
}

.tiers-info {
    position: relative;
    display: inline-flex;
    justify-content: center;
    z-index: 1000;
}

.tiers-info-tooltip {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 260px;
    max-width: calc(100vw - 40px);
    padding: 16px;
    border-radius: 12px;
    background: #080b13;
    border: 1px solid #1e293b;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .55);
    color: #e4e9ff;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    z-index: 9999;
    pointer-events: none;
}

.tiers-info-tooltip::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #080b13;
    border-top: 1px solid #1e293b;
    border-left: 1px solid #1e293b;
    transform: translateX(-50%) rotate(45deg);
}

.tiers-info:hover .tiers-info-tooltip,
.tiers-info:focus-within .tiers-info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.tiers-info-tooltip__title {
    font-size: 16px;
    font-weight: 700;
    color: #f7f9ff;
    margin: 0 0 12px;
}

.tiers-info-tooltip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tiers-info-tooltip__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tiers-info-tooltip__heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tiers-info-tooltip__icon {
    width: 16px;
    height: 20px;
    display: block;
    object-fit: contain;
    image-rendering: pixelated;
}

.tiers-info-tooltip__dash {
    color: #6f7a9a;
    font-size: 13px;
    line-height: 1;
}

.tiers-info-tooltip__label {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .01em;
    color: #fff;
}

.tiers-info-tooltip__desc {
    display: block;
    font-size: 12px;
    color: #9aa1b7;
    letter-spacing: .01em;
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    color: #a9b3c9;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease;
}

.icon-btn:hover {
    color: #fff;
    border-color: #fff;
}

.icon-btn--discord .discord-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.tiers-head {
    display: grid;
    grid-template-columns: 60px minmax(220px, 1fr) 120px 1fr;
    align-items: center;
    gap: 10px;
    padding: 12px 6px;
    margin-top: 6px;
    color: #9197a6;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tiers-head .col-points {
    text-align: right;
}

.tiers-head .col-region {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tiers-list {
    list-style: none;
    padding: 22px 0 12px;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}

.tiers-row {
    display: grid;
    grid-template-columns: 60px minmax(220px, 1fr) 120px 1fr;
    gap: 10px;
    align-items: flex-end;
    background-color: rgb(0, 0, 0);
    border: 1px solid #1a2a48;
    border-radius: 3px;
    padding: 14px 10px 10px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .08), 0 8px 20px rgba(0, 0, 0, .45);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
    overflow: visible;
    position: relative;
    z-index: 0;
}

.tiers-row:hover {
    z-index: 5;
    border-color: rgb(244, 42, 42);
    box-shadow: inset 0 0 0 1px rgba(255, 59, 59, .22), 0 10px 22px rgba(0, 0, 0, .55);
}

.tiers-row.top1,
.tiers-row.top2,
.tiers-row.top3 {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
}

.tiers-row.top1 {
    border-color: rgb(255, 200, 0);
}

.tiers-row.top2 {
    border-color: rgb(184, 183, 182);
}

.tiers-row.top3 {
    border-color: rgb(227, 135, 54);
}

.tiers-row.top1::before,
.tiers-row.top2::before,
.tiers-row.top3::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 42%;
    z-index: 1;
    pointer-events: none;
    animation: tiers-row-shine 2.75s ease-in-out infinite;
    will-change: transform;
}

.tiers-row.top1::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 200, 50, 0.05) 18%,
        rgba(255, 230, 140, 0.42) 50%,
        rgba(255, 200, 50, 0.05) 82%,
        transparent 100%
    );
}

.tiers-row.top2::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(192, 198, 210, 0.05) 18%,
        rgba(230, 235, 245, 0.4) 50%,
        rgba(192, 198, 210, 0.05) 82%,
        transparent 100%
    );
    animation-delay: 0.35s;
}

.tiers-row.top3::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(180, 110, 45, 0.06) 18%,
        rgba(227, 150, 70, 0.4) 50%,
        rgba(180, 110, 45, 0.06) 82%,
        transparent 100%
    );
    animation-delay: 0.7s;
}

.tiers-row.top1 > *,
.tiers-row.top2 > *,
.tiers-row.top3 > * {
    position: relative;
    z-index: 2;
}

@keyframes tiers-row-shine {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}

.tiers-row.top1:hover,
.tiers-row.top2:hover,
.tiers-row.top3:hover {
    border-color: rgb(244, 42, 42);
}

.rank-num {
    width: 40px;
    display: inline-block;
    text-align: center;
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1px;
    color: #72a9ff;
    text-shadow: 0 0 10px rgba(114, 169, 255, .6);
}

.rank-num--wide {
    width: 54px;
    font-size: 20px;
    letter-spacing: 0;
}

.rank-num--extra-wide {
    width: 56px;
    font-size: 17px;
    letter-spacing: 0;
}

.rank-num.gold {
    color: #f6c64a;
    text-shadow: 0 0 10px rgba(246, 198, 74, .6);
}

.rank-num.silver {
    color: #cfd3dd;
    text-shadow: 0 0 10px rgba(207, 211, 221, .5);
}

.rank-num.bronze {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, .6);
}

.col-player {
    display: inline-flex;
    align-items: flex-end;
    gap: 12px;
    min-width: 220px;
    overflow: visible;
    position: relative;
    z-index: 2;
    padding-bottom: 1px;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    image-rendering: pixelated;
    filter: drop-shadow(0 1px 8px #556b82);
}

.avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 38%, rgb(0, 0, 0) 65%);
    pointer-events: none;
}

.tiers-row .avatar {
    width: 52px;
    height: 54px;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    transition: transform .28s cubic-bezier(.2, .8, .35, 1.05), filter .22s ease;
    transform: translateY(1px) scale(1.06);
    transform-origin: center bottom;
    will-change: transform;
}

.tiers-row:hover .avatar,
.tiers-row:active .avatar,
.tiers-row .avatar.tiers-avatar-active {
    transform: translateY(-11px) scale(1.42);
    filter: drop-shadow(0 8px 14px rgba(85, 107, 130, .92));
    z-index: 20;
}

.tiers-row:hover .avatar::after,
.tiers-row .avatar.tiers-avatar-active::after {
    opacity: 0;
}

.player-name {
    color: #e9ecff;
    font-weight: 700;
    text-decoration: none;
}

.player-name:hover {
    color: #fff;
    text-decoration: none;
}

.player-points {
    margin-left: 6px;
    color: #bfc8e8;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.player-points__icon {
    width: 16px;
    height: 20px;
    border-radius: 4px;
    filter: drop-shadow(0 0 10px rgba(255, 200, 0, .45));
    object-fit: cover;
    flex-shrink: 0;
}

.col-region {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.region-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #0b0c11;
    color: #cbbcff;
    border: 1px solid #3b3175;
    font-weight: 800;
    letter-spacing: .04em;
}

.region-pill.eu {
    color: #a3ffdd;
    border-color: #146b63;
}

.region-pill.as {
    color: #ffd89b;
    border-color: #6b4a14;
}

.region-pill.au {
    color: #9ed4ff;
    border-color: #1a4a6b;
}

.player-points--unranked {
    color: #9ca3af;
    font-weight: 600;
}

.col-kits {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(44px, auto);
    gap: 10px;
    justify-content: end;
}

.kit-tile {
    --kit-accent: #2a2f3b;
    --kit-glow: rgba(255, 255, 255, .02);
    --kit-brightness: .78;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    position: relative;
}

.kit-icon {
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid var(--kit-accent);
    background: rgba(255, 255, 255, .02);
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25), 0 0 16px var(--kit-glow);
    filter: brightness(var(--kit-brightness));
    object-fit: contain;
}

.kit-tier-label {
    min-width: 32px;
    padding: 3px 5px 2px;
    border-radius: 2px;
    background: transparent;
    border: 1px solid #FFD700;
    color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, .16);
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .03em;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.kit-tile--tier-1 {
    --kit-accent: #ffe37d;
    --kit-glow: rgba(255, 215, 0, .34);
    --kit-brightness: 1.36;
}

.kit-tile--tier-2 {
    --kit-accent: #f1f5ff;
    --kit-glow: rgba(226, 232, 240, .28);
    --kit-brightness: 1.22;
}

.kit-tile--tier-3 {
    --kit-accent: #ffbc82;
    --kit-glow: rgba(255, 160, 92, .22);
    --kit-brightness: 1.08;
}

.kit-tile--tier-4 {
    --kit-accent: #85c2ff;
    --kit-glow: rgba(96, 165, 250, .16);
    --kit-brightness: .96;
}

.kit-tile--tier-5 {
    --kit-accent: #9de6be;
    --kit-glow: rgba(94, 180, 132, .12);
    --kit-brightness: .86;
}

.kit-tile--pos-high .kit-icon {
    transform: translateY(-1px);
}

.kit-tile--pos-low {
    opacity: .8;
}

.kit-tile--retired {
    opacity: .74;
    filter: grayscale(.35);
}

.kit-tile--retired .kit-tier-label {
    color: rgba(255, 215, 0, .82);
    border-color: rgba(255, 215, 0, .68);
}

.kit-tile--empty {
    opacity: .26;
    filter: grayscale(1);
}

.kit-tile--hoverable {
    cursor: default;
}

.kit-tile--hoverable:hover .kit-icon,
.kit-tile--hoverable:focus-visible .kit-icon {
    filter: brightness(calc(var(--kit-brightness) + 0.12));
}

.kit-tier-tooltip {
    position: fixed;
    z-index: 12050;
    min-width: 168px;
    max-width: 280px;
    padding: 12px 16px 11px;
    border-radius: 8px;
    background: linear-gradient(180deg, #0f141f 0%, #05070d 100%);
    border: 1px solid #1a2a48;
    box-shadow:
        inset 0 0 0 1px rgba(114, 145, 245, .1),
        0 16px 42px rgba(0, 0, 0, .82);
    pointer-events: none;
    text-align: center;
    color: #e9ecff;
}

.kit-tier-tooltip__title {
    margin: 0;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.15;
    color: #f5f7ff;
    letter-spacing: -.02em;
}

.kit-tier-tooltip__points {
    margin: 6px 0 0;
    font-family: 'VoidTiers', ui-monospace, monospace;
    font-size: .9rem;
    font-weight: 500;
    color: #8fa3c9;
    letter-spacing: .02em;
}

.kit-tier-tooltip__arrow {
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: #05070d;
    border-right: 1px solid #1a2a48;
    border-bottom: 1px solid #1a2a48;
    transform: rotate(45deg);
}

.kit-tier-tooltip--retired {
    border-color: rgba(255, 200, 80, .35);
    box-shadow:
        inset 0 0 0 1px rgba(255, 200, 80, .12),
        0 16px 42px rgba(0, 0, 0, .82);
}

.kit-tier-tooltip--retired .kit-tier-tooltip__title {
    color: #ffe08a;
}

.kit-tier-tooltip--retired .kit-tier-tooltip__points {
    color: rgba(255, 214, 120, .72);
}

.kit-tier-tooltip--retired .kit-tier-tooltip__arrow {
    background: #05070d;
    border-color: rgba(255, 200, 80, .35);
}

.tiers-point-system {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .8rem;
    color: rgba(255, 255, 255, .7);
}

.tiers-point-system summary {
    cursor: pointer;
    font-weight: 600;
    color: #fff;
}

.tiers-point-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    max-height: 140px;
    overflow-y: auto;
}

.tiers-point-list li {
    padding: 2px 0;
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 900px) {
    .tiers-row,
    .tiers-head {
        grid-template-columns: 44px minmax(160px, 1fr) 84px 1fr;
    }
    .tier-tab {
        width: 120px;
        height: 60px;
    }
}

@media (max-width: 720px) {
    .col-kits {
        grid-auto-columns: 40px;
    }
    .kit-icon {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 640px) {
    .tiers-row,
    .tiers-head {
        grid-template-columns: 36px 1fr;
    }
    .col-region,
    .col-points,
    .col-kits {
        grid-column: 1 / -1;
        justify-self: start;
    }
    .col-kits {
        justify-content: start;
    }
}

@media (min-width: 901px) {
    .tiers-tabbar {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }
    .tier-tab {
        width: auto;
        min-width: 0;
        height: 56px;
        padding: 6px 6px;
        border-radius: 10px;
    }
    .tier-tab .tier-icon {
        width: 18px;
        height: 18px;
    }
    .tier-tab i {
        font-size: 16px;
    }
    .tier-tab span {
        font-size: 11px;
        letter-spacing: .06em;
        font-family: VoidTiers;
    }
}

@media (max-width: 900px) {
    .tiers-tabbar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        gap: 8px;
        padding: 10px 4px 14px;
        -webkit-overflow-scrolling: touch;
    }
    .tier-tab {
        flex: 0 0 auto;
        height: 52px;
        padding: 6px 8px;
        border-radius: 10px;
    }
    .tier-tab .tier-icon {
        width: 18px;
        height: 18px;
    }
    .tier-tab i {
        font-size: 16px;
    }
    .tier-tab span {
        font-size: 11px;
    }
}

.tiers-grid {
    display: grid;
    grid-template-columns: var(--tiers-rank) minmax(var(--tiers-player-min), 1fr) var(--tiers-region) 1fr;
    gap: 10px;
    align-items: center;
}

.tiers-head {
    padding: 12px 10px;
    margin-top: 6px;
}

.tiers-row {
    padding: 12px 10px;
}

/* center # and Region in their columns */

.tiers-grid .col-rank,
.tiers-grid .col-region {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    text-align: center;
    width: 100%;
}

/* keep points/right side aligned to the right */

.tiers-head .col-points,
.tiers-row .col-points,
.tiers-row .col-kits {
    justify-self: end;
    text-align: right;
}

.tiers-head .col-points {
    white-space: nowrap;
}

.is-hidden {
    display: none !important;
}

.kit-board {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.kit-tier {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kit-tier-head {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-family: 'VoidTiers Display', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: .03em;
    font-size: 14px;
    color: #08090a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .34), 0 2px 4px rgba(0, 0, 0, .2);
    border: 2px solid transparent;
    border-radius: 2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}

.kit-tier-head.t1 {
    background: linear-gradient(180deg, #ffd65a 0%, #e4b72b 100%);
    border-color: #ffe37d;
}

.kit-tier-head.t2 {
    background: linear-gradient(180deg, #e3e6ec 0%, #bfc4ce 100%);
    border-color: #ebebeb;
}

.kit-tier-head.t3 {
    background: linear-gradient(180deg, #b88963 0%, #8a6048 100%);
    border-color: #c79a78;
}

.kit-tier-head.t4 {
    background: linear-gradient(180deg, #9aa1ad 0%, #68717d 100%);
    border-color: #aeb5c0;
}

.kit-tier-head.t5 {
    background: linear-gradient(180deg, #7f858f 0%, #565d66 100%);
    border-color: #969da8;
}

.kit-tier-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kit-item {
    --tier-bg: #0c0f19;
    --tier-tint: rgba(114, 145, 245, .05);
    --tier-border: #1a2a48;
    --tier-inner: rgba(114, 145, 245, .06);
    --tier-hover-border: #2a3e6e;
    --tier-hover-glow: rgba(114, 145, 245, .12);
    display: grid;
    grid-template-columns: 12px 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(90deg, var(--tier-tint) 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(90deg, #0d111d 0%, #090c15 100%);
    border: 1px solid var(--tier-border);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px var(--tier-inner);
}

.kit-item:hover {
    border-color: var(--tier-hover-border);
    box-shadow: inset 0 0 0 1px var(--tier-hover-glow), 0 6px 14px rgba(0, 0, 0, .45);
}

.kit-item--tier-1 {
    --tier-tint: rgba(255, 215, 0, .09);
    --tier-border: rgba(255, 227, 125, .5);
    --tier-inner: rgba(255, 215, 0, .12);
    --tier-hover-border: #ffe37d;
    --tier-hover-glow: rgba(255, 215, 0, .18);
}

.kit-item--tier-2 {
    --tier-tint: rgba(226, 232, 240, .07);
    --tier-border: rgba(241, 245, 249, .34);
    --tier-inner: rgba(226, 232, 240, .1);
    --tier-hover-border: #f8fafc;
    --tier-hover-glow: rgba(226, 232, 240, .14);
}

.kit-item--tier-3 {
    --tier-tint: rgba(184, 137, 99, .09);
    --tier-border: rgba(199, 154, 120, .36);
    --tier-inner: rgba(184, 137, 99, .12);
    --tier-hover-border: #c79a78;
    --tier-hover-glow: rgba(184, 137, 99, .16);
}

.kit-item--tier-4 {
    --tier-tint: rgba(174, 181, 192, .04);
    --tier-border: rgba(174, 181, 192, .2);
    --tier-inner: rgba(174, 181, 192, .06);
    --tier-hover-border: #aeb5c0;
    --tier-hover-glow: rgba(174, 181, 192, .08);
}

.kit-item--tier-5 {
    --tier-tint: rgba(150, 157, 168, .035);
    --tier-border: rgba(150, 157, 168, .18);
    --tier-inner: rgba(150, 157, 168, .055);
    --tier-hover-border: #969da8;
    --tier-hover-glow: rgba(150, 157, 168, .075);
}

.kit-item--pos-high {
    background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03) 54%, rgba(255, 255, 255, 0) 100%), linear-gradient(90deg, var(--tier-tint) 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(90deg, #0d111d 0%, #090c15 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    filter: brightness(1.03) saturate(1.02);
}

.kit-item--pos-low {
    background: #0b0e18;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28);
    filter: brightness(.9) saturate(.9);
}

.kit-item--retired {
    opacity: .82;
}

.kit-item--retired .kit-name {
    color: #aeb6c8;
}

.kit-item--placeholder {
    min-height: 50px;
    pointer-events: none;
}

.kit-placeholder-avatar,
.kit-placeholder-name,
.kit-placeholder-region {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
    background-size: 220% 100%;
    animation: kit-placeholder-pulse 1s ease-in-out infinite;
}

.kit-placeholder-avatar {
    width: 28px;
    height: 28px;
}

.kit-placeholder-name {
    height: 14px;
    min-width: 72px;
}

.kit-placeholder-region {
    width: 42px;
    height: 22px;
}

@keyframes kit-placeholder-pulse {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.kit-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    image-rendering: pixelated;
}

.kit-name {
    color: #e9ecff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: color 180ms ease, transform 180ms ease;
}

.kit-name:hover {
    color: #fff;
    transform: translateX(3px);
}

.kit-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.region-pill.sm {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
    background: #0b0c11;
    border: 1px solid #3b3175;
    color: #cbbcff;
}

@media (max-width: 1200px) {
    .kit-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .kit-board {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .kit-board {
        grid-template-columns: 1fr;
    }
}

.kit-item {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
}

.kit-item:hover {
    border-color: var(--tier-hover-border);
    box-shadow: inset 0 0 0 1px var(--tier-hover-glow), 0 6px 14px rgba(0, 0, 0, .45);
}

.kit-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    image-rendering: pixelated;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.kit-name {
    color: #e9ecff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 180ms ease, transform 180ms ease;
}

.kit-name:hover {
    color: #fff;
    transform: translateX(3px);
}

.kit-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.region-pill.sm {
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11px;
    background: #0b0c11;
    border: 1px solid #3b3175;
    color: #cbbcff;
}

.kit-tier-list {
    gap: 10px;
}

.kit-item {
    grid-template-columns: 22px minmax(0, 1fr) max-content;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 6px;
}

.kit-avatar {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    box-shadow: none;
    image-rendering: pixelated;
}

.kit-name {
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    transition: color 180ms ease, transform 180ms ease;
}

.kit-name:hover {
    color: #fff;
    transform: translateX(3px);
}

.kit-name--tier-1 {
    color: #ffd766;
    text-shadow: 0 0 10px rgba(255, 215, 0, .22);
}

.kit-name--tier-1:hover {
    color: #ffe792;
}

.kit-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.region-pill.sm {
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 1;
    min-width: 0;
}

.kit-item[role="button"] {
    cursor: pointer;
}

.kit-item:focus-visible {
    outline: 2px solid rgba(255, 215, 0, .72);
    outline-offset: 2px;
}

.tier-player-popup[hidden] {
    display: none;
}

.tier-player-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 18px;
}

.tier-player-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(6px);
}

.tier-player-popup__panel {
    position: relative;
    width: min(620px, calc(100vw - 32px));
    max-height: calc(100svh - 36px);
    overflow: auto;
    padding: 18px;
    border: 1px solid #263552;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(16, 21, 35, .98), rgba(6, 8, 14, .98)), #090c15;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .08), 0 24px 70px rgba(0, 0, 0, .72);
}

.tier-player-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2c3650;
    border-radius: 6px;
    background: #0b0f19;
    color: #d8def2;
    cursor: pointer;
}

.tier-player-popup__close:hover,
.tier-player-popup__close:focus-visible {
    color: #fff;
    border-color: #ff4242;
    outline: none;
}

.tier-player-popup__header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-right: 40px;
}

.tier-player-popup__avatar {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    image-rendering: pixelated;
    background: #080b12;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
}

.tier-player-popup__identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tier-player-popup__name-row,
.tier-player-popup__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.tier-player-popup__name {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.tier-player-popup__rank {
    width: auto;
    min-width: 44px;
    font-size: 22px;
}

.tier-player-popup__points {
    color: #dbe3ff;
}

.tier-player-popup__kits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(114, 145, 245, .16);
}

.tier-player-popup__kits .kit-tile {
    min-height: 76px;
}

.tier-player-popup-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .tier-player-popup {
        padding: 10px;
    }
    .tier-player-popup__panel {
        width: calc(100vw - 20px);
        padding: 14px;
    }
    .tier-player-popup__header {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
        padding-right: 34px;
    }
    .tier-player-popup__avatar {
        width: 52px;
        height: 52px;
    }
    .tier-player-popup__name {
        font-size: 18px;
    }
    .tier-player-popup__kits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .tier-player-popup__kits .kit-icon {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 900px) {
    .kit-item {
        grid-template-columns: 20px minmax(0, 1fr) max-content;
        gap: 5px;
        padding: 6px 6px;
    }
    .kit-avatar {
        width: 20px;
        height: 20px;
    }
    .kit-name {
        font-size: 12px;
    }
    .region-pill.sm {
        padding: 2px 5px;
        font-size: 9.5px;
    }
}

.servers-section {
    padding: 12px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
}

.servers-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 12px;
    padding: 14px;
}

.servers-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 6px;
}

.servers-title {
    margin: 0;
    color: #e8ecff;
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 16px;
}

.srv-filter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    color: #a9b3c9;
    cursor: pointer;
}

.srv-filter:hover {
    color: #fff;
    border-color: #fff;
}

:root {
    --srv-flag: 24px;
    --srv-icon: 36px;
    --srv-domain-min: 220px;
    --srv-players: 160px;
    --srv-version: 210px;
    --srv-status: 92px;
    --srv-link: 36px;
}

.srv-grid {
    display: grid;
    grid-template-columns: minmax(var(--srv-domain-min), 1fr) var(--srv-players) var(--srv-version) var(--srv-status) var(--srv-link);
    gap: 10px;
}

.srv-head {
    padding: 8px 8px 10px;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    color: #9197a6;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.srv-head .col-server,
.srv-head .col-players,
.srv-head .col-version,
.srv-head .col-status {
    justify-self: start;
}

.srv-head .col-link {
    justify-self: end;
}

.srv-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.srv-row {
    padding: 12px 8px;
    display: grid;
    align-items: center;
    background: #0b0f1a;
    border: 1px solid #1a2a48;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .07);
    margin-top: 10px;
}

.srv-row:hover {
    border-color: #2a3e6e;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .12), 0 8px 18px rgba(0, 0, 0, .45);
}

.col-server {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.srv-flag {
    width: var(--srv-flag);
    height: calc(var(--srv-flag) * .75);
    object-fit: cover;
    border-radius: 2px;
}

.srv-icon {
    width: var(--srv-icon);
    height: var(--srv-icon);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f121c;
    border: 1px solid #232a3d;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .06);
}

.srv-icon>img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.srv-domain {
    color: #d7d7d7;
    font-weight: 700;
    text-decoration: none;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srv-domain:hover {
    color: #fff;
    text-decoration: underline;
}

.srv-players,
.srv-version {
    color: #cfd3ff;
}

.col-players,
.col-version {
    font-variant-numeric: tabular-nums;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.status-pill.online {
    background: linear-gradient(180deg, #0f2f15 0%, #173e1e 100%);
    color: #57ff83;
    border: 1px solid #125221;
}

.status-pill.offline {
    background: linear-gradient(180deg, #2f0f0f 0%, #3e1717 100%);
    color: #ff7575;
    border: 1px solid #521212;
}

.srv-link {
    color: #999;
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.srv-link:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, .10);
}

.srv-divider {
    height: 1px;
    background: #1e293b;
    margin: 12px 6px 10px;
    opacity: .6;
}

.srv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-bottom: 4px;
}

.pg {
    min-width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    background: #0b0c11;
    color: #a9b3c9;
    border: 1px solid #1e293b;
}

.pg:hover {
    color: #fff;
    border-color: #fff;
}

.pg.active {
    color: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
}

@media (max-width: 980px) {
    :root {
        --srv-players: 140px;
        --srv-version: 170px;
        --srv-status: 84px;
    }
}

@media (max-width: 780px) {
    .srv-grid {
        grid-template-columns: 1fr var(--srv-status) var(--srv-link);
        row-gap: 6px;
    }
    .col-players,
    .col-version {
        grid-column: 1 / -1;
        display: inline-flex;
        gap: 14px;
        color: #9aa3c8;
        font-size: 12px;
    }
    .srv-head {
        display: none;
    }
}

.srv-head {
    padding: 12px 8px;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    align-items: center;
    color: #9197a6;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.srv-head .col-server {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.srv-head .servers-title {
    margin: 0;
    color: #e8ecff;
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 16px;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srv-head .col-players,
.srv-head .col-version,
.srv-head .col-status {
    justify-self: start;
}

.srv-head .col-link {
    justify-self: end;
}

.head-actions {
    display: flex;
    justify-content: flex-end;
}

.srv-sort {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    color: #a9b3c9;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s ease, border-color .15s ease;
}

.srv-sort:hover {
    color: #fff;
    border-color: #fff;
}

.srv-celllink {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 6px 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 6px;
}

.srv-domain {
    color: #d7d7d7;
    font-weight: 700;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srv-celllink:hover .srv-domain {
    color: #fff;
    text-decoration: underline;
}

.error-section {
    padding: 48px 0 96px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%) !important;
}

.error-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 12px;
    padding: 56px 24px;
    text-align: center;
}

.error-code {
    margin: 0 0 6px;
    font-size: 72px;
    line-height: 1;
    font-weight: 900;
    color: red;
    text-shadow: 0 0 18px rgba(246, 0, 0, .55);
}

.error-title {
    margin: 0 0 8px;
    font-size: 22px;
    color: #e9ecff;
    font-weight: 800;
}

.error-text {
    margin: 0 0 22px;
    color: #a9b3c9;
}

.error-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.err-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #1e293b;
    color: #e8ecff;
    background: #0b0c11;
}

.err-primary {
    border-color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
}

.err-ghost:hover,
.err-primary:hover {
    color: #fff;
    border-color: #fff;
}

.tourney-section {
    padding: 12px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.t-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 12px;
    padding: 16px;
}

.t-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 16px;
    padding: 12px;
    border: 1px solid #232a3d;
    border-radius: 10px;
    background: #0b0f1a;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .07);
    text-decoration: none;
}

.t-hero-left {
    padding: 6px 8px;
}

.t-hero-title {
    margin: 0 0 6px;
    color: #b496ff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.t-hero-title .t-kit {
    width: 22px;
    height: 22px;
    image-rendering: pixelated;
    border: 1px solid #2a2f3b;
    border-radius: 6px;
    padding: 3px;
    background: rgba(255, 255, 255, .03);
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
}

.t-livebar {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a9b3c9;
    font-weight: 700;
    margin-bottom: 12px;
}

.t-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5252;
    box-shadow: 0 0 10px rgba(255, 82, 82, .8);
    position: relative;
}

.t-live-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 82, 82, .6);
    animation: t-ping 1.8s infinite ease-out;
}

@keyframes t-ping {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, .6);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(255, 82, 82, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

.t-live-text {
    letter-spacing: .08em;
}

.t-eyes i {
    margin-right: 6px;
}

.t-sep {
    opacity: .6;
}

.t-hero-kicker {
    margin: 8px 0 8px;
    color: #98a2c9;
    font-weight: 700;
}

.t-hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t-hero-row {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    background: #0f121c;
    border: 1px solid #232a3d;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .06);
    max-width: 320px;
}

.t-face {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    image-rendering: pixelated;
}

.t-name {
    color: #e9ecff;
    font-weight: 700;
    letter-spacing: .02em;
}

.t-hero-preview {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #232a3d;
    background: #0a0d16;
    min-height: 210px;
}

.t-hero-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.t-hero-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 20% 50%, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, 0) 70%);
}

.t-play {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    opacity: .95;
}

.t-play::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid #000;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.t-live-stamp {
    position: absolute;
    left: 12px;
    bottom: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    color: #ff4d4d;
    text-shadow: 0 0 12px rgba(255, 77, 77, .65);
}

.t-row {
    margin-top: 18px;
}

.t-section-title {
    margin: 0 0 10px;
    color: #e8ecff;
    font-size: 14px;
    letter-spacing: .04em;
    font-weight: 800;
}

.t-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 14px;
}

.t-card-tile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #232a3d;
    background: #0a0d16;
    min-height: 160px;
    display: block;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .07);
}

.t-tile-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.t-tile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 10px 0 10px;
}

.t-tile-top i {
    color: #a9b3c9;
}

.t-tile-name {
    font-weight: 800;
    color: #e9ecff;
    line-height: 1.05;
    letter-spacing: .02em;
}

.t-tile-name em {
    color: #b496ff;
    font-style: normal;
}

.t-art {
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(180, 120, 255, .55));
}

.t-card-tile.t-purple {
    background: radial-gradient(120% 120% at 20% 80%, rgba(178, 0, 255, .65) 0%, rgba(78, 0, 168, .55) 40%, #0a0d16 85%);
}

.t-card-tile.t-cyan {
    background: radial-gradient(120% 120% at 20% 80%, rgba(0, 160, 255, .55) 0%, rgba(0, 60, 160, .55) 40%, #0a0d16 85%);
}

.t-card-tile.t-blue {
    background: radial-gradient(120% 120% at 20% 80%, rgba(40, 70, 255, .55) 0%, rgba(18, 34, 168, .55) 40%, #0a0d16 85%);
}

.t-card-tile.t-red {
    background: radial-gradient(120% 120% at 20% 80%, rgba(255, 50, 50, .6) 0%, rgba(168, 18, 18, .55) 40%, #0a0d16 85%);
}

.t-card-tile.t-gold {
    background: radial-gradient(120% 120% at 20% 80%, rgba(255, 208, 0, .6) 0%, rgba(168, 120, 0, .5) 40%, #0a0d16 85%);
}

.t-card-tile:hover {
    border-color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .16), inset 0 0 24px rgba(255, 255, 255, .08);
}

@media (max-width: 1100px) {
    .t-grid {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
    }
    .t-hero {
        grid-template-columns: 1fr 360px;
    }
}

@media (max-width: 840px) {
    .t-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }
    .t-hero {
        grid-template-columns: 1fr;
    }
    .t-hero-preview {
        min-height: 200px;
        order: -1;
    }
}

@media (max-width: 560px) {
    .t-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
    .t-hero-title {
        font-size: 24px;
    }
}

/* ===== Tourney View Page ===== */

.tourney-view {
    padding-bottom: 96px;
}

.tourney-page-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 28px;
}

.tv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 28px;
    align-items: stretch;
}

.tv-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tv-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    color: #8a96d6;
}

.tv-hero-title {
    margin: 0;
    font-size: 38px;
    color: #fff;
    letter-spacing: .04em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}

.tv-hero-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.tv-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 78, 122, .55);
    background: linear-gradient(135deg, rgba(78, 22, 64, .65) 0%, rgba(116, 26, 82, .75) 45%, rgba(36, 14, 32, .8) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .16em;
}

.tv-live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d7f;
    box-shadow: 0 0 18px rgba(255, 77, 127, .8);
    position: relative;
}

.tv-live-pulse::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(255, 77, 127, .5);
    animation: tv-pulse 1.8s ease-out infinite;
}

@keyframes tv-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 127, .5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 77, 127, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 127, 0);
    }
}

.tv-hero-viewers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a8b4f1;
    font-weight: 600;
    letter-spacing: .05em;
}

.tv-hero-viewers i {
    color: inherit;
}

.tv-hero-description {
    margin: 8px 0 0;
    color: #aeb9e7;
    line-height: 1.6;
    max-width: 600px;
}

.tv-featured-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.tv-featured-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(12, 16, 30, .68);
    border: 1px solid rgba(70, 88, 140, .5);
    box-shadow: inset 0 0 0 1px rgba(130, 160, 255, .08);
}

.tv-featured-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: .04em;
    color: #e6ecff;
    background: linear-gradient(145deg, rgba(78, 102, 182, .45), rgba(36, 46, 92, .85));
    border: 1px solid rgba(118, 140, 210, .55);
}

.tv-featured-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tv-featured-name {
    color: #fff;
    font-weight: 700;
    letter-spacing: .03em;
}

.tv-featured-meta {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8f9ac9;
}

.tv-hero-art {
    position: relative;
    min-height: 260px;
    border-radius: 18px;
    border: 1px solid rgba(70, 82, 128, .55);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(138, 160, 255, .08), 0 26px 36px rgba(0, 0, 0, .45);
}

.tv-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 8, 18, .85) 0%, rgba(6, 8, 18, .4) 55%, rgba(6, 8, 18, 0) 100%);
}

.tv-hero-kit {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(8, 10, 20, .85);
    border: 1px solid rgba(120, 146, 255, .45);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .45);
    z-index: 1;
}

.tv-hero-kit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    padding: 6px;
    background: rgba(18, 22, 36, .88);
    border: 1px solid rgba(120, 146, 255, .45);
    image-rendering: pixelated;
}

.tv-hero-kit-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-hero-kit-meta span {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9aa6e6;
}

.tv-hero-kit-meta strong {
    color: #fff;
    font-size: 16px;
    letter-spacing: .05em;
}

.tv-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
}

.tv-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tv-main--full {
    width: 100%;
}

.tv-info-card {
    background: linear-gradient(145deg, rgba(12, 16, 28, .92) 0%, rgba(8, 10, 20, .95) 100%);
    border: 1px solid rgba(68, 80, 122, .55);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: inset 0 0 0 1px rgba(132, 162, 255, .08), 0 22px 34px rgba(0, 0, 0, .4);
}

.tv-info-card--overview {
    width: 100%;
}

.tv-info-card--overview .tv-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.tv-info-card--overview .tv-info-description {
    max-width: 720px;
}

.tv-info-card--highlight {
    border-color: rgba(120, 146, 255, .6);
    background: linear-gradient(145deg, rgba(38, 52, 106, .6) 0%, rgba(16, 20, 44, .92) 100%);
}

.tv-info-title {
    margin: 0;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7c89ce;
}

.tv-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    margin: 0;
    padding: 0;
}

.tv-info-grid div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tv-info-grid dt {
    margin: 0;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6c78ae;
}

.tv-info-grid dd {
    margin: 0;
    color: #eef1ff;
    font-weight: 700;
    letter-spacing: .03em;
    font-size: 15px;
}

.tv-info-description {
    margin: 0;
    color: #97a4d2;
    line-height: 1.6;
}

.tv-tabs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(12, 16, 28, .88);
    border: 1px solid rgba(66, 78, 122, .55);
    box-shadow: inset 0 0 0 1px rgba(132, 162, 255, .06);
}

.tv-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: #8a96c6;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.tv-tab:hover {
    color: #d5ddff;
}

.tv-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(92, 114, 220, .7), rgba(44, 64, 156, .9));
    box-shadow: 0 16px 26px rgba(45, 62, 140, .5);
}

.tv-tab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.tv-panels {
    position: relative;
}

.tv-panel {
    display: none;
}

.tv-panel.is-active {
    display: block;
}

.tv-panel-card {
    background: rgba(10, 14, 26, .88);
    border: 1px solid rgba(64, 76, 118, .55);
    border-radius: 16px;
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(130, 160, 255, .06), 0 20px 32px rgba(0, 0, 0, .4);
}

.tv-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 14, 26, .9);
    border-radius: 12px;
    overflow: hidden;
}

.tv-leaderboard-table thead {
    background: rgba(16, 20, 36, .92);
    color: #8f9bcf;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .12em;
}

.tv-leaderboard-table th,
.tv-leaderboard-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(52, 64, 102, .45);
    text-align: left;
}

.tv-leaderboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.tv-leaderboard-table tbody tr {
    color: #e2e6ff;
    transition: background .2s ease;
}

.tv-leaderboard-table tbody tr:hover {
    background: rgba(88, 110, 188, .18);
}

.tv-leaderboard-number {
    font-family: 'VoidTiers', serif;
    font-weight: 800;
    letter-spacing: .12em;
    color: #9daaf5;
}

.tv-leaderboard-player {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-leaderboard-player strong {
    font-size: 15px;
    letter-spacing: .03em;
}

.tv-leaderboard-player span {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8b96c6;
}

.tv-participant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.tv-participant-card {
    background: rgba(12, 16, 30, .82);
    border: 1px solid rgba(64, 76, 120, .5);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: inset 0 0 0 1px rgba(130, 160, 255, .05);
    color: #e2e6ff;
}

.tv-participant-card span {
    font-size: 12px;
    color: #8b96c4;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bracket-board {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 8, 16, .96), rgba(5, 7, 14, .86));
    border: 1px solid rgba(64, 76, 120, .55);
    border-radius: 16px;
    padding: 16px;
    overflow: auto;
    box-shadow: inset 0 0 0 1px rgba(132, 162, 255, .07), 0 20px 32px rgba(0, 0, 0, .4);
}

.bracket-rounds {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 48px;
    min-width: max-content;
}

.bracket-round {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bracket-round-title {
    margin: 0;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7e8ad2;
}

.bracket-match-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bracket-match {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 12px 14px;
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(14, 18, 30, .9), rgba(8, 10, 20, .94));
    border: 1px solid rgba(68, 80, 126, .55);
    box-shadow: inset 0 0 0 1px rgba(132, 162, 255, .06), 0 18px 28px rgba(0, 0, 0, .42);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bracket-match:hover {
    border-color: #9fb2ff;
    box-shadow: 0 24px 36px rgba(70, 92, 182, .45);
}

.bracket-match.is-active {
    border-color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 24px 42px rgba(74, 96, 184, .6);
}

.bracket-match[data-status="live"] {
    border-color: rgba(255, 78, 122, .85);
    box-shadow: 0 28px 44px rgba(255, 78, 122, .28);
}

.bracket-players {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bracket-player {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 11px;
    background: rgba(14, 18, 30, .78);
    border: 1px solid rgba(68, 80, 126, .55);
    color: #dce2ff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    min-height: 42px;
}

.bracket-player::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
    transition: opacity .2s ease;
}

.bracket-player:hover::after {
    opacity: .08;
}

.bracket-player.is-winner {
    background: linear-gradient(135deg, rgba(70, 96, 196, .82), rgba(36, 52, 120, .88));
    border-color: rgba(138, 162, 255, .8);
    color: #fff;
    box-shadow: 0 14px 28px rgba(64, 88, 176, .45);
}

.bracket-player.is-active {
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .32), 0 20px 34px rgba(74, 96, 184, .6);
    transform: translateY(-1px);
    z-index: 3;
}

.bracket-player.is-eliminated {
    opacity: .78;
}

.bracket-player.is-placeholder {
    border-style: dashed;
    border-color: rgba(84, 96, 138, .55);
    color: #8f9ac2;
}

.bracket-player-crest {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: .04em;
    background: linear-gradient(135deg, rgba(68, 86, 150, .5), rgba(32, 40, 78, .9));
    border: 1px solid rgba(118, 140, 210, .55);
    color: #e4e9ff;
    flex-shrink: 0;
}

.bracket-player-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bracket-player-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bracket-player-score {
    margin-left: auto;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .08em;
    color: #f2f4ff;
}

.bracket-player-score.is-blank {
    color: #6c769e;
}

.bracket-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.bracket-line {
    fill: none;
    stroke: rgba(100, 114, 168, .45);
    stroke-width: 2;
    transition: stroke .2s ease, stroke-width .2s ease, opacity .2s ease;
}

.bracket-line-match {
    stroke: rgba(98, 112, 166, .32);
}

.bracket-line-advance {
    stroke: rgba(140, 156, 220, .35);
}

.bracket-line.is-active {
    stroke: #fff;
    stroke-width: 2.6;
    opacity: 1;
}

@media (max-width: 1100px) {
    .tv-layout {
        gap: 24px;
    }
}

@media (max-width: 840px) {
    .tv-info-card--overview .tv-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .tv-info-card--overview .tv-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .tv-hero {
        grid-template-columns: 1fr;
    }
    .tv-hero-art {
        min-height: 220px;
    }
}

@media (max-width: 720px) {
    .tourney-page-card {
        padding: 22px;
    }
    .tv-tabs {
        flex-wrap: wrap;
    }
    .tv-featured-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (max-width: 560px) {
    .tv-hero-title {
        font-size: 30px;
    }
    .tv-info-grid {
        grid-template-columns: 1fr;
    }
    .tv-hero-status {
        gap: 10px;
    }
}

.sv-section {
    padding: 14px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.sv-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #e8ecff;
    text-decoration: none;
    font-weight: 700;
}

.sv-back i {
    font-size: 14px;
}

.sv-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.sv-top-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sv-top-label {
    color: #98a2c9;
    font-weight: 700;
    letter-spacing: .04em;
}

.sv-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    padding: 12px;
}

.sv-head {
    display: grid;
    gap: 10px;
    position: relative;
    min-height: 115px;
}

.sv-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sv-head-main {
    justify-content: flex-start;
    padding-right: 88px;
}

.sv-head-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.sv-head-main .sv-logo {
    width: calc(115px - 24px);
    height: calc(115px - 24px);
    flex-shrink: 0;
    max-width: 100%;
}

.sv-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sv-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #0f121c;
    border: 1px solid #232a3d;
    image-rendering: pixelated;
}

.sv-name {
    font-family: 'VoidTiers', sans-serif;
    font-weight: 900;
    letter-spacing: .06em;
    color: #e9ecff;
    font-size: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 12px;
    right: 12px;
}

.sv-quick-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    color: #a9b3c9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sv-quick-btn:hover {
    color: #fff;
    border-color: #fff;
}

.sv-copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    background: linear-gradient(135deg, #b60000 0%, #e00000 100%);
    border: 1px solid rgba(255, 68, 68, .6);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 68, 68, .35);
    font-family: 'VoidTiers', sans-serif;
    white-space: nowrap;
}

.sv-copy.copied {
    filter: brightness(1.08);
}

.sv-ping {
    position: absolute;
    right: 12px;
    bottom: 18px;
    color: #00f56a;
    font-weight: 900;
    letter-spacing: .04em;
}

.sv-motd {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 115px;
}

.sv-motd-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-motd-left .sv-icon {
    flex-shrink: 0;
}

.sv-motd-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-width: 0;
}

.sv-motd-title {
    font-weight: 900;
    letter-spacing: .06em;
    color: #e9ecff;
}

.sv-motd-title .sv-brand {
    color: #ff7676;
}

.sv-x {
    color: #ff4d4d;
    margin: 0 4px;
}

.sv-version {
    color: #a9b3c9;
    font-weight: 700;
}

.sv-tags {
    color: #e8ecff;
    font-weight: 800;
    letter-spacing: .02em;
}

.sv-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin: 0 8px;
}

.sv-motd-right {
    text-align: right;
}

.sv-count {
    color: #e9ecff;
    font-weight: 900;
    letter-spacing: .06em;
}

.sv-region {
    color: #a9b3c9;
}

.sv-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}

.sv-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sv-card-title {
    color: #e9ecff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv-card-title i {
    color: #a9b3c9;
}

.sv-range {
    display: flex;
    gap: 8px;
}

.sv-range-btn {
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    font-size: 12px;
    background: #0b0c11;
    color: #a9b3c9;
    border: 1px solid #1e293b;
}

.sv-range-btn.active {
    border-color: #fff;
    color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
}

.sv-chart-wrap {
    position: relative;
    background: #0b0f1a;
    border: 1px solid #1a2a48;
    border-radius: 8px;
    padding: 12px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .07);
}

.sv-chart-tooltip {
    position: absolute;
    transform: translate(-50%, -100%);
    background: rgba(11, 15, 26, .92);
    border: 1px solid #1a2a48;
    border-radius: 6px;
    padding: 4px 10px;
    color: #e9ecff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(5, 10, 24, .45);
    display: none;
}

.sv-chart-tooltip.show {
    display: block;
}

.sv-info {
    margin: 0;
    padding: 0;
}

.sv-info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
}

.sv-info-row+.sv-info-row {
    border-top: 1px solid #1e293b;
}

.sv-info dt {
    color: #98a2c9;
    font-weight: 800;
    letter-spacing: .04em;
}

.sv-info dd {
    margin: 0;
    color: #e9ecff;
    font-weight: 700;
}

.sv-info dd.ok {
    color: #10b981;
}

.sv-info dd.bad {
    color: #ef4444;
}

.sv-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: -2px;
}

@media (max-width: 1024px) {
    .sv-name {
        font-size: 24px;
    }
    .sv-top,
    .sv-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .sv-name {
        font-size: 20px;
    }
    .sv-icon {
        width: 38px;
        height: 38px;
    }
    .sv-count {
        font-size: 14px;
    }
    .sv-head {
        min-height: auto;
    }
    .sv-motd {
        min-height: auto;
    }
    .sv-head-main .sv-logo {
        width: 38px;
        height: 38px;
    }
}

.srv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 6px 2px;
    width: 100%;
}

.srv-pagination .pg,
.srv-pagination .pg:link,
.srv-pagination .pg:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'VoidTiers', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .04em;
    line-height: 1;
    text-decoration: none;
    color: #a9b3c9;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .06);
    transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}

.srv-pagination .pg:hover {
    color: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .16), inset 0 0 24px rgba(255, 255, 255, .08);
    transform: translateY(-1px);
}

.srv-pagination .pg.active,
.srv-pagination .pg[aria-current="page"] {
    color: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
    cursor: default;
    transform: none;
}

.srv-pagination .pg.disabled {
    opacity: .45;
    pointer-events: none;
    filter: grayscale(.1);
}

.srv-pagination .pg:not(.pg-prev):not(.pg-next) {
    min-width: 32px;
    padding: 0 10px;
}

.srv-pagination .ellipsis {
    min-width: auto;
    padding: 0 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #606a87;
}

.srv-pagination .pg:focus-visible {
    outline: 2px solid #ff5252;
    outline-offset: 2px;
}

@media (max-width: 780px) {
    .srv-pagination {
        justify-content: center;
    }
}

.user-menu {
    position: relative;
}

.user-menu>summary::-webkit-details-marker {
    display: none;
}

.user-menu>summary {
    list-style: none;
    cursor: pointer;
}

.user-menu .caret {
    font-size: 12px;
    opacity: .7;
    margin-left: 4px;
    transition: transform .15s ease;
}

.user-menu[open] .caret {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 170px;
    padding: 6px;
    background: #0b0c11;
    border: 1px solid #1e293b;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .04);
    z-index: 1100;
}

.user-dropdown .user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #e7e9ef;
    font-weight: 700;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.user-dropdown .user-item i {
    width: 16px;
    text-align: center;
}

.user-dropdown .user-item:hover {
    color: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .12), inset 0 0 20px rgba(255, 255, 255, .06);
}

@media (max-width: 900px) {
    .user-menu>summary.nav-link span {
        display: inline !important;
    }
}

.user-dropdown .user-item {
    text-decoration: none;
}

.rules-section {
    padding: 12px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.rules-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 12px;
    padding: 18px;
}

.rules-top {
    padding: 14px 10px 6px;
}

.rules-h1 {
    margin: 0 0 14px 0;
    color: #e9ecff;
    font-weight: 900;
    letter-spacing: .04em;
    font-size: 22px;
}

.rules-intro {
    margin: 0;
    color: #9ea5b9;
    max-width: 1040px;
    line-height: 1.7;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 80px;
    row-gap: 74px;
    padding: 44px 10px 26px;
}

.rules-bloc {
    text-align: center;
    padding: 0 10px;
}

.rules-sub {
    margin: 0 0 16px 0;
    color: #e8ecff;
    font-weight: 800;
    letter-spacing: .02em;
    font-size: 18px;
}

.rules-copy {
    margin: 0 auto;
    color: #a9b3c9;
    max-width: 36ch;
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 48px;
        row-gap: 48px;
    }
}

@media (max-width: 640px) {
    .rules-grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }
    .rules-intro {
        max-width: none;
    }
}

.profile-section {
    padding: 10px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.profile-header {
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 12px
}

.profile-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px
}

.profile-tabs {
    display: flex;
    gap: 10px;
    margin-left: auto;
    align-items: center;
    flex-wrap: wrap
}

.tab-btn {
    padding: 8px 16px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
    border: 1px solid transparent;
    border-radius: 8px;
    color: #8b8b8b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease
}

.tab-btn:hover {
    color: #bdbdbd
}

.tab-btn.active {
    border-color: #fff;
    color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08)
}

.profile-grid {
    display: grid;
    grid-template-columns: 204px 1fr 400px;
    gap: 15px;
    align-items: start
}

.left-column,
.middle-column,
.right-column {
    display: flex;
    flex-direction: column
}

.player-card {
    border: 1px solid rgb(25, 39, 54);
    text-align: center;
    margin-bottom: 20px;
    background-image: linear-gradient(180deg, rgba(30,10,60,.9) 0%, rgba(88,28,135,.6) 50%, rgba(0,0,0,.35) 135%);
    backdrop-filter: blur(46px);
    opacity: 1;
    position: relative;
    overflow: hidden;
    width: 204px;
    height: 341px;
    min-width: 204px;
    min-height: 341px;
    max-width: 204px;
    max-height: 341px;
    flex: 0 0 204px;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.player-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 7, .35) 39%, rgba(88,28,135,.4) 100%);
    z-index: 1
}

.player-skin {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box
}

.skin-image {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
    object-fit: contain
}

.player-skin,
.skin-image {
    position: relative;
    z-index: 0
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff
}

.skins-title {
    margin: 0 0 10px
}

.activity-title {
    justify-content: center;
    margin: 0 0 10px
}

.skins-section {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    border-radius: 5px;
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25)
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px
}

.skin-item {
    display: block;
    aspect-ratio: 1;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
    overflow: hidden
}

.skin-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #73ff73, #5acc5a);
    opacity: .2
}

.skin-item:hover:not(.active) {
    border-color: #ff4444;
    transform: scale(1.05)
}

.skin-empty {
    display: block;
    text-align: center;
    color: #cbd5e1;
    font-size: 12px;
    padding: 8px
}

.badges-title {
    margin: 0 0 10px
}

.badges-section {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    border-radius: 5px;
    padding: 12px;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25)
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px
}

.kits-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 3px
}

.ranking-kit {
    padding: 8px 2px;
    text-align: center;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer
}

.ranking-kit:focus-visible {
    outline: 2px solid rgba(255, 215, 0, .6);
    outline-offset: 2px
}

.ranking-kit.is-active .kit-icon {
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, .35)
}

.ranking-kit.is-active .kit-rank {
    box-shadow: 0 0 14px rgba(255, 215, 0, .35)
}

.kit-icon {
    width: 36px;
    height: 36px
}

.rankings-section .kit-rank {
    background: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1
}

.rankings-section .ranking-kit:hover .kit-rank {
    box-shadow: 0 0 12px rgba(255, 215, 0, .25)
}

.rankings-section .kit-icon {
    padding: 10px;
    border: 1px solid #2a2f3b;
    border-radius: 0;
    background: rgba(255, 255, 255, .02);
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges
}

.middle-column .rankings-section {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25)
}

.elo-section {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 2px;
    padding: 12px;
    height: 210px;
    max-height: 210px;
    margin-top: 10px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 6px
}

.elo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0
}

.elo-header .section-title {
    display: flex;
    align-items: center;
    gap: 8px
}

.elo-reset-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #a9b3c9;
    font-size: 16px;
    line-height: 1;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.elo-reset-btn:hover {
    color: #fff;
    border-color: #fff
}

.elo-reset-btn:focus-visible {
    outline: 2px solid rgba(255, 215, 0, .6);
    outline-offset: 2px
}

.elo-reset-btn.is-hidden {
    display: none
}

.time-selector {
    display: flex;
    gap: 6px
}

.elo-section .time-btn {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    color: #fff;
    border: 1px solid transparent;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    border-radius: 2px;
    cursor: pointer
}

.elo-section .time-btn:hover {
    border-color: #fff
}

.elo-section .time-btn.active {
    border-color: #fff
}

.chart-container {
    height: 100% !important;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: #000
}

#eloChart {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important
}

.history-title {
    margin: 20px 0 10px
}

.history-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 2px;
    padding: 12px;
    padding-right: 8px
}

.history-scroll {
    --row-h: 34px;
    --row-gap: 6px;
    height: 200px;
    max-height: 200px;
    overflow: auto
}

.history-scroll::-webkit-scrollbar {
    width: 8px
}

.history-scroll::-webkit-scrollbar-thumb {
    background: #232a3d;
    border-radius: 8px
}

.history-scroll::-webkit-scrollbar-track {
    background: transparent
}

.history-table {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--row-gap)
}

.history-row {
    min-height: var(--row-h);
    display: grid;
    grid-template-columns: 26px .95fr 100px 70px 28px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    gap: 8px;
    background: #0f121c;
    border: 1px solid #232a3d;
    padding-right: 6px
}

.history-row.is-empty {
    grid-template-columns: 1fr;
    padding: 0
}

.history-row.is-empty>* {
    display: none
}

.history-index {
    justify-self: center;
    font-weight: 900;
    font-size: 13px;
    color: #72a9ff;
    text-shadow: 0 0 10px rgba(114, 169, 255, .6)
}

.history-name {
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    font-size: 13px
}

.history-date {
    color: #cfd6e6;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    margin-right: 6px;
    font-size: 12px
}

.history-ago {
    color: #8a93a6;
    font-weight: 600;
    letter-spacing: .03em;
    font-size: 12px
}

.history-card .copy-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #232a3d;
    border-radius: 6px;
    color: #a9b3c9;
    transition: border-color .15s ease, color .15s ease, background .15s ease
}

.history-card .copy-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, .04)
}

.history-card .copy-btn svg {
    width: 14px;
    height: 14px
}

.history-row .copy-btn {
    justify-self: end
}

.history-title .history-icon {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    margin-right: 8px;
    opacity: .95
}

.activity-section {
    --row-inset: 6px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    height: 310px;
    border: 1px solid #1e293b;
    border-radius: 5px;
    padding: 19px;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25)
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 8px
}

.activity-status {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap
}

.activity-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 0;
    border: 1px solid #1e293b;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: none;
    color: #4ade80;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    background: linear-gradient(90deg, rgba(0, 0, 7, .9) 0%, rgba(6, 20, 8, .85) 50%, rgba(0, 0, 0, .9) 100%)
}

.activity-current-server {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #1e293b;
    border-radius: 12px;
    background: rgba(0, 0, 0, .45);
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    text-decoration: none;
    color: inherit;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease
}

.activity-current-server:hover {
    border-color: #4ade80;
    background: rgba(6, 20, 8, .85);
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .35)
}

.activity-current-server:focus-visible {
    outline: 2px solid #bbf7d0;
    outline-offset: 3px
}

.activity-current-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    align-items: center;
    text-align: center
}

.activity-current-label {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4ade80;
    font-weight: 800
}

.activity-current-name {
    color: #e8ffe8;
    font-weight: 900;
    letter-spacing: .03em
}

.activity-current-server .status-dot {
    color: #4ade80;
    flex-shrink: 0
}

.current-dot {
    color: #4ade80
}

.activity-connect-form {
    margin: 0
}

.activity-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(90deg, rgba(68, 255, 68, .14) 0%, rgba(132, 255, 132, .22) 50%, rgba(68, 255, 68, .14) 100%);
    border: 1px solid #4ade80;
    border-radius: 10px;
    color: #e8ffe8;
    font-weight: 900;
    letter-spacing: .08em;
    font-family: 'VoidTiers', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    background-color: #0b160c;
    box-shadow: 0 10px 28px rgba(74, 222, 128, .25), inset 0 1px 0 rgba(255, 255, 255, .05)
}

.activity-connect-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 185, 129, .24);
    border-color: #22c55e
}

.activity-connect-btn:focus-visible {
    outline: 2px solid #bbf7d0;
    outline-offset: 3px
}

.activity-connect-btn i {
    font-size: 14px;
    color: inherit
}

.activity-online-pill.is-online {
    color: #4ade80
}

.activity-online-pill.is-offline {
    color: #9ca3af
}

.activity-tabbar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin: 30px 0 20px;
    flex-wrap: wrap
}

.activity-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    border-radius: 8px;
    color: #8b8b8b;
    font-size: 12px;
    font-weight: 600;
    font-family: 'VoidTiers', sans-serif;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease
}

.activity-tab:hover {
    color: #bdbdbd
}

.activity-tab.active {
    border-color: #fff;
    color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08)
}

.activity-list {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 130px;
    overflow-y: auto
}

.activity-row {
    display: grid;
    align-items: center;
    grid-template-columns: 20px 24px 1fr auto auto;
    gap: 8px;
    padding: 6px 8px;
    background: #14161f;
    border: 1px solid #23262f;
    border-radius: 6px;
    width: calc(100% - (var(--row-inset)*2));
    margin-inline: var(--row-inset)
}

.activity-row:hover {
    border-color: #ff4444;
    background: #1b1e29
}

.row-rank {
    width: 20px;
    text-align: center;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    color: #72a9ff;
    text-shadow: 0 0 10px rgba(114, 169, 255, .6)
}

.row-icon.swords {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f121c;
    border: 1px solid #232a3d;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .06);
    color: #d6d9e6
}

.swords-svg {
    width: 14px;
    height: 14px;
    display: block
}

.row-domain {
    font-weight: 700;
    font-size: 13px;
    color: #d7d7d7
}

.row-joins {
    font-size: 12px;
    color: #e4e4e4;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.row-link {
    color: #999;
    padding: 4px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.row-link:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, .1)
}

.row-link i {
    font-size: 12px
}

.is-hidden {
    display: none !important
}

.status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite
}

.activity-online-pill.is-offline .status-dot {
    animation: none
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 currentColor
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0)
    }
}

.join-btn svg {
    width: 20px;
    height: 20px
}

.match-item.win .match-result {
    background: #10b981;
    color: #fff
}

.match-item.loss .match-result {
    background: #ef4444;
    color: #fff
}

.matches-title {
    margin: 20px 0 10px
}

.matches-title .match-icon {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    margin-right: 8px;
    opacity: .95
}

.history-card,
.matches-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 2px;
    padding: 12px
}

.matches-scroll {
    --row-h: 62px;
    --row-gap: 8px;
    height: calc(var(--row-h)*5 + var(--row-gap)*4);
    max-height: 340px;
    overflow: auto
}

.matches-scroll::-webkit-scrollbar {
    width: 8px
}

.matches-scroll::-webkit-scrollbar-thumb {
    background: #232a3d;
    border-radius: 8px
}

.match-table {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--row-gap)
}

.match-row {
    min-height: var(--row-h);
    display: grid;
    align-items: center;
    grid-template-columns: 32px minmax(220px, 1.2fr) 64px minmax(220px, 1fr);
    gap: 12px;
    padding: 8px 10px;
    background: #0f121c;
    border: 1px solid #232a3d;
    border-radius: 10px
}

.match-row.is-empty {
    visibility: hidden
}

.match-kit {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.match-kit img {
    width: 22px;
    height: 22px;
    image-rendering: pixelated;
    display: block
}

.match-thumb {
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #232a3d;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)), var(--img, linear-gradient(90deg, #14161f, #0f121c));
    background-size: cover;
    background-position: center
}

.match-map {
    position: absolute;
    inset: auto 0 0 0;
    padding: 8px 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    font-size: 14px
}

.match-score {
    justify-self: center;
    color: #e7e9ef;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
    font-weight: 800;
    font-size: 14px
}

.match-players {
    display: grid;
    grid-template-columns: auto 24px auto;
    align-items: center;
    gap: 10px
}

.player-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 36px;
    padding: 0 12px;
    background: #0c0f18;
    border: 1px solid #232a3d;
    border-radius: 8px;
    color: #cfd6e6;
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 14px
}

.player-chip.you {
    color: #73ff73
}

.player-chip.opp.win {
    color: #73ff73
}

.match-row.win .player-chip.you {
    color: #73ff73
}

.match-row.loss .player-chip.you {
    color: #9aa2b5
}

.match-players .vs {
    color: #7b8296;
    font-weight: 700;
    text-align: center
}

.ban-title {
    margin: 20px 0 10px
}

.ban-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 34%, rgb(0, 0, 7) 66%, rgb(0, 0, 0) 103%);
    border: 1px solid #3a1010;
    box-shadow: inset 0 0 0 1px rgba(128, 16, 16, .25);
    border-radius: 6px;
    padding: 12px;
    padding-right: 8px;
    max-width: 100%
}

.ban-scroll {
    --ban-row-h: 30px;
    --ban-row-gap: 6px;
    height: 200px;
    max-height: 200px;
    width: 100%;
    overflow: auto
}

.ban-scroll::-webkit-scrollbar {
    width: 8px
}

.ban-scroll::-webkit-scrollbar-thumb {
    background: #3a1010;
    border-radius: 8px
}

.ban-table {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ban-row-gap);
    width: 100%
}

.ban-row {
    width: 100%;
    min-height: var(--ban-row-h);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(90px, 110px);
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    background: linear-gradient(180deg, #1a0505 0%, #140304 100%);
    border: 1px solid #4a1414;
    box-shadow: inset 0 0 0 1px rgba(255, 40, 40, .06);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 12.5px;
    line-height: 1;
    transform: none
}

.ban-row:hover {
    border-color: #6b1c1c;
    box-shadow: inset 0 0 0 1px rgba(255, 64, 64, .12), 0 6px 16px rgba(0, 0, 0, .45)
}

.ban-row.is-empty {
    min-height: var(--ban-row-h);
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    color: #ff6e6e;
    font-weight: 600
}

.ban-server {
    color: #ff5b5b;
    font-weight: 800;
    letter-spacing: .02em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.ban-date {
    color: #ff6e6e;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em
}

.ban-reason-badge {
    justify-self: end;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 32, 32, .08);
    border: 1px solid #7a1b1b;
    color: #ff5b5b;
    font-weight: 800;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: inset 0 0 12px rgba(255, 64, 64, .08)
}

.ban-title .history-icon {
    color: #fff;
    font-size: 14px;
    line-height: 1;
    margin-right: 8px;
    opacity: .95
}

.skin-item.head-tile {
    border: 0;
    box-shadow: inset 0 0 0 2px #2a2a2a;
    background: transparent
}

.skin-item.head-tile::before {
    content: none !important
}

.skin-item.head-tile .mc-head-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    image-rendering: pixelated
}

@media (max-width:1200px) {
    .profile-grid {
        grid-template-columns: 204px 1fr;
        gap: 20px
    }
    .right-column {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px
    }
    .right-column {
        grid-column: 1 / -1
    }
}

@media (max-width:768px) {
    .profile-header {
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px
    }
    .profile-title {
        flex: 1;
        min-width: 0
    }
    .profile-tabs {
        margin-left: auto;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
        flex-wrap: nowrap
    }
    .profile-tabs .tab-btn {
        padding: 8px 12px;
        font-size: 13px
    }
    .profile-grid {
        grid-template-columns: 1fr
    }
    .right-column {
        grid-template-columns: 1fr
    }
    .kits-grid {
        grid-template-columns: repeat(3, 1fr)
    }
    .skins-grid {
        grid-template-columns: repeat(4, 1fr)
    }
    .elo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px
    }
    .time-selector {
        align-self: stretch;
        justify-content: space-between
    }
    .activity-row {
        grid-template-columns: 24px 36px 1fr auto
    }
    .row-link {
        display: none
    }
    .matches-scroll {
        --row-h: 56px
    }
    .match-row {
        grid-template-columns: 28px 1fr 56px;
        grid-auto-rows: auto;
        grid-template-areas: "kit thumb score" ". players players";
        gap: 8px
    }
    .match-kit {
        grid-area: kit
    }
    .match-thumb {
        grid-area: thumb
    }
    .match-score {
        grid-area: score
    }
    .match-players {
        grid-area: players
    }
    .player-chip {
        min-width: 0;
        height: 32px;
        font-size: 13px
    }
    .ban-row {
        grid-template-columns: 1fr auto
    }
    .ban-reason-badge {
        grid-column: 1/-1;
        justify-self: start
    }
}

@media (max-width:480px) {
    .profile-tabs {
        gap: 6px
    }
    .profile-tabs .tab-btn {
        padding: 6px 10px;
        font-size: 12px
    }
    .profile-container {
        padding: 20px 0
    }
    .kits-grid {
        grid-template-columns: 1fr
    }
    .history-item {
        flex-wrap: wrap;
        gap: 8px
    }
    .history-date,
    .history-ago {
        width: 50%;
        text-align: center
    }
}

/* Account Page */

.account-section {
    padding: 40px 0;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.account-wrapper {
    display: flex;
    gap: 20px
}

.account-sidebar {
    width: 220px;
    background: #0b0c11;
    border: 1px solid #1a1a1a;
    border-radius: 8px
}

.sidebar-title {
    margin: 0;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #1a1a1a
}

.sidebar-nav {
    display: flex;
    flex-direction: column
}

.sidebar-link {
    padding: 12px 20px;
    color: #bbb;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a
}

.sidebar-link:last-child {
    border-bottom: none
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #1a1a1a;
    color: #fff
}

.account-content {
    flex: 1;
    background: #0b0c11;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 20px
}

.account-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: #fff
}

.account-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 20px
}

.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: #fff
}

.account-details .account-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff
}

.account-details .account-email {
    font-size: 14px;
    color: #aaa
}

.account-section-block {
    margin-top: 20px
}

.account-form .auth-submit {
    width: auto;
    padding: 10px 24px
}

.bracket-match-stack {
    position: relative;
}

:root {
    --bracket-round-w: 220px;
}

.bracket-round {
    flex: 0 0 var(--bracket-round-w);
    width: var(--bracket-round-w);
    min-width: var(--bracket-round-w);
    max-width: var(--bracket-round-w);
}

.bracket-match-stack {
    width: 100%;
}

.bracket-match {
    width: 100%;
}

:root {
    --bracket-min-gap: 14px;
}

.bracket-players,
.bracket-player,
.bracket-player-body,
.bracket-match {
    min-width: 0;
}

.bracket-player-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

:root {
    --bracket-round-w: 200px;
}

.bracket-rounds {
    gap: 40px;
}

.bracket-match-stack {
    gap: 12px;
}

.bracket-players {
    gap: 6px;
}

.bracket-match {
    padding: 10px 10px 12px;
}

.bracket-player {
    min-height: 36px;
    padding: 4px 8px;
}

.bracket-player-crest {
    width: 24px;
    height: 24px;
    border-radius: 7px;
}

.bracket-player-name {
    font-size: 12px;
}

.bracket-player-score {
    font-size: 13px;
}

.bracket-players,
.bracket-player,
.bracket-player-body,
.bracket-match {
    min-width: 0;
}

.bracket-player-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Register Page */

.register-page {
    padding: 64px 0 96px;
}

.register-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.register-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e7e9ef;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 700;
}

.register-title {
    margin: 12px 0 10px;
    font-size: 42px;
    color: #fff;
}

.register-lede {
    margin: 0;
    color: #c8cbd7;
    font-size: 18px;
    line-height: 1.6;
}

.register-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.register-step {
    position: relative;
    padding: 24px;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 0, 0, 0.08), rgba(255, 0, 0, 0) 50%), #0b0c11;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 30px rgba(0, 0, 0, 0.35);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255, 0, 0, 0.12);
    color: #ff6b6b;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.step-title {
    margin: 16px 0 10px;
    font-size: 24px;
    color: #fff;
}

.step-body {
    margin: 0;
    color: #c8cbd7;
    line-height: 1.6;
}

.step-body code {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Menlo', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    font-size: 14px;
}

:root {
    --bracket-round-min: 200px;
}

.bracket-rounds {
    min-width: max-content;
    width: 100%;
    gap: 40px;
}

.bracket-round {
    flex: 1 1 var(--bracket-round-min);
    min-width: var(--bracket-round-min);
    width: auto;
    max-width: none;
}

.bracket-match-stack {
    width: 100%;
}

.bracket-match {
    width: 100%;
}

.bracket-players,
.bracket-player,
.bracket-player-body,
.bracket-match {
    min-width: 0;
}

.bracket-player-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Match History Header Bar */

.matches-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 10px;
}

.matches-header-bar .matches-title {
    margin: 0;
}

/* View Picker */

.matches-view-picker {
    display: flex;
    gap: 4px;
    background: #0b0c11;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 4px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
}

.view-btn:hover {
    color: #a9b3c9;
}

.view-btn.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: #1e293b;
    color: #fff;
}

.view-btn i {
    font-size: 14px;
}

/* Grid View Container */

.matches-grid-view {
    padding: 12px;
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.matches-grid-view::-webkit-scrollbar {
    width: 8px;
}

.matches-grid-view::-webkit-scrollbar-thumb {
    background: #232a3d;
    border-radius: 8px;
}

.matches-grid-view::-webkit-scrollbar-track {
    background: transparent;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

/* Match Card */

.match-card {
    background: linear-gradient(rgb(20, 29, 38) 0%, rgb(1, 0, 5) 74.324324%);
    border: 1px solid rgb(25, 39, 54);
    border-radius: 5px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(54px);
    -webkit-backdrop-filter: blur(54px);
}

.match-card.win {
    border-color: #3ccf4e;
}

.match-card.loss {
    border-color: #ff4d4d;
}

.match-card.win:hover {
    border-color: #48e35c;
}

.match-card.loss:hover {
    border-color: #ff6a6a;
}

.match-card:hover {
    border-color: #3a4560;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Kit Icon */

.match-card-kit {
    width: 32px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(4, 4, 10);
    border-radius: 2px;
    box-shadow: rgba(8, 8, 23, 0.58) 0px 0px 14px 7px;
}

.match-card-kit img {
    width: 18px;
    height: 18px;
    image-rendering: pixelated;
}

/* Map Thumbnail */

.match-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    background: var(--img, #14161f);
    background-size: cover;
    background-position: center;
    box-shadow: rgb(0, 0, 0) 0px 0px 36px 17px inset;
}

.match-card-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.04em;
    text-align: center;
    text-shadow: rgb(0, 0, 0) 1px 1px 2px;
    z-index: 1;
}

/* Score */

.match-card-score {
    font-size: 18px;
    font-weight: 800;
    color: #e7e9ef;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* Players */

.match-card-players {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.match-card-player {
    font-size: 13px;
    font-weight: 500;
    color: rgb(112, 112, 112);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 12px;
    background: rgb(4, 6, 14);
    border-radius: 5px;
    text-align: center;
    box-sizing: border-box;
}

.match-card-player.winner {
    color: rgb(86, 204, 27);
}

.match-card-vs {
    font-size: 12px;
    color: rgb(112, 112, 112);
    font-weight: 500;
    letter-spacing: -0.04em;
}

/* List View */

.matches-list-view {
    /* inherits existing styles */
}

/* Responsive */

@media (max-width: 768px) {
    .matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .match-card {
        padding: 10px;
    }
    .match-card-score {
        font-size: 16px;
    }
    .match-card-player {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .matches-header-bar {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Compact live-matches layout on mobile */

@media (max-width: 820px) {
    .live-matches .match-row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: "server result" "players kit";
        gap: 8px 12px;
        padding: 12px;
    }
    .live-matches .match-row .server {
        grid-area: server;
    }
    .live-matches .match-row .players {
        grid-area: players;
    }
    .live-matches .match-row .kit {
        grid-area: kit;
        justify-self: flex-end;
    }
    .live-matches .match-row .result {
        grid-area: result;
        justify-self: flex-end;
    }
    .live-matches .match-row .result .score {
        white-space: nowrap;
    }
}

.rankings-section .kits-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

@media (max-width: 480px) {
    .rankings-section .kits-grid {
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .rankings-section .ranking-kit {
        min-width: 60px;
    }
}

@media (max-width: 768px) {
    .skins-section .skins-grid {
        grid-template-columns: repeat(auto-fit, minmax(48px, max-content));
        justify-content: flex-start;
        gap: 6px;
    }
    .skins-section .skin-item.head-tile {
        width: 48px;
        height: 48px;
        aspect-ratio: auto;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: inset 0 0 0 2px #2a2a2a;
        background: transparent;
    }
    .skins-section .skin-item.head-tile .mc-head-img {
        width: 100%;
        height: 100%;
        max-width: 48px;
        max-height: 48px;
        object-fit: contain;
        image-rendering: pixelated;
    }
}

@media (max-width: 520px) {
    .home-section .container {
        padding: 0 12px;
    }
    .leaderboard-container {
        padding: 16px 12px;
        border-radius: 12px;
    }
    .podium:not(.podium--single):not(:has(> .podium-card:only-child)) {
        --podium-gap: 6px;
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.16fr) minmax(0, .92fr);
    }
    .podium::before {
        inset: -18% 0 -12% 0;
    }
    .podium-card {
        width: 100%;
        min-width: 0;
        padding: 8px 6px 0;
    }
    .podium-name {
        margin: 4px 0 6px;
        padding: 1px 0 2px;
        font-size: clamp(11px, 3.1vw, 13px);
        line-height: 1.25;
        letter-spacing: 0;
        white-space: nowrap;
    }
    .podium-card.first .podium-name {
        font-size: clamp(11px, 3.4vw, 13.5px);
    }
    .podium-name.is-long,
    .podium-name.is-xlong,
    .podium-card.first .podium-name.is-long,
    .podium-card.first .podium-name.is-xlong {
        font-size: clamp(9.5px, 2.8vw, 12px);
    }
    .top-players .top-list-item {
        grid-template-columns: 28px 40px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 10px;
    }
    .top-players .top-list-item .avatar {
        width: 40px;
        height: 40px;
    }
    .top-players .top-list-item .name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .top-players .top-list-item .points {
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .tiers-section .container {
        padding: 0 12px;
    }
    .tiers-card {
        padding: 10px;
    }
    .tiers-head.tiers-grid {
        display: none;
    }
    .tiers-row.tiers-grid {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 10px 8px;
    }
    .tiers-row.tiers-grid .col-rank {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        justify-self: center;
        padding-top: 6px;
        width: auto;
    }
    .tiers-row.tiers-grid .col-player {
        grid-column: 2;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-areas: "avatar name" "avatar points";
        align-items: center;
        gap: 2px 10px;
        min-width: 0;
        width: 100%;
    }
    .tiers-row.tiers-grid .avatar {
        grid-area: avatar;
        width: 42px;
        height: 42px;
        transform: translateY(0) scale(1.04);
    }
    .tiers-row.tiers-grid .player-name {
        grid-area: name;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .tiers-row.tiers-grid .player-points {
        grid-area: points;
        margin-left: 0;
        font-size: 12px;
        white-space: nowrap;
    }
    .tiers-row.tiers-grid .col-region {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
        justify-self: start;
        width: auto;
        margin-top: 8px;
    }
    .tiers-row.tiers-grid .col-kits {
        grid-column: 1 / -1;
        justify-self: start;
        justify-content: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        margin-top: 4px;
        text-align: left;
    }
    .tiers-row.tiers-grid .kit-icon {
        width: 32px;
        height: 32px;
        padding: 5px;
    }
    .tiers-row.tiers-grid .kit-tier-label {
        min-width: 28px;
        font-size: 9px;
    }
    .tiers-row:hover .avatar,
    .tiers-row .avatar.tiers-avatar-active {
        transform: none;
    }
}

/* ── Page enter / leave (smooth open on load) ── */

html.page-ready {
    scroll-behavior: smooth;
}

html.page-enter body,
html.page-leave body {
    overflow-x: hidden;
}

html.page-enter .navbar,
html.page-leave .navbar {
    opacity: 0;
    transform: translateY(-14px);
}

html.page-enter:not(.page-home) .home-section,
html.page-enter .tiers-section,
html.page-enter .admin-wrap,
html.page-enter .docs-scalar-wrap,
html.page-leave .home-section,
html.page-leave .tiers-section,
html.page-leave .admin-wrap,
html.page-leave .docs-scalar-wrap {
    opacity: 0;
    transform: translateY(22px);
}

html.page-enter .footer,
html.page-leave .footer {
    opacity: 0;
    transform: translateY(12px);
}

html.page-ready .navbar {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.04s;
}

html.page-ready .tiers-section,
html.page-ready .admin-wrap,
html.page-ready .docs-scalar-wrap {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.1s;
}

html.page-ready:not(.page-home) .home-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.1s;
}

html.page-ready .footer {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.22s;
}

html.page-leave .navbar,
html.page-leave .home-section,
html.page-leave .tiers-section,
html.page-leave .admin-wrap,
html.page-leave .docs-scalar-wrap,
html.page-leave .footer {
    transition-duration: 0.28s;
    transition-timing-function: ease-in;
    transition-delay: 0s;
}

/* Home — single gentle fade (no per-card stagger; avoids reload flicker) */

html.page-enter.page-home .home-section {
    opacity: 0;
    transform: translateY(8px);
}

html.page-enter.page-home .top-players-title,
html.page-enter.page-home .podium,
html.page-enter.page-home .podium-spacer,
html.page-enter.page-home .top-list,
html.page-enter.page-home .top-list > li,
html.page-enter.page-home .leaderboard-wrap {
    opacity: 1;
    transform: none;
}

html.page-ready.page-home .home-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.06s;
}

html.page-ready.page-home .top-players-title,
html.page-ready.page-home .podium,
html.page-ready.page-home .podium-spacer,
html.page-ready.page-home .top-list > li,
html.page-ready.page-home .leaderboard-wrap {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Tiers — whole card fades in gently (no per-tab / per-column pop) */

html.page-enter.page-tiers .tiers-card {
    opacity: 0;
    transform: translateY(8px);
}

html.page-ready.page-tiers .tiers-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.14s;
}

/* Admin */

html.page-enter.page-admin .admin-card {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
}

html.page-ready.page-admin .admin-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.16s;
}

/* API docs */

html.page-enter.page-docs .docs-scalar-wrap {
    opacity: 0;
    transform: translateY(18px);
}

html.page-ready.page-docs .docs-scalar-wrap {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.12s;
}

.vt-reveal-pending {
    opacity: 0 !important;
    transform: translateY(12px) !important;
    transition: none !important;
}

.vt-reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transition-delay: var(--vt-reveal-delay, 0s) !important;
}

@media (prefers-reduced-motion: reduce) {
    .vt-reveal-pending,
    .vt-reveal-active {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    html.page-enter .navbar,
    html.page-enter .home-section,
    html.page-enter .tiers-section,
    html.page-enter .admin-wrap,
    html.page-enter .docs-scalar-wrap,
    html.page-enter .footer,
    html.page-enter.page-home .top-players-title,
    html.page-enter.page-home .podium,
    html.page-enter.page-tiers .tiers-card,
    html.page-enter.page-admin .admin-card {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* ===================================================================
   FIX: Minecraft font, tiers grid layout, clickable rows
   =================================================================== */

body {
    font-family: 'Minecraft', 'VoidTiers', serif;
}

@font-face {
    font-family: 'Minecraft';
    src: url('../minecraft_font.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fix tiers grid - override the broken column layout */
.tiers-row.tiers-grid {
    display: grid;
    grid-template-columns: 60px 1fr 100px auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
}

.tiers-head.tiers-grid {
    display: grid;
    grid-template-columns: 60px 1fr 100px auto;
    gap: 12px;
    padding: 12px 16px;
}

/* Fix col-kits to be a horizontal flex row */
.col-kits {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-end;
}

/* Remove the kit-tiles wrapper - kit-tile should be direct child */
.kit-tiles {
    display: contents;
}

/* Kit tile styling - removed duplicate, using void-tierlist styles */

/* Make entire tiers-row clickable */
.tiers-row {
    cursor: pointer;
    text-decoration: none;
}

.tiers-row a.player-name {
    pointer-events: none;
}

/* Fix avatar in tiers-row */
.tiers-row .avatar {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    image-rendering: pixelated;
    filter: drop-shadow(0 1px 8px #556b82);
    transition: transform .28s cubic-bezier(.2, .8, .35, 1.05), filter .22s ease;
    transform: translateY(1px) scale(1.06);
    transform-origin: center bottom;
    will-change: transform;
}

.tiers-row:hover .avatar {
    transform: translateY(-11px) scale(1.42);
    filter: drop-shadow(0 8px 14px rgba(85, 107, 130, .92));
    z-index: 20;
}

/* Fix col-player */
.col-player {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* Fix col-region */
.col-region {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Region pill */
.region-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #0b0c11;
    color: #cbbcff;
    border: 1px solid #3b3175;
    font-weight: 800;
    letter-spacing: .04em;
    font-size: 12px;
}

.region-pill.eu {
    color: #a3ffdd;
    border-color: #146b63;
}

.region-pill.na {
    color: #cbbcff;
    border-color: #3b3175;
}

/* Fix tier tab icons */
.tier-tab .tier-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    image-rendering: pixelated;
}

.tier-tab:hover .tier-icon,
.tier-tab.active .tier-icon {
    transform: scale(1.5);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .6));
}

/* Fix tiers search input */
.tiers-search input {
    height: 40px;
    border-radius: 10px;
    background: #0b0c11;
    border: 1px solid #232323;
    color: #fff;
    padding: 0 44px 0 40px;
    font-family: 'Minecraft', 'VoidTiers', sans-serif;
    font-size: 14px;
    width: 100%;
}

.tiers-search input::placeholder {
    color: #777;
}

.tiers-search > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    z-index: 1;
}

/* Fix icon-btn */
.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0b0c11;
    border: 1px solid #1e293b;
    color: #a9b3c9;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease;
}

.icon-btn:hover {
    color: #fff;
    border-color: #fff;
}

/* Fix footer */
.footer, .tiers-footer {
    border-top: 1px solid #333;
    padding: 32px 0 20px;
    background: #0b0b0c;
    text-align: center;
}

.footer-content, .tiers-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 12px;
}

.footer-logo img, .tiers-footer-logo {
    height: 40px;
    width: auto;
}

/* Fix tiers-card background */
.tiers-card {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.78%, rgb(0, 0, 7) 66.66%, rgb(0, 0, 0) 103%);
    border: 1px solid #1e293b;
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, .25);
    border-radius: 12px;
    padding: 14px;
}

/* Fix tiers section background */
.tiers-section {
    padding: 12px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

/* Fix navbar for this project */
.navbar {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.navbar-content {
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

.nav-center .logo {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.logo-img {
    height: var(--logo-slot-h);
    width: auto;
    transform: scale(var(--logo-scale));
    transform-origin: center center;
}

/* Fix discord link in navbar */
.discord-link {
    display: inline-flex;
    align-items: center;
    height: var(--btn-h);
    padding: 0 var(--link-pad);
    color: #e7e9ef;
    text-decoration: none;
    font-size: var(--nav-icon-size);
    transition: color .15s ease;
}

.discord-link:hover {
    color: var(--accent);
}

/* Fix tier tab active state */
.tier-tab.active {
    border-color: var(--accent, #b06cff);
    color: #fff;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .18), inset 0 0 20px rgba(255, 255, 255, .08);
}

.tier-tab:hover {
    border-color: var(--accent, #b06cff);
    color: #fff;
}

/* Nav link active color */
.nav-link.active {
    color: var(--accent, #b06cff);
}

.nav-link.active i {
    color: var(--accent, #b06cff);
}

.nav-link.active::after {
    background: var(--accent, #b06cff);
}

/* Fix tiers-head */
.tiers-head {
    display: grid;
    grid-template-columns: 60px 1fr 100px auto;
    gap: 12px;
    padding: 12px 16px;
    margin-top: 6px;
    color: #9197a6;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Fix tiers-list */
.tiers-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Fix rank-num */
.rank-num {
    width: 40px;
    display: inline-block;
    text-align: center;
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1px;
    color: #72a9ff;
    text-shadow: 0 0 10px rgba(114, 169, 255, .6);
}

.rank-num.gold {
    color: #f6c64a;
    text-shadow: 0 0 10px rgba(246, 198, 74, .6);
}

.rank-num.silver {
    color: #cfd3dd;
    text-shadow: 0 0 10px rgba(207, 211, 221, .5);
}

.rank-num.bronze {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, .6);
}

/* Fix player-name */
.player-name {
    color: #e9ecff;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.player-name:hover {
    color: #fff;
}

.player-points {
    color: #bfc8e8;
    font-size: 13px;
}

/* Fix podium for home page */
.podium-card {
    cursor: pointer;
}

.podium-card:hover .podium-avatar {
    transform: scale(1.06);
}

/* Fix top-list for home page */
.top-list-item {
    cursor: pointer;
}

/* Fix search input for this project */
.tiers-search {
    position: relative;
}

/* Fix tiers-toolbar */
.tiers-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid #1e293b;
}

/* Fix tab bar */
.tiers-tabbar {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .tiers-tabbar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 10px 4px 14px;
    }
    .tier-tab {
        flex: 0 0 auto;
    }
    .tiers-head,
    .tiers-row.tiers-grid {
        grid-template-columns: 44px 1fr 80px auto;
    }
}

@media (max-width: 640px) {
    .tiers-head,
    .tiers-row.tiers-grid {
        grid-template-columns: 36px 1fr;
    }
    .col-region, .col-kits {
        grid-column: 1 / -1;
        justify-self: start;
    }
    .col-kits {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* Fix home section */
.home-section {
    padding: 10px 0 80px;
    background: linear-gradient(90deg, rgb(0, 0, 3) 0%, rgb(0, 0, 7) 33.783783%, rgb(0, 0, 7) 66.666664%, rgb(0, 0, 0) 103%);
}

/* Fix leaderboard-container */
.leaderboard-container {
    border: 1px solid rgb(16, 20, 30);
    border-radius: 14px;
    padding: 24px;
}

/* Fix podium-card first place hover */
.podium-card:hover {
    transform: translateY(-4px);
}

/* Fix kit-tile--empty */
.kit-tile--empty {
    opacity: .26;
    filter: grayscale(1);
}

/* Fix kit-tile tier variants */
.kit-tile--tier-1 { --kit-accent: #ffe37d; --kit-glow: rgba(255, 215, 0, .34); }
.kit-tile--tier-2 { --kit-accent: #f1f5ff; --kit-glow: rgba(226, 232, 240, .28); }
.kit-tile--tier-3 { --kit-accent: #ffbc82; --kit-glow: rgba(255, 160, 92, .22); }
.kit-tile--tier-4 { --kit-accent: #85c2ff; --kit-glow: rgba(96, 165, 250, .16); }
.kit-tile--tier-5 { --kit-accent: #9de6be; --kit-glow: rgba(94, 180, 132, .12); }

/* Fix page-transition */
.page-transition {
    position: relative;
    min-height: calc(100svh - 68px);
}

/* ====== KIT BOARD (gamemode tier view) ====== */
.kit-board {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.kit-tier {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kit-tier-head {
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: .03em;
    font-size: 14px;
    color: #08090a;
    border-radius: 6px;
}

.kit-tier-head.t1 { background: linear-gradient(180deg, #ffd65a 0%, #e4b72b 100%); }
.kit-tier-head.t2 { background: linear-gradient(180deg, #e3e6ec 0%, #bfc4ce 100%); }
.kit-tier-head.t3 { background: linear-gradient(180deg, #b88963 0%, #8a6048 100%); }
.kit-tier-head.t4 { background: linear-gradient(180deg, #9aa1ad 0%, #68717d 100%); }
.kit-tier-head.t5 { background: linear-gradient(180deg, #7f858f 0%, #565d66 100%); }

.kit-tier-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kit-item {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: linear-gradient(180deg, #0b0f1a 0%, #0a0d16 100%);
    border: 1px solid #1a2a48;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .06);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
    text-decoration: none;
    color: inherit;
}

.kit-item:hover {
    border-color: #2a3e6e;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .12), 0 6px 14px rgba(0, 0, 0, .45);
}

.kit-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    image-rendering: pixelated;
    object-fit: cover;
}

.kit-name {
    color: #e9ecff;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kit-right {
    display: inline-flex;
    align-items: center;
}

.region-pill.sm {
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    background: #0b0c11;
    border: 1px solid #3b3175;
    color: #cbbcff;
}

.region-pill.eu { color: #a3ffdd; border-color: #146b63; }
.region-pill.as { color: #ffd89b; border-color: #6b4a14; }
.region-pill.au { color: #9ed4ff; border-color: #1a4a6b; }

.is-hidden { display: none !important; }

@media (max-width: 1200px) { .kit-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .kit-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kit-board { grid-template-columns: 1fr; } }

/* ====== LATEST RESULTS ====== */
.latest-results {
    width: 100%;
}

.latest-results .servers-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: linear-gradient(180deg, #0b0f1a 0%, #0a0d16 100%);
    border: 1px solid #1a2a48;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .07), 0 8px 18px rgba(0, 0, 0, .45);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.result-row:hover {
    border-color: #2a3e6e;
    box-shadow: inset 0 0 0 1px rgba(114, 145, 245, .12), 0 10px 22px rgba(0, 0, 0, .5);
    transform: translateY(-1px);
}

.result-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    image-rendering: pixelated;
    object-fit: cover;
    filter: drop-shadow(0 1px 6px #556b82);
    flex-shrink: 0;
}

.result-name {
    font-weight: 700;
    font-size: 16px;
    color: #e9ecff;
    min-width: 120px;
}

.result-sep {
    color: #555;
    font-size: 16px;
    font-weight: 300;
}

.result-tier {
    color: #FFD700;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .04em;
    font-family: 'VoidTiers', ui-monospace, monospace;
    border: 1px solid rgba(255, 215, 0, .5);
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 215, 0, .06);
}

.result-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: pixelated;
    margin-left: auto;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .result-name { min-width: 0; font-size: 14px; }
    .result-row { padding: 10px 14px; gap: 10px; }
    .result-avatar { width: 30px; height: 30px; }
    .result-tier { font-size: 12px; padding: 2px 6px; }
}

/* ====== TIER COLOR SYSTEM ====== */
/* HT1 - Gold */
.tier-ht1 { border-color: #ffd700 !important; }
.tier-ht1 .kit-tier-label { border-color: #ffd700; background: rgba(255, 215, 0, .08); }
/* LT1 - Silver */
.tier-lt1 { border-color: #c0c0c0 !important; }
.tier-lt1 .kit-tier-label { border-color: #c0c0c0; background: rgba(192, 192, 192, .08); }
/* HT2 - Light Blue */
.tier-ht2 { border-color: #a8c8ff !important; }
.tier-ht2 .kit-tier-label { border-color: #a8c8ff; background: rgba(168, 200, 255, .08); }
/* LT2 - Blue */
.tier-lt2 { border-color: #7eaaff !important; }
.tier-lt2 .kit-tier-label { border-color: #7eaaff; background: rgba(126, 170, 255, .08); }
/* HT3 - Orange */
.tier-ht3 { border-color: #ff9f43 !important; }
.tier-ht3 .kit-tier-label { border-color: #ff9f43; background: rgba(255, 159, 67, .08); }
/* LT3 - Teal */
.tier-lt3 { border-color: #2ed8a3 !important; }
.tier-lt3 .kit-tier-label { border-color: #2ed8a3; background: rgba(46, 216, 163, .08); }
/* HT4 - Pink */
.tier-ht4 { border-color: #ff6b9d !important; }
.tier-ht4 .kit-tier-label { border-color: #ff6b9d; background: rgba(255, 107, 157, .08); }
/* LT4 - Purple */
.tier-lt4 { border-color: #a78bfa !important; }
.tier-lt4 .kit-tier-label { border-color: #a78bfa; background: rgba(167, 139, 250, .08); }
/* HT5 - Muted Green */
.tier-ht5 { border-color: #6ee7b7 !important; }
.tier-ht5 .kit-tier-label { border-color: #6ee7b7; background: rgba(110, 231, 183, .08); }
/* LT5 - Muted */
.tier-lt5 { border-color: #6b7280 !important; }
.tier-lt5 .kit-tier-label { border-color: #6b7280; background: rgba(107, 114, 128, .08); }

/* Kit tiles - using void-tierlist styles from original CSS */