
        @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

        :root {
            --bg: #080b11;
            --panel: #10151f;
            --panel-light: #151c29;
            --line: rgba(255, 255, 255, .08);
            --muted: #8490a5;
            --text: #f3f6fb;
            --cyan: #45d9d0;
            --yellow: #f4c95d;
            --purple: #9d8cff;
            --red: #ff6f85;
            --shadow: 0 20px 60px rgba(0, 0, 0, .24);
        }

        * {
            box-sizing: border-box;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        body {
            margin: 0;
            color: var(--text);
            background: var(--bg);
            font-family: 'DM Sans', sans-serif;
            min-width: 320px;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            opacity: .34;
            background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: linear-gradient(to bottom, black, transparent 72%);
        }

        button {
            font: inherit;
        }

        .app {
            display: flex;
            min-height: 100vh;
            position: relative;
        }

        .sidebar {
            width: 248px;
            flex-shrink: 0;
            padding: 28px 18px;
            border-right: 1px solid var(--line);
            background: rgba(12, 16, 24, .9);
            display: flex;
            width: 100%;
            position: fixed;
            inset: 0 auto 0 0;
            z-index: 4;
        }

        .brand {
            display: flex;
            gap: 12px;
            align-items: center;
            padding: 0 10px 32px;
        }

        .brand-mark {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            display: grid;
            place-items: center;
            color: #071010;
            font-weight: 700;
            background: var(--cyan);
            box-shadow: 0 0 28px rgba(69, 217, 208, .26);
        }

        .brand strong {
            display: block;
            font-family: 'Space Grotesk';
            font-size: 15px;
            letter-spacing: -.3px;
        }

        .brand span {
            color: var(--muted);
            font-size: 11px;
        }

        .nav-label {
            color: #586377;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            padding: 0 12px 10px;
            text-transform: uppercase;
        }

        nav {
            display: grid;
            gap: 5px;
        }

        .nav-item {
            text-decoration: none;
            display: flex;
            gap: 13px;
            align-items: center;
            border: 0;
            border-radius: 10px;
            padding: 12px;
            background: transparent;
            color: var(--muted);
            cursor: pointer;
            text-align: left;
            font-size: 13px;
            transition: .2s ease;
        }

        .nav-item:hover,
        .nav-item.active {
            color: var(--text);
            background: rgba(69, 217, 208, .1);
        }

        .nav-item.active {
            box-shadow: inset 3px 0 var(--cyan);
        }

        .nav-icon {
            width: 18px;
            text-align: center;
            font-size: 16px;
        }

        .sidebar-bottom {
            margin-top: auto;
            border-top: 1px solid var(--line);
            padding: 18px 10px 0;
        }

        .server-status {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--muted);
            font-size: 11px;
        }

        .online {
            width: 7px;
            height: 7px;
            background: var(--cyan);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--cyan);
        }

        .main {
            margin-left: 248px;
            width: calc(100% - 248px);
            padding: 0 38px 48px;
        }

        .topbar {
            height: 84px;
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .breadcrumb {
            color: var(--muted);
            font-size: 12px;
        }

        .breadcrumb b {
            color: var(--text);
            font-weight: 600;
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .period {
            padding: 9px 12px;
            color: var(--muted);
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: 8px;
            font-size: 11px;
        }

        .global-clock {
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 9px 13px;
            color: var(--cyan);
            background: rgba(69, 217, 208, .06);
            border: 1px solid rgba(69, 217, 208, .2);
            border-radius: 8px;
            font-size: 11px;
            font-family: 'Space Grotesk', monospace;
            letter-spacing: .5px;
            white-space: nowrap;
        }

        .clock-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--cyan);
            box-shadow: 0 0 6px var(--cyan);
            animation: clockPulse 2s ease-in-out infinite;
            flex-shrink: 0;
        }

        @keyframes clockPulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--cyan); }
            50%       { opacity: .4; box-shadow: 0 0 2px var(--cyan); }
        }

        .profile {
            display: flex;
            gap: 9px;
            align-items: center;
            padding-left: 12px;
            border-left: 1px solid var(--line);
        }

        .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            background: #222b3d;
        }

        .profile-text strong {
            font-size: 12px;
            display: block;
        }

        .profile-text span {
            color: var(--muted);
            font-size: 10px;
        }

        .content {
            max-width: 1360px;
            margin: auto;
        }

        .hero {
            padding: 36px 0 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }

        .eyebrow {
            color: var(--cyan);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        h1,
        h2,
        h3,
        p {
            margin: 0;
        }

        h1 {
            font-family: 'Space Grotesk';
            font-size: clamp(28px, 4vw, 42px);
            letter-spacing: -1.8px;
            margin: 9px 0 7px;
        }

        .hero p {
            color: var(--muted);
            font-size: 13px;
        }

        .live-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(69, 217, 208, .25);
            border-radius: 30px;
            padding: 9px 13px;
            color: var(--cyan);
            background: rgba(69, 217, 208, .06);
            font-size: 11px;
            white-space: nowrap;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
        }

        .stat-card {
            padding: 18px;
            background: linear-gradient(145deg, rgba(21, 28, 41, .95), rgba(15, 20, 30, .95));
            border: 1px solid var(--line);
            border-radius: 12px;
            box-shadow: var(--shadow);
            animation: rise .5s both;
        }

        .stat-card:nth-child(2) {
            animation-delay: .06s;
        }

        .stat-card:nth-child(3) {
            animation-delay: .12s;
        }

        .stat-card:nth-child(4) {
            animation-delay: .18s;
        }

        .stat-head {
            display: flex;
            justify-content: space-between;
            color: var(--muted);
            font-size: 11px;
        }

        .stat-icon {
            color: var(--cyan);
            font-size: 17px;
        }

        .stat-value {
            font-family: 'Space Grotesk';
            font-size: 25px;
            margin: 15px 0 4px;
        }

        .stat-foot {
            color: var(--muted);
            font-size: 10px;
        }

        .up {
            color: var(--cyan);
        }

        .grid {
            display: grid;
            grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
            gap: 18px;
            }

        .panel {
            background: rgba(16, 21, 31, .9);
            border: 1px solid var(--line);
            border-radius: 12px;
            overflow: hidden;
        }

        .panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 19px 20px;
            border-bottom: 1px solid var(--line);
        }

        .panel-title {
            font-family: 'Space Grotesk';
            font-size: 15px;
        }

        .panel-subtitle {
            color: var(--muted);
            font-size: 11px;
            margin-top: 4px;
        }

        .text-button {
            border: 0;
            color: var(--cyan);
            background: transparent;
            font-size: 11px;
            cursor: pointer;
        }

        .podium {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            padding: 25px 18px 20px;
            align-items: end;
        }

        .podium-item {
            text-align: center;
            position: relative;
        }

        .podium-item:nth-child(1) {
            order: 2;
        }

        .podium-item:nth-child(2) {
            order: 1;
        }

        .podium-item:nth-child(3) {
            order: 3;
        }

        .podium-avatar {
            width: 50px;
            height: 50px;
            border: 3px solid var(--yellow);
            margin-bottom: 10px;
        }

        .podium-item:nth-child(2) .podium-avatar {
            border-color: #abb5c7;
            width: 42px;
            height: 42px;
        }

        .podium-item:nth-child(3) .podium-avatar {
            border-color: #b77d58;
            width: 42px;
            height: 42px;
        }

        .podium-name {
            font-size: 12px;
            font-weight: 600;
        }

        .podium-xp {
            color: var(--yellow);
            font-size: 11px;
            margin-top: 3px;
        }

        .podium-rank {
            margin: 13px auto 0;
            padding: 12px 5px;
            background: rgba(244, 201, 93, .09);
            color: var(--yellow);
            font-family: 'Space Grotesk';
            font-size: 20px;
            border-radius: 8px 8px 0 0;
            max-width: 106px;
        }

        .podium-item:nth-child(2) .podium-rank {
            background: rgba(171, 181, 199, .08);
            color: #abb5c7;
            padding-top: 7px;
        }

        .podium-item:nth-child(3) .podium-rank {
            background: rgba(183, 125, 88, .08);
            color: #b77d58;
            padding-top: 7px;
        }

        .reset-box {
            padding: 19px 20px;
        }

        .reset-date {
            color: var(--text);
            font-family: 'Space Grotesk';
            font-size: 22px;
            margin: 10px 0 3px;
        }

        .reset-box p {
            color: var(--muted);
            font-size: 11px;
        }

        .progress {
            height: 5px;
            border-radius: 5px;
            background: #252e3d;
            overflow: hidden;
            }

        .progress i {
            display: block;
            height: 100%;
            width: 68%;
            background: var(--cyan);
            border-radius: inherit;
        }

        .reset-meta {
            display: flex;
            justify-content: space-between;
            color: var(--muted);
            font-size: 10px;
            margin-top: 7px;
        }

        .table-panel {
            }

        .filters {
            display: flex;
            gap: 5px;
            background: var(--bg);
            border: 1px solid var(--line);
            border-radius: 8px;
            padding: 3px;
        }

        .filter {
            border: 0;
            color: var(--muted);
            background: transparent;
            border-radius: 6px;
            padding: 7px 11px;
            cursor: pointer;
            font-size: 10px;
        }

        .filter.active {
            color: #071010;
            background: var(--cyan);
            font-weight: 700;
        }

        .table-wrap {
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 650px;
        }

        th {
            color: #596477;
            font-size: 10px;
            font-weight: 600;
            text-align: left;
            text-transform: uppercase;
            letter-spacing: .7px;
        }

        th,
        td {
            padding: 13px 20px;
            border-bottom: 1px solid var(--line);
        }

        tbody tr {
            transition: background .2s;
        }

        tbody tr:hover {
            background: rgba(69, 217, 208, .04);
        }

        td {
            color: #dbe2ef;
            font-size: 12px;
        }

        .rank {
            color: var(--muted);
            font-family: 'Space Grotesk';
            width: 55px;
        }

        .rank.top {
            color: var(--yellow);
            font-weight: 700;
        }

        .member {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .member .avatar {
            width: 30px;
            height: 30px;
        }

        .member strong {
            display: block;
            font-size: 12px;
        }

        .member span {
            display: block;
            color: var(--muted);
            font-size: 10px;
            margin-top: 2px;
        }

        .level {
            display: inline-flex;
            border: 1px solid rgba(157, 140, 255, .25);
            border-radius: 5px;
            padding: 3px 6px;
            color: var(--purple);
            background: rgba(157, 140, 255, .08);
            font-size: 10px;
        }

        .xp {
            font-family: 'Space Grotesk';
        }

        .xp small {
            color: var(--muted);
            font-family: 'DM Sans';
            font-size: 10px;
        }

        .xp-progress {
            min-width: 115px;
        }

        .xp-progress .progress {
            margin: 0 0 5px;
            height: 4px;
        }

        .xp-progress span {
            color: var(--muted);
            font-size: 10px;
        }

        .dummy-note {
            margin-top: 12px;
            padding: 11px 13px;
            border: 1px dashed rgba(244, 201, 93, .3);
            border-radius: 8px;
            color: #cdbb81;
            background: rgba(244, 201, 93, .04);
            font-size: 10px;
        }

        .arena-view {
            display: none;
            padding-top: 30px;
        }

        .arena-heading {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 20px;
            margin-bottom: 24px;
        }

        .arena-heading h1 {
            margin-top: 8px;
            text-transform: uppercase;
        }

        .arena-subtitle {
            color: var(--muted);
            font-size: 13px;
        }

        .arena-status {
            color: var(--cyan);
            border: 1px solid rgba(227, 165, 95, .35);
            padding: 10px 13px;
            font-size: 10px;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        .bracket-wrap {
            overflow-x: auto;
            border: 1px solid var(--line);
            background: rgba(26, 24, 22, .8);
            padding: 28px;
        }

        .bracket {
            display: flex;
            align-items: stretch;
            gap: 54px;
            min-width: 780px;
        }

        .bracket-round {
            flex: 1 0 210px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 18px;
        }

        .bracket-round h2 {
            color: var(--muted);
            font-size: 10px;
            letter-spacing: 1.5px;
            text-align: center;
            text-transform: uppercase;
        }

        .bracket-matches {
            display: flex;
            flex: 1;
            flex-direction: column;
            justify-content: flex-start;
        }

        .bracket-match-wrapper {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 10px 0;
            position: relative;
        }

        .bracket-match {
            position: relative;
            border: 1px solid var(--line);
            background: #171513;
            width: 100%;
        }

        .bracket-round:not(:last-child) .bracket-match::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 100%;
            width: 27px;
            border-top: 1px solid rgba(227, 165, 95, .45);
        }

        .bracket-round:not(:first-child) .bracket-match::before {
            content: '';
            position: absolute;
            top: 50%;
            right: 100%;
            width: 27px;
            border-top: 1px solid rgba(227, 165, 95, .45);
        }

        .bracket-player {
            display: flex;
            align-items: center;
            gap: 9px;
            min-height: 48px;
            padding: 7px 10px;
            color: var(--muted);
            font-size: 12px;
        }

        .bracket-player + .bracket-player {
            border-top: 1px solid var(--line);
        }

        .bracket-player.winner {
            color: var(--text);
            background: rgba(227, 165, 95, .11);
        }

        .bracket-player img {
            width: 28px;
            height: 28px;
            border-radius: 2px;
            object-fit: cover;
        }

        .bracket-score {
            margin-left: auto;
            color: var(--yellow);
            font-family: 'Space Grotesk';
            font-size: 12px;
            font-weight: 600;
        }

        .bracket-champion {
            display: flex;
            min-height: 118px;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 16px;
            border: 1px solid rgba(242, 207, 140, .35);
            color: var(--yellow);
            text-align: center;
            background: rgba(242, 207, 140, .06);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 11px;
        }

        .bracket-champion img {
            width: 38px;
            height: 38px;
            border-radius: 2px;
            object-fit: cover;
        }

        .bracket-champion strong {
            display: block;
            margin-top: 4px;
            color: var(--text);
            font-size: 13px;
            letter-spacing: 0;
            text-transform: none;
        }

        .bracket-error {
            color: var(--red);
            padding: 24px;
            border: 1px solid rgba(255, 111, 133, .25);
        }

        @keyframes rise {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 980px) {
            .sidebar {
                width: 72px;
                padding: 22px 10px;
                align-items: center;
            }

            .brand {
                padding: 0 0 32px;
            }

            .brand-copy,
            .nav-label,
            .nav-item span:not(.nav-icon),
            .sidebar-bottom {
                display: none;
            }

            .nav-item {
                width: 46px;
                justify-content: center;
                padding: 12px 0;
            }

            .main {
                margin-left: 72px;
                width: calc(100% - 72px);
                padding: 0 22px 40px;
            }
        }

        @media (max-width: 700px) {
            .main {
                padding: 0 14px 32px;
            }

            .hero {
                min-height: 410px;
                margin-top: 12px;
                padding: 25px 20px;
            }

            .period,
            .profile-text {
                display: none;
            }

            .profile {
                border-left: 0;
                padding-left: 0;
            }

            .hero {
                padding: 27px 0 22px;
                align-items: start;
                flex-direction: column;
                gap: 16px;
            }

            .stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 9px;
            }

            .stat-card {
                padding: 14px;
            }

            .stat-value {
                font-size: 21px;
            }

            .grid {
                grid-template-columns: 1fr;
            }

            .panel-header {
                align-items: start;
                gap: 12px;
                flex-direction: column;
            }

            .filters {
                width: 100%;
                overflow-x: auto;
            }

            .filter {
                flex: 1;
                white-space: nowrap;
            }

            th,
            td {
                padding-left: 13px;
                padding-right: 13px;
            }
        }

        @media (max-width: 420px) {
            .stats {
                grid-template-columns: 1fr 1fr;
            }

            .podium {
                padding-left: 8px;
                padding-right: 8px;
            }
        }

        /* Companion-site visual direction inspired by the reference layout. */
        :root {
            --bg: #11100f;
            --panel: #1a1816;
            --panel-light: #24201d;
            --line: rgba(255, 245, 225, .12);
            --muted: #a59d91;
            --text: #f7f1e7;
            --cyan: #e3a55f;
            --yellow: #f2cf8c;
            --purple: #c5a0c9;
            --shadow: 0 22px 70px rgba(0, 0, 0, .32);
        }

        body {
            background: #11100f;
            font-family: 'DM Sans', sans-serif;
        }

        body::before {
            opacity: .2;
            background-size: 68px 68px;
        }

        .sidebar {
            width: 100%;
            height: 72px;
            padding: 0 42px;
            border-right: 0;
            border-bottom: 1px solid var(--line);
            background: rgba(17, 16, 15, .92);
            backdrop-filter: blur(18px);
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            position: fixed;
            inset: 0 0 auto;
        }

        .brand {
            padding: 0;
            gap: 11px;
        }

        .brand-mark {
            width: 32px;
            height: 32px;
            border-radius: 3px;
            color: #1a120a;
            background: var(--cyan);
            box-shadow: none;
            font-family: 'Space Grotesk';
            overflow: hidden;
        }

        .brand-mark img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        .brand strong {
            font-size: 14px;
            letter-spacing: .2px;
        }

        .brand span {
            font-size: 10px;
        }

        .nav-label {
            display: none;
        }

        nav {
            display: flex;
            justify-content: center;
            gap: 3px;
        }

        .nav-item {
            border-radius: 3px;
            padding: 10px 15px;
            color: #938b81;
            font-size: 11px;
            letter-spacing: .4px;
        }

        .nav-item:hover,
        .nav-item.active {
            color: var(--text);
            background: rgba(227, 165, 95, .11);
        }

        .nav-item.active {
            box-shadow: inset 0 -2px var(--cyan);
        }

        .nav-icon {
            display: none;
        }

        .sidebar-bottom {
            margin: 0;
            padding: 0;
            border: 0;
        }

        .server-status {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .main {
            margin: 72px 0 0;
            width: 100%;
            padding: 0 42px 70px;
        }

        .topbar {
            height: 62px;
        }

        .breadcrumb {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.3px;
        }

        .period {
            border-radius: 2px;
            background: transparent;
            text-transform: uppercase;
            letter-spacing: .8px;
        }

        .profile {
            border-left: 0;
        }

        .content {
            max-width: 1280px;
        }

        .hero {
            min-height: 480px;
            width: 100%;
            margin-top: 0px;
            padding: 42px;
            align-items: center;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--line);
            background-image: linear-gradient(90deg, rgba(12, 10, 9, .97) 0%, rgba(12, 10, 9, .76) 43%, rgba(12, 10, 9, .2) 100%), url('https://i.pinimg.com/736x/83/f8/cb/83f8cbd636e1f5ca8f5502e34d9603e8.jpg');
            background-position: center center;
            background-size: cover;
            box-shadow: var(--shadow);
        }

        .hero::after {
            content: 'Midnight Lounge / COMMUNITY ARCHIVE';
            position: absolute;
            right: 23px;
            top: 20px;
            color: rgba(247, 241, 231, .58);
            font-size: 9px;
            letter-spacing: 2px;
            writing-mode: vertical-rl;
        }

        .hero>div:first-child {
            position: relative;
            z-index: 1;
            max-width: 560px;
        }

        .eyebrow {
            color: var(--cyan);
            letter-spacing: 2px;
            font-size: 10px;
        }

        h1 {
            max-width: 550px;
            font-size: clamp(40px, 7vw, 82px);
            line-height: .94;
            letter-spacing: -3px;
            text-transform: uppercase;
        }

        .hero p {
            max-width: 390px;
            line-height: 1.7;
            color: #c4bcb0;
            font-size: 13px;
        }

        .live-pill {
            border-radius: 2px;
            border-color: rgba(227, 165, 95, .35);
            background: rgba(17, 16, 15, .65);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .stats {
            gap: 0;
            border: 1px solid var(--line);
            background: var(--panel);
        }

        .stat-card {
            border: 0;
            border-right: 1px solid var(--line);
            border-radius: 0;
            box-shadow: none;
            background: transparent;
            padding: 18px 22px;
        }

        .stat-card:last-child {
            border-right: 0;
        }

        .stat-head {
            text-transform: uppercase;
            letter-spacing: 1.1px;
            font-size: 9px;
        }

        .stat-icon {
            color: var(--cyan);
        }

        .stat-value {
            font-size: 26px;
            margin-top: 11px;
        }

        .grid {
            margin-top: 40px;
            gap: 18px;
        }

        .panel {
            border-radius: 2px;
            background: rgba(26, 24, 22, .8);
            box-shadow: none;
        }

        .panel-header {
            padding: 20px 22px;
        }

        .panel-title {
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 13px;
        }

        .panel-subtitle {
            font-size: 10px;
        }

        .podium {
            padding: 24px 18px 20px;
        }

        .podium-item {
            padding: 15px 5px 0;
            border: 1px solid var(--line);
            background: linear-gradient(160deg, rgba(227, 165, 95, .08), transparent 55%);
        }

        .podium-item:nth-child(1) {
            padding-top: 25px;
        }

        .podium-rank {
            border-radius: 0;
            max-width: none;
            margin-top: 17px;
            background: rgba(227, 165, 95, .12);
        }

        .reset-box {
            min-height: 225px;
            padding: 24px 22px;
        }

        .reset-date {
            font-size: 28px;
        }

        .table-panel {
            margin-top: 40px;
        }

        .table-panel .panel-header {
            align-items: end;
        }

        .filters {
            border-radius: 2px;
        }

        .filter {
            border-radius: 1px;
            text-transform: uppercase;
            letter-spacing: .7px;
        }

        th {
            font-size: 9px;
            letter-spacing: 1.1px;
        }

        td {
            border-bottom-color: rgba(255, 245, 225, .08);
        }

        .level {
            border-radius: 2px;
        }

        .dummy-note {
            border-radius: 2px;
        }

        tbody tr.profile-theme {
            position: relative;
            transition: transform .2s ease, box-shadow .2s ease;
            overflow: hidden;
            background-color: rgba(17, 15, 14, .72);
        }

        tbody tr.profile-theme td:first-child {
            border-left: 2px solid transparent;
        }

        tbody tr.profile-theme td {
            position: relative;
            z-index: 1;
            background: transparent;
            border-top: 0;
            border-bottom: 0;
        }

        tbody tr.theme-exclusive {
            background-color: rgba(255, 196, 76, .08);
            box-shadow: inset 0 0 24px rgba(255, 204, 92, .12), 0 0 14px rgba(255, 192, 72, .14);
        }

        tbody tr.theme-exclusive td:first-child {
            border-left-color: #f2c45f;
        }

        tbody tr.theme-custom {
            background-color: rgba(17, 15, 14, .72);
            box-shadow: inset 0 0 0 1px rgba(227, 165, 95, .7), inset 0 0 22px rgba(0, 0, 0, .5), 0 0 12px rgba(227, 165, 95, .14);
        }

        tbody tr.theme-custom td:first-child {
            border-left-color: var(--cyan);
        }

        tbody tr.theme-silver {
            background-color: rgba(196, 200, 214, .06);
            box-shadow: inset 0 0 0 1px rgba(213, 220, 230, .28), inset 0 0 18px rgba(194, 205, 221, .1), 0 0 10px rgba(208, 218, 232, .1);
        }

        .member-cell {
            position: relative;
            overflow: hidden;
            border-top: 0;
            border-bottom: 0;
            background-color: rgba(17, 15, 14, .2);
        }

        .member-cell.profile-theme-cell {
            background-image: linear-gradient(90deg, rgba(17, 15, 14, .85), rgba(17, 15, 14, .58), rgba(17, 15, 14, .82)), var(--profile-background, none);
            background-size: cover;
            background-position: var(--profile-background-position, center);
            background-repeat: no-repeat;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
        }

        .member-cell.profile-theme-cell .member {
            position: relative;
            z-index: 1;
        }

        tbody tr.theme-silver td:first-child {
            border-left-color: #cbd4df;
        }

        @media (max-width: 700px) {
            .sidebar {
                height: auto;
                min-height: 116px;
                padding: 12px;
                display: flex;
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }

            .brand {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .brand-copy {
                display: block;
            }

            .brand strong {
                font-size: 13px;
            }

            .brand span {
                font-size: 9px;
            }

            nav {
                display: grid;
                grid-auto-flow: column;
                grid-auto-columns: max-content;
                justify-content: start;
                gap: 8px;
                width: 100%;
                overflow-x: auto;
                scrollbar-width: none;
            }

            nav::-webkit-scrollbar {
                display: none;
            }

            .nav-item span:not(.nav-icon) {
                display: inline;
            }

            .nav-item {
                display: block;
                min-width: max-content;
                padding: 8px 10px;
                white-space: nowrap;
                font-size: 10px;
            }

            .nav-icon {
                display: none;
            }

            .sidebar-bottom {
                display: none;
            }

            .main {
                margin: 116px 0 0;
                width: 100%;
                padding: 0 12px 38px;
            }

            .topbar {
                height: 58px;
            }

            .hero {
                min-height: 410px;
                margin-top: 12px;
                padding: 25px 20px;
                background-position: 58% center;
            }

            h1 {
                font-size: 47px;
                letter-spacing: -2px;
            }

            .hero::after {
                display: none;
            }

            .stats {
                grid-template-columns: 1fr 1fr;
            }

            .stat-card {
                border-bottom: 1px solid var(--line);
            }

            .stat-card:nth-child(2) {
                border-right: 0;
            }

            .grid {
                margin-top: 26px;
            }

            .table-panel {
                margin-top: 26px;
            }

            .arena-heading {
                align-items: start;
                flex-direction: column;
            }

            .arena-heading h1 {
                font-size: 42px;
            }

            .bracket-wrap {
                padding: 18px;
            }
        }

        .sidebar {
            width: 248px;
            height: 100vh;
            padding: 28px 18px;
            border-right: 1px solid var(--line);
            border-bottom: 0;
            background: rgba(17, 16, 15, .97);
            display: flex;
            flex-direction: column;
            align-items: stretch;
            position: fixed;
            inset: 0 auto 0 0;
            z-index: 10;
        }

        .brand {
            padding: 0 10px 32px;
        }

        .sidebar-close {
            display: none;
        }

        .nav-label {
            display: block;
        }

        nav {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 5px;
            width: 100%;
        }

        .nav-item {
            display: flex;
            width: 100%;
            justify-content: flex-start;
            padding: 12px;
        }

        .nav-icon {
            display: inline;
        }

        .sidebar-bottom {
            display: block;
            margin-top: auto;
            padding: 18px 10px 0;
            border-top: 1px solid var(--line);
        }

        .main {
            margin: 0 0 0 248px;
            width: calc(100% - 248px);
        }

        .topbar-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .menu-toggle {
            display: none;
        }

        @media (max-width: 980px) {
            .sidebar {
                width: 248px;
                padding: 28px 18px;
                align-items: stretch;
            }

            .brand {
                padding: 0 10px 32px;
            }

            .brand-copy,
            .nav-label,
            .nav-item span:not(.nav-icon),
            .sidebar-bottom {
                display: block;
            }

            nav {
                display: flex;
                flex-direction: column;
                align-items: stretch;
                gap: 5px;
                width: 100%;
                overflow: visible;
            }

            .nav-item {
                display: flex;
                width: 100%;
                justify-content: flex-start;
                padding: 12px;
            }

            .nav-icon {
                display: inline;
            }

            .main {
                margin-left: 248px;
                width: calc(100% - 248px);
                padding: 0 22px 40px;
            }
        }

        @media (max-width: 700px) {
            .sidebar {
                width: 100%;
                transform: translateX(-100%);
                transition: transform .25s ease;
                box-shadow: 18px 0 45px rgba(0, 0, 0, .35);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .main {
                margin: 0;
                width: 100%;
            }

            .sidebar-close {
                display: block;
                align-self: flex-end;
                margin: -8px 0 12px;
                padding: 4px 8px;
                border: 1px solid var(--line);
                border-radius: 2px;
                color: var(--muted);
                background: transparent;
                cursor: pointer;
                font-size: 16px;
                line-height: 1;
            }

            .menu-toggle {
                display: inline-grid;
                place-items: center;
                width: 34px;
                height: 34px;
                padding: 0;
                border: 1px solid var(--line);
                border-radius: 2px;
                color: var(--text);
                background: var(--panel);
                cursor: pointer;
                font-size: 17px;
                line-height: 1;
            }

            .topbar {
                height: 58px;
            }
        }
    