:root {
    color-scheme: dark;
    --page: #080809;
    --surface: #111113;
    --surface-raised: #19191c;
    --border: rgba(255, 65, 70, 0.2);
    --accent: #ed252c;
    --accent-bright: #ff5158;
    --text: #f5f5f6;
    --muted: #a7a7ad;
    --idg-gold: #ffd249;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page) !important;
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(150, 18, 24, 0.22), transparent 38%),
        radial-gradient(ellipse at 100% 80%, rgba(98, 13, 18, 0.16), transparent 35%) !important;
    background-attachment: fixed !important;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 24px;
    color: var(--text);
    font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
    background: transparent !important;
}

a {
    color: var(--accent-bright);
    transition: color 140ms ease;
}

a:hover {
    color: #fff;
}

#hd {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -24px -24px 24px;
    padding: 15px 24px;
    background: rgba(10, 10, 12, 0.94);
    border: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

#hd img {
    flex: none;
    float: none !important;
    width: 34px !important;
    height: 34px;
    margin: 0;
}

#hd h2 {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 16px;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#hd h2 > a:last-child {
    margin-left: auto;
    text-decoration: none;
}

#hd h2 a {
    text-decoration: none;
}

#hd .button {
    float: none;
    width: auto;
    min-width: 130px;
    height: 40px;
    margin-left: auto;
    padding: 0 16px;
    border: 1px solid rgba(255, 102, 106, 0.42);
    border-radius: 10px;
    background: linear-gradient(135deg, #b80f19, #f13239);
    box-shadow: 0 6px 18px rgba(194, 25, 32, 0.24);
    font-size: 13px;
    color: #fff;
}

#hd .button:hover,
.button:hover {
    background: linear-gradient(135deg, #d51a24, #ff4b52);
    box-shadow: 0 8px 22px rgba(194, 25, 32, 0.32);
    color: #fff;
}

body > table,
#t1,
#t2,
#t3,
#t4 {
    width: min(100%, 1480px);
    margin: 18px auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    background: rgba(15, 13, 14, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    color: var(--text);
}

body > table th,
#t1 th,
#t2 th,
#t3 th,
#t4 th {
    padding: 13px 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(55, 17, 20, 0.9);
    color: #ffc0c2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-align: center;
    text-transform: uppercase;
}

body > table td,
#t1 td,
#t2 td,
#t3 td,
#t4 td {
    height: auto;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 65, 70, 0.1);
    color: var(--muted);
    font-size: 13px;
    text-shadow: none;
}

body > table tr:not(#a):hover > td,
#t1 tr:not(#i):hover > td {
    background: rgba(205, 35, 42, 0.11);
    color: var(--text);
}

body > table tr#i,
#t1 tr#i {
    background: rgba(205, 35, 42, 0.16) !important;
}

body > table td a {
    color: var(--text);
    font-weight: 650;
    text-decoration: none;
}

body > table td a:hover {
    color: var(--accent-bright);
}

#on,
#off {
    min-width: 48px;
    background-size: 18px;
}

.map-image {
    width: 54px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    object-fit: cover;
}

iframe {
    display: block;
    width: 100%;
    height: 88vh;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--page);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body > table:not(.attributes) #url,
a#url {
    color: var(--accent-bright);
    text-decoration: none;
}

body > table:not(.attributes) #url:hover,
a#url:hover {
    color: #fff;
}

body > table.attributes {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body > table.attributes td {
    border: 0;
    background: transparent;
}

.pagination {
    padding: 12px 8px;
    color: var(--muted);
    font-size: 13px;
}

.pagination a,
.pagination strong {
    display: inline-block;
    margin: 3px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    text-decoration: none;
}

.pagination a:hover,
.pagination strong {
    border-color: rgba(255, 81, 88, 0.5);
    background: rgba(205, 35, 42, 0.18);
    color: #fff;
}

.form-control {
    padding: 10px 8px;
    text-align: right;
}

.search-bar {
    width: min(260px, 55vw);
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    background: #09090b;
    color: var(--text);
    font: inherit;
}

.search-bar:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(237, 37, 44, 0.16);
}

.button {
    height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 102, 106, 0.42);
    border-radius: 9px;
    background: linear-gradient(135deg, #b80f19, #f13239);
    color: #fff;
    font: inherit;
    font-weight: 650;
}

th:hover {
    color: #fff;
    transform: none;
}

#himg,
#himg2 {
    max-width: 21px;
    max-height: 21px;
    object-fit: contain;
}

#avatar {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    object-fit: cover;
}

#sk1 {
    border: 1px solid rgba(144, 170, 220, 0.2);
    border-radius: 7px;
    background: var(--surface-raised);
}

body > table td#a,
body > table td#n,
body > table td#o {
    padding: 18px;
    border: 1px solid var(--border);
    background: rgba(17, 14, 15, 0.97);
    vertical-align: top;
}

body > table td#a {
    width: 27%;
}

body > table td#n,
body > table td#o {
    width: 36.5%;
}

#c {
    margin: 12px 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-raised);
}

#j {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #080809;
}

#j .progress {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c81420, #ff5058);
}

#f {
    color: var(--accent-bright);
    font-size: 15px;
    font-weight: 700;
}

#m {
    margin: 8px 0;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface-raised);
}

#t1,
#t2,
#t3,
#t4 {
    margin: 16px auto;
}

#t1 {
    width: min(100%, 1200px);
}

#t2,
#t3,
#t4 {
    width: min(100%, 900px);
}

#hr1,
#hr0,
#hr2 {
    border: 0;
    border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
    body {
        padding: 12px;
    }

    #hd {
        gap: 9px;
        margin: -12px -12px 14px;
        padding: 12px;
    }

    #hd h2 {
        font-size: 17px;
    }

    #hd .button {
        min-width: 0;
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    body > table,
    #t1,
    #t2,
    #t3,
    #t4 {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    body > table.attributes {
        display: table;
        white-space: normal;
    }

    body > table td#a,
    body > table td#n,
    body > table td#o {
        display: block;
        width: 100%;
        white-space: normal;
    }

    .form-control {
        text-align: left;
    }

    iframe {
        height: 82vh;
    }
}

.leaderboard-page {
    width: min(100%, 1500px);
    margin: 0 auto 20px;
}

.lb-hero {
    position: relative;
    display: grid;
    min-height: 132px;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    overflow: hidden;
    padding: 14px 18px 48px;
    border: 1px solid rgba(255, 54, 60, 0.74);
    border-radius: 9px;
    background:
        linear-gradient(90deg, rgba(5, 5, 7, 0.94), rgba(16, 5, 7, 0.42) 50%, rgba(5, 5, 7, 0.92)),
        linear-gradient(0deg, rgba(175, 16, 23, 0.36), transparent 76%),
        url("./img/background-top15.jpg") center 42% / cover;
    box-shadow: inset 0 0 34px rgba(238, 24, 31, 0.18), 0 12px 26px rgba(0, 0, 0, 0.42);
}

.lb-hero:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff2932 22%, #ff2932 78%, transparent);
    content: "";
}

.lb-hero-brand,
.lb-hero-game {
    display: flex;
    flex-direction: column;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.05;
    text-shadow: 0 2px 9px #000;
}

.lb-hero-brand {
    align-items: flex-start;
    color: #f5f5f5;
    font-size: 19px;
    font-style: italic;
}

.lb-hero-brand strong {
    color: #ff353d;
}

.lb-hero-brand small,
.lb-hero-game small {
    margin-top: 5px;
    color: #c4c4c7;
    font-size: 8px;
    font-style: normal;
    letter-spacing: 0.15em;
}

.lb-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -6px;
    line-height: 0.82;
    text-shadow: 0 3px 14px #000, 0 0 16px rgba(255, 31, 39, 0.48);
}

.lb-hero-title span {
    color: #f7f7f7;
    font-size: clamp(30px, 5vw, 52px);
    font-style: italic;
    font-weight: 950;
    letter-spacing: 0.06em;
}

.lb-hero-title strong {
    color: #ff313a;
    font-size: clamp(15px, 2.2vw, 22px);
    letter-spacing: 0.25em;
}

.lb-hero-title small {
    margin-top: 7px;
    color: #eee;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.lb-hero-game {
    align-items: flex-end;
    padding-top: 7px;
    color: #f4f4f4;
    font-size: 12px;
}

.lb-podium {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    margin: -38px 16px 10px;
}

.lb-podium-card {
    position: relative;
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 9px 10px 8px;
    border: 1px solid rgba(255, 75, 80, 0.55);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(31, 22, 23, 0.97), rgba(7, 7, 9, 0.98));
    box-shadow: inset 0 0 24px rgba(199, 25, 32, 0.1), 0 8px 18px rgba(0, 0, 0, 0.48);
    text-align: center;
}

.lb-podium-card:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f13239, transparent);
    content: "";
}

.lb-podium-1 {
    min-height: 132px;
    border-color: rgba(255, 190, 62, 0.72);
    background: linear-gradient(145deg, rgba(66, 43, 16, 0.88), rgba(10, 8, 8, 0.98));
}

.lb-podium-1:before {
    background: linear-gradient(90deg, transparent, #ffc34f, transparent);
}

.lb-podium-2,
.lb-podium-3 {
    margin-bottom: 5px;
}

.lb-medal {
    position: absolute;
    top: 8px;
    left: 9px;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.lb-place {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #ffc34f;
    font-size: 12px;
    font-weight: 900;
}

.lb-podium-2 .lb-place {
    color: #d3d5de;
}

.lb-podium-3 .lb-place {
    color: #e19a63;
}

.lb-podium-player {
    display: flex;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #fff;
    text-decoration: none;
}

.lb-podium-player strong {
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-podium-avatar {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    object-fit: cover;
}

.lb-podium-1 .lb-podium-avatar {
    width: 44px;
    height: 44px;
    border-color: #ffc34f;
}

.lb-podium-flag {
    width: 16px;
    height: 11px;
    margin-right: 5px;
    object-fit: cover;
    vertical-align: 1px;
}

.lb-podium-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 7px;
    color: #c9c9cd;
    font-size: 10px;
}

.lb-podium-stats b {
    color: #ff555b;
}

.lb-bot-tag,
.player-bot-tag {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 4px;
    border: 1px solid rgba(255, 195, 79, 0.45);
    border-radius: 4px;
    background: rgba(157, 102, 14, 0.18);
    color: #ffd070;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.06em;
    vertical-align: 1px;
}

.player-bot-tag {
    font-size: 9px;
    vertical-align: 2px;
}

.lb-podium-1 .lb-podium-stats b {
    color: #ffc34f;
}

.lb-podium-card.is-empty {
    min-height: 96px;
    border-style: dashed;
    border-color: rgba(255, 75, 80, 0.28);
    background: rgba(11, 10, 12, 0.8);
}

.lb-empty-player {
    margin-top: 27px;
    color: #77777e;
    font-size: 11px;
}

.leaderboard-table-scroll {
    overflow-x: auto;
    border: 1px solid rgba(255, 48, 56, 0.78);
    border-radius: 8px;
    background: rgba(8, 8, 10, 0.96);
    box-shadow: inset 0 0 24px rgba(210, 24, 32, 0.08), 0 10px 24px rgba(0, 0, 0, 0.38);
}

.leaderboard-table {
    width: 100%;
    min-width: 1000px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    line-height: 1.15;
}

.leaderboard-table th {
    height: 29px;
    padding: 5px 6px;
    border-bottom: 1px solid rgba(255, 67, 74, 0.65);
    background: linear-gradient(180deg, rgba(57, 15, 18, 0.98), rgba(22, 11, 13, 0.98));
    color: #f3d9da;
    font-size: 10px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.leaderboard-table th a#url {
    color: inherit;
}

.leaderboard-table td {
    height: 27px;
    padding: 4px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    color: #c5c5c9;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}

.leaderboard-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
}

.leaderboard-table tbody tr:hover td {
    background: rgba(198, 27, 35, 0.14);
    color: #fff;
}

.leaderboard-table td#p,
.leaderboard-table td#z,
.leaderboard-table td#w,
.leaderboard-table td#y {
    width: 34px;
    color: #eee;
    font-weight: 800;
}

.leaderboard-table .lb-avatar-cell {
    width: 38px;
    padding-right: 0;
}

.leaderboard-table .lb-avatar {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 5px;
    object-fit: cover;
}

.leaderboard-table td#sp {
    min-width: 132px;
    text-align: left;
}

.leaderboard-table #o0,
.leaderboard-table #o1 {
    min-width: 0;
    background: none;
}

.lb-player-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lb-country-flag {
    width: 17px;
    height: 12px;
    object-fit: cover;
}

.leaderboard-table .lb-player-cell a {
    max-width: 150px;
    padding: 0;
    color: #f4f4f4;
    font-size: 11px;
}

.leaderboard-table #steam {
    width: 12px;
    height: 12px;
    padding: 0;
}

.leaderboard-table #new {
    width: auto;
    height: 13px;
    padding: 0;
}

.leaderboard-table #hs a {
    color: #a4a4ab;
    font-size: 9px;
}

.leaderboard-table #s {
    color: #ffc34f;
}

.leaderboard-table #s a {
    color: #eee;
    font-size: 10px;
}

.leaderboard-table #sk1 {
    width: auto;
    margin: auto;
    line-height: 1;
}

.leaderboard-table #sk1 td {
    height: 16px;
    padding: 2px 4px;
    font-size: 9px;
}

.leaderboard-table #r1,
.leaderboard-table #r2,
.leaderboard-table #r3,
.leaderboard-table #r4,
.leaderboard-table #r5,
.leaderboard-table #r6,
.leaderboard-table #r7,
.leaderboard-table #r8,
.leaderboard-table #r9,
.leaderboard-table #r10,
.leaderboard-table #r11,
.leaderboard-table #r12,
.leaderboard-table #r13,
.leaderboard-table #r14,
.leaderboard-table #r15,
.leaderboard-table #r16,
.leaderboard-table #r17,
.leaderboard-table #r18,
.leaderboard-table #r19 {
    width: 50px;
    min-width: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.leaderboard-table .lb-status {
    display: inline-block;
    min-width: 47px;
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.leaderboard-table .lb-status.is-online {
    background: #10a847;
}

.leaderboard-table .lb-status.is-offline {
    background: #55545a;
}

.leaderboard-table .lb-empty-row td {
    height: 50px;
    color: #a3a3a8;
    font-size: 12px;
    text-align: center;
}

.leaderboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.leaderboard-footer .pagination {
    padding: 0;
}

.leaderboard-footer .pagination a,
.leaderboard-footer .pagination strong {
    margin: 2px;
    padding: 5px 9px;
    border-color: rgba(255, 70, 76, 0.3);
    border-radius: 6px;
    background: #151416;
    color: #ddd;
}

.leaderboard-footer .pagination strong {
    background: #c81721;
}

.leaderboard-search {
    display: flex;
    gap: 6px;
}

.leaderboard-search .search-bar {
    width: min(220px, 45vw);
    height: 33px;
    font-size: 12px;
}

.leaderboard-search .button {
    height: 33px;
    font-size: 12px;
}

.player-profile {
    width: min(100%, 1500px);
    margin: 0 auto 18px;
}

.profile-topbar {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 55, 62, 0.68);
    border-radius: 8px;
    background: linear-gradient(100deg, #09090b, #1a0d0f 54%, #09090b);
    box-shadow: inset 0 -2px 0 rgba(230, 29, 37, 0.28);
}

.profile-brand {
    color: #f4f4f4;
    font-size: 14px;
    font-style: italic;
    font-weight: 900;
    white-space: nowrap;
}

.profile-brand strong {
    color: #ff343d;
}

.profile-tabs {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 4px;
}

.profile-tabs a {
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #c8c8cc;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.profile-tabs a:hover,
.profile-tabs a.is-active {
    border-color: rgba(255, 67, 74, 0.55);
    background: linear-gradient(135deg, rgba(178, 15, 24, 0.95), rgba(64, 10, 14, 0.95));
    color: #fff;
}

.profile-back-link {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid rgba(255, 70, 76, 0.45);
    border-radius: 6px;
    background: rgba(155, 16, 24, 0.55);
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.player-layout {
    display: block;
    width: 100%;
    margin: 12px auto;
    border: 0;
    border-spacing: 0;
    background: transparent;
    box-shadow: none;
}

.player-layout tbody {
    display: grid;
    grid-template-columns: minmax(245px, 0.95fr) minmax(300px, 1.2fr) minmax(220px, 0.85fr);
    align-items: start;
    gap: 10px;
}

.player-layout tr {
    display: contents;
}

.player-layout td#a,
.player-layout td#n,
.player-layout td#o {
    display: block;
    width: auto;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(255, 57, 64, 0.5);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(21, 17, 18, 0.97), rgba(8, 8, 10, 0.98));
    box-shadow: inset 0 0 24px rgba(185, 20, 28, 0.07), 0 8px 18px rgba(0, 0, 0, 0.32);
    vertical-align: top;
    white-space: normal;
}

.player-layout #d {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 61, 68, 0.32);
}

.player-layout td#a > #d {
    display: flex;
    min-height: 126px;
    align-items: center;
    gap: 12px;
}

.player-layout td#a > #d > img,
.player-layout td#a > #d > a > img {
    display: block;
    float: none;
    width: 98px;
    height: 98px;
    margin: 0;
    border: 2px solid #e62b33;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(234, 28, 36, 0.25);
}

.player-layout td#a #u,
.player-layout td#a #t {
    color: #aaaab0;
    font-size: 10px;
    white-space: normal;
}

.player-layout td#a #f0,
.player-layout td#a #f1 {
    margin: 5px 0;
    color: #ff4d55;
    font-size: 17px;
    font-weight: 900;
    white-space: normal;
}

.player-layout td#a #sk1 {
    margin: 8px 0 0;
}

.player-layout #c {
    margin: 8px 0 0;
    padding: 10px;
    border-color: rgba(255, 60, 67, 0.28);
    border-radius: 7px;
    background: rgba(25, 21, 22, 0.9);
}

.player-layout #c p {
    margin: 7px 0;
    color: #c6c6ca;
    font-size: 11px;
}

.player-layout #c #g {
    float: right;
    color: #ffd249;
    font-weight: 800;
}

.player-layout #j {
    margin-top: 7px;
    background: #070708;
}

.player-layout #f {
    color: #ff555c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.player-layout #l1,
.player-layout #l2,
.player-layout #l3 {
    margin: 8px 0;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.025);
}

.player-layout #n p {
    display: flex;
    min-height: 22px;
    align-items: center;
    margin: 2px 0;
    padding-left: 29px;
    color: #c6c6ca;
    font-size: 11px;
}

.player-layout #n p a {
    margin-left: auto;
    color: #ffd249;
    font-weight: 800;
    text-align: right;
}

.player-layout #m {
    min-height: 66px;
    margin: 7px 0;
    padding: 7px 11px;
    border-color: rgba(255, 63, 70, 0.28);
    background: linear-gradient(100deg, rgba(30, 25, 26, 0.95), rgba(10, 10, 12, 0.96));
}

.player-layout #m p {
    margin: 2px 0;
    color: #f0f1f4;
    font-size: 12px;
    font-weight: 800;
}

.player-layout #m [id^="w"] {
    position: static;
    min-height: 45px;
    padding: 5px 4px;
    background-position: right center;
    background-size: 128px auto;
    color: var(--idg-gold);
    font-size: 11px;
    line-height: 1.3;
    text-align: left;
    text-shadow: 0 1px 5px #000;
}

.player-layout img {
    max-width: 100%;
}

.player-layout a {
    transition: color .16s ease, filter .16s ease;
}

.player-layout a:hover {
    filter: brightness(1.18);
}

.profile-topbar,
.player-layout td#a,
.player-layout td#n,
.player-layout td#o {
    backdrop-filter: blur(8px);
}

@media (max-width: 1100px) {
    .player-layout tbody {
        grid-template-columns: minmax(230px, .9fr) minmax(300px, 1.1fr);
    }

    .player-layout td#o {
        grid-column: 1 / -1;
    }

    .profile-brand {
        display: none;
    }
}

@media (max-width: 620px) {
    body {
        padding: 10px;
    }

    .lb-hero {
        min-height: 115px;
        grid-template-columns: 1fr auto 1fr;
        padding: 10px 9px 42px;
    }

    .lb-hero-brand {
        font-size: 12px;
    }

    .lb-hero-brand small,
    .lb-hero-game small {
        font-size: 6px;
    }

    .lb-hero-game {
        font-size: 8px;
    }

    .lb-podium {
        gap: 5px;
        margin-right: 0;
        margin-left: 0;
    }

    .lb-podium-card {
        min-height: 105px;
        padding: 8px 4px;
    }

    .lb-podium-1 {
        min-height: 120px;
    }

    .lb-medal {
        width: 21px;
        height: 21px;
    }

    .lb-podium-player {
        flex-direction: column;
        gap: 4px;
        margin-top: 13px;
    }

    .lb-podium-player strong {
        max-width: 100%;
        font-size: 10px;
    }

    .lb-podium-stats {
        gap: 5px;
        font-size: 8px;
    }

    .leaderboard-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-topbar {
        gap: 8px;
        flex-wrap: wrap;
        padding: 10px;
    }

    .profile-brand {
        display: block;
        width: 100%;
        font-size: 16px;
        text-align: center;
    }

    .profile-tabs {
        order: 2;
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 3px;
    }

    .profile-tabs a {
        flex: 0 0 auto;
        padding: 9px 10px;
        font-size: 10px;
    }

    .profile-back-link {
        margin-left: auto;
    }

    .player-layout tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .player-layout td#a,
    .player-layout td#n,
    .player-layout td#o {
        width: 100%;
        padding: 13px;
    }

    .player-layout td#a > #d {
        min-height: 112px;
        gap: 11px;
    }

    .player-layout td#a > #d > img,
    .player-layout td#a > #d > a > img {
        flex-basis: 88px;
        width: 88px;
        height: 88px;
    }

    .player-layout td#a #f0,
    .player-layout td#a #f1 {
        font-size: 17px;
    }

    .player-layout td#n p {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
