:root {
    --player-bg: #080a0d;
    --player-panel: #11151a;
    --player-panel-2: #171b21;

    --player-text: #f5f5f5;
    --player-muted: #9299a3;

    --player-red: #b91c1c;
    --player-red-light: #ef4444;

    --player-blue: #2563eb;
    --player-blue-light: #3b82f6;

    --player-gold: #d4a72c;

    --player-border: rgba(255,255,255,.08);

    --player-radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: var(--player-bg);
    color: var(--player-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   LOGIN
========================================================= */

.player-login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at top,
            rgba(185, 28, 28, .20),
            transparent 40%
        ),
        var(--player-bg);
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: var(--player-panel);

    border: 1px solid var(--player-border);

    border-radius: 24px;

    padding: 32px 24px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.45);
}

.login-logo {
    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(185,28,28,.15);

    font-size: 36px;
}

.login-card h1 {
    text-align: center;

    margin: 0;

    font-size: 25px;
}

.login-subtitle {
    text-align: center;

    color: var(--player-muted);

    margin: 8px 0 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #c9cdd3;

    font-size: 14px;
}

.form-group input {
    width: 100%;

    height: 50px;

    border: 1px solid var(--player-border);

    border-radius: 12px;

    background: #0b0e12;

    color: white;

    padding: 0 14px;

    outline: none;

    font-size: 16px;
}

.form-group input:focus {
    border-color: var(--player-red);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;

    right: 8px;
    top: 7px;

    width: 36px;
    height: 36px;

    border: 0;

    background: transparent;

    color: #aaa;

    cursor: pointer;
}

.player-login-button {
    width: 100%;

    height: 52px;

    border: 0;

    border-radius: 12px;

    background: var(--player-red);

    color: white;

    font-weight: 700;

    font-size: 15px;

    cursor: pointer;
}

.player-login-button:active {
    transform: scale(.99);
}

.login-error {
    padding: 12px 14px;

    margin-bottom: 18px;

    border-radius: 10px;

    background: rgba(185,28,28,.15);

    border: 1px solid rgba(239,68,68,.25);

    color: #fca5a5;

    font-size: 14px;
}


/* =========================================================
   PLAYER APP
========================================================= */

.player-app {
    min-height: 100vh;

    padding-bottom: 82px;
}

.player-header {
    height: 64px;

    padding:
        0 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--player-border);

    background: rgba(8,10,13,.92);

    backdrop-filter: blur(14px);

    position: sticky;
    top: 0;

    z-index: 50;
}

.player-brand {
    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 14px;

    font-weight: 700;
}

.player-brand:first-letter {
    font-size: 24px;
}

.notification-button {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--player-panel);

    color: white;

    text-decoration: none;
}


/* =========================================================
   CONTENT
========================================================= */

.player-content {
    width: 100%;

    max-width: 680px;

    margin: 0 auto;

    padding: 20px 16px;
}

.player-welcome {
    margin-bottom: 20px;
}

.player-welcome small {
    color: var(--player-muted);

    font-size: 11px;

    letter-spacing: 1px;
}

.player-welcome h2 {
    margin: 4px 0 0;

    font-size: 24px;
}


/* =========================================================
   CURRENT MATCH
========================================================= */

.current-match-card {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(185,28,28,.13),
            transparent 45%
        ),
        var(--player-panel);

    border:
        1px solid var(--player-border);

    border-radius: var(--player-radius);

    padding: 18px;

    margin-bottom: 28px;
}

.match-card-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}

.match-card-header small {
    color: var(--player-muted);

    font-size: 10px;

    letter-spacing: 1px;
}

.match-card-header h3 {
    margin: 4px 0 0;

    font-size: 16px;
}

.match-status {
    padding: 6px 9px;

    border-radius: 999px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .6px;
}

.status-playing {
    background: rgba(185,28,28,.18);

    color: #fca5a5;
}

.status-scheduled,
.status-open {
    background: rgba(212,167,44,.14);

    color: #e7c76a;
}

.status-result_pending {
    background: rgba(37,99,235,.15);

    color: #93c5fd;
}


/* =========================================================
   FIGHTERS
========================================================= */

.fighters-versus {
    display: grid;

    grid-template-columns: 1fr 45px 1fr;

    align-items: center;

    gap: 8px;

    margin: 28px 0;
}

.fighter-side {
    text-align: center;
}

.fighter-label {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.red-side .fighter-label {
    color: var(--player-red-light);
}

.blue-side .fighter-label {
    color: var(--player-blue-light);
}

.fighter-avatar {
    width: 82px;
    height: 82px;

    margin: 0 auto 10px;

    overflow: hidden;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--player-panel-2);

    border: 2px solid var(--player-border);

    font-size: 32px;
}

.red-side .fighter-avatar {
    border-color: rgba(239,68,68,.35);
}

.blue-side .fighter-avatar {
    border-color: rgba(59,130,246,.35);
}

.fighter-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.fighter-side strong {
    display: block;

    font-size: 14px;

    line-height: 1.3;
}

.versus {
    text-align: center;

    font-size: 12px;

    font-weight: 900;

    color: var(--player-muted);
}

.match-info {
    display: flex;

    justify-content: space-between;

    padding: 12px 0;

    border-top: 1px solid var(--player-border);

    font-size: 13px;
}

.match-info span {
    color: var(--player-muted);
}


/* =========================================================
   BUTTON
========================================================= */

.player-primary-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    height: 48px;

    border-radius: 12px;

    background: var(--player-red);

    color: white;

    text-decoration: none;

    font-weight: 800;

    font-size: 13px;
}


/* =========================================================
   EMPTY
========================================================= */

.empty-match-card {
    text-align: center;

    background: var(--player-panel);

    border: 1px solid var(--player-border);

    border-radius: var(--player-radius);

    padding: 38px 20px;

    margin-bottom: 28px;
}

.empty-icon {
    font-size: 40px;

    margin-bottom: 10px;
}

.empty-match-card h3 {
    margin: 0 0 8px;
}

.empty-match-card p {
    margin: 0;

    color: var(--player-muted);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   UPCOMING
========================================================= */

.section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.section-heading h3 {
    margin: 0;

    font-size: 17px;
}

.section-heading a {
    color: var(--player-gold);

    text-decoration: none;

    font-size: 12px;
}

.upcoming-list {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.upcoming-match {
    display: grid;

    grid-template-columns: 58px 1fr 20px;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border-radius: 14px;

    border: 1px solid var(--player-border);

    background: var(--player-panel);

    color: white;

    text-decoration: none;
}

.upcoming-time {
    text-align: center;
}

.upcoming-time strong {
    display: block;

    font-size: 12px;
}

.upcoming-time small {
    color: var(--player-muted);

    font-size: 10px;
}

.upcoming-fighters {
    display: flex;

    align-items: center;

    gap: 7px;

    min-width: 0;
}

.upcoming-fighters strong {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 12px;
}

.upcoming-fighters span {
    color: var(--player-muted);

    font-size: 9px;
}

.upcoming-arrow {
    color: var(--player-muted);

    font-size: 18px;
}

.empty-small {
    padding: 22px;

    text-align: center;

    border-radius: 14px;

    background: var(--player-panel);

    color: var(--player-muted);

    font-size: 13px;
}


/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.player-bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 70px;

    padding-bottom: env(safe-area-inset-bottom);

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: rgba(12,15,19,.96);

    border-top: 1px solid var(--player-border);

    backdrop-filter: blur(15px);

    z-index: 100;
}

.player-bottom-nav a {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 3px;

    color: var(--player-muted);

    text-decoration: none;
}

.player-bottom-nav a span {
    font-size: 19px;
}

.player-bottom-nav a small {
    font-size: 9px;
}

.player-bottom-nav a.active {
    color: white;
}

.player-bottom-nav a.active span {
    color: var(--player-gold);
}


/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media (min-width: 768px) {

    .player-content {
        padding: 30px 24px;
    }

    .player-header {
        padding-left: 24px;
        padding-right: 24px;
    }

    .fighter-avatar {
        width: 100px;
        height: 100px;
    }

}

.notification-bell {
    position: relative;
}

.notification-badge {
    position: absolute;

    top: -3px;
    right: -3px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: var(--player-red);

    color: white;

    border: 2px solid var(--player-bg);

    font-size: 8px;

    font-weight: 900;
}

/* =========================================================
   PLAYER HOME
========================================================= */

.player-welcome {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(185,28,28,.22),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #171a20,
            #101216
        );
}

.player-welcome-label {
    margin-bottom: 6px;
    color: #d4a72c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.player-welcome h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.player-welcome p {
    margin: 7px 0 0;
    color: #8d96a3;
    font-size: 13px;
}


/* SECTION */

.player-section {
    margin-bottom: 28px;
}

.player-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #d4a72c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.player-section-header h2 {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.section-link {
    color: #d4a72c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}


/* CURRENT MATCH */

.player-current-match {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(185,28,28,.08),
            transparent 50%
        ),
        #14171c;
    color: inherit;
    text-decoration: none;
    transition:
        transform .2s ease,
        border-color .2s ease;
}

.player-current-match:active {
    transform: scale(.985);
}

.current-match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.match-code {
    color: #8d96a3;
    font-size: 11px;
    font-weight: 700;
}

.match-status {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .7px;
}

.status-playing {
    background: rgba(185,28,28,.18);
    color: #ff6b6b;
}

.status-open {
    background: rgba(212,167,44,.15);
    color: #e9c35d;
}

.status-scheduled {
    background: rgba(255,255,255,.07);
    color: #b9c0ca;
}

.status-result_pending {
    background: rgba(245,158,11,.15);
    color: #fbbf24;
}

.current-match-fighters {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    align-items: center;
    padding: 25px 14px;
}

.current-fighter {
    min-width: 0;
    text-align: center;
}

.fighter-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 9px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: #0d0f12;
    color: #8d96a3;
    font-size: 22px;
    font-weight: 800;
}

.fighter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fighter-side-label {
    margin-bottom: 3px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.fighter-side-label.red,
.red-text {
    color: #ef4444;
}

.fighter-side-label.blue,
.blue-text {
    color: #60a5fa;
}

.fighter-name {
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: auto;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    background: #0c0e11;
    color: #737b87;
    font-size: 9px;
    font-weight: 900;
}

.current-match-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #7e8794;
    font-size: 10px;
}

.current-match-footer span:last-child {
    color: #d4a72c;
    font-weight: 800;
}


/* EMPTY */

.player-empty-card {
    padding: 30px 20px;
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.02);
    text-align: center;
}

.player-empty-card.compact {
    padding: 20px;
}

.empty-icon {
    margin-bottom: 8px;
    font-size: 28px;
}

.player-empty-card h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 15px;
}

.player-empty-card p {
    margin: 0;
    color: #747d89;
    font-size: 12px;
}


/* UPCOMING MATCH LIST */

.player-match-list {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: #14171c;
}

.player-match-row {
    display: grid;
    grid-template-columns: 52px 1fr 20px;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 10px 13px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    color: inherit;
    text-decoration: none;
}

.player-match-row:last-child {
    border-bottom: 0;
}

.match-row-time {
    text-align: center;
}

.match-row-time strong {
    display: block;
    color: #fff;
    font-size: 12px;
}

.match-row-time small {
    display: block;
    margin-top: 2px;
    color: #68717e;
    font-size: 9px;
}

.match-row-fighters {
    min-width: 0;
}

.row-fighter {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-fighter.blue-text {
    justify-content: flex-end;
    text-align: right;
}

.fighter-dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.fighter-dot.red {
    background: #ef4444;
}

.fighter-dot.blue {
    background: #60a5fa;
}

.row-vs {
    margin: 2px 0;
    color: #505866;
    font-size: 8px;
    font-weight: 900;
    text-align: center;
}

.match-row-arrow {
    color: #68717e;
    font-size: 16px;
}


/* RESULTS */

.player-results-list {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: #14171c;
}

.player-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    color: inherit;
    text-decoration: none;
}

.player-result-row:last-child {
    border-bottom: 0;
}

.result-fighters {
    min-width: 0;
}

.result-fighters > span {
    display: block;
    overflow: hidden;
    color: #8c95a2;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-fighters .winner {
    color: #fff;
}

.result-vs {
    margin: 2px 0;
    color: #4e5661 !important;
    font-size: 8px !important;
}

.result-info {
    flex: 0 0 auto;
    text-align: right;
}

.result-winner {
    display: block;
    font-size: 9px;
    font-weight: 900;
}

.result-red {
    color: #ef4444;
}

.result-blue {
    color: #60a5fa;
}

.result-draw {
    color: #d4a72c;
}

.result-cancelled {
    color: #8d96a3;
}

.result-info small {
    display: block;
    margin-top: 3px;
    color: #626b77;
    font-size: 8px;
}


/* DESKTOP */

@media (min-width: 700px) {

    .player-main {
        max-width: 760px;
        margin: 0 auto;
    }

    .player-current-match {
        border-radius: 24px;
    }

    .current-match-fighters {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .fighter-avatar {
        width: 90px;
        height: 90px;
    }

}

/* =========================================================
   MATCH PAGE
========================================================= */

.player-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}


/* VIDEO */

.match-video-section {
    margin-bottom: 16px;
}

.match-video-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: #050607;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
}

.match-video {
    display: block;
    width: 100%;
    max-height: 70vh;
    background: #050607;
}

.match-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background:
        radial-gradient(
            circle,
            rgba(185,28,28,.12),
            transparent 65%
        ),
        #101216;
    text-align: center;
}

.video-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border: 1px solid rgba(212,167,44,.3);
    border-radius: 50%;
    background: rgba(212,167,44,.08);
    color: #d4a72c;
    font-size: 20px;
}

.video-placeholder-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.video-placeholder-text {
    max-width: 280px;
    margin-top: 6px;
    color: #747d89;
    font-size: 11px;
    line-height: 1.5;
}


/* MATCH INFO */

.match-info-card,
.match-fighters-card,
.match-result-card,
.match-information-card {
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: #14171c;
}

.match-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.match-info-label {
    display: block;
    margin-bottom: 3px;
    color: #d4a72c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.match-info-top h1 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.match-tape-title {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #a5adb8;
    font-size: 12px;
    font-weight: 600;
}

.match-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.match-meta-item {
    padding: 11px;
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.match-meta-item span {
    display: block;
    margin-bottom: 4px;
    color: #626b77;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.match-meta-item strong {
    color: #dce1e7;
    font-size: 11px;
}


/* FIGHTERS */

.match-section-title {
    margin-bottom: 14px;
    color: #737c88;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.match-fighter-detail-grid {
    display: grid;
    grid-template-columns: 1fr 35px 1fr;
    align-items: center;
}

.match-fighter-detail {
    min-width: 0;
    text-align: center;
}

.detail-fighter-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 9px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: #0c0e11;
    color: #7c8591;
    font-size: 22px;
    font-weight: 900;
}

.detail-fighter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-side {
    margin-bottom: 3px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.detail-side.red {
    color: #ef4444;
}

.detail-side.blue {
    color: #60a5fa;
}

.match-fighter-detail h2 {
    margin: 0 0 7px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fighter-detail-line {
    overflow: hidden;
    color: #69727e;
    font-size: 9px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-detail-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-detail-vs span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: #0b0d10;
    color: #656e7a;
    font-size: 8px;
    font-weight: 900;
}


/* RESULT */

.official-result {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border-radius: 14px;
}

.official-result.result-red {
    border: 1px solid rgba(239,68,68,.18);
    background: rgba(239,68,68,.07);
}

.official-result.result-blue {
    border: 1px solid rgba(96,165,250,.18);
    background: rgba(96,165,250,.07);
}

.official-result.result-draw {
    border: 1px solid rgba(212,167,44,.18);
    background: rgba(212,167,44,.07);
}

.official-result.result-neutral {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.result-trophy {
    font-size: 27px;
}

.official-result-text span {
    display: block;
    margin-bottom: 3px;
    color: #737c88;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.official-result-text strong {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.result-details > div {
    padding: 9px;
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.result-details span {
    display: block;
    margin-bottom: 3px;
    color: #626b77;
    font-size: 7px;
    font-weight: 800;
}

.result-details strong {
    display: block;
    overflow: hidden;
    color: #b9c0ca;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* INFORMATION */

.information-list {
    overflow: hidden;
    border-radius: 12px;
}

.information-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.information-row:last-child {
    border-bottom: 0;
}

.information-row span {
    color: #68717d;
    font-size: 10px;
}

.information-row strong {
    max-width: 60%;
    overflow: hidden;
    color: #dce1e7;
    font-size: 10px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* DESKTOP */

@media (min-width: 700px) {

    .match-info-card,
    .match-fighters-card,
    .match-result-card,
    .match-information-card {
        padding: 22px;
    }

    .detail-fighter-photo {
        width: 105px;
        height: 105px;
    }

}


/* =========================================================
   NOTIFICATIONS
========================================================= */

.notification-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    font-size: 17px;
}

.notification-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.notification-page-header h1 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.notification-count-label {
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    color: #7d8692;
    font-size: 9px;
    font-weight: 800;
}

.notifications-list {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: #14171c;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,.055);
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:active {
    background: rgba(255,255,255,.04);
}

.notification-item.unread {
    background:
        linear-gradient(
            90deg,
            rgba(185,28,28,.07),
            transparent
        );
}

.notification-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    background: #0d0f12;
    font-size: 17px;
}

.notification-content {
    min-width: 0;
    flex: 1;
}

.notification-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.notification-title-row strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-unread-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239,68,68,.5);
}

.notification-content p {
    margin: 5px 0 6px;
    color: #858e9a;
    font-size: 11px;
    line-height: 1.5;
}

.notification-content time {
    display: block;
    color: #59616d;
    font-size: 9px;
}

.notification-empty {
    padding: 45px 25px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.015);
    text-align: center;
}

.notification-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 14px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    background: rgba(255,255,255,.025);
    font-size: 25px;
}

.notification-empty h2 {
    margin: 0;
    color: #fff;
    font-size: 17px;
}

.notification-empty p {
    max-width: 290px;
    margin: 8px auto 18px;
    color: #707985;
    font-size: 11px;
    line-height: 1.6;
}

.notification-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    background: #b91c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-hero {
    margin-bottom: 16px;
    padding: 25px 20px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(185,28,28,.18),
            transparent 60%
        ),
        #14171c;
    text-align: center;
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 12px;
    border: 2px solid rgba(212,167,44,.35);
    border-radius: 50%;
    background: #0d0f12;
    color: #d4a72c;
    font-size: 25px;
    font-weight: 900;
}

.profile-name {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.profile-username {
    margin-top: 3px;
    color: #6f7884;
    font-size: 11px;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(34,197,94,.08);
    color: #4ade80;
    font-size: 9px;
    font-weight: 800;
}

.profile-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

.profile-card {
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: #14171c;
}

.profile-card-title {
    margin-bottom: 14px;
    color: #737c88;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.profile-info-list {
    overflow: hidden;
}

.profile-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.profile-info-row:last-child {
    border-bottom: 0;
}

.profile-info-row span {
    color: #68717d;
    font-size: 10px;
}

.profile-info-row strong {
    max-width: 62%;
    overflow: hidden;
    color: #dce1e7;
    font-size: 10px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}

.operator-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(185,28,28,.12);
    font-size: 18px;
}

.operator-details {
    min-width: 0;
    flex: 1;
}

.operator-details strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-details span {
    display: block;
    margin-top: 2px;
    color: #69727e;
    font-size: 9px;
}

.operator-status {
    flex: 0 0 auto;
    color: #4ade80;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-alert {
    margin-bottom: 14px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.5;
}

.profile-alert.success {
    border: 1px solid rgba(34,197,94,.15);
    background: rgba(34,197,94,.07);
    color: #4ade80;
}

.profile-alert.error {
    border: 1px solid rgba(239,68,68,.15);
    background: rgba(239,68,68,.07);
    color: #f87171;
}

.profile-password-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.profile-field label {
    display: block;
    margin-bottom: 6px;
    color: #aeb6c1;
    font-size: 10px;
    font-weight: 700;
}

.profile-field input {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    outline: none;
    background: #0b0d10;
    color: #fff;
    font-size: 12px;
}

.profile-field input:focus {
    border-color: rgba(185,28,28,.7);
}

.profile-field small {
    display: block;
    margin-top: 5px;
    color: #59616d;
    font-size: 8px;
}

.profile-save-button {
    min-height: 44px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: #b91c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.profile-logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin-bottom: 25px;
    border: 1px solid rgba(239,68,68,.18);
    border-radius: 11px;
    background: rgba(239,68,68,.06);
    color: #f87171;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}