:root {
    --player-cyan: #61e4f7;
    --player-blue: #0c9ed4;
    --player-deep: #020b19;
    --player-panel: rgba(4, 25, 45, .82);
    --player-line: rgba(105, 219, 244, .16);
    --player-muted: #7f9ead;
}

.player-profile-page {
    min-width: 320px;
    background: #020b19;
    color: #eafaff;
}

.player-profile-page .backgroundStatic {
    position: fixed;
    z-index: -4;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-page-overlay {
    position: fixed;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 9, 22, .76), rgba(1, 14, 28, .92)),
        radial-gradient(circle at 52% 0%, rgba(9, 133, 190, .22), transparent 42%);
}

.player-ocean-light {
    position: fixed;
    z-index: -2;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(28, 183, 230, .12);
    filter: blur(100px);
    pointer-events: none;
}

.player-ocean-light-one {
    top: 14%;
    left: -180px;
}

.player-ocean-light-two {
    right: -180px;
    bottom: 5%;
}

.player-site-header {
    position: relative;
    z-index: 30;
}

.player-site-header .navbar {
    border-bottom: 1px solid rgba(103, 214, 243, .13);
    background: rgba(2, 10, 25, .88) !important;
    backdrop-filter: blur(20px);
}

.player-site-logo {
    width: 150px;
    max-height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 7px 18px rgba(44, 209, 245, .2));
}

.player-profile-main {
    position: relative;
    z-index: 2;
    padding: 30px 0 76px;
}

.player-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #617f91;
    font-size: 12px;
}

.player-breadcrumb a {
    color: #8ccad9;
    font-weight: 800;
    text-decoration: none;
}

.player-breadcrumb a:hover {
    color: var(--player-cyan);
}

.player-breadcrumb strong {
    color: #dff8fd;
}

.player-hero {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 25px;
    min-height: 190px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(103, 226, 246, .2);
    border-radius: 22px;
    background:
        linear-gradient(110deg, rgba(4, 35, 61, .94), rgba(2, 14, 31, .9)),
        radial-gradient(circle at 15% 50%, rgba(29, 181, 225, .25), transparent 34%);
    box-shadow: 0 28px 80px rgba(0, 5, 19, .38);
}

.player-hero::after {
    position: absolute;
    right: -70px;
    bottom: -130px;
    width: 410px;
    height: 270px;
    border: 1px solid rgba(103, 226, 246, .12);
    border-radius: 50%;
    content: "";
    transform: rotate(-18deg);
}

.player-avatar-wrap {
    position: relative;
    width: 116px;
    height: 116px;
}

.player-avatar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(177, 242, 252, .35);
    border-radius: 27px;
    background:
        linear-gradient(145deg, rgba(77, 227, 247, .22), rgba(5, 43, 75, .85)),
        #062038;
    color: #eaffff;
    font-size: 48px;
    font-weight: 900;
    box-shadow: inset 0 0 35px rgba(94, 231, 249, .1), 0 16px 42px rgba(0, 6, 18, .42);
    overflow: hidden;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-avatar-ring {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(97, 228, 247, .22);
    border-radius: 32px;
}

.player-section-kicker {
    color: #55cce7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .19em;
}

.player-identity h1 {
    margin: 5px 0 9px;
    color: #f2fdff;
    font-size: clamp(29px, 4vw, 48px);
    font-weight: 950;
    line-height: 1;
}

.player-identity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.player-identity-meta a,
.player-identity-meta span {
    color: #88aebe;
    font-size: 12px;
    text-decoration: none;
}

.player-identity-meta a:hover {
    color: var(--player-cyan);
}

.player-identity-meta i {
    margin-right: 5px;
    color: #58d7ed;
}

.player-hero-rank {
    position: relative;
    z-index: 2;
    min-width: 135px;
    padding: 17px 20px;
    border-left: 1px solid rgba(103, 226, 246, .17);
}

.player-hero-rank small,
.player-hero-rank span {
    display: block;
    color: #728e9e;
    font-size: 11px;
}

.player-hero-rank strong {
    display: block;
    margin: 2px 0;
    color: #70e7f7;
    font-size: 41px;
    font-weight: 950;
    line-height: 1;
}

.player-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 15px 0 25px;
}

.player-summary-grid article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 3px 11px;
    min-height: 88px;
    padding: 15px;
    border: 1px solid var(--player-line);
    border-radius: 14px;
    background: rgba(3, 25, 45, .74);
    box-shadow: inset 0 1px 0 rgba(216, 250, 255, .03);
}

.player-summary-grid i {
    grid-row: 1 / 3;
    color: #5adbef;
    font-size: 20px;
}

.player-summary-grid span {
    color: #738fa0;
    font-size: 10px;
    font-weight: 800;
}

.player-summary-grid strong {
    overflow: hidden;
    color: #edfaff;
    font-size: 16px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-summary-grid strong small {
    color: #6e8b9a;
    font-size: 12px;
}

.player-tabs {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
    padding: 7px;
    overflow-x: auto;
    border: 1px solid var(--player-line);
    border-radius: 15px;
    background: rgba(1, 13, 29, .8);
}

.player-tabs button {
    flex: 1 0 150px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: rgba(31, 60, 78, .28);
    color: #87a7b5;
    font-size: 13px;
    font-weight: 900;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.player-tabs button i {
    margin-right: 7px;
}

.player-tabs button:hover,
.player-tabs button.active {
    background: linear-gradient(135deg, #088fc3, #38d2e8);
    color: #022239;
    box-shadow: 0 10px 25px rgba(4, 144, 193, .25);
}

.player-tab-panel {
    display: none;
    min-height: 460px;
    padding: 30px;
    border: 1px solid var(--player-line);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(5, 30, 52, .9), rgba(2, 13, 29, .94));
    box-shadow: 0 28px 75px rgba(0, 5, 19, .33);
}

.player-tab-panel.active {
    display: block;
    animation: player-panel-in .25s ease;
}

@keyframes player-panel-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.player-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(103, 226, 246, .1);
}

.player-section-heading h2 {
    margin: 4px 0 0;
    color: #effcff;
    font-size: 27px;
    font-weight: 950;
}

.player-section-heading p {
    max-width: 480px;
    margin: 0;
    color: #708e9e;
    font-size: 12px;
    text-align: right;
}

.player-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.player-feature-stat {
    position: relative;
    min-height: 145px;
    padding: 21px;
    overflow: hidden;
    border: 1px solid rgba(103, 226, 246, .12);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(9, 43, 68, .72), rgba(2, 17, 34, .62));
}

.player-feature-stat::after {
    position: absolute;
    right: -25px;
    bottom: -35px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(103, 226, 246, .1);
    border-radius: 50%;
    content: "";
}

.player-feature-stat > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 11px;
    background: rgba(56, 205, 232, .11);
    color: #63e0f3;
    font-size: 18px;
}

.player-feature-stat span,
.player-feature-stat small {
    display: block;
    color: #7392a2;
    font-size: 11px;
}

.player-feature-stat strong {
    display: block;
    max-width: 90%;
    overflow: hidden;
    color: #eafaff;
    font-size: 20px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-progress-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.player-progress-grid > article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 14px 17px;
    border: 1px solid rgba(103, 226, 246, .1);
    border-radius: 13px;
    background: rgba(4, 27, 47, .62);
}

.player-stat-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(36, 178, 215, .25), rgba(4, 44, 73, .7));
    color: #9af2fc;
    font-size: 12px;
    font-weight: 950;
}

.player-progress-copy {
    flex: 1;
    min-width: 0;
}

.player-progress-copy > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.player-progress-copy strong {
    overflow: hidden;
    color: #dff7fb;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-progress-copy span {
    color: #72dbea;
    font-size: 12px;
    font-weight: 900;
}

.player-progress-track {
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(91, 151, 170, .13);
}

.player-progress-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #087fb4, #65e4f4);
}

.player-building-layout,
.player-combat-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr);
    gap: 22px;
}

.player-building-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 480px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(103, 226, 246, .13);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(10, 128, 176, .3), rgba(2, 20, 38, .92)),
        linear-gradient(145deg, #06294b, #031426);
}

.player-building-sun {
    position: absolute;
    top: 48px;
    right: 45px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(100, 226, 245, .16);
    box-shadow: 0 0 80px rgba(76, 218, 242, .38);
}

.player-building-house {
    position: relative;
    width: 190px;
    height: 190px;
    margin-bottom: 35px;
    border: 9px solid rgba(98, 224, 243, .72);
    border-top: 0;
    background: rgba(6, 51, 75, .4);
    box-shadow: 0 0 40px rgba(50, 193, 224, .12);
}

.player-building-house::before {
    position: absolute;
    top: -73px;
    left: 18px;
    width: 135px;
    height: 135px;
    border-top: 9px solid rgba(98, 224, 243, .72);
    border-left: 9px solid rgba(98, 224, 243, .72);
    content: "";
    transform: rotate(45deg);
}

.player-building-house i {
    position: absolute;
    right: 28px;
    bottom: 0;
    width: 55px;
    height: 95px;
    border: 7px solid rgba(98, 224, 243, .62);
    border-bottom: 0;
}

.player-building-house b {
    position: absolute;
    bottom: 66px;
    left: 30px;
    width: 42px;
    height: 42px;
    border: 7px solid rgba(98, 224, 243, .62);
}

.player-building-visual > strong {
    color: #e9fbff;
    font-size: 42px;
    font-weight: 950;
}

.player-building-visual > small,
.player-building-visual > p {
    color: #7fa1b0;
    font-size: 11px;
}

.player-building-visual > p {
    margin: 6px 0 0;
}

.player-building-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.player-building-lists > div,
.player-combat-card {
    padding: 20px;
    border: 1px solid rgba(103, 226, 246, .11);
    border-radius: 16px;
    background: rgba(3, 23, 42, .68);
}

.player-building-lists h3,
.player-combat-card h3,
.player-activity-groups h3 {
    margin: 0 0 16px;
    color: #dff8fc;
    font-size: 14px;
    font-weight: 900;
}

.player-building-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border-bottom: 1px solid rgba(103, 226, 246, .07);
}

.player-building-row > span {
    color: #59d5e9;
    font-family: monospace;
    font-size: 11px;
}

.player-building-row > div {
    position: relative;
    height: 27px;
    overflow: hidden;
}

.player-building-row strong {
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    color: #a9c5d0;
    font-size: 11px;
    line-height: 27px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-building-row i {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #41d4eb;
}

.player-building-row.upgrade i {
    background: #a1d762;
}

.player-building-row > b {
    color: #e7faff;
    font-size: 12px;
}

.player-hit-visual {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    border: 1px solid rgba(103, 226, 246, .13);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 48%, rgba(35, 177, 212, .16), transparent 36%),
        rgba(3, 20, 39, .8);
}

.player-hit-rate-ring {
    position: absolute;
    z-index: 3;
    top: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #051a2d 58%, transparent 60%),
        conic-gradient(#63e4f5 calc(var(--hit-rate) * 1%), rgba(95, 151, 169, .15) 0);
}

.player-hit-rate-ring strong {
    color: #ecfdff;
    font-size: 20px;
}

.player-hit-rate-ring small {
    color: #7293a3;
    font-size: 10px;
}

.player-body-map {
    position: absolute;
    top: 65px;
    left: 50%;
    width: 165px;
    height: 345px;
    transform: translateX(-50%);
}

.player-body-map i {
    position: absolute;
    display: block;
    background: linear-gradient(180deg, rgba(104, 227, 244, .65), rgba(16, 95, 126, .55));
    box-shadow: 0 0 28px rgba(69, 215, 237, .12);
}

.player-body-map .head {
    top: 0;
    left: 60px;
    width: 48px;
    height: 55px;
    border-radius: 48% 48% 42% 42%;
}

.player-body-map .body {
    top: 64px;
    left: 40px;
    width: 88px;
    height: 148px;
    border-radius: 38% 38% 18% 18%;
}

.player-body-map .arm {
    top: 73px;
    width: 31px;
    height: 155px;
    border-radius: 25px;
}

.player-body-map .arm.left {
    left: 2px;
    transform: rotate(7deg);
}

.player-body-map .arm.right {
    right: 0;
    transform: rotate(-7deg);
}

.player-body-map .leg {
    top: 202px;
    width: 38px;
    height: 140px;
    border-radius: 10px 10px 24px 24px;
}

.player-body-map .leg.left {
    left: 43px;
}

.player-body-map .leg.right {
    right: 40px;
}

.player-shot-totals {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.player-shot-totals span {
    padding: 12px;
    border: 1px solid rgba(103, 226, 246, .1);
    border-radius: 11px;
    background: rgba(1, 12, 27, .56);
}

.player-shot-totals small,
.player-shot-totals strong {
    display: block;
    text-align: center;
}

.player-shot-totals small {
    color: #6f8e9e;
    font-size: 9px;
}

.player-shot-totals strong {
    color: #e7fbff;
    font-size: 18px;
}

.player-combat-data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.player-hit-zones {
    display: grid;
    gap: 7px;
}

.player-hit-zones article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 45px;
    padding: 0 12px;
    border: 1px solid rgba(103, 226, 246, .08);
    border-radius: 9px;
    background: rgba(7, 39, 61, .48);
}

.player-hit-zones span {
    color: #9dbbc7;
    font-size: 11px;
}

.player-hit-zones strong {
    color: #e8fbff;
    font-size: 13px;
}

.player-hit-zones small {
    color: #57d8ec;
    font-size: 10px;
}

.player-activity-summary {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 18px;
}

.player-activity-summary article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 115px;
    padding: 13px;
    border: 1px solid rgba(103, 226, 246, .11);
    border-radius: 13px;
    background: rgba(4, 29, 50, .62);
    text-align: center;
}

.player-activity-summary i {
    margin-bottom: 9px;
    color: #60dff1;
    font-size: 22px;
}

.player-activity-summary span {
    color: #7898a8;
    font-size: 10px;
}

.player-activity-summary strong {
    color: #eafaff;
    font-size: 19px;
}

.player-activity-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.player-activity-groups section {
    padding: 18px;
    border: 1px solid rgba(103, 226, 246, .1);
    border-radius: 14px;
    background: rgba(2, 20, 38, .63);
}

.player-activity-groups article {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(103, 226, 246, .07);
}

.player-activity-groups article span,
.player-activity-groups p {
    color: #89a8b6;
    font-size: 11px;
}

.player-activity-groups article strong {
    color: #dff8fc;
    font-size: 11px;
}

.player-empty-stat {
    padding: 65px 20px;
    border: 1px dashed rgba(103, 226, 246, .15);
    border-radius: 14px;
    color: #6f8c9c;
    text-align: center;
}

.player-empty-stat.compact {
    padding: 30px 10px;
    font-size: 11px;
}

.player-not-found {
    max-width: 720px;
    margin: 80px auto;
    padding: 65px 35px;
    border: 1px solid var(--player-line);
    border-radius: 20px;
    background: rgba(3, 24, 43, .88);
    text-align: center;
}

.player-not-found h1 {
    margin: 7px 0 10px;
    font-weight: 950;
}

.player-not-found p {
    color: var(--player-muted);
}

.player-not-found a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0798ce, #5edfec);
    color: #022036;
    font-weight: 900;
    text-decoration: none;
}

.player-profile-page .footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(103, 226, 246, .1);
    background: rgba(2, 10, 23, .9) !important;
}

@media (max-width: 1180px) {
    .player-hero {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .player-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-activity-summary {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .player-profile-main {
        padding-top: 18px;
    }

    .player-hero {
        display: flex;
        flex-wrap: wrap;
        padding: 23px;
    }

    .player-identity {
        flex: 1;
        min-width: 210px;
    }

    .player-hero-rank {
        border-left: 0;
    }

    .player-building-layout,
    .player-combat-layout {
        grid-template-columns: 1fr;
    }

    .player-building-visual {
        min-height: 410px;
    }

    .player-combat-data,
    .player-building-lists {
        grid-template-columns: 1fr;
    }

    .player-activity-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .player-profile-main .container-xl {
        padding-right: 12px;
        padding-left: 12px;
    }

    .player-avatar-wrap,
    .player-avatar {
        width: 85px;
        height: 85px;
    }

    .player-avatar {
        border-radius: 21px;
        font-size: 36px;
    }

    .player-avatar-ring {
        border-radius: 25px;
    }

    .player-identity h1 {
        font-size: 29px;
    }

    .player-hero-rank {
        width: 100%;
        padding: 10px 0;
    }

    .player-summary-grid,
    .player-overview-grid,
    .player-progress-grid,
    .player-activity-summary,
    .player-activity-groups {
        grid-template-columns: 1fr;
    }

    .player-tab-panel {
        min-height: 0;
        padding: 20px 15px;
    }

    .player-section-heading {
        display: block;
    }

    .player-section-heading p {
        margin-top: 8px;
        text-align: left;
    }
}
