﻿* {
    box-sizing: border-box;
}

:root {
    --bg: #050812;
    --card: rgba(255, 255, 255, 0.075);
    --card-dark: rgba(9, 13, 25, 0.86);
    --border: rgba(255, 255, 255, 0.13);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --gold: #f2c86b;
    --gold-dark: #bf8428;
    --blue: #1d75ff;
    --red: #d52235;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 10% 10%, rgba(242, 200, 107, 0.24), transparent 26%),
        radial-gradient(circle at 90% 30%, rgba(29, 117, 255, 0.18), transparent 28%),
        radial-gradient(circle at 80% 90%, rgba(29, 117, 255, 0.2), transparent 30%),
        #050812;
}

.site-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px;
}

.mobile-header {
    width: calc(100% - 24px);
    max-width: 1320px;
    margin: 12px auto 0;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(18px);
    position: sticky;
    top: 10px;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0b0b0b;
    font-weight: 1000;
}

.brand strong {
    display: block;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.brand span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.header-login {
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
}

.hero-content,
.hero-visual,
.league-card,
.step-card,
.footer {
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid var(--border);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.hero-content {
    border-radius: 32px;
    padding: 28px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow,
.league-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(242, 200, 107, 0.13);
    border: 1px solid rgba(242, 200, 107, 0.42);
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1.2px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(52px, 13vw, 118px);
    line-height: 0.88;
    letter-spacing: -4px;
    margin-bottom: 20px;
    margin-top: 22px;
}

.hero-content p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
}

.btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 16px 20px;
    text-decoration: none;
    font-weight: 1000;
    font-size: 16px;
    transition: 0.2s ease;
}

.btn-primary,
.btn-full {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #090909;
}

.btn-dark {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.hero-stats div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
    display: block;
    font-size: 26px;
    color: var(--gold);
}

.hero-stats span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.hero-visual {
    border-radius: 32px;
    padding: 22px;
    min-height: 360px;
    display: none;
    position: relative;
    overflow: hidden;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    right: -120px;
    top: -80px;
    background: rgba(242, 200, 107, 0.16);
}

.hero-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    left: -90px;
    bottom: -80px;
    background: rgba(29, 117, 255, 0.16);
}

.arena-card {
    position: relative;
    z-index: 1;
    height: 100%;
    border-radius: 28px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.14), transparent),
        rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.arena-card > span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1.4px;
}

.arena-card h3 {
    font-size: 44px;
    margin: 12px 0;
}

.arena-card p {
    color: var(--muted);
    line-height: 1.5;
}

.mini-fixture {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.mini-fixture div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.mini-fixture b,
.mini-fixture small {
    display: block;
}

.mini-fixture small {
    color: var(--muted);
    margin-top: 4px;
}

.league-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
}

.league-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 26px;
    min-height: 390px;
}

.league-card::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    opacity: 0.38;
}

.fifa-card {
    border-color: rgba(29, 117, 255, 0.42);
}

.fifa-card::after {
    background: var(--blue);
}

.ufc-card {
    border-color: rgba(242, 200, 107, 0.42);
}

.ufc-card::after {
    background: var(--red);
}

.league-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.league-status {
    padding: 8px 10px;
    border-radius: 999px;
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.13);
    border: 1px solid rgba(47, 190, 84, 0.35);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.league-status.gold {
    color: var(--gold);
    background: rgba(242, 200, 107, 0.13);
    border-color: rgba(242, 200, 107, 0.35);
}

.league-card h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(30px, 6vw, 48px);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.league-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    line-height: 1.6;
    font-size: 16px;
}

.league-info {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 22px 0;
}

.league-info div {
    padding: 14px 10px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.league-info strong,
.league-info span {
    display: block;
    text-align: center;
}

.league-info strong {
    color: var(--gold);
    font-size: 20px;
}

.league-info span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.btn-full {
    position: relative;
    z-index: 1;
    width: 100%;
}

.champion-box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(242, 200, 107, 0.22);
    margin: 24px 0;
}

.belt-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 25px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.champion-box span,
.champion-box strong {
    display: block;
}

.champion-box span {
    color: var(--muted);
    font-size: 13px;
}

.champion-box strong {
    margin-top: 4px;
    font-size: 20px;
}

.how-section {
    margin-top: 34px;
}

.section-title {
    margin-bottom: 18px;
}

.section-title h2 {
    max-width: 780px;
    font-size: clamp(30px, 6vw, 54px);
    line-height: 1;
    letter-spacing: -1.5px;
    margin-top: 18px;
}

.step-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.step-card {
    border-radius: 26px;
    padding: 22px;
}

.step-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(242, 200, 107, 0.13);
    border: 1px solid rgba(242, 200, 107, 0.38);
    color: var(--gold);
    font-weight: 1000;
}

.step-card h3 {
    margin: 18px 0 10px;
    font-size: 23px;
}

.step-card p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.footer {
    width: calc(100% - 36px);
    max-width: 1320px;
    margin: 22px auto 28px;
    border-radius: 24px;
    padding: 20px;
    text-align: center;
}

.footer span {
    color: var(--gold);
    font-weight: 1000;
    letter-spacing: 1px;
}

.footer p {
    margin: 6px 0 0;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid #2a3142;
    background: #111827;
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 16px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.86);
}

.alert {
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-weight: 800;
}

.alert-error {
    background: rgba(214, 33, 33, 0.16);
    border: 1px solid rgba(214, 33, 33, 0.45);
    color: #ffb4b4;
}

.form-card {
    max-width: 520px;
    margin: 40px auto;
}

.topbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.stat-card h2 {
    font-size: 46px;
    margin: 0 0 8px;
    color: var(--gold);
}

.admin-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.menu-item {
    display: block;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .hero-content {
        padding: 22px;
        min-height: auto;
    }

    h1 {
        letter-spacing: -2.5px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .league-info {
        grid-template-columns: 1fr;
    }

    .league-card {
        padding: 22px;
        min-height: auto;
    }

    .league-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 28px;
    }

    .hero-actions {
        grid-template-columns: 220px 220px;
    }

    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topbar {
        grid-template-columns: 1fr auto;
    }

    .admin-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-section {
        grid-template-columns: 1.55fr 0.85fr;
    }

    .hero-visual {
        display: block;
    }

    .league-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.league-visual {
    position: relative;
    z-index: 1;
    height: 160px;
    border-radius: 24px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.fifa-visual {
    background:
        linear-gradient(135deg, rgba(29, 117, 255, 0.22), transparent),
        radial-gradient(circle at 30% 30%, rgba(242, 200, 107, 0.22), transparent 32%),
        rgba(0, 0, 0, 0.24);
}

.ufc-visual {
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.22), transparent),
        radial-gradient(circle at 70% 40%, rgba(242, 200, 107, 0.2), transparent 36%),
        rgba(0, 0, 0, 0.26);
}

.visual-circle {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 42px;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.visual-lines {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 10px;
}

.visual-lines i {
    display: block;
    width: 180px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.visual-lines i:nth-child(2) {
    width: 130px;
    margin-left: auto;
}

.visual-lines i:nth-child(3) {
    width: 90px;
    margin-left: auto;
    background: rgba(242, 200, 107, 0.35);
}

.belt-shape {
    width: 230px;
    height: 92px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f4d17b, #b97b21);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
    color: #121212;
}

.belt-shape::before,
.belt-shape::after {
    content: "";
    position: absolute;
    width: 74px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4d17b, #9d6718);
    top: 20px;
}

.belt-shape::before {
    left: -36px;
}

.belt-shape::after {
    right: -36px;
}

.belt-shape span {
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 1.3px;
}

.belt-shape strong {
    font-size: 38px;
    line-height: 1;
}

.preview-section {
    margin-top: 34px;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.preview-card {
    min-height: 260px;
    border-radius: 28px;
    padding: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.preview-head span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1px;
}

.preview-head b {
    padding: 8px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 12px;
}

.table-preview {
    display: grid;
    gap: 10px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 42px 42px;
    gap: 10px;
    align-items: center;
    padding: 13px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.table-header {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.table-row span {
    font-size: 14px;
    font-weight: 800;
}

.fight-card-mini {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.fight-card-mini div {
    min-height: 118px;
    border-radius: 22px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.fight-card-mini div:first-child {
    border-color: rgba(213, 34, 53, 0.45);
}

.fight-card-mini div:last-child {
    border-color: rgba(29, 117, 255, 0.45);
}

.fight-card-mini small {
    color: var(--muted);
    font-weight: 800;
}

.fight-card-mini strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
}

.fight-card-mini > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-weight: 1000;
}

.fight-type {
    margin-top: 16px;
    padding: 14px;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.champion-visual {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.champion-avatar {
    width: 104px;
    height: 104px;
    border-radius: 30px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 46px;
    font-weight: 1000;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 30% 20%, #fff3bf, transparent 30%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 18px 55px rgba(242, 200, 107, 0.2);
}

.champion-visual small {
    display: block;
    color: var(--gold);
    font-weight: 1000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.champion-visual strong {
    display: block;
    margin-top: 6px;
    font-size: 26px;
}

.champion-visual p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.4;
}

@media (max-width: 480px) {
    .league-visual {
        height: 135px;
    }

    .visual-lines i {
        width: 120px;
    }

    .visual-lines i:nth-child(2) {
        width: 90px;
    }

    .visual-lines i:nth-child(3) {
        width: 60px;
    }

    .belt-shape {
        width: 170px;
        height: 76px;
    }

    .belt-shape::before,
    .belt-shape::after {
        width: 50px;
        height: 42px;
        top: 17px;
    }

    .belt-shape::before {
        left: -22px;
    }

    .belt-shape::after {
        right: -22px;
    }

    .fight-card-mini {
        grid-template-columns: 1fr;
    }

    .fight-card-mini > span {
        margin: 0 auto;
    }

    .champion-visual {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .preview-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.admin-login-card {
    width: 100%;
    max-width: 560px;
    margin: 50px auto;
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid var(--border);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.admin-login-card h1 {
    font-size: clamp(42px, 10vw, 72px);
    letter-spacing: -3px;
    margin-top: 20px;
    margin-bottom: 14px;
}

.admin-login-card p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 22px;
}

button.btn {
    border: none;
    cursor: pointer;
    width: 100%;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
}

.back-link:hover {
    color: var(--gold);
}

.admin-hero {
    margin-top: 18px;
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid var(--border);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.admin-hero h1 {
    font-size: clamp(46px, 10vw, 96px);
    margin-top: 20px;
    margin-bottom: 14px;
}

.admin-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 18px;
}

.admin-stat-card {
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid var(--border);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
}

.admin-stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.admin-stat-card strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 54px;
    color: var(--gold);
    line-height: 1;
}

.admin-stat-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.45;
}

.admin-stat-card.warning {
    border-color: rgba(242, 200, 107, 0.35);
}

.admin-panel-card {
    margin-top: 22px;
    padding: 26px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid var(--border);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.admin-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.admin-menu-item {
    display: block;
    padding: 20px;
    border-radius: 22px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.11);
    transition: 0.2s ease;
}

.admin-menu-item:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 200, 107, 0.48);
    background: rgba(242, 200, 107, 0.08);
}

.admin-menu-item span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.11);
    border: 1px solid rgba(242, 200, 107, 0.28);
    font-weight: 1000;
}

.admin-menu-item strong {
    display: block;
    margin-top: 16px;
    font-size: 21px;
}

.admin-menu-item p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

@media (min-width: 768px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .admin-stat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .admin-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.mt-12 {
    margin-top: 12px;
}

.whatsapp-preview {
    padding: 16px;
    border-radius: 18px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    margin-bottom: 18px;
}

.whatsapp-preview strong,
.whatsapp-preview span {
    display: block;
}

.whatsapp-preview strong {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    margin-bottom: 6px;
}

.whatsapp-preview span {
    color: #25d366;
    font-size: 22px;
    font-weight: 1000;
}
.alert-success {
    background: rgba(47, 190, 84, 0.16);
    border: 1px solid rgba(47, 190, 84, 0.45);
    color: #bdf7c5;
}

.empty-box {
    padding: 18px;
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.user-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.user-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.user-card.pending {
    border-color: rgba(242, 200, 107, 0.36);
}

.user-card.approved {
    border-color: rgba(47, 190, 84, 0.32);
}

.user-card.rejected {
    border-color: rgba(213, 34, 53, 0.32);
}

.user-info strong {
    display: block;
    font-size: 22px;
    margin-bottom: 10px;
}

.user-info span,
.user-info small {
    display: block;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.4;
}

.user-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #c9182b);
    color: #ffffff;
}

.status-pill {
    width: fit-content;
    height: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 1000;
}

.approved-pill {
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.14);
    border: 1px solid rgba(47, 190, 84, 0.35);
}

.rejected-pill {
    color: #ffb4b4;
    background: rgba(213, 34, 53, 0.14);
    border: 1px solid rgba(213, 34, 53, 0.35);
}

@media (min-width: 768px) {
    .user-card {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .user-actions {
        min-width: 180px;
    }
}

.application-status-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
}

.application-status-card div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.application-status-card strong {
    display: block;
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.application-status-card span {
    display: block;
    color: #ffffff;
    font-weight: 800;
}

.pending-pill {
    width: fit-content;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.14);
    border: 1px solid rgba(242, 200, 107, 0.35);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

@media (min-width: 768px) {
    .application-status-card {
        grid-template-columns: repeat(3, 1fr);
    }
}

.application-image-box {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    margin: 22px 0;
    border: 1px solid rgba(242, 200, 107, 0.35);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.application-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

input[type="file"] {
    padding: 13px;
    cursor: pointer;
}

.file-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    margin-top: -4px;
    margin-bottom: 14px;
}

.application-admin-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.application-admin-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.application-admin-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 320px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(242, 200, 107, 0.28);
}

.application-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.application-admin-content h3 {
    margin: 14px 0 12px;
    font-size: 28px;
}

.application-admin-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.application-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    color: var(--muted);
}

.application-details span {
    line-height: 1.45;
}

.application-details b {
    color: #ffffff;
}

.application-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.application-control-card {
    display: grid;
    gap: 18px;
}

.application-status-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.application-status-tabs a {
    min-width: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 1000;
}

.application-status-tabs a.is-active {
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: rgba(242, 200, 107, 0.7);
    box-shadow: 0 16px 42px rgba(242, 200, 107, 0.16);
}

.application-status-tabs b {
    min-width: 34px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.application-status-tabs a.is-active b {
    background: rgba(0, 0, 0, 0.14);
}

.application-filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.application-filter-form label {
    margin-bottom: 0;
}

.application-filter-form input,
.application-filter-form select {
    margin-top: 8px;
    margin-bottom: 0;
}

.application-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: end;
}

.compact-application-list {
    gap: 14px;
}

.compact-application-card {
    gap: 14px;
    padding: 14px;
}

.compact-application-card .application-admin-image {
    max-height: none;
    min-height: 118px;
    border-radius: 18px;
}

.compact-application-card .application-admin-content h3 {
    margin: 10px 0;
    font-size: clamp(22px, 3vw, 28px);
}

.compact-application-card .application-details {
    grid-template-columns: 1fr;
    gap: 7px;
    font-size: 13px;
}

.compact-application-card .application-details span {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.application-actions.single-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .application-admin-card {
        grid-template-columns: 220px 1fr;
        align-items: start;
    }

    .application-actions {
        grid-template-columns: 180px 180px;
    }

    .application-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
    }

    .application-filter-actions {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .compact-application-card {
        grid-template-columns: 132px 1fr;
    }

    .compact-application-card .application-admin-image {
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1100px) {
    .compact-application-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compact-application-card {
        grid-template-columns: 118px 1fr;
    }
}

@media (max-width: 620px) {
    .application-status-tabs a {
        min-width: 190px;
    }

    .compact-application-card .application-admin-image {
        aspect-ratio: 16 / 10;
    }
}


.fixture-action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.participant-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.participant-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.participant-card strong,
.participant-card span {
    display: block;
}

.participant-card strong {
    font-size: 18px;
    margin-bottom: 6px;
}

.participant-card span {
    color: var(--muted);
}

.group-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.group-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(242, 200, 107, 0.24);
}

.group-card h3 {
    margin-bottom: 16px;
    color: var(--gold);
}

.group-player {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    margin-bottom: 10px;
}

.group-player strong,
.group-player span {
    display: block;
}

.group-player span {
    color: var(--muted);
    margin-top: 4px;
}

.match-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.match-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.match-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.match-meta span {
    color: var(--gold);
    font-weight: 1000;
}

.match-meta b,
.match-meta small {
    color: var(--muted);
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
}

.match-teams div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.match-teams strong,
.match-teams span {
    display: block;
}

.match-teams span {
    color: var(--muted);
    margin-top: 4px;
}

.match-teams em {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-style: normal;
    font-weight: 1000;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

@media (min-width: 768px) {
    .fixture-action-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: end;
    }

    .participant-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .group-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .group-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.score-match-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.score-match-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.score-match-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.score-match-head span {
    color: var(--gold);
    font-weight: 1000;
}

.score-match-head b,
.score-match-head small {
    color: var(--muted);
}

.score-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

.score-team {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.score-team strong,
.score-team span {
    display: block;
}

.score-team span {
    color: var(--muted);
    margin-top: 4px;
}

.score-form input[type="number"] {
    text-align: center;
    font-size: 22px;
    font-weight: 1000;
    margin-bottom: 0;
}

.score-form em {
    display: none;
    font-style: normal;
    font-weight: 1000;
    color: var(--gold);
    text-align: center;
}

.score-btn {
    margin-top: 4px;
}

.played-note {
    width: fit-content;
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 999px;
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.14);
    border: 1px solid rgba(47, 190, 84, 0.35);
    font-size: 13px;
    font-weight: 1000;
}

.standing-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(242, 200, 107, 0.24);
}

.standing-card h3 {
    margin-bottom: 16px;
    color: var(--gold);
}

.standing-table {
    display: grid;
    gap: 8px;
}

.standing-row {
    display: grid;
    grid-template-columns: 1.7fr repeat(6, 36px);
    gap: 6px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}

.standing-header {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
}

.standing-row span {
    font-size: 13px;
    font-weight: 800;
}

.standing-row b,
.standing-row small {
    display: block;
}

.standing-row small {
    color: var(--muted);
    margin-top: 3px;
    font-size: 11px;
}

@media (min-width: 900px) {
    .score-form {
        grid-template-columns: 1fr 80px 20px 80px 1fr 140px;
    }

    .score-form em {
        display: block;
    }

    .score-team.right {
        text-align: right;
    }
}

.fc-results-filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 20px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
        rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(242, 200, 107, 0.2);
}

.fc-results-filter-form label {
    margin-bottom: 0;
}

.fc-results-filter-form input,
.fc-results-filter-form select {
    margin-bottom: 0;
}

.fc-results-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: end;
}

.score-day-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.score-day-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(242, 200, 107, 0.09);
    border: 1px solid rgba(242, 200, 107, 0.22);
}

.score-day-head span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.score-day-head strong {
    font-size: 14px;
}

.score-day-head small {
    color: var(--muted);
    font-weight: 900;
}

.compact-score-card {
    padding: 16px;
}

.match-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 1000;
}

.match-status-pill.played {
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.14);
    border: 1px solid rgba(47, 190, 84, 0.34);
}

.match-status-pill.scheduled {
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border: 1px solid rgba(242, 200, 107, 0.28);
}

.score-form.score-form-modern {
    grid-template-columns: 1fr;
    gap: 14px;
}

.score-form-modern .score-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px;
}

.score-form-modern .score-team-away {
    justify-content: flex-end;
}

.score-team-logo-frame,
.standing-team-logo {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.28), transparent 32%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-weight: 1000;
}

.score-team-logo-frame {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 16px;
}

.score-team-logo-frame img,
.standing-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 7px;
    background: rgba(0, 0, 0, 0.22);
}

.score-team-copy {
    min-width: 0;
}

.score-team-copy strong,
.score-team-copy span {
    display: block;
}

.score-team-copy strong {
    font-size: 15px;
    line-height: 1.15;
}

.score-team-copy span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.score-team-away .score-team-copy {
    text-align: right;
}

.score-center-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.1), rgba(29, 117, 255, 0.06)),
        rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(242, 200, 107, 0.2);
}

.score-input-row {
    display: grid;
    grid-template-columns: minmax(62px, 1fr) 18px minmax(62px, 1fr);
    gap: 8px;
    align-items: center;
}

.score-input-row em {
    display: block;
    color: var(--gold);
    font-style: normal;
    font-weight: 1000;
    text-align: center;
}

.score-form-modern .score-btn {
    margin-top: 0;
}

.filter-summary-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 16px;
    color: var(--muted);
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 850;
}

.filter-summary-note strong {
    color: var(--gold);
}

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

.results-standing-card {
    overflow: hidden;
}

.admin-standing-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
}

.admin-standing-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.admin-standing-table th,
.admin-standing-table td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.admin-standing-table th:first-child,
.admin-standing-table td:first-child {
    min-width: 250px;
    text-align: left;
}

.admin-standing-table th {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.admin-standing-table td {
    color: #fff;
    background: rgba(255,255,255,0.055);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 900;
}

.admin-standing-table td:first-child {
    border-left: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px 0 0 14px;
}

.admin-standing-table td:last-child {
    color: var(--gold);
    border-right: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 14px 14px 0;
    font-weight: 1000;
}

.standing-player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.standing-team-logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 12px;
}

.standing-player-cell strong,
.standing-player-cell small {
    display: block;
}

.standing-player-cell strong {
    color: #fff;
    line-height: 1.15;
}

.standing-player-cell small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
}

.standing-rank {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 999px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 12px;
    font-weight: 1000;
}

.admin-standing-table .current-user-row td {
    background: rgba(242, 200, 107, 0.14);
    border-color: rgba(242, 200, 107, 0.34);
}

.admin-standing-table .qualified-row-table td {
    background: rgba(47, 190, 84, 0.1);
    border-color: rgba(47, 190, 84, 0.28);
}

.knockout-qualified-card {
    padding: 16px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(242, 200, 107, 0.09), rgba(255,255,255,0.035)),
        rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(242, 200, 107, 0.22);
}

.knockout-qualified-scroll {
    margin-top: 12px;
}

.knockout-qualifier-table {
    min-width: 1180px;
}

.knockout-qualifier-table th,
.knockout-qualifier-table td {
    padding: 9px 10px;
}

.knockout-qualifier-table th:first-child,
.knockout-qualifier-table td:first-child {
    min-width: 64px;
    text-align: center;
}

.knockout-qualifier-table th:nth-child(2),
.knockout-qualifier-table td:nth-child(2) {
    min-width: 100px;
    text-align: left;
}

.knockout-qualifier-table th:nth-child(5),
.knockout-qualifier-table td:nth-child(5) {
    min-width: 170px;
    text-align: left;
}

.knockout-qualifier-table th:nth-child(6),
.knockout-qualifier-table td:nth-child(6) {
    min-width: 180px;
    text-align: left;
}

.knockout-qualifier-table .standing-team-logo {
    margin: 0 auto;
}

.qualifier-logo {
    width: 40px;
    height: 40px;
}

.qualifier-team-name {
    color: #fff;
    font-weight: 1000;
}

.qualifier-user-cell strong,
.qualifier-user-cell small {
    display: block;
}

.qualifier-user-cell strong {
    color: #fff;
}

.qualifier-user-cell small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
}

.fc-mini-player-card,
.fc-group-player-card {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.fc-mini-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.28), transparent 32%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 12px;
    font-weight: 1000;
}

.fc-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
    background: rgba(0, 0, 0, 0.22);
}

.fixture-modern-card {
    border-color: rgba(242, 200, 107, 0.18);
}

.fixture-modern-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

.fixture-vs-panel {
    display: grid;
    place-items: center;
    gap: 5px;
    min-height: 74px;
    padding: 12px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.13), rgba(29, 117, 255, 0.07)),
        rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(242, 200, 107, 0.22);
}

.fixture-vs-panel strong {
    color: var(--gold);
    font-size: 20px;
    line-height: 1;
}

.fixture-vs-panel span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.user-match-card.fixture-modern-card .user-match-meta {
    margin-bottom: 12px;
}

.user-match-card.fixture-modern-card .winner-side {
    border-color: rgba(47, 190, 84, 0.42);
    background: rgba(47, 190, 84, 0.1);
}

.home-fc-player-row,
.home-fc-side {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.home-fc-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 11px;
    font-weight: 1000;
}

.home-fc-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 5px;
    background: rgba(0, 0, 0, 0.22);
}

.home-fc-player-row > div:last-child,
.home-fc-side > div:not(.home-fc-logo) {
    min-width: 0;
}

.home-fc-fixture-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0;
}

.home-fc-fixture-row em {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 999px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-style: normal;
    font-weight: 1000;
}

.home-fc-side.right {
    justify-content: flex-end;
    text-align: right;
}

.home-fc-side strong,
.home-fc-side small {
    display: block;
}

@media (min-width: 820px) {
    .fixture-modern-row {
        grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.5fr) minmax(0, 1.15fr);
    }

    .home-fc-fixture-row {
        grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
        align-items: center;
    }
}

@media (min-width: 760px) {
    .fc-results-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fc-results-filter-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 980px) {
    .fc-results-filter-form {
        grid-template-columns: 170px 160px minmax(0, 1fr) minmax(0, 1fr) 150px 220px;
        align-items: end;
    }

    .score-form.score-form-modern {
        grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.65fr) minmax(0, 1.2fr);
    }

    .score-center-panel {
        align-self: stretch;
        align-content: center;
    }

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

@media (max-width: 560px) {
    .score-team-logo-frame {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .score-team-copy strong {
        font-size: 14px;
    }

    .score-team-copy span {
        font-size: 11px;
    }

    .admin-standing-table {
        min-width: 680px;
    }
}


.knockout-standing-row {
    grid-template-columns: 1.7fr 40px 40px 40px;
}

.qualified-row {
    border-color: rgba(47, 190, 84, 0.35);
    background: rgba(47, 190, 84, 0.09);
}

.qualified-row span:first-child b::after {
    content: "  âœ“";
    color: #bdf7c5;
}

.knockout-card {
    border-color: rgba(242, 200, 107, 0.26);
}

.knockout-champion-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(242, 200, 107, 0.42);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.knockout-champion-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 20px;
    font-weight: 1000;
}

.knockout-champion-box span,
.knockout-champion-box strong,
.knockout-champion-box small {
    display: block;
}

.knockout-champion-box span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.knockout-champion-box strong {
    margin-top: 6px;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1;
}

.knockout-champion-box small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

.knockout-stage-block {
    margin-top: 24px;
}

.knockout-stage-block:first-of-type {
    margin-top: 0;
}

.knockout-stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.knockout-stage-head span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.knockout-stage-head h3 {
    margin: 8px 0 0;
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1;
}

.knockout-stage-head small {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 900;
}

.knockout-score-list {
    margin-top: 14px;
}

.knockout-score-card {
    border-color: rgba(242, 200, 107, 0.22);
}

.knockout-tabs {
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.knockout-tab {
    min-width: 150px;
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--muted);
    text-decoration: none;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
        rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.knockout-tab span,
.knockout-tab small {
    display: block;
}

.knockout-tab span {
    color: #fff;
    font-weight: 1000;
}

.knockout-tab small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.knockout-tab.active {
    color: #0b0b0b;
    background:
        radial-gradient(circle at 16% 12%, rgba(255,255,255,0.42), transparent 28%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: rgba(242, 200, 107, 0.55);
}

.knockout-tab.active span,
.knockout-tab.active small {
    color: #0b0b0b;
}

.knockout-score-form {
    margin-top: 4px;
}

.winner-team {
    border-color: rgba(47, 190, 84, 0.42);
    background: rgba(47, 190, 84, 0.1);
}

.winner-team strong::after {
    content: " KazandÄ±";
    display: inline-flex;
    margin-left: 8px;
    padding: 4px 7px;
    border-radius: 999px;
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.14);
    border: 1px solid rgba(47, 190, 84, 0.28);
    font-size: 10px;
    font-weight: 1000;
    vertical-align: middle;
}

.knockout-result-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.knockout-result-row span {
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.knockout-result-row b {
    color: #ffffff;
}

button.btn:disabled,
input:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

button.btn:disabled:hover {
    transform: none;
}

@media (max-width: 560px) {
    .knockout-champion-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .winner-team strong::after {
        width: fit-content;
        margin: 7px 0 0;
    }
}

.user-hero h1 {
    letter-spacing: 0;
}

.user-section {
    margin-top: 22px;
}

.user-fifa-card-grid,
.user-registration-list,
.user-match-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.user-fifa-card,
.user-registration-card,
.user-fc-profile-card,
.user-champion-box,
.user-match-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.user-fifa-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 28px;
    border-color: rgba(242, 200, 107, 0.28);
}

.user-fifa-photo,
.user-fc-profile-image {
    min-height: 260px;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.28), transparent 30%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 46px;
    font-weight: 1000;
}

.user-fifa-photo img,
.user-fc-profile-image img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.user-fifa-content h2,
.user-fc-profile-content h2 {
    margin: 18px 0;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1;
    letter-spacing: 0;
}

.user-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.user-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
}

.user-info-grid div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info-grid span,
.user-info-grid strong {
    display: block;
}

.user-info-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.user-info-grid strong {
    margin-top: 6px;
    font-size: 17px;
}

.user-registration-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
}

.user-registration-main h3 {
    margin: 14px 0 10px;
    font-size: 24px;
}

.user-registration-details {
    display: grid;
    gap: 7px;
    color: var(--muted);
    line-height: 1.45;
}

.user-registration-side {
    display: grid;
    gap: 10px;
    align-content: start;
}

.user-fc-profile-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
    padding: 22px;
    border-radius: 30px;
    border-color: rgba(242, 200, 107, 0.28);
}

.user-fc-profile-image {
    min-height: 300px;
}

.user-fc-profile-image img {
    min-height: 300px;
}

.user-progress-note {
    padding: 14px;
    border-radius: 18px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.12);
    border: 1px solid rgba(242, 200, 107, 0.32);
    font-weight: 1000;
}

.user-progress-note.champion-note {
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.13);
    border-color: rgba(47, 190, 84, 0.36);
}

.user-progress-note.eliminated-note {
    color: #ffcece;
    background: rgba(213, 34, 53, 0.13);
    border-color: rgba(213, 34, 53, 0.34);
}

.user-champion-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding: 20px;
    border-radius: 26px;
    border-color: rgba(242, 200, 107, 0.46);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.2), rgba(47, 190, 84, 0.08)),
        rgba(0, 0, 0, 0.28);
}

.user-champion-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 20px;
    font-weight: 1000;
}

.user-champion-box span,
.user-champion-box strong,
.user-champion-box small {
    display: block;
}

.user-champion-box span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.user-champion-box strong {
    margin-top: 6px;
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1;
}

.user-champion-box small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

.user-standings-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.user-standings-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.user-standings-table th,
.user-standings-table td {
    padding: 13px 12px;
    text-align: left;
    white-space: nowrap;
}

.user-standings-table th {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.user-standings-table td {
    background: rgba(255, 255, 255, 0.055);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
}

.user-standings-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px 0 0 14px;
}

.user-standings-table td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 14px 14px 0;
    color: var(--gold);
}

.user-standings-table .current-user-row td {
    background: rgba(242, 200, 107, 0.14);
    border-color: rgba(242, 200, 107, 0.36);
}

.user-match-list.compact {
    max-height: 760px;
    overflow: auto;
    padding-right: 4px;
}

.user-match-card {
    padding: 16px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.24);
}

.user-match-card.is-own-match {
    border-color: rgba(242, 200, 107, 0.42);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.11), rgba(29, 117, 255, 0.06)),
        rgba(0, 0, 0, 0.24);
}

.user-match-card.knockout-user-card {
    border-color: rgba(47, 190, 84, 0.34);
}

.user-match-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.user-match-meta span {
    color: var(--gold);
    font-weight: 1000;
}

.user-match-meta b,
.user-match-meta small {
    color: var(--muted);
}

.user-match-teams {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
}

.user-match-teams div {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.user-match-teams strong,
.user-match-teams span {
    display: block;
}

.user-match-teams span {
    color: var(--muted);
    margin-top: 4px;
}

.user-match-teams em {
    min-width: 58px;
    min-height: 42px;
    display: grid;
    place-items: center;
    justify-self: center;
    padding: 10px 12px;
    border-radius: 999px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-style: normal;
    font-weight: 1000;
}

.user-match-teams .winner-side {
    border-color: rgba(47, 190, 84, 0.4);
    background: rgba(47, 190, 84, 0.1);
}

.user-match-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.user-match-footer span {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
}

.user-match-footer b {
    color: #ffffff;
}

.user-two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 760px) {
    .user-fifa-card,
    .user-fc-profile-card {
        grid-template-columns: 320px 1fr;
        align-items: stretch;
    }

    .user-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .user-info-grid-wide {
        grid-template-columns: repeat(4, 1fr);
    }

    .user-registration-card {
        grid-template-columns: 1fr 220px;
        align-items: center;
    }

    .user-match-teams {
        grid-template-columns: 1fr auto 1fr;
    }

    .user-match-teams div:last-child {
        text-align: right;
    }
}

@media (min-width: 1100px) {
    .user-two-column {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .user-fifa-card,
    .user-fc-profile-card {
        padding: 16px;
        border-radius: 24px;
    }

    .user-fifa-photo,
    .user-fifa-photo img,
    .user-fc-profile-image,
    .user-fc-profile-image img {
        min-height: 220px;
    }

    .user-champion-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

.ufc-champion-badge,
.ufc-rank-badge {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    font-weight: 1000;
}

.ufc-champion-badge {
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 14px 36px rgba(242, 200, 107, 0.18);
}

.ufc-rank-badge {
    color: var(--gold);
    background: rgba(242, 200, 107, 0.12);
    border: 1px solid rgba(242, 200, 107, 0.32);
}

.ufc-admin-champion-card,
.ufc-admin-fighter-card {
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.11), rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.ufc-admin-champion-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 22px;
    padding: 22px;
    border-radius: 30px;
    border-color: rgba(242, 200, 107, 0.45);
}

.ufc-admin-champion-card h2 {
    margin: 14px 0 8px;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1;
    letter-spacing: 0;
}

.ufc-admin-champion-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.ufc-admin-photo {
    width: 100%;
    min-height: 220px;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.2), rgba(29, 117, 255, 0.2)),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 34px;
    font-weight: 1000;
}

.ufc-admin-photo img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.ufc-admin-stat-row,
.user-ufc-mini-stats,
.user-ufc-large-stats,
.ufc-user-stat-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ufc-admin-stat-row,
.user-ufc-mini-stats {
    margin: 16px 0;
}

.ufc-admin-stat-row span,
.user-ufc-mini-stats span,
.ufc-user-stat-line span {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 1000;
}

.ufc-admin-fighter-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ufc-admin-fighter-card {
    padding: 18px;
    border-radius: 26px;
}

.ufc-admin-fighter-card.is-champion {
    border-color: rgba(242, 200, 107, 0.42);
}

.ufc-admin-fighter-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.ufc-admin-fighter-head .ufc-admin-photo {
    min-height: 180px;
}

.ufc-admin-fighter-head .ufc-admin-photo img {
    min-height: 180px;
}

.ufc-admin-title-row {
    margin-bottom: 12px;
}

.ufc-admin-fighter-card h3 {
    margin: 0 0 8px;
    font-size: clamp(24px, 5vw, 36px);
}

.ufc-admin-fighter-card p,
.ufc-admin-fighter-card small {
    display: block;
    color: var(--muted);
    margin: 0;
}

.ufc-admin-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ufc-admin-form label {
    margin-bottom: 0;
}

.ufc-admin-form input {
    margin-top: 8px;
    margin-bottom: 0;
}

.ufc-admin-actions {
    margin-top: 12px;
}

.ufc-library-form,
.fighter-library-edit-form,
.ufc-participant-assign-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ufc-library-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
}

.ufc-library-form label,
.fighter-library-edit-form label,
.ufc-participant-assign-form label {
    margin-bottom: 0;
}

.ufc-library-form input,
.ufc-library-form select,
.fighter-library-edit-form input,
.fighter-library-edit-form select,
.ufc-participant-assign-form select {
    margin-top: 8px;
    margin-bottom: 0;
}

.fighter-library-grid,
.ufc-participant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fighter-library-card,
.ufc-participant-card {
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.12), rgba(29, 117, 255, 0.09)),
        rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.fighter-library-card.is-passive {
    opacity: 0.72;
}

.fighter-library-visual,
.ufc-participant-visual {
    min-height: 230px;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.42), rgba(29, 117, 255, 0.34)),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-weight: 1000;
    font-size: 34px;
}

.fighter-library-visual img,
.ufc-participant-visual img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    display: block;
    object-fit: cover;
}

.fighter-library-edit-form,
.ufc-participant-content {
    padding: 18px;
}

.fighter-library-card-head,
.ufc-assigned-fighter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fighter-library-card-head small,
.ufc-participant-content p,
.ufc-assigned-fighter-box span {
    color: var(--muted);
}

.ufc-participant-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
}

.ufc-participant-card.has-assigned-fighter {
    border-color: rgba(242, 200, 107, 0.28);
}

.ufc-participant-content h3 {
    margin: 12px 0 6px;
    font-size: 26px;
}

.ufc-assigned-fighter-box {
    margin: 16px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ufc-assigned-fighter-box strong {
    color: var(--gold);
}

@media (max-width: 900px) {
    .ufc-library-form,
    .fighter-library-grid,
    .ufc-participant-grid {
        grid-template-columns: 1fr;
    }

    .ufc-participant-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .fighter-library-visual,
    .ufc-participant-visual,
    .fighter-library-visual img,
    .ufc-participant-visual img {
        min-height: 190px;
    }

    .fighter-library-card-head,
    .ufc-assigned-fighter-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

.user-ufc-card,
.user-ufc-profile-card {
    border-color: rgba(213, 34, 53, 0.28);
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.12), rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.26);
}

.user-ufc-card .btn-primary,
.user-ufc-profile-card .btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.user-ufc-photo {
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.36), rgba(29, 117, 255, 0.25)),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.user-ufc-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.user-ufc-large-stats {
    margin-top: 18px;
}

.user-ufc-large-stats div {
    flex: 1 1 130px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-ufc-large-stats span,
.user-ufc-large-stats strong {
    display: block;
}

.user-ufc-large-stats span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.user-ufc-large-stats strong {
    margin-top: 6px;
    color: var(--gold);
    font-size: 32px;
    line-height: 1;
}

.ufc-user-champion-box {
    border-color: rgba(242, 200, 107, 0.48);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.2), rgba(213, 34, 53, 0.08)),
        rgba(0, 0, 0, 0.28);
}

.ufc-user-ranking-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ufc-user-ranking-card {
    display: grid;
    grid-template-columns: auto 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.ufc-user-ranking-card.current-user-row {
    border-color: rgba(242, 200, 107, 0.42);
    background: rgba(242, 200, 107, 0.1);
}

.ufc-user-ranking-card.is-champion {
    border-color: rgba(242, 200, 107, 0.46);
}

.ufc-user-rank {
    min-width: 48px;
}

.ufc-user-rank strong {
    color: var(--gold);
    font-size: 20px;
}

.ufc-user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 13px;
    font-weight: 1000;
}

.ufc-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ufc-user-fighter-info strong,
.ufc-user-fighter-info span {
    display: block;
}

.ufc-user-fighter-info strong {
    font-size: 18px;
}

.ufc-user-fighter-info span {
    margin-top: 5px;
    color: var(--muted);
}

@media (min-width: 760px) {
    .ufc-admin-champion-card {
        grid-template-columns: 300px 1fr;
        align-items: center;
    }

    .ufc-admin-fighter-head {
        grid-template-columns: 180px 1fr;
        align-items: center;
    }

    .ufc-admin-form {
        grid-template-columns: repeat(4, minmax(110px, 1fr)) 150px;
        align-items: end;
    }
}

@media (max-width: 720px) {
    .ufc-user-ranking-card {
        grid-template-columns: auto 64px 1fr;
    }

    .ufc-user-stat-line {
        grid-column: 1 / -1;
    }
}

@media (max-width: 440px) {
    .ufc-user-ranking-card {
        grid-template-columns: 1fr;
    }

    .ufc-user-avatar {
        width: 100%;
        height: 180px;
    }
}

.schema-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    color: var(--muted);
    background: rgba(242, 200, 107, 0.08);
    border: 1px solid rgba(242, 200, 107, 0.24);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.ufc-card-admin-form,
.ufc-card-edit-form,
.ufc-result-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ufc-card-admin-form label,
.ufc-result-form label {
    margin-bottom: 0;
}

.ufc-card-admin-form input,
.ufc-card-admin-form select,
.ufc-card-edit-form input,
.ufc-card-edit-form select,
.ufc-result-form select {
    margin-top: 8px;
    margin-bottom: 0;
}

.ufc-card-list-grid,
.ufc-card-fight-grid,
.ufc-user-fight-list,
.ufc-result-fight-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ufc-card-summary,
.ufc-card-detail-hero,
.ufc-card-fight,
.ufc-result-selected-card,
.ufc-user-fight-card {
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.11), rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
}

.ufc-card-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
}

.ufc-card-summary.is-selected {
    border-color: rgba(242, 200, 107, 0.42);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.13), rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.28);
}

.ufc-card-summary h3 {
    margin: 14px 0 8px;
    font-size: 24px;
}

.ufc-card-summary p {
    margin-bottom: 0;
    color: var(--muted);
}

.ufc-card-summary-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ufc-card-summary-stats span,
.ufc-card-fight-head small,
.ufc-user-fight-meta span {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
}

.ufc-card-detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
    padding: 24px;
    border-radius: 30px;
    border-color: rgba(242, 200, 107, 0.32);
}

.ufc-card-detail-hero h2 {
    margin: 18px 0 10px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1;
    letter-spacing: 0;
}

.ufc-card-detail-hero p {
    color: var(--muted);
    margin-bottom: 0;
}

.ufc-card-section {
    margin-top: 22px;
}

.ufc-card-section h3 {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 14px;
}

.ufc-card-fight,
.ufc-result-selected-card,
.ufc-user-fight-card {
    padding: 18px;
    border-radius: 24px;
}

.ufc-card-fight.main-event {
    padding: 22px;
    border-color: rgba(213, 34, 53, 0.38);
}

.ufc-card-fight.title-fight,
.ufc-result-selected-card.title-fight,
.ufc-user-fight-card.title-fight {
    border-color: rgba(242, 200, 107, 0.48);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(213, 34, 53, 0.08)),
        rgba(0, 0, 0, 0.28);
}

.ufc-card-fight-head,
.ufc-user-fight-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ufc-fight-type-pill,
.ufc-user-fight-top span {
    width: fit-content;
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.12);
    border: 1px solid rgba(242, 200, 107, 0.32);
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
}

.ufc-fight-versus {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

.ufc-fight-versus em {
    min-width: 58px;
    min-height: 46px;
    display: grid;
    place-items: center;
    justify-self: center;
    padding: 10px 12px;
    border-radius: 999px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-style: normal;
    font-weight: 1000;
}

.ufc-fight-corner {
    min-height: 210px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.ufc-fight-corner.red-corner {
    border-color: rgba(213, 34, 53, 0.32);
}

.ufc-fight-corner.blue-corner {
    border-color: rgba(29, 117, 255, 0.34);
}

.ufc-fight-corner.winner-corner {
    border-color: rgba(47, 190, 84, 0.42);
    background: rgba(47, 190, 84, 0.1);
}

.ufc-fight-photo {
    width: 100%;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.34), rgba(29, 117, 255, 0.28)),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 18px;
    font-weight: 1000;
    margin-bottom: 12px;
}

.ufc-fight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ufc-publish-control-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 18px;
    align-items: start;
}

.ufc-publish-control-card {
    height: 100%;
}

.ufc-publish-selector-form,
.ufc-publish-event-form,
.ufc-publish-add-form,
.ufc-publish-filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ufc-publish-selector-form {
    margin-bottom: 16px;
}

.ufc-publish-event-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
}

.ufc-publish-add-form {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
}

.ufc-publish-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
}

.ufc-season-only-card {
    border-color: rgba(242, 200, 107, 0.28);
    padding-top: 18px;
    padding-bottom: 18px;
}

.ufc-season-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
    gap: 16px;
    align-items: end;
}

.ufc-season-topbar h1 {
    margin: 6px 0 0;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.05;
    letter-spacing: 0;
}

.ufc-season-compact-form label {
    margin-bottom: 0;
}

.ufc-season-summary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ufc-season-summary-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
}

.ufc-season-summary-badges b {
    color: var(--gold);
}

.ufc-filter-panel {
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.08), rgba(29, 117, 255, 0.06)),
        rgba(0, 0, 0, 0.26);
    padding-top: 18px;
    padding-bottom: 18px;
}

.ufc-filter-details summary {
    cursor: pointer;
    color: var(--gold);
    font-size: 16px;
    font-weight: 1000;
}

.ufc-filter-details .ufc-publish-filter-form {
    margin-top: 14px;
}

.ufc-publish-note-field {
    grid-column: span 3;
}

.ufc-publish-add-form > .btn {
    min-height: 48px;
}

.ufc-publish-note-field textarea,
.ufc-inline-result-note textarea {
    margin-top: 8px;
    margin-bottom: 0;
}

.ufc-publish-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.ufc-publish-board {
    overflow: hidden;
}

.ufc-publish-section {
    margin-top: 16px;
}

.ufc-publish-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ufc-publish-section-head h3 {
    margin: 0;
    color: var(--gold);
    font-size: clamp(20px, 3vw, 28px);
}

.ufc-publish-section-head.compact {
    margin-bottom: 12px;
}

.ufc-publish-main-grid,
.ufc-publish-normal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ufc-publish-normal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ufc-match-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: thin;
}

.ufc-match-tabs a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 13px;
    font-weight: 1000;
}

.ufc-match-tabs a.is-active {
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: rgba(242, 200, 107, 0.55);
}

.ufc-match-tabs b {
    min-width: 24px;
    min-height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.26);
}

.ufc-match-tabs a.is-active b {
    color: #0b0b0b;
    background: rgba(255, 255, 255, 0.26);
}

.ufc-publish-fight-card {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.11), rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
}

.ufc-publish-fight-card.title-fight-feature {
    padding: clamp(16px, 3vw, 24px);
    border-color: rgba(242, 200, 107, 0.58);
    background:
        radial-gradient(circle at 50% 0%, rgba(242, 200, 107, 0.22), transparent 42%),
        linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(213, 34, 53, 0.12)),
        rgba(0, 0, 0, 0.32);
}

.ufc-publish-fight-card.main-event-feature,
.ufc-publish-fight-card.co-main-feature {
    border-color: rgba(213, 34, 53, 0.36);
}

.ufc-publish-fight-card.co-main-feature {
    border-color: rgba(29, 117, 255, 0.34);
}

.ufc-publish-fight-card.normal-fight-card {
    padding: 12px;
    border-radius: 18px;
}

.ufc-publish-fight-head,
.ufc-title-fight-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ufc-fight-date-chip {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
}

.ufc-fight-date-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ufc-fight-date-line span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.ufc-fight-date-line strong {
    color: var(--gold);
    font-size: 13px;
}

.ufc-title-fight-ribbon {
    justify-content: flex-start;
    padding: 10px;
    border-radius: 16px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border: 1px solid rgba(242, 200, 107, 0.28);
}

.ufc-publish-versus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.ufc-publish-versus em {
    min-width: 52px;
    min-height: 52px;
    display: grid;
    place-items: center;
    align-self: center;
    border-radius: 999px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-style: normal;
    font-weight: 1000;
    box-shadow: 0 18px 42px rgba(242, 200, 107, 0.18);
}

.ufc-publish-corner {
    min-width: 0;
    padding: 11px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.ufc-publish-corner.red-corner {
    border-color: rgba(213, 34, 53, 0.38);
}

.ufc-publish-corner.blue-corner {
    border-color: rgba(29, 117, 255, 0.38);
}

.ufc-publish-corner.winner-corner {
    border-color: rgba(47, 190, 84, 0.5);
    background: rgba(47, 190, 84, 0.1);
}

.ufc-publish-corner strong,
.ufc-publish-corner span {
    display: block;
}

.ufc-publish-corner strong {
    font-size: clamp(17px, 3vw, 24px);
    line-height: 1.05;
}

.ufc-publish-corner span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.ufc-publish-photo {
    width: 100%;
    height: 168px;
    margin-bottom: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    color: #0b0b0b;
    background:
        linear-gradient(135deg, rgba(213, 34, 53, 0.34), rgba(29, 117, 255, 0.28)),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 18px;
    font-weight: 1000;
}

.title-fight-feature .ufc-publish-photo,
.main-event-feature .ufc-publish-photo,
.co-main-feature .ufc-publish-photo {
    height: clamp(190px, 24vw, 260px);
    align-items: center;
    padding: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 48%),
        linear-gradient(135deg, rgba(213, 34, 53, 0.28), rgba(29, 117, 255, 0.24)),
        rgba(0, 0, 0, 0.32);
}

.normal-fight-card .ufc-publish-photo {
    height: 104px;
}

.ufc-publish-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.title-fight-feature .ufc-publish-photo img,
.main-event-feature .ufc-publish-photo img,
.co-main-feature .ufc-publish-photo img {
    object-fit: contain;
    object-position: center bottom;
}

.main-event-feature .ufc-publish-corner,
.co-main-feature .ufc-publish-corner {
    display: flex;
    flex-direction: column;
}

.ufc-fight-note {
    margin-top: 14px;
    padding: 12px;
    border-radius: 16px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.ufc-publish-status-actions {
    margin-top: 10px;
}

.ufc-inline-result {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ufc-inline-result summary {
    cursor: pointer;
    color: var(--gold);
    font-weight: 1000;
}

.ufc-inline-result .ufc-result-form {
    margin-top: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
}

.ufc-inline-result-note {
    grid-column: span 4;
}

@media (max-width: 980px) {
    .ufc-publish-control-grid,
    .ufc-publish-event-form,
    .ufc-publish-add-form,
    .ufc-publish-filter-form,
    .ufc-inline-result .ufc-result-form,
    .ufc-publish-normal-grid {
        grid-template-columns: 1fr;
    }

    .ufc-publish-note-field,
    .ufc-inline-result-note {
        grid-column: auto;
    }

    .ufc-publish-versus {
        grid-template-columns: 1fr;
    }

    .ufc-publish-versus em {
        min-height: 48px;
    }
}

@media (max-width: 560px) {
    .ufc-publish-quick-actions {
        grid-template-columns: 1fr;
    }

    .ufc-publish-photo,
    .title-fight-feature .ufc-publish-photo,
    .main-event-feature .ufc-publish-photo,
    .co-main-feature .ufc-publish-photo,
    .normal-fight-card .ufc-publish-photo {
        height: 190px;
    }

    .ufc-publish-fight-card {
        padding: 14px;
    }
}

.ufc-fight-corner strong,
.ufc-fight-corner span {
    display: block;
}

.ufc-fight-corner strong {
    font-size: 20px;
}

.ufc-fight-corner span {
    margin-top: 5px;
    color: var(--muted);
}

.ufc-card-fight-actions,
.ufc-user-fight-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.ufc-card-fight-actions > span {
    padding: 10px 12px;
    border-radius: 999px;
    color: #bdf7c5;
    background: rgba(47, 190, 84, 0.13);
    border: 1px solid rgba(47, 190, 84, 0.3);
    font-size: 13px;
    font-weight: 900;
}

.ufc-card-fight-actions .btn {
    max-width: 180px;
}

.ufc-result-fight-link {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.ufc-result-fight-link.is-selected {
    border-color: rgba(242, 200, 107, 0.42);
    background: rgba(242, 200, 107, 0.1);
}

.ufc-result-fight-link span,
.ufc-result-fight-link small {
    color: var(--muted);
}

.ufc-result-fight-link strong {
    font-size: 18px;
}

.ufc-user-fight-card.is-own-fight {
    border-color: rgba(242, 200, 107, 0.4);
}

.ufc-user-fight-card.is-win {
    border-color: rgba(47, 190, 84, 0.42);
}

.ufc-user-fight-card.is-loss {
    opacity: 0.86;
}

.ufc-user-fight-top b {
    color: var(--muted);
}

@media (min-width: 760px) {
    .ufc-card-admin-form {
        grid-template-columns: 1fr 1.4fr 180px 180px 170px;
        align-items: end;
    }

    .ufc-card-edit-form,
    .ufc-result-form {
        grid-template-columns: 1.3fr 180px 180px 170px;
        align-items: end;
    }

    .ufc-card-detail-hero {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .ufc-card-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ufc-fight-versus {
        grid-template-columns: 1fr auto 1fr;
    }

    .ufc-fight-corner.blue-corner {
        text-align: right;
    }
}

@media (min-width: 1120px) {
    .ufc-card-fight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ufc-card-fight-actions .btn {
        max-width: none;
    }

    .ufc-fight-corner {
        min-height: auto;
    }
}

/* Account pages, delete actions and UFC ranking layout fixes */
.account-settings-page {
    display: grid;
    gap: 18px;
}

.account-settings-card {
    max-width: 860px;
    margin-inline: auto;
    width: 100%;
}

.account-settings-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-settings-form label,
.account-settings-form input {
    min-width: 0;
}

.account-settings-submit {
    grid-column: 1 / -1;
}

.season-compact-action,
.user-actions,
.ufc-admin-actions,
.ufc-publish-status-actions {
    display: grid;
    gap: 10px;
    align-content: start;
}

.season-delete-form,
.ufc-delete-fight-form,
.user-actions form {
    width: 100%;
    min-width: 0;
}

.ufc-delete-fight-form {
    margin-top: 12px;
}

.ufc-admin-fighter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 18px;
    align-items: stretch;
}

.ufc-admin-fighter-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    overflow: visible;
}

.ufc-admin-fighter-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.ufc-admin-fighter-head .ufc-admin-photo {
    width: 92px;
    height: 112px;
    min-width: 92px;
    aspect-ratio: auto;
    border-radius: 18px;
}

.ufc-admin-title-row {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ufc-admin-fighter-card h3,
.ufc-admin-champion-card h2 {
    margin: 8px 0 6px;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.ufc-admin-fighter-card .fighter-meta,
.ufc-admin-champion-card .fighter-meta {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
}

.ufc-admin-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 12px;
    margin-top: auto;
    min-width: 0;
}

.ufc-admin-form label,
.ufc-admin-form input,
.ufc-admin-form button {
    min-width: 0;
    width: 100%;
}

.ufc-admin-form .btn {
    grid-column: 1 / -1;
}

.ufc-admin-actions form {
    width: 100%;
}

.ufc-admin-champion-card {
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    overflow: visible;
}

.ufc-admin-champion-card .ufc-admin-photo {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 4 / 5;
}

.ufc-admin-stat-row {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

@media (max-width: 760px) {
    .account-settings-form,
    .ufc-admin-champion-card,
    .ufc-admin-fighter-head {
        grid-template-columns: 1fr;
    }

    .ufc-admin-fighter-head .ufc-admin-photo {
        width: 132px;
        height: 158px;
    }

    .ufc-admin-champion-card .ufc-admin-photo {
        max-width: 180px;
    }
}

.premium-home-header .home-logo-image {
    width: 58px;
    height: 58px;
    padding: 4px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
        rgba(0, 0, 0, 0.24);
}

.premium-home-header .home-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    .premium-home-header .home-logo-image {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }
}

/* Karma Arena home data sections */
.home-league-detail {
    margin-top: 22px;
    padding: clamp(20px, 4vw, 30px);
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045)),
        rgba(8, 12, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.home-fifa-detail {
    position: relative;
    border-color: rgba(29, 117, 255, 0.26);
    background:
        linear-gradient(145deg, rgba(5, 8, 18, 0.92), rgba(5, 8, 18, 0.72)),
        url("../images/bg-fifa-silhouette.png") right center / contain no-repeat,
        linear-gradient(135deg, rgba(29, 117, 255, 0.13), rgba(242, 200, 107, 0.06)),
        rgba(8, 12, 24, 0.76);
}

.home-ufc-detail {
    position: relative;
    border-color: rgba(213, 34, 53, 0.28);
    background:
        linear-gradient(145deg, rgba(5, 8, 18, 0.94), rgba(5, 8, 18, 0.72)),
        url("../images/bg-ufc-silhouette.png") right center / contain no-repeat,
        linear-gradient(135deg, rgba(213, 34, 53, 0.13), rgba(29, 117, 255, 0.09)),
        rgba(8, 12, 24, 0.76);
}

.home-fifa-detail::before,
.home-ufc-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 26%, rgba(242, 200, 107, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(5, 8, 18, 0.12), rgba(5, 8, 18, 0.68));
    pointer-events: none;
}

.home-fifa-detail > *,
.home-ufc-detail > * {
    position: relative;
    z-index: 1;
}

.home-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: end;
    margin-bottom: 24px;
}

.home-league-logo-wrap {
    width: min(260px, 72vw);
    min-height: 86px;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.home-league-logo-wrap img {
    max-width: 100%;
    max-height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.home-section-head h2 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 0.95;
    letter-spacing: 0;
}

.home-section-head p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.62;
    margin-bottom: 0;
}

.home-detail-numbers {
    margin: 0;
}

.home-slider-block {
    margin-top: 24px;
}

.home-slider-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.home-slider-title h3 {
    margin: 0;
    color: var(--gold);
    font-size: 24px;
}

.home-slider-title span {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
}

.home-horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 360px);
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding: 2px 2px 12px;
    scrollbar-color: rgba(242, 200, 107, 0.42) rgba(255, 255, 255, 0.06);
}

.home-horizontal-scroll > * {
    scroll-snap-align: start;
}

.home-group-card,
.home-fixture-card,
.home-ufc-event-card,
.home-champion-showcase {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045)),
        rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.07);
}

.home-group-card::before,
.home-fixture-card::before,
.home-ufc-event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
}

.home-group-card::before,
.home-fixture-card::before {
    background:
        linear-gradient(to right, transparent 49%, rgba(255,255,255,0.1) 49% 51%, transparent 51%),
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: auto, 30px 30px, 30px 30px;
}

.home-ufc-event-card::before {
    background:
        radial-gradient(circle at 0% 0%, rgba(213, 34, 53, 0.18), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(29, 117, 255, 0.16), transparent 34%);
}

.home-group-card > *,
.home-fixture-card > *,
.home-ufc-event-card > * {
    position: relative;
    z-index: 1;
}

.home-group-card span,
.home-fixture-card span,
.home-ufc-event-card span {
    display: inline-flex;
    width: fit-content;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.12);
    border: 1px solid rgba(242, 200, 107, 0.3);
    font-size: 12px;
    font-weight: 1000;
}

.home-group-card h4,
.home-fixture-card h4,
.home-ufc-event-card h4 {
    margin: 16px 0 10px;
    font-size: 23px;
    line-height: 1.08;
}

.home-group-card p,
.home-fixture-card p,
.home-ufc-event-card p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 0;
}

.home-group-player-list {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.home-group-player-list div {
    padding: 11px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.home-group-player-list strong,
.home-group-player-list small {
    display: block;
}

.home-group-player-list small {
    color: var(--muted);
    margin-top: 4px;
}

.home-fixture-meta,
.home-fight-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.home-fixture-meta b,
.home-fixture-meta small,
.home-fight-badges b,
.home-fight-badges small {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.home-fixture-meta b,
.home-fight-badges b {
    color: var(--gold);
}

.home-scoreline {
    width: fit-content;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 16px;
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 20px;
    font-weight: 1000;
}

.home-ufc-feature {
    margin-top: 4px;
}

.home-champion-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    border-color: rgba(242, 200, 107, 0.42);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(213, 34, 53, 0.08)),
        rgba(0, 0, 0, 0.26);
}

.home-champion-photo {
    min-height: 230px;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.32), rgba(29, 117, 255, 0.18)),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 64px;
    font-weight: 1000;
}

.home-champion-photo img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    display: block;
}

.home-champion-showcase h3 {
    margin: 16px 0 10px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 0.98;
}

.home-champion-showcase p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.home-ufc-event-card {
    border-color: rgba(213, 34, 53, 0.28);
}

.home-ufc-event-card.title-fight {
    border-color: rgba(242, 200, 107, 0.48);
}

@media (min-width: 860px) {
    .home-section-head {
        grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.75fr);
    }

    .home-champion-showcase {
        grid-template-columns: 280px 1fr;
        align-items: center;
    }
}

@media (min-width: 1120px) {
    .home-horizontal-scroll {
        grid-auto-columns: minmax(320px, 400px);
    }
}

@media (max-width: 560px) {
    .home-league-detail {
        padding: 18px;
        border-radius: 26px;
        background-size: auto, 82% auto, 82% auto, auto, auto;
        background-position: right top, right top, right top, center, center;
    }

    .home-horizontal-scroll {
        grid-auto-columns: minmax(252px, 86vw);
    }

    .home-group-card,
    .home-fixture-card,
    .home-ufc-event-card {
        min-height: 210px;
    }

    .home-champion-photo {
        min-height: 200px;
    }

    .home-league-logo-wrap {
        width: min(210px, 72vw);
        min-height: 70px;
    }

    .home-league-logo-wrap img {
        max-height: 90px;
    }

    .home-hero-brand-mark {
        width: min(190px, 68vw);
        min-height: 68px;
    }

    .home-hero-brand-mark img {
        max-height: 96px;
    }
}

/* Home page premium layout */
.home-shell {
    padding-top: 18px;
}

.premium-home-header {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 22px;
    padding: 12px;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.34);
    position: sticky;
    top: 12px;
    z-index: 20;
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f4d174, #b98225);
    color: #080808;
    font-weight: 1000;
    box-shadow: 0 10px 30px rgba(242,200,107,0.18);
}

.home-logo-image {
    width: 58px;
    height: 58px;
    padding: 4px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
        rgba(0, 0, 0, 0.24);
}

.home-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-brand strong,
.home-brand span {
    display: block;
}

.home-brand strong {
    font-size: 15px;
    letter-spacing: 0.4px;
}

.home-brand span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.home-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.home-header-actions a {
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 1000;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.07);
}

.home-header-actions a.primary {
    color: #111;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.45fr 0.95fr;
    gap: 22px;
    align-items: stretch;
}

.home-hero-main,
.home-hero-side,
.home-league-card,
.home-feature-card,
.home-process-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 30px 90px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
}

.home-hero-main {
    min-height: 560px;
    padding: 36px;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(242,200,107,0.20), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(29,117,255,0.18), transparent 28%),
        linear-gradient(120deg, rgba(0,0,0,0.25), transparent);
    pointer-events: none;
}

.home-hero-main::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    right: -170px;
    bottom: -210px;
    background:
        radial-gradient(circle, rgba(242,200,107,0.18), transparent 58%);
    border: 1px solid rgba(242,200,107,0.1);
}

.home-hero-inner {
    position: relative;
    z-index: 2;
}

.home-hero-brand-mark {
    width: min(240px, 62vw);
    min-height: 86px;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.home-hero-brand-mark img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.48));
}

.home-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(242,200,107,0.12);
    border: 1px solid rgba(242,200,107,0.42);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1.2px;
}

.home-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #37e86b;
    box-shadow: 0 0 16px rgba(55,232,107,0.9);
}

.home-hero-main h1 {
    margin: 22px 0 18px;
    font-size: 92px;
    line-height: 0.86;
    letter-spacing: 0;
}

.home-hero-main p {
    max-width: 760px;
    color: rgba(255,255,255,0.76);
    font-size: 19px;
    line-height: 1.65;
}

.home-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.home-hero-actions .btn {
    min-width: 210px;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.home-stat {
    padding: 18px;
    border-radius: 22px;
    background: rgba(0,0,0,0.23);
    border: 1px solid rgba(255,255,255,0.10);
}

.home-stat strong {
    display: block;
    font-size: 38px;
    color: var(--gold);
    line-height: 1;
}

.home-stat span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.home-hero-side {
    border-radius: 36px;
    padding: 26px;
    min-height: 560px;
    background:
        radial-gradient(circle at 70% 15%, rgba(242,200,107,0.20), transparent 30%),
        radial-gradient(circle at 30% 90%, rgba(29,117,255,0.24), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.10), rgba(15,29,57,0.76));
}

.arena-poster {
    height: 100%;
    min-height: 500px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.15)),
        radial-gradient(circle at 50% 10%, rgba(255,255,255,0.16), transparent 25%),
        linear-gradient(135deg, rgba(242,200,107,0.16), rgba(29,117,255,0.20));
    border: 1px solid rgba(255,255,255,0.14);
}

.stadium-lights {
    position: absolute;
    inset: 0;
    opacity: 0.85;
}

.stadium-lights i {
    position: absolute;
    top: 28px;
    width: 90px;
    height: 180px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.24), transparent);
    clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
    filter: blur(1px);
}

.stadium-lights i:nth-child(1) {
    left: 18px;
    transform: rotate(18deg);
}

.stadium-lights i:nth-child(2) {
    left: 50%;
    transform: translateX(-50%);
}

.stadium-lights i:nth-child(3) {
    right: 18px;
    transform: rotate(-18deg);
}

.poster-ball {
    position: absolute;
    right: 34px;
    top: 110px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 54px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.poster-belt {
    position: absolute;
    left: 28px;
    top: 230px;
    display: flex;
    align-items: center;
    transform: rotate(-6deg);
}

.poster-belt .belt-wing {
    width: 66px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(145deg, #f5d37c, #b97a1f);
    box-shadow: inset 0 2px 12px rgba(255,255,255,0.25);
}

.poster-belt .belt-center-piece {
    width: 164px;
    height: 74px;
    margin: 0 -8px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), transparent 25%),
        linear-gradient(145deg, #f8d981, #bd8126);
    box-shadow: 0 18px 50px rgba(0,0,0,0.38);
    font-size: 38px;
    font-weight: 1000;
}

.arena-poster-content {
    position: relative;
    z-index: 2;
}

.arena-poster-content span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1.2px;
    font-weight: 1000;
}

.arena-poster-content h3 {
    font-size: 48px;
    line-height: 0.95;
    margin: 14px 0 12px;
}

.arena-poster-content p {
    color: var(--muted);
    line-height: 1.55;
}

.home-leagues {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.home-league-card {
    min-height: 620px;
    border-radius: 36px;
    padding: 28px;
}

.home-league-card.fifa-premium {
    border-color: rgba(29,117,255,0.38);
    background:
        radial-gradient(circle at 90% 0%, rgba(29,117,255,0.36), transparent 30%),
        linear-gradient(145deg, rgba(255,255,255,0.09), rgba(10,15,29,0.72));
}

.home-league-card.ufc-premium {
    border-color: rgba(242,200,107,0.38);
    background:
        radial-gradient(circle at 92% 0%, rgba(213,34,53,0.30), transparent 30%),
        linear-gradient(145deg, rgba(255,255,255,0.09), rgba(10,15,29,0.76));
}

.league-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.home-status {
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 1000;
    color: #bdf7c5;
    background: rgba(47,190,84,0.14);
    border: 1px solid rgba(47,190,84,0.35);
    white-space: nowrap;
}

.home-status.gold {
    color: var(--gold);
    background: rgba(242,200,107,0.14);
    border-color: rgba(242,200,107,0.35);
}

.league-graphic {
    position: relative;
    height: 210px;
    border-radius: 28px;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

.fifa-scene {
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.08), transparent 45%),
        radial-gradient(circle at 28% 38%, rgba(255,255,255,0.20), transparent 16%),
        linear-gradient(135deg, rgba(29,117,255,0.40), rgba(4,10,24,0.35)),
        #0a1428;
}

.fifa-pitch {
    position: absolute;
    inset: 26px;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 22px;
}

.fifa-pitch::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255,255,255,0.14);
}

.fifa-pitch::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255,255,255,0.16);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fifa-big-ball {
    position: absolute;
    left: 34px;
    top: 42px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 44px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 22px 60px rgba(0,0,0,0.32);
}

.fifa-card-lines {
    position: absolute;
    right: 32px;
    bottom: 34px;
    display: grid;
    gap: 10px;
}

.fifa-card-lines i {
    display: block;
    width: 190px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
}

.fifa-card-lines i:nth-child(2) {
    width: 140px;
    margin-left: auto;
}

.fifa-card-lines i:nth-child(3) {
    width: 90px;
    margin-left: auto;
    background: rgba(242,200,107,0.62);
}

.ufc-scene {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(242,200,107,0.18), transparent 24%),
        linear-gradient(90deg, rgba(96,13,24,0.75), rgba(9,14,26,0.30), rgba(13,47,120,0.72)),
        #111827;
}

.ufc-octagon {
    position: absolute;
    inset: 24px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    border: 2px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.16);
}

.premium-belt {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 22px 35px rgba(0,0,0,0.35));
}

.premium-belt .belt-side {
    width: 84px;
    height: 58px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), transparent 22%),
        linear-gradient(145deg, #f6d77c, #a56a19);
    border: 1px solid rgba(255,255,255,0.22);
}

.premium-belt .belt-main {
    width: 230px;
    height: 96px;
    margin: 0 -10px;
    border-radius: 34px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #090909;
    background:
        radial-gradient(circle at 32% 18%, rgba(255,255,255,0.65), transparent 24%),
        linear-gradient(145deg, #f9dc85, #b77922);
    border: 1px solid rgba(255,255,255,0.28);
}

.premium-belt .belt-main small {
    display: block;
    font-size: 11px;
    letter-spacing: 1.8px;
    font-weight: 1000;
}

.premium-belt .belt-main strong {
    display: block;
    font-size: 58px;
    line-height: 1;
    font-weight: 1000;
}

.home-league-card h2 {
    position: relative;
    z-index: 2;
    font-size: 56px;
    line-height: 0.95;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.home-league-card p {
    position: relative;
    z-index: 2;
    color: var(--muted);
    line-height: 1.62;
    font-size: 16px;
}

.league-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.league-numbers div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.10);
    text-align: center;
}

.league-numbers strong {
    display: block;
    color: var(--gold);
    font-size: 26px;
    line-height: 1;
}

.league-numbers span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.champion-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    margin: 22px 0;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(242,200,107,0.24);
}

.champion-mini-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #f5d477, #bc8126);
    color: #111;
    font-size: 25px;
}

.champion-mini small,
.champion-mini strong {
    display: block;
}

.champion-mini small {
    color: var(--muted);
    margin-bottom: 4px;
}

.champion-mini strong {
    font-size: 22px;
}

.home-features {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-feature-card {
    border-radius: 28px;
    padding: 22px;
}

.home-feature-card span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--gold);
    background: rgba(242,200,107,0.12);
    border: 1px solid rgba(242,200,107,0.32);
    font-weight: 1000;
    margin-bottom: 18px;
}

.home-feature-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.home-feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.home-footer {
    margin: 26px auto 32px;
    max-width: 1320px;
    padding: 22px;
    border-radius: 28px;
    text-align: center;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.13);
    backdrop-filter: blur(18px);
}

.home-footer strong {
    color: var(--gold);
    letter-spacing: 1px;
}

.home-footer p {
    margin: 6px 0 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .home-hero,
    .home-leagues,
    .home-features {
        grid-template-columns: 1fr;
    }

    .home-hero-side {
        min-height: auto;
    }

    .arena-poster {
        min-height: 420px;
    }

    .home-hero-main h1 {
        font-size: 72px;
    }

    .home-league-card h2 {
        font-size: 46px;
    }
}

@media (max-width: 640px) {
    .home-shell {
        padding-top: 10px;
    }

    .premium-home-header {
        width: calc(100% - 24px);
        border-radius: 20px;
    }

    .home-logo {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .home-brand span {
        display: none;
    }

    .home-header-actions {
        gap: 6px;
    }

    .home-header-actions a {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .home-hero-main,
    .home-hero-side,
    .home-league-card,
    .home-feature-card {
        border-radius: 26px;
    }

    .home-hero-main {
        min-height: auto;
        padding: 24px;
    }

    .home-hero-main h1 {
        font-size: 48px;
    }

    .home-hero-main p {
        font-size: 16px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero-actions .btn {
        min-width: auto;
    }

    .home-stats,
    .league-numbers {
        grid-template-columns: 1fr;
    }

    .league-graphic {
        height: 170px;
    }

    .premium-belt .belt-main {
        width: 170px;
        height: 78px;
    }

    .premium-belt .belt-side {
        width: 48px;
        height: 42px;
    }

    .fifa-card-lines i {
        width: 120px;
    }

    .home-league-card {
        min-height: auto;
        padding: 22px;
    }

    .home-league-card h2 {
        font-size: 34px;
    }
}

/* Premium refresh: global visual system */
:root {
    --surface: rgba(8, 12, 24, 0.72);
    --surface-strong: rgba(8, 12, 24, 0.92);
    --line: rgba(255, 255, 255, 0.12);
    --soft-line: rgba(255, 255, 255, 0.08);
    --gold-soft: rgba(242, 200, 107, 0.14);
    --green: #37d96b;
    --blue-soft: rgba(29, 117, 255, 0.18);
    --red-soft: rgba(213, 34, 53, 0.18);
}

body {
    overflow-x: hidden;
    text-rendering: geometricPrecision;
}

.site-bg {
    background:
        linear-gradient(180deg, rgba(5, 8, 18, 0.72), rgba(5, 8, 18, 0.95)),
        radial-gradient(circle at 18% 0%, rgba(242, 200, 107, 0.2), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(29, 117, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #050812, #080d1b 45%, #050812);
}

.site-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(242, 200, 107, 0.08) 38% 39%, transparent 39% 100%),
        linear-gradient(65deg, transparent 0 58%, rgba(29, 117, 255, 0.08) 58% 59%, transparent 59% 100%);
    opacity: 0.8;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
}

.mobile-header,
.premium-home-header {
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.045)),
        rgba(5, 8, 18, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.brand-logo,
.home-logo {
    background:
        url("../images/logo-eserkent-arena.png") center / cover no-repeat,
        linear-gradient(135deg, #f8df96, #bd8428);
    box-shadow: 0 14px 34px rgba(242, 200, 107, 0.18);
}

.admin-hero,
.hero-content,
.admin-login-card,
.admin-panel-card,
.league-card,
.preview-card,
.application-admin-card,
.user-card,
.score-match-card,
.match-card,
.standing-card,
.user-fifa-card,
.user-fc-profile-card,
.user-registration-card,
.user-champion-box,
.ufc-admin-champion-card,
.ufc-admin-fighter-card,
.ufc-card-summary,
.ufc-card-detail-hero,
.ufc-card-fight,
.ufc-result-selected-card,
.ufc-user-fight-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)),
        var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.admin-hero {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    padding: clamp(26px, 5vw, 44px);
    border-radius: 34px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(242, 200, 107, 0.16), transparent 38%),
        linear-gradient(260deg, rgba(29, 117, 255, 0.13), transparent 42%);
    pointer-events: none;
}

.admin-hero::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 20px;
    width: min(42vw, 420px);
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 28px;
    background:
        linear-gradient(to right, transparent 49%, rgba(255,255,255,0.14) 49% 51%, transparent 51%),
        linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px),
        rgba(0, 0, 0, 0.12);
    background-size: auto, 36px 36px, 36px 36px, auto;
    opacity: 0.36;
    pointer-events: none;
}

.admin-hero > * {
    position: relative;
    z-index: 1;
}

.admin-hero h1 {
    font-size: clamp(42px, 8vw, 88px);
    letter-spacing: 0;
}

.admin-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.76);
    font-size: 17px;
    line-height: 1.65;
}

.section-title h2 {
    letter-spacing: 0;
}

.eyebrow,
.league-tag,
.home-kicker {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn,
.header-login,
.home-header-actions a {
    border-radius: 16px;
    letter-spacing: 0;
}

.btn-primary,
.btn-full:not(.btn-dark):not(.btn-danger) {
    border: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), transparent 26%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 14px 36px rgba(242, 200, 107, 0.18);
}

.btn-dark,
.header-login,
.home-header-actions a:not(.primary) {
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

input,
select,
textarea {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(5, 8, 18, 0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(242, 200, 107, 0.52);
    box-shadow: 0 0 0 3px rgba(242, 200, 107, 0.12);
}

.alert,
.empty-box,
.played-note,
.schema-note {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.empty-box {
    position: relative;
    padding: 20px;
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(242, 200, 107, 0.08), transparent),
        rgba(0, 0, 0, 0.22);
}

.status-pill,
.league-status,
.home-status,
.played-note {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
}

.admin-stat-grid,
.league-grid,
.group-grid,
.preview-grid,
.admin-menu-grid,
.user-fifa-card-grid,
.user-registration-list,
.ufc-card-list-grid {
    align-items: stretch;
}

.admin-stat-card,
.admin-menu-item,
.home-feature-card,
.home-stat,
.league-numbers div,
.user-info-grid div,
.user-ufc-large-stats div {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.04)),
        rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.admin-menu-item {
    min-height: 180px;
}

.admin-menu-item span,
.home-feature-card span,
.step-card span {
    box-shadow: 0 12px 30px rgba(242, 200, 107, 0.12);
}

.user-list,
.application-admin-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.application-admin-card,
.user-card {
    border-radius: 26px;
}

.application-admin-image,
.application-image-box,
.user-fifa-photo,
.user-fc-profile-image,
.ufc-admin-photo {
    background:
        url("../images/login-visual.png") center / cover no-repeat,
        linear-gradient(135deg, rgba(242, 200, 107, 0.22), rgba(29, 117, 255, 0.16)),
        rgba(0, 0, 0, 0.24);
}

.application-admin-image img,
.application-image-box img,
.user-fifa-photo img,
.user-fc-profile-image img,
.ufc-admin-photo img {
    filter: saturate(1.06) contrast(1.03);
}

.standing-table,
.score-match-list,
.match-list,
.user-match-list,
.ufc-user-ranking-list,
.ufc-user-fight-list {
    gap: 14px;
}

.standing-row,
.table-row,
.score-team,
.match-teams div,
.user-match-teams div,
.ufc-user-ranking-card,
.ufc-fight-corner {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.11);
}

.standing-header,
.table-header {
    background: rgba(242, 200, 107, 0.11);
    border-color: rgba(242, 200, 107, 0.24);
}

.user-standings-scroll {
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255,255,255,0.08);
}

.current-user-row td,
.current-user-row,
.is-own-match,
.is-own-fight {
    box-shadow: inset 0 0 0 1px rgba(242, 200, 107, 0.24);
}

/* Premium auth pages */
.auth-container {
    max-width: 1180px;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
}

.auth-visual,
.auth-form-card {
    border-radius: 32px;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: clamp(24px, 5vw, 38px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.22)),
        url("../images/login-visual.png") center / cover no-repeat,
        linear-gradient(135deg, rgba(242, 200, 107, 0.2), rgba(29, 117, 255, 0.2)),
        rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.register-visual {
    background:
        linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.24)),
        url("../images/register-visual.png") center / cover no-repeat,
        linear-gradient(135deg, rgba(242, 200, 107, 0.22), rgba(213, 34, 53, 0.16)),
        rgba(0, 0, 0, 0.3);
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    pointer-events: none;
}

.auth-visual > * {
    position: relative;
    z-index: 1;
}

.auth-visual h2 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 7vw, 66px);
    line-height: 0.95;
    letter-spacing: 0;
}

.auth-visual p {
    max-width: 620px;
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
}

.auth-visual-stats,
.auth-step-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
}

.auth-visual-stats div,
.auth-step-list div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.auth-visual-stats strong,
.auth-step-list b {
    display: block;
    color: var(--gold);
    font-size: 20px;
}

.auth-visual-stats span,
.auth-step-list span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 800;
}

.auth-form-card {
    max-width: none;
    margin: 0;
}

/* Home page visual refresh */
.home-hero-main {
    background:
        linear-gradient(to right, rgba(0,0,0,0.68), rgba(0,0,0,0.18)),
        url("../images/home-hero-arena.png") center / cover no-repeat,
        linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(29, 117, 255, 0.16)),
        rgba(0, 0, 0, 0.3);
}

.home-hero-main h1 {
    text-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

.home-league-card.fifa-premium .league-graphic {
    background:
        linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.45)),
        url("../images/fifa-league-card.png") center / cover no-repeat,
        linear-gradient(135deg, rgba(29,117,255,0.38), rgba(4,10,24,0.35)),
        #0a1428;
}

.home-league-card.ufc-premium .league-graphic {
    background:
        linear-gradient(135deg, rgba(0,0,0,0.16), rgba(0,0,0,0.48)),
        url("../images/ufc-belt-card.png") center / cover no-repeat,
        linear-gradient(90deg, rgba(96,13,24,0.75), rgba(9,14,26,0.30), rgba(13,47,120,0.72)),
        #111827;
}

/* FIFA and UFC domain polish */
.fifa-card,
.home-league-card.fifa-premium,
.score-match-card,
.match-card.knockout-card {
    border-color: rgba(29, 117, 255, 0.24);
}

.ufc-card,
.home-league-card.ufc-premium,
.user-ufc-card,
.user-ufc-profile-card,
.ufc-admin-fighter-card,
.ufc-card-fight {
    border-color: rgba(213, 34, 53, 0.24);
}

.knockout-champion-box,
.user-champion-box,
.ufc-admin-champion-card,
.ufc-user-champion-box,
.title-fight {
    border-color: rgba(242, 200, 107, 0.5);
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.44),
        0 0 0 1px rgba(242, 200, 107, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.ufc-admin-champion-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(242, 200, 107, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(213, 34, 53, 0.09) 46%, rgba(29, 117, 255, 0.08)),
        rgba(0, 0, 0, 0.34);
}

.ufc-admin-champion-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 34%, rgba(242, 200, 107, 0.08));
}

.ufc-admin-champion-content,
.ufc-admin-champion-card .ufc-admin-photo {
    position: relative;
    z-index: 1;
}

.ufc-admin-champion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ufc-admin-champion-actions .btn {
    min-width: 170px;
}

.match-teams em,
.score-form em,
.user-match-teams em,
.ufc-fight-versus em {
    box-shadow: 0 14px 36px rgba(242, 200, 107, 0.16);
}

@media (min-width: 820px) {
    .auth-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.75fr);
        align-items: stretch;
    }

    .auth-visual-stats,
    .auth-step-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (min-width: 1120px) {
    .admin-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .application-admin-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mobile-header,
    .premium-home-header {
        top: 8px;
        width: calc(100% - 20px);
        border-radius: 18px;
    }

    .admin-hero {
        min-height: auto;
        border-radius: 26px;
    }

    .admin-hero::after {
        display: none;
    }

    .admin-hero h1 {
        font-size: 42px;
        line-height: 0.95;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .admin-panel-card,
    .admin-login-card,
    .auth-visual,
    .user-fifa-card,
    .user-fc-profile-card {
        border-radius: 24px;
        padding: 20px;
    }

    .btn {
        min-height: 52px;
    }

    .standing-row {
        min-width: 100%;
    }

    .application-admin-card,
    .user-card {
        padding: 16px;
    }

    .compact-application-card {
        padding: 14px;
    }
}

@media (min-width: 1120px) {
    .compact-application-list {
        gap: 14px;
    }

    .compact-application-card {
        grid-template-columns: 118px 1fr;
    }
}

/* Home logo integration: transparent image marks, no poster boxes */
.premium-home-header .home-brand-logo,
.home-brand-logo,
.home-hero-brand-mark,
.home-league-logo-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-brand-logo {
    width: clamp(76px, 12vw, 118px);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
}

.site-logo-img,
.hero-brand-logo,
.league-logo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-logo-img {
    max-width: 118px;
    max-height: 58px;
}

.home-hero-brand-mark {
    width: min(150px, 42vw);
    min-height: 0;
    margin-bottom: 18px;
    padding: 0;
}

.hero-brand-logo {
    max-width: 150px;
    max-height: 76px;
    opacity: 0.92;
    filter: none;
}

.home-league-logo-wrap {
    width: min(220px, 62vw);
    min-height: 0;
    align-items: flex-start;
    margin-bottom: 14px;
    padding: 0;
}

.league-logo-img {
    max-width: 220px;
    max-height: 96px;
    filter: none;
}

.home-fifa-detail,
.home-ufc-detail {
    background-size: auto, min(760px, 78%) auto, auto, auto;
    background-position: center, right center, center, center;
}

.home-fifa-detail::before,
.home-ufc-detail::before {
    background:
        linear-gradient(90deg, rgba(5, 8, 18, 0.24), rgba(5, 8, 18, 0.74)),
        radial-gradient(circle at 84% 24%, rgba(242, 200, 107, 0.1), transparent 30%);
}

@media (max-width: 720px) {
    .premium-home-header {
        gap: 10px;
    }

    .home-brand-logo {
        width: clamp(62px, 20vw, 84px);
    }

    .site-logo-img {
        max-width: 84px;
        max-height: 46px;
    }

    .home-hero-brand-mark {
        width: min(124px, 46vw);
    }

    .hero-brand-logo {
        max-width: 124px;
        max-height: 64px;
    }

    .home-league-logo-wrap {
        width: min(176px, 58vw);
    }

    .league-logo-img {
        max-width: 176px;
        max-height: 78px;
    }

    .home-fifa-detail,
    .home-ufc-detail {
        background-size: auto, 92% auto, auto, auto;
        background-position: center, right top, center, center;
    }
}

/* Profile image / participant media separation */
.user-profile-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
    padding: clamp(20px, 4vw, 28px);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)),
        rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(242, 200, 107, 0.24);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
}

.user-profile-photo,
.user-profile-thumb,
.fc-admin-team-logo {
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,0.3), transparent 28%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-weight: 1000;
}

.user-profile-photo {
    width: 100%;
    min-height: 280px;
    border-radius: 26px;
    font-size: 68px;
}

.user-profile-photo img,
.user-profile-thumb img,
.fc-admin-team-logo img {
    width: 100%;
    height: 100%;
    display: block;
}

.user-profile-photo img,
.user-profile-thumb img {
    object-fit: cover;
}

.user-profile-content h2 {
    margin: 18px 0 12px;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 0.98;
    letter-spacing: 0;
}

.user-profile-meta,
.user-awards-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.user-profile-meta span,
.user-awards-list span {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,0.065);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 900;
}

.user-profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.user-profile-stats div {
    padding: 15px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255,255,255,0.1);
}

.user-profile-stats span,
.user-profile-stats strong {
    display: block;
}

.user-profile-stats span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.user-profile-stats strong {
    margin-top: 7px;
    color: var(--gold);
    font-size: clamp(18px, 3vw, 28px);
    line-height: 1.05;
}

.user-awards-list span {
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border-color: rgba(242, 200, 107, 0.24);
}

.user-card-with-photo {
    grid-template-columns: 76px 1fr;
    align-items: center;
}

.user-card-with-photo .user-actions,
.user-card-with-photo .status-pill {
    grid-column: 1 / -1;
}

.user-profile-thumb {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    font-size: 24px;
}

.user-control-card {
    display: grid;
    gap: 18px;
}

.user-status-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.user-status-tabs a {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 1000;
}

.user-status-tabs a.is-active {
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: rgba(242, 200, 107, 0.72);
    box-shadow: 0 16px 42px rgba(242, 200, 107, 0.16);
}

.user-status-tabs b {
    min-width: 34px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.user-status-tabs a.is-active b {
    background: rgba(0, 0, 0, 0.14);
}

.user-filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.user-filter-form label {
    margin-bottom: 0;
}

.user-filter-form input {
    margin-top: 8px;
    margin-bottom: 0;
}

.user-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: end;
}

.compact-user-list {
    gap: 14px;
}

.compact-user-card {
    gap: 14px;
    padding: 14px;
}

.compact-user-card .user-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.compact-user-card .user-card-topline strong {
    margin-bottom: 0;
}

.compact-user-card .user-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.compact-user-card .user-detail-grid span {
    margin: 0;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.compact-user-card .user-detail-grid b {
    color: #ffffff;
}

.compact-user-card .user-actions {
    align-self: stretch;
}

.compact-user-card .user-actions > .status-pill {
    justify-self: end;
}

@media (min-width: 760px) {
    .user-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
    }

    .user-filter-actions {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .compact-user-card {
        grid-template-columns: 76px 1fr auto;
        align-items: center;
    }

    .compact-user-card .user-actions,
    .compact-user-card .status-pill {
        grid-column: auto;
    }
}

@media (min-width: 1120px) {
    .compact-user-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .user-status-tabs a {
        min-width: 185px;
    }
}

.user-fifa-card:not(.user-ufc-card) .user-fifa-photo img,
.user-fc-profile-card:not(.user-ufc-profile-card) .user-fc-profile-image img,
.fc-admin-team-logo img {
    object-fit: contain;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
}

.user-ufc-card .user-fifa-photo img,
.user-ufc-profile-card .user-fc-profile-image img,
.ufc-admin-photo img,
.ufc-user-avatar img,
.ufc-fight-photo img {
    object-fit: cover;
}

.fc-admin-participant-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.fc-admin-participant-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
        rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(29, 117, 255, 0.22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.fc-admin-team-logo {
    width: 100%;
    min-height: 180px;
    border-radius: 22px;
    font-size: 44px;
}

.fc-admin-participant-info h3 {
    margin: 12px 0 8px;
    font-size: clamp(24px, 5vw, 36px);
}

.fc-admin-participant-info p,
.fc-admin-participant-info small {
    display: block;
    color: var(--muted);
    margin: 0;
}

.fc-logo-upload-form,
.ufc-image-upload-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: end;
}

.fc-logo-upload-form label,
.ufc-image-upload-form label {
    margin-bottom: 0;
}

.form-info-box {
    padding: 14px;
    border-radius: 16px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border: 1px solid rgba(242, 200, 107, 0.24);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
}

.admin-stat-card a {
    color: var(--gold);
    text-decoration: none;
}

.fc-team-admin-form,
.fc-team-edit-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.fc-team-admin-form label,
.fc-team-edit-form label,
.fc-assignment-form label {
    margin-bottom: 0;
}

.fc-team-library-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.fc-team-library-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.04)),
        rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(242, 200, 107, 0.24);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.fc-team-library-card.is-passive {
    opacity: 0.72;
    border-color: rgba(255, 255, 255, 0.12);
}

.fc-team-library-logo {
    min-height: 170px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    color: #0b0b0b;
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.28), transparent 30%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 44px;
    font-weight: 1000;
}

.fc-team-library-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    background: rgba(0, 0, 0, 0.22);
}

.fc-team-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.fc-assignment-card {
    border-color: rgba(242, 200, 107, 0.26);
}

.fc-assignment-form select {
    width: 100%;
}

.match-team-logo,
.score-team-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(242, 200, 107, 0.18);
}

.match-teams div:last-child .match-team-logo,
.score-team.right .score-team-logo {
    margin-left: auto;
}

.knockout-champion-icon {
    overflow: hidden;
}

.knockout-champion-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: rgba(0, 0, 0, 0.18);
}

@media (min-width: 760px) {
    .user-profile-card {
        grid-template-columns: minmax(240px, 0.38fr) 1fr;
        align-items: stretch;
    }

    .user-profile-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .user-card-with-photo {
        grid-template-columns: 76px 1fr auto;
    }

    .user-card-with-photo .user-actions,
    .user-card-with-photo .status-pill {
        grid-column: auto;
    }

    .fc-admin-participant-card {
        grid-template-columns: 170px minmax(0, 1fr) minmax(260px, 0.75fr);
        align-items: center;
    }

    .fc-admin-team-logo {
        min-height: 150px;
    }

    .fc-team-admin-form {
        grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr) 180px;
        align-items: end;
    }

    .fc-team-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fc-team-library-card {
        grid-template-columns: 170px minmax(0, 1fr);
        align-items: center;
    }

    .fc-team-library-logo {
        min-height: 160px;
    }
}

@media (min-width: 1080px) {
    .user-profile-card {
        grid-template-columns: 320px 1fr;
    }

    .fc-team-library-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fc-team-library-card {
        grid-template-columns: 1fr;
    }
}

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

    .user-card-with-photo {
        grid-template-columns: 64px 1fr;
    }

    .user-profile-thumb {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }
}

/* Member dashboard */
.member-dashboard-page {
    display: grid;
    gap: 22px;
}

.member-dashboard-hero,
.member-profile-card,
.member-awards-card,
.member-tab-panel {
    border-radius: 26px;
    border: 1px solid rgba(242, 200, 107, 0.22);
    background:
        radial-gradient(circle at 12% 0%, rgba(242, 200, 107, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035)),
        rgba(0, 0, 0, 0.28);
    box-shadow: 0 24px 76px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
}

.member-dashboard-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: end;
    padding: clamp(22px, 5vw, 34px);
    margin-top: 22px;
}

.member-dashboard-hero h1 {
    margin: 10px 0;
    font-size: clamp(32px, 7vw, 64px);
    line-height: 0.98;
    letter-spacing: 0;
}

.member-dashboard-hero p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.member-hero-status {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.member-hero-status strong {
    padding: 10px 13px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
}

.member-dashboard-tabs,
.member-subtabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: thin;
}

.member-dashboard-tabs a,
.member-subtabs a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 12px 16px;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 1000;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
        rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255,255,255,0.12);
}

.member-dashboard-tabs a.is-active,
.member-subtabs a.is-active {
    color: #090909;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: rgba(242, 200, 107, 0.78);
    box-shadow: 0 18px 44px rgba(242, 200, 107, 0.16);
}

.member-dashboard-tabs b,
.member-subtabs b {
    min-width: 28px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
}

.member-dashboard-tabs .is-active b,
.member-subtabs .is-active b {
    background: rgba(0, 0, 0, 0.16);
}

.member-profile-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: clamp(18px, 4vw, 26px);
}

.member-profile-photo {
    min-height: 240px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    color: #101010;
    font-size: 64px;
    font-weight: 1000;
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,0.32), transparent 30%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: 1px solid rgba(242, 200, 107, 0.38);
}

.member-profile-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.member-profile-content h2,
.member-tournament-card h3,
.member-application-card h3,
.member-open-card h3 {
    margin: 12px 0;
    color: #ffffff;
    letter-spacing: 0;
}

.member-profile-content h2 {
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1;
}

.member-meta-list,
.member-awards-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.member-meta-list span,
.member-awards-list span {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 900;
}

.member-awards-list span {
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border-color: rgba(242, 200, 107, 0.26);
}

.member-stat-grid,
.member-card-grid,
.member-application-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.member-stat-grid article {
    padding: 16px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
        rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.member-stat-grid span,
.member-info-grid span,
.member-next-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
}

.member-stat-grid strong {
    display: block;
    margin-top: 7px;
    color: var(--gold);
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1;
}

.member-awards-card,
.member-tab-panel {
    padding: clamp(18px, 4vw, 26px);
}

.member-tournament-card,
.member-open-card,
.member-application-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.member-fifa-card {
    border-color: rgba(29, 117, 255, 0.28);
}

.member-ufc-card,
.member-open-card.is-ufc {
    border-color: rgba(218, 42, 42, 0.28);
}

.member-ufc-card.is-champion {
    border-color: rgba(242, 200, 107, 0.52);
    box-shadow: 0 22px 64px rgba(242, 200, 107, 0.12);
}

.member-card-media {
    min-height: 190px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    color: #0d0d0d;
    font-size: 46px;
    font-weight: 1000;
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,0.3), transparent 28%),
        linear-gradient(135deg, rgba(242, 200, 107, 0.95), rgba(159, 115, 42, 0.95));
    border: 1px solid rgba(242, 200, 107, 0.26);
}

.member-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center bottom;
    padding: 14px;
    background: rgba(0, 0, 0, 0.24);
}

.member-card-body {
    display: grid;
    gap: 14px;
    align-content: start;
}

.member-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.member-info-grid div {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
}

.member-info-grid strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    line-height: 1.25;
}

.member-next-box {
    padding: 13px;
    border-radius: 16px;
    color: #ffffff;
    background: rgba(242, 200, 107, 0.1);
    border: 1px solid rgba(242, 200, 107, 0.24);
}

.member-next-box strong,
.member-next-box small {
    display: block;
}

.member-next-box strong {
    margin: 6px 0 3px;
}

.member-next-box small {
    color: var(--muted);
    font-weight: 800;
}

.member-next-box.is-muted {
    color: var(--muted);
    background: rgba(255,255,255,0.055);
    border-color: rgba(255,255,255,0.1);
    font-weight: 900;
}

.member-application-card {
    align-items: center;
}

.member-application-actions {
    display: grid;
    gap: 10px;
}

.member-state-note {
    padding: 13px;
    border-radius: 16px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border: 1px solid rgba(242, 200, 107, 0.24);
    font-size: 14px;
    font-weight: 1000;
    text-align: center;
}

.member-state-note.is-rejected {
    color: #ffb8b8;
    background: rgba(218, 42, 42, 0.12);
    border-color: rgba(218, 42, 42, 0.32);
}

.member-open-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 14px 0 20px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255,255,255,0.1);
}

.member-open-filter label {
    margin-bottom: 0;
}

.member-open-filter label span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
}

.member-open-filter select {
    margin-bottom: 0;
}

.member-open-group {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.compact-title {
    margin-top: 4px;
}

.member-open-card p {
    margin: 0 0 2px;
    color: var(--muted);
    line-height: 1.6;
}

.member-already-applied {
    display: grid;
    gap: 8px;
    padding: 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
}

.member-already-applied strong {
    color: #ffffff;
    font-size: 14px;
}

@media (min-width: 700px) {
    .member-dashboard-hero {
        grid-template-columns: 1fr auto;
    }

    .member-hero-status {
        justify-content: flex-end;
    }

    .member-profile-card {
        grid-template-columns: 220px 1fr;
        align-items: stretch;
    }

    .member-profile-photo {
        min-height: 220px;
    }

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

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

    .member-application-card {
        grid-template-columns: minmax(0, 1fr) 180px;
    }

    .member-open-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
        align-items: end;
    }
}

@media (min-width: 980px) {
    .member-dashboard-tabs a {
        flex: 1 1 0;
    }

    .member-stat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

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

    .member-tournament-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .member-card-media {
        min-height: 100%;
    }
}

@media (min-width: 1220px) {
    .member-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .member-tournament-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .member-dashboard-hero,
    .member-profile-card,
    .member-awards-card,
    .member-tab-panel {
        border-radius: 20px;
    }

    .member-dashboard-tabs a,
    .member-subtabs a {
        min-width: 154px;
    }

    .member-card-media {
        min-height: 170px;
    }
}


/* Season management */
.season-admin-form,
.season-edit-form,
.season-settings-grid,
.season-selector-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.season-admin-form label,
.season-edit-form label,
.season-settings-grid label,
.season-selector-form label {
    margin-bottom: 0;
}

.season-wide {
    grid-column: 1 / -1;
}

.season-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    color: var(--muted);
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 900;
}

.season-check input {
    width: auto;
    margin: 0;
}

.season-toggle {
    align-items: flex-start;
}

.season-toggle span,
.season-toggle strong,
.season-toggle small {
    display: block;
}

.season-toggle strong {
    color: var(--gold);
    line-height: 1.1;
}

.season-toggle small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.season-settings-card,
.season-selector-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
        rgba(0, 0, 0, 0.18);
}

.season-card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.season-admin-card {
    padding: 18px;
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
        rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 80px rgba(0,0,0,0.34);
}

.season-admin-card.fc-season-card {
    border-color: rgba(29, 117, 255, 0.26);
}

.season-admin-card.ufc-season-card {
    border-color: rgba(213, 34, 53, 0.28);
}

.season-card-head,
.season-status-stack {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.season-card-head {
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.season-card-head h3 {
    margin: 12px 0 0;
    font-size: clamp(24px, 5vw, 38px);
    line-height: 1;
}

.season-status-stack {
    justify-content: flex-end;
}

.season-summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.season-summary-grid div {
    padding: 13px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255,255,255,0.09);
}

.season-summary-grid span,
.season-summary-grid strong {
    display: block;
}

.season-summary-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.season-summary-grid strong {
    margin-top: 6px;
    color: #fff;
}

.season-fill {
    height: 9px;
    overflow: hidden;
    margin: 16px 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.season-fill span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.home-season-note {
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 16px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.11);
    border: 1px solid rgba(242, 200, 107, 0.26);
    font-weight: 900;
}

@media (min-width: 760px) {
    .season-admin-form,
    .season-edit-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .season-selector-form {
        grid-template-columns: minmax(260px, 420px);
    }
}

.season-list-panel {
    display: grid;
    gap: 16px;
}

.season-type-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.season-type-tabs a {
    min-width: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 1000;
}

.season-type-tabs a.is-active {
    color: #0b0b0b;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: rgba(242, 200, 107, 0.72);
    box-shadow: 0 16px 42px rgba(242, 200, 107, 0.16);
}

.season-type-tabs b {
    min-width: 34px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.season-type-tabs a.is-active b {
    background: rgba(0, 0, 0, 0.14);
}

.season-list-filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.season-list-filter-form label {
    margin-bottom: 0;
}

.season-list-filter-form input,
.season-list-filter-form select {
    margin-top: 8px;
    margin-bottom: 0;
}

.season-list-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: end;
}

.compact-season-list {
    gap: 12px;
}

.compact-season-card {
    padding: 14px;
    border-radius: 22px;
}

.compact-season-card.is-editing {
    border-color: rgba(242, 200, 107, 0.48);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(242, 200, 107, 0.08);
}

.season-compact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

.season-compact-main,
.season-compact-badges,
.season-compact-metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.season-compact-main h3 {
    margin: 0;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.05;
}

.season-compact-main small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-weight: 900;
}

.season-compact-badges {
    justify-content: flex-start;
}

.season-compact-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.season-compact-metrics span {
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.season-compact-metrics b,
.season-compact-metrics small {
    display: block;
}

.season-compact-metrics b {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.season-compact-metrics small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.season-compact-action {
    min-width: 0;
}

.compact-season-card .season-fill {
    margin: 12px 0 0;
}

.season-edit-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 760px) {
    .season-list-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
    }

    .season-list-filter-actions {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .season-compact-row {
        grid-template-columns: minmax(190px, 1.15fr) minmax(220px, 1fr) minmax(280px, 1.55fr) minmax(150px, 0.72fr);
    }

    .season-compact-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .season-type-tabs a {
        min-width: 190px;
    }

    .season-compact-metrics {
        grid-template-columns: 1fr;
    }
}

.game-name,
.player-meta,
.fighter-meta {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

p.game-name,
p.player-meta,
p.fighter-meta {
    margin: 6px 0 0;
}

/* Dynamic public tournament dashboard */
.public-home {
    width: 100%;
}

.public-home .container {
    display: grid;
    gap: 18px;
}

.public-home-header {
    gap: 14px;
}

.public-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.public-brand-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    border-radius: 16px;
    color: var(--gold);
    background:
        radial-gradient(circle at center, rgba(242, 200, 107, 0.16), transparent 48%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025)),
        rgba(3, 8, 18, 0.82);
    border: 1px solid rgba(242, 200, 107, 0.18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    font-weight: 1000;
    box-sizing: border-box;
}

.public-brand-mark img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.public-brand strong,
.public-brand > span:not(.public-brand-mark) {
    display: block;
}

.public-brand strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.05;
}

.public-brand > span:not(.public-brand-mark) {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.public-hero,
.public-card,
.public-group-card,
.public-fixture-card,
.public-ranking-card,
.public-ufc-fight-card,
.public-section-head,
.public-info-grid > div,
.public-summary-grid > div,
.home-tabs a {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
        rgba(5, 8, 18, 0.76);
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}

.public-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: center;
    min-height: 430px;
    padding: clamp(24px, 5vw, 44px);
    border-radius: 34px;
}

.public-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(242, 200, 107, 0.18), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(29, 117, 255, 0.18), transparent 34%),
        linear-gradient(115deg, rgba(213, 34, 53, 0.10), transparent 45%);
    pointer-events: none;
}

.public-hero > * {
    position: relative;
    z-index: 1;
}

.public-hero h1 {
    max-width: 820px;
    margin: 20px 0 18px;
    font-size: clamp(46px, 8vw, 94px);
    line-height: 0.9;
    letter-spacing: 0;
}

.public-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.general-logo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    min-height: auto;
    padding: clamp(24px, 5vw, 44px);
    text-align: center;
}

.general-logo-hero::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(242, 200, 107, 0.12);
    border-radius: 26px;
    pointer-events: none;
}

.general-hero-logo {
    width: min(280px, 88vw);
    height: min(280px, 88vw);
    margin: 0 auto 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 38%, rgba(242, 200, 107, 0.22), transparent 52%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.024)),
        linear-gradient(135deg, rgba(8, 16, 32, 0.92), rgba(1, 4, 12, 0.86));
    border: 1px solid rgba(242, 200, 107, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.07),
        0 22px 58px rgba(0,0,0,0.26);
    box-sizing: border-box;
}

.general-hero-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.36));
}

.general-hero-logo span {
    color: var(--gold);
    font-size: clamp(54px, 12vw, 120px);
    font-weight: 1000;
}

.general-logo-hero p {
    max-width: 860px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(16px, 2vw, 20px);
}

.general-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.general-hero-actions .btn {
    min-width: 190px;
}

.public-stat-row span {
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.public-summary-grid strong,
.public-summary-grid span,
.public-info-grid strong,
.public-info-grid span {
    display: block;
}

.public-summary-grid strong,
.public-info-grid strong {
    color: var(--gold);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1;
}

.public-summary-grid span,
.public-info-grid span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.home-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
}

.home-tabs a {
    min-width: 170px;
    padding: 14px 18px;
    border-radius: 18px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 1000;
}

.home-tabs a.is-active {
    color: #0a0d14;
    border-color: rgba(242, 200, 107, 0.68);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 30%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow:
        0 18px 46px rgba(242, 200, 107, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.public-league-title {
    min-width: min(100%, 760px);
    display: flex;
    gap: 18px;
    align-items: center;
}

.public-league-logo {
    width: 150px;
    height: 150px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    border-radius: 22px;
    background:
        radial-gradient(circle at center, rgba(47, 180, 94, 0.14), transparent 46%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(2, 8, 18, 0.78);
    border: 1px solid rgba(47, 180, 94, 0.20);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 18px 46px rgba(0,0,0,0.22);
}

.public-league-logo.ufc-logo {
    background:
        radial-gradient(circle at center, rgba(242, 200, 107, 0.14), transparent 46%),
        linear-gradient(135deg, rgba(213, 34, 53, 0.16), rgba(29, 117, 255, 0.12)),
        rgba(2, 8, 18, 0.82);
    border-color: rgba(242, 200, 107, 0.24);
}

.public-league-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.public-league-logo span {
    color: var(--gold);
    font-weight: 1000;
}

.league-hero-panel {
    display: block;
}

.league-hero-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.league-page-logo {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    min-width: 150px;
    box-sizing: border-box;
}

.league-page-logo.fifa,
.league-hero-logo-fifa {
    background:
        radial-gradient(circle at center, rgba(47, 180, 94, 0.28), transparent 54%),
        linear-gradient(145deg, rgba(47, 180, 94, 0.18), rgba(255, 255, 255, 0.035)),
        rgba(2, 8, 18, 0.84);
    border-color: rgba(47, 180, 94, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 24px 56px rgba(47, 180, 94, 0.12);
}

.league-page-logo.ufc,
.league-hero-logo-ufc {
    background:
        radial-gradient(circle at center, rgba(242, 200, 107, 0.22), transparent 50%),
        linear-gradient(135deg, rgba(213, 34, 53, 0.18), rgba(29, 117, 255, 0.13)),
        rgba(2, 8, 18, 0.86);
    border-color: rgba(242, 200, 107, 0.30);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 24px 56px rgba(242, 200, 107, 0.12);
}

.league-page-info,
.league-hero-info {
    flex: 1 1 auto;
    min-width: 0;
}

.league-page-info h1,
.league-page-info h2,
.league-hero-info h1,
.league-hero-info h2 {
    margin-bottom: 10px;
}

.league-page-info p,
.league-hero-info p {
    max-width: 820px;
}

.season-select-wrap {
    max-width: 420px;
    margin-top: 18px;
}

.season-select-wrap label {
    display: block;
}

.season-select-wrap select {
    width: 100%;
}

.public-filter-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(150px, 0.8fr);
    gap: 12px;
    align-items: end;
    margin: 0 0 16px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compact-public-filter {
    grid-template-columns: minmax(220px, 340px) minmax(140px, 170px);
    justify-content: start;
}

.public-filter-form label {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.public-filter-form input,
.public-filter-form select {
    margin: 8px 0 0;
}

.public-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-section {
    display: grid;
    gap: 18px;
}

.public-section-head {
    padding: clamp(20px, 4vw, 28px);
    border-radius: 28px;
}

.public-section-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.public-section-head-row.league-hero-panel {
    display: block;
}

.public-section-head h2 {
    margin: 8px 0 8px;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 0.98;
    letter-spacing: 0;
}

.public-section-head p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.public-info-grid,
.public-summary-grid,
.public-dashboard-grid,
.public-general-grid {
    display: grid;
    gap: 14px;
}

.public-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-info-grid > div,
.public-summary-grid > div {
    padding: 18px;
    border-radius: 22px;
}

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

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

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

.public-general-card {
    min-height: 210px;
}

.public-general-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
}

.public-step-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.public-step-list li {
    position: relative;
    padding-left: 30px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

.public-step-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.35), transparent 34%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 10px 24px rgba(242, 200, 107, 0.12);
}

.public-card {
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 3vw, 24px);
    border-radius: 28px;
}

.public-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.public-card-head h3 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.05;
}

.public-card-head span,
.public-fixture-meta span,
.public-result-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.public-empty {
    padding: 16px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.public-mini-list,
.public-ranking-list,
.public-fight-section {
    display: grid;
    gap: 12px;
}

.public-mini-list article,
.public-card-actions {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.public-mini-list strong,
.public-mini-list span,
.public-mini-list small {
    display: block;
}

.public-mini-list span,
.public-mini-list small {
    margin-top: 5px;
    color: var(--muted);
    font-weight: 800;
}

.public-card-actions {
    margin-top: 12px;
}

.public-belt-card {
    border-color: rgba(242, 200, 107, 0.34);
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 200, 107, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(242, 200, 107, 0.12), rgba(213, 34, 53, 0.06)),
        rgba(5, 8, 18, 0.82);
}

.public-champion-inline,
.public-ranking-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
}

.public-avatar,
.public-logo,
.public-fighter-photo {
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #080808;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.34), transparent 28%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-weight: 1000;
}

.public-avatar {
    width: 62px;
    height: 62px;
    border-radius: 20px;
}

.public-avatar img,
.public-logo img,
.public-fighter-photo img {
    width: 100%;
    height: 100%;
    display: block;
}

.public-avatar img {
    object-fit: cover;
}

.public-season-select {
    min-width: min(360px, 100%);
    display: grid;
    gap: 8px;
}

.public-season-select label {
    margin: 0;
}

.public-season-select select {
    margin: 0;
}

.public-group-scroll,
.public-date-nav,
.public-fixture-grid,
.public-fight-grid,
.bracket-tree {
    overflow-x: auto;
    scrollbar-width: thin;
}

.public-group-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(340px, 520px);
    gap: 14px;
    padding-bottom: 6px;
}

.public-group-card {
    min-width: 0;
    padding: 18px;
    border-radius: 24px;
}

.public-group-card h4,
.bracket-column h4,
.public-fight-section h4 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 18px;
}

.public-team-list,
.public-standings-stack {
    display: grid;
    gap: 10px;
}

.public-team-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.public-team-card strong,
.public-team-card small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-standings-panel {
    display: grid;
    gap: 12px;
}

.public-standings-panel + .public-standings-panel {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.public-standings-panel h4 {
    margin: 0;
    color: var(--gold);
    font-size: 18px;
}

.public-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.18);
}

.public-standings-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.public-standings-table th,
.public-standings-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.public-standings-table th {
    color: var(--gold);
    background: rgba(242, 200, 107, 0.09);
    font-size: 12px;
    font-weight: 1000;
}

.public-standings-table tr:last-child td {
    border-bottom: 0;
}

.public-team-cell {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
}

.public-team-cell strong,
.public-team-cell small {
    display: block;
}

.public-team-cell small {
    margin-top: 3px;
    color: var(--muted);
    font-weight: 800;
}

.public-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 15px;
}

.public-logo img {
    object-fit: contain;
    padding: 5px;
}

.public-date-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 4px;
}

.public-date-nav a,
.public-date-nav span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 1000;
}

.public-date-nav a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.public-date-nav span {
    color: #080808;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.public-fixture-grid,
.public-fight-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 460px);
    gap: 14px;
    padding-bottom: 6px;
}

.public-fight-grid.is-compact {
    grid-auto-columns: minmax(300px, 390px);
}

.public-fixture-card,
.public-ufc-fight-card {
    min-width: 0;
    padding: 16px;
    border-radius: 22px;
}

.public-fixture-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.public-versus,
.public-ufc-versus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.public-versus > div,
.public-ufc-versus > div {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.public-versus em,
.public-ufc-versus em {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #080808;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-style: normal;
    font-weight: 1000;
}

.public-versus strong,
.public-versus small,
.public-ufc-versus strong,
.public-ufc-versus small {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-versus small,
.public-ufc-versus small {
    color: var(--muted);
    font-weight: 800;
}

.bracket-tree {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 360px);
    gap: 14px;
    padding-bottom: 6px;
}

.bracket-column {
    display: grid;
    gap: 12px;
    align-content: start;
}

.bracket-match {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.bracket-match div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bracket-match b {
    color: var(--gold);
}

.bracket-match span {
    min-width: 42px;
    text-align: right;
    font-weight: 1000;
}

.champion-column .bracket-match {
    border-color: rgba(242, 200, 107, 0.34);
    background: rgba(242, 200, 107, 0.09);
}

.public-ufc-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
    gap: 18px;
    align-items: start;
}

.public-champion-card {
    display: grid;
    grid-template-columns: minmax(120px, 190px) 1fr;
    gap: 18px;
    align-items: center;
}

.public-fighter-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        linear-gradient(90deg, rgba(213, 34, 53, 0.26), rgba(29, 117, 255, 0.22)),
        rgba(0, 0, 0, 0.24);
}

.public-fighter-photo img {
    object-fit: contain;
    object-position: center bottom;
    padding: 8px;
}

.public-champion-card h3 {
    margin: 8px 0 6px;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 0.95;
}

.public-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.public-stat-row strong,
.public-stat-row small {
    display: block;
}

.public-stat-row strong {
    color: var(--gold);
    font-size: 24px;
}

.public-stat-row small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.public-ranking-card {
    grid-template-columns: auto 1fr auto;
    padding: 14px;
    border-radius: 20px;
}

.public-ranking-card > b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #080808;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.public-ranking-card small,
.public-ranking-card span {
    color: var(--muted);
    font-weight: 800;
}

.public-ranking-card em {
    color: var(--gold);
    font-style: normal;
    font-weight: 1000;
    white-space: nowrap;
}

.public-ufc-fight-card.is-title {
    border-color: rgba(242, 200, 107, 0.42);
    background:
        radial-gradient(circle at 20% 0%, rgba(242, 200, 107, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(213, 34, 53, 0.11), rgba(29, 117, 255, 0.08)),
        rgba(5, 8, 18, 0.82);
}

.public-ufc-fight-card .public-fighter-photo {
    max-width: 110px;
    aspect-ratio: 1 / 1.08;
    border-radius: 20px;
}

.public-result-note {
    margin-top: 14px;
    padding: 11px 12px;
    border-radius: 14px;
    color: var(--gold);
    background: rgba(242, 200, 107, 0.1);
    border: 1px solid rgba(242, 200, 107, 0.22);
}

@media (max-width: 1120px) {
    .public-hero,
    .public-dashboard-grid,
    .public-ufc-layout {
        grid-template-columns: 1fr;
    }

    .public-info-grid,
    .public-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-filter-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .public-home-header {
        width: calc(100% - 20px);
        align-items: center;
    }

    .public-brand {
        gap: 9px;
    }

    .public-brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: flex;
    }

    .public-brand > span:not(.public-brand-mark) {
        display: none;
    }

    .public-hero {
        min-height: auto;
        border-radius: 26px;
    }

    .general-logo-hero {
        padding: 22px;
    }

    .general-hero-logo {
        width: min(220px, 100%);
        height: min(220px, 100vw);
        min-height: 0;
        border-radius: 24px;
    }

    .general-hero-actions,
    .public-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .general-hero-actions .btn {
        min-width: 0;
        width: 100%;
    }

    .public-league-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-league-logo {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .league-hero-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .league-page-logo {
        flex-basis: 120px;
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .season-select-wrap {
        max-width: none;
        width: 100%;
    }

    .public-filter-form,
    .compact-public-filter {
        grid-template-columns: 1fr;
    }

    .public-info-grid,
    .public-general-grid,
    .public-summary-grid,
    .public-stat-row,
    .public-champion-card {
        grid-template-columns: 1fr;
    }

    .public-section-head,
    .public-card {
        border-radius: 24px;
    }

    .home-tabs a {
        min-width: 150px;
    }

    .public-group-scroll {
        grid-auto-columns: minmax(286px, 88vw);
    }

    .public-fixture-grid,
    .public-fight-grid,
    .bracket-tree {
        grid-auto-columns: minmax(286px, 88vw);
    }

    .public-versus,
    .public-ufc-versus {
        gap: 8px;
    }

    .public-versus em,
    .public-ufc-versus em {
        width: 46px;
        height: 46px;
        font-size: 13px;
    }

    .public-ranking-card {
        grid-template-columns: auto 1fr;
    }

    .public-ranking-card em {
        grid-column: 1 / -1;
    }
}

/* VISUAL POLISH / UI FIXES
   Presentation-only overrides. Keep PHP flow, form fields and database logic untouched. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: rgba(255, 255, 255, 0.88);
    background: #030713;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.mobile-header,
.premium-home-header,
.public-home-header {
    width: min(1180px, calc(100% - 24px));
    margin: 16px auto 20px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
        rgba(4, 9, 22, 0.86);
    box-shadow:
        0 18px 58px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.brand,
.public-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo,
.public-brand-mark,
.site-brand-logo,
.header-logo {
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    border-radius: 16px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(242, 200, 107, 0.25), transparent 56%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
        url("../images/logo-karma-arena.png") center / contain no-repeat,
        rgba(2, 7, 18, 0.92);
    border: 1px solid rgba(242, 200, 107, 0.24);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.30);
}

.brand-logo img,
.public-brand-mark img,
.site-brand-logo img,
.header-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.brand > div:last-child,
.public-brand > span:last-child {
    min-width: 0;
}

.brand strong,
.public-brand strong {
    display: block;
    max-width: 100%;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand span,
.public-brand small {
    display: block;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.58);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-login,
.home-header-actions a,
.btn,
button.btn,
a.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.btn-primary,
.btn-full:not(.btn-dark):not(.btn-danger),
.home-header-actions a.primary {
    color: #090b12;
    border-color: rgba(242, 200, 107, 0.65);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 34%),
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    box-shadow: 0 16px 38px rgba(242, 200, 107, 0.16);
}

.btn-dark,
.header-login,
.home-header-actions a:not(.primary) {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 25, 0.82);
}

.btn-danger,
button.btn-danger,
a.btn-danger {
    color: #ffffff;
    border-color: rgba(239, 68, 68, 0.42);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.86), rgba(127, 29, 29, 0.86));
}

.btn-success,
.approved-pill {
    border-color: rgba(34, 197, 94, 0.34);
}

.btn:disabled,
button:disabled,
select:disabled,
input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.admin-hero,
.admin-panel-card,
.admin-login-card,
.auth-form-card,
.application-control-card,
.application-admin-card,
.compact-application-card,
.season-settings-card,
.season-selector-card,
.season-admin-card,
.season-list-panel,
.compact-season-card,
.user-card,
.compact-user-card,
.member-dashboard-hero,
.member-profile-card,
.member-awards-card,
.member-tab-panel,
.member-tournament-card,
.member-application-card,
.member-open-card,
.user-fifa-card,
.user-ufc-card,
.user-fc-profile-card,
.user-ufc-profile-card,
.user-registration-card,
.user-match-card,
.score-match-card,
.match-card,
.standing-card,
.results-standing-card,
.knockout-card,
.knockout-qualified-card,
.fc-team-library-card,
.fc-assignment-card,
.fc-admin-participant-card,
.fighter-library-card,
.ufc-participant-card,
.ufc-admin-champion-card,
.ufc-admin-fighter-card,
.ufc-card-summary,
.ufc-card-detail-hero,
.ufc-card-fight,
.ufc-result-selected-card,
.ufc-user-fight-card,
.ufc-publish-fight-card,
.public-card,
.public-section-head,
.public-group-card,
.public-fixture-card,
.public-ranking-card,
.public-ufc-fight-card {
    border-radius: 24px;
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.032)),
        rgba(5, 10, 24, 0.80);
    box-shadow:
        0 22px 64px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.admin-panel-card,
.member-tab-panel,
.application-control-card,
.season-list-panel,
.results-standing-card,
.knockout-qualified-card,
.public-card {
    padding: clamp(16px, 2.5vw, 24px);
}

.admin-stat-grid,
.admin-menu-grid,
.application-admin-list,
.season-card-list,
.member-card-grid,
.member-stat-grid,
.user-fifa-card-grid,
.fighter-library-grid,
.ufc-participant-grid,
.ufc-admin-fighter-list,
.ufc-card-list-grid,
.ufc-card-fight-grid,
.ufc-publish-main-grid,
.public-summary-grid,
.public-general-grid {
    gap: clamp(12px, 1.8vw, 18px);
}

.admin-menu-grid,
.member-card-grid,
.fighter-library-grid,
.ufc-participant-grid,
.ufc-admin-fighter-list,
.ufc-card-list-grid,
.ufc-card-fight-grid,
.ufc-publish-main-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.admin-menu-item,
.admin-stat-card,
.member-tournament-card,
.member-application-card,
.member-open-card,
.compact-season-card,
.compact-user-card,
.application-admin-card,
.fighter-library-card,
.ufc-participant-card,
.ufc-admin-fighter-card,
.ufc-publish-fight-card {
    min-width: 0;
}

.section-title,
.public-card-head,
.score-match-head,
.match-meta,
.user-match-meta,
.ufc-card-fight-head,
.ufc-publish-fight-head,
.season-card-head,
.user-card-topline,
.application-admin-top {
    gap: 10px;
    min-width: 0;
}

.section-title h1,
.section-title h2,
.public-section-head h1,
.public-section-head h2,
.admin-hero h1,
.member-dashboard-hero h1,
.admin-panel-card h1,
.admin-panel-card h2,
.member-tab-panel h2,
.ufc-card-detail-hero h2 {
    letter-spacing: 0;
    text-wrap: balance;
}

.game-name,
.fighter-meta,
.member-meta-list span,
.user-card-topline span,
.application-details span,
.compact-user-card .user-detail-grid span,
.public-ranking-card span,
.public-ranking-card small,
.ufc-fight-corner span,
.match-teams span,
.user-match-teams span {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.league-tag,
.status-pill,
.match-status-pill,
.ufc-fight-type-pill,
.ufc-champion-badge,
.ufc-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

form label {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(2, 6, 17, 0.82);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(242, 200, 107, 0.52);
    box-shadow:
        0 0 0 3px rgba(242, 200, 107, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

input[type="file"] {
    padding: 12px;
}

textarea {
    min-height: 104px;
    resize: vertical;
}

.application-filter-form,
.user-filter-form,
.season-list-filter-form,
.fc-results-filter-form,
.public-filter-form,
.ufc-publish-filter-form,
.ufc-publish-add-form,
.ufc-card-admin-form,
.season-admin-form,
.season-edit-form,
.fc-team-admin-form,
.fc-team-edit-form,
.ufc-library-form,
.fighter-library-edit-form,
.ufc-participant-assign-form,
.score-form-modern,
.ufc-result-form {
    align-items: end;
    gap: 12px;
}

.auth-layout,
.member-profile-card,
.user-profile-card,
.application-admin-card,
.compact-application-card,
.fc-admin-participant-card,
.ufc-admin-champion-card,
.ufc-card-detail-hero,
.public-champion-card {
    gap: clamp(16px, 2.4vw, 24px);
}

.application-admin-image,
.application-image-box,
.user-profile-photo,
.user-profile-thumb,
.member-profile-photo,
.user-fifa-photo,
.user-fc-profile-image,
.member-card-media,
.fc-admin-team-logo,
.fc-team-library-logo,
.score-team-logo-frame,
.score-team-logo,
.standing-team-logo,
.match-team-logo,
.qualifier-logo,
.home-fc-logo,
.public-logo,
.public-avatar,
.fighter-library-visual,
.ufc-participant-visual,
.ufc-admin-photo,
.ufc-user-avatar,
.ufc-fight-photo,
.ufc-publish-photo,
.public-fighter-photo,
.home-champion-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 32%, rgba(242, 200, 107, 0.14), transparent 56%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(0, 0, 0, 0.22);
}

.application-admin-image img,
.application-image-box img,
.user-profile-photo img,
.user-profile-thumb img,
.member-profile-photo img,
.user-fifa-photo img,
.user-fc-profile-image img,
.member-card-media img,
.fc-admin-team-logo img,
.fc-team-library-logo img,
.score-team-logo-frame img,
.score-team-logo img,
.standing-team-logo img,
.match-team-logo img,
.qualifier-logo img,
.home-fc-logo img,
.public-logo img,
.public-avatar img,
.fighter-library-visual img,
.ufc-participant-visual img,
.ufc-admin-photo img,
.ufc-user-avatar img,
.ufc-fight-photo img,
.ufc-publish-photo img,
.public-fighter-photo img,
.home-champion-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain !important;
    object-position: center !important;
}

.ufc-admin-photo img,
.ufc-user-avatar img,
.ufc-fight-photo img,
.ufc-publish-photo img,
.public-fighter-photo img,
.fighter-library-visual img,
.ufc-participant-visual img,
.member-ufc-card .member-card-media img,
.user-ufc-card .user-fifa-photo img,
.user-ufc-profile-card .user-fc-profile-image img {
    object-position: center bottom !important;
    padding: 6px;
}

.score-team-logo-frame,
.standing-team-logo,
.match-team-logo,
.qualifier-logo,
.public-logo,
.fc-admin-team-logo,
.fc-team-library-logo {
    aspect-ratio: 1 / 1;
}

.ufc-publish-photo,
.title-fight-feature .ufc-publish-photo,
.main-event-feature .ufc-publish-photo,
.co-main-feature .ufc-publish-photo,
.normal-fight-card .ufc-publish-photo,
.ufc-fight-photo {
    aspect-ratio: 4 / 5;
    min-height: 150px;
}

.match-teams div,
.user-match-teams div,
.score-team,
.fixture-vs-panel,
.ufc-fight-corner,
.public-team-card,
.fc-mini-player-card,
.fc-group-player-card {
    min-width: 0;
}

.match-teams strong,
.user-match-teams strong,
.score-team strong,
.fixture-vs-panel strong,
.ufc-fight-corner strong,
.public-team-card strong,
.fc-mini-player-card strong,
.fc-group-player-card strong,
.member-card-body h3,
.admin-menu-item strong {
    overflow-wrap: anywhere;
}

.table-responsive,
.admin-standing-scroll,
.public-table-wrap,
.standing-card,
.results-standing-card,
.knockout-qualified-card,
.season-list-panel {
    overflow-x: auto;
    scrollbar-width: thin;
}

.admin-panel-card,
.member-tab-panel,
.public-card {
    min-width: 0;
}

table,
.standing-table,
.admin-standing-table,
.user-standings-table,
.public-standings-table,
.knockout-qualifier-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th,
td {
    vertical-align: middle;
}

.standing-table th,
.standing-table td,
.admin-standing-table th,
.admin-standing-table td,
.user-standings-table th,
.user-standings-table td,
.public-standings-table th,
.public-standings-table td,
.knockout-qualifier-table th,
.knockout-qualifier-table td {
    white-space: nowrap;
}

.home-tabs,
.member-dashboard-tabs,
.ufc-match-tabs,
.knockout-stage-tabs,
.public-date-nav,
.public-group-scroll,
.public-fixture-grid,
.public-fight-grid,
.bracket-tree {
    scrollbar-width: thin;
    scroll-padding-inline: 12px;
}

.home-tabs a,
.member-dashboard-tabs a,
.ufc-match-tabs a,
.knockout-stage-tabs a {
    flex: 0 0 auto;
}

@media (max-width: 920px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .auth-layout,
    .public-hero,
    .public-dashboard-grid,
    .public-ufc-layout,
    .member-dashboard-hero,
    .member-profile-card,
    .user-profile-card,
    .ufc-card-detail-hero,
    .ufc-season-topbar,
    .score-form.score-form-modern,
    .knockout-score-card {
        grid-template-columns: 1fr !important;
    }

    .admin-menu-grid,
    .member-card-grid,
    .fighter-library-grid,
    .ufc-participant-grid,
    .ufc-card-list-grid,
    .ufc-card-fight-grid,
    .ufc-publish-main-grid {
        grid-template-columns: 1fr;
    }

    .application-filter-form,
    .user-filter-form,
    .season-list-filter-form,
    .fc-results-filter-form,
    .public-filter-form,
    .ufc-publish-filter-form,
    .ufc-publish-add-form,
    .ufc-card-admin-form,
    .season-admin-form,
    .season-edit-form,
    .fc-team-admin-form,
    .fc-team-edit-form,
    .ufc-library-form,
    .fighter-library-edit-form,
    .ufc-participant-assign-form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 20px);
    }

    .mobile-header,
    .premium-home-header,
    .public-home-header {
        width: calc(100% - 20px);
        margin-block: 10px 14px;
        padding: 10px;
        border-radius: 18px;
    }

    .brand-logo,
    .public-brand-mark,
    .site-brand-logo,
    .header-logo {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
    }

    .brand strong,
    .public-brand strong {
        max-width: 170px;
        font-size: 13px;
    }

    .brand span,
    .public-brand small {
        max-width: 170px;
        font-size: 11px;
    }

    .header-login,
    .home-header-actions a,
    .btn,
    button.btn,
    a.btn {
        min-height: 42px;
        padding-inline: 12px;
        border-radius: 12px;
        font-size: 13px;
    }

    .admin-hero,
    .admin-panel-card,
    .admin-login-card,
    .auth-form-card,
    .member-dashboard-hero,
    .member-profile-card,
    .member-awards-card,
    .member-tab-panel,
    .public-card,
    .public-section-head {
        border-radius: 20px;
        padding: 16px;
    }

    .admin-hero h1,
    .member-dashboard-hero h1,
    .public-section-head h2 {
        font-size: clamp(28px, 9vw, 42px);
    }

    .member-card-media,
    .user-fifa-photo,
    .user-fc-profile-image,
    .application-admin-image,
    .fighter-library-visual,
    .ufc-participant-visual {
        min-height: 170px;
    }

    .score-form.score-form-modern,
    .score-center-panel,
    .ufc-fight-versus,
    .public-versus,
    .public-ufc-versus,
    .user-match-teams,
    .match-teams {
        gap: 10px;
    }

    table,
    .standing-table,
    .admin-standing-table,
    .user-standings-table,
    .public-standings-table,
    .knockout-qualifier-table {
        min-width: 680px;
    }
}

/* FINAL UFC RANKING / ACCOUNT OVERRIDES */
.account-settings-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-settings-submit {
    grid-column: 1 / -1;
}

.season-compact-action,
.user-actions,
.ufc-admin-actions,
.ufc-publish-status-actions {
    display: grid;
    gap: 10px;
}

.season-delete-form,
.ufc-delete-fight-form,
.user-actions form {
    width: 100%;
    min-width: 0;
}

.ufc-admin-fighter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 18px;
    align-items: stretch;
}

.ufc-admin-fighter-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    overflow: visible;
}

.ufc-admin-fighter-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.ufc-admin-fighter-head .ufc-admin-photo {
    width: 92px;
    height: 112px;
    min-width: 92px;
    aspect-ratio: auto;
}

.ufc-admin-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 12px;
    margin-top: auto;
    min-width: 0;
}

.ufc-admin-form label,
.ufc-admin-form input,
.ufc-admin-form button {
    min-width: 0;
    width: 100%;
}

.ufc-admin-form .btn {
    grid-column: 1 / -1;
}

@media (max-width: 760px) {
    .account-settings-form,
    .ufc-admin-fighter-head {
        grid-template-columns: 1fr;
    }

    .ufc-admin-fighter-head .ufc-admin-photo {
        width: 132px;
        height: 158px;
    }
}

/* MEMBER PROFILE IMAGE UPLOAD */
.member-profile-photo-panel {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.member-profile-upload-form {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(2, 7, 18, 0.64);
}

.member-profile-upload-form label {
    display: grid;
    gap: 8px;
    margin: 0;
    min-width: 0;
}

.member-profile-upload-form input[type="file"] {
    min-width: 0;
    width: 100%;
    cursor: pointer;
}

.member-profile-upload-form p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.45;
}

.member-profile-photo-panel .member-profile-photo {
    min-height: 220px;
}

@media (max-width: 760px) {
    .member-profile-photo-panel .member-profile-photo {
        min-height: 190px;
    }
}
