:root {
    --bg: #05030b;
    --bg2: #090611;

    --panel: rgba(18, 14, 31, .88);
    --panel2: rgba(25, 18, 44, .72);

    --purple: #8257ff;
    --purple2: #a855f7;

    --blue: #2f8bff;
    --cyan: #38bdf8;

    --gold: #f1bf4f;
    --gold2: #ffda75;

    --pink: #e13cff;
    --green: #36e59e;
    --red: #ff4d6d;

    --white: #ffffff;
    --text: #d9d4e3;
    --muted: #9691a8;
    --muted2: #655f74;

    --border: rgba(255,255,255,.09);
    --border-purple: rgba(130,87,255,.32);
    --border-gold: rgba(241,191,79,.35);

    --radius: 16px;
    --radius-small: 9px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--white);

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(130,87,255,.24),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(47,139,255,.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 70% 85%,
            rgba(225,60,255,.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 18% 85%,
            rgba(241,191,79,.08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #07040f,
            #05030b 45%,
            #080510
        );

    background-attachment: fixed;

    overflow-x: hidden;
}

body::before {
    content: "";

    position: fixed;

    top: -380px;
    left: 50%;

    transform: translateX(-50%);

    width: 1200px;
    height: 800px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(255,255,255,.08),
            rgba(130,87,255,.08) 30%,
            transparent 65%
        );

    filter: blur(30px);

    pointer-events: none;

    z-index: -2;
}

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

button,
input,
select,
textarea {
    font-family: inherit;
}

/* HEADER */

.site-header {
    min-height: 86px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 0 5.5%;

    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(5,3,11,.82);

    border-bottom: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo-img {
    height: 58px;
    width: auto;

    display: block;

    filter:
        drop-shadow(
            0 0 16px
            rgba(241,191,79,.18)
        );
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 8px;
}

.nav-link {
    padding: 11px 13px;

    border-radius: 8px;

    color: #aaa5b8;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .7px;

    text-transform: uppercase;

    transition: .2s ease;
}

.nav-link:hover {
    color: #fff;

    background: rgba(255,255,255,.05);
}

.nav-primary {
    color: #08050e;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold2)
        );

    box-shadow:
        0 10px 32px
        rgba(241,191,79,.14);
}

.nav-purple {
    color: #fff;

    border: 1px solid var(--border-purple);

    background:
        linear-gradient(
            135deg,
            rgba(130,87,255,.20),
            rgba(47,139,255,.11)
        );
}

.nav-admin {
    color: var(--gold);

    border: 1px solid var(--border-gold);

    background: rgba(241,191,79,.05);
}

/* PAGE */

.page {
    width:
        min(
            1450px,
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding: 42px 0 90px;
}

/* HEADINGS */

.page-heading {
    margin-bottom: 28px;
}

.eyebrow {
    color: var(--gold);

    font-size: 9px;
    font-weight: 1000;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 8px;
}

.page-heading h1 {
    font-size: clamp(34px, 4vw, 48px);

    line-height: 1;

    letter-spacing: -1.5px;

    margin-bottom: 9px;
}

.page-subtitle {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}

/* CARDS */

.card {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(18,14,31,.91),
            rgba(8,7,16,.94)
        );

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.20);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(130,87,255,.50),
            rgba(241,191,79,.28),
            transparent
        );
}

.card-header {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 21px;

    border-bottom:
        1px solid
        rgba(255,255,255,.065);
}

.card-header h2 {
    font-size: 19px;

    font-weight: 1000;

    letter-spacing: -.4px;
}

.card-header p {
    color: var(--muted2);

    font-size: 10px;

    margin-top: 4px;
}

.card-kicker {
    color: var(--purple2);

    font-size: 8px;
    font-weight: 1000;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 5px;
}

.card-body {
    padding: 21px;
}

/* GLASS PANELS */

.glass {
    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(28,18,50,.70),
            rgba(10,8,22,.78)
        );

    border-radius: var(--radius);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* STATUS */

.status-pill {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 0 10px;

    border-radius: 999px;

    color: #fff;

    font-size: 8px;
    font-weight: 1000;

    letter-spacing: 1px;

    text-transform: uppercase;

    border:
        1px solid
        rgba(130,87,255,.32);

    background:
        linear-gradient(
            135deg,
            rgba(130,87,255,.32),
            rgba(47,139,255,.24)
        );
}

.status-gold {
    color: var(--gold2);

    border-color: var(--border-gold);

    background: rgba(241,191,79,.07);
}

.status-red {
    color: #ffc0cb;

    border-color: rgba(255,77,109,.28);

    background: rgba(255,77,109,.08);
}

.status-green {
    color: #aef5d2;

    border-color: rgba(54,229,158,.25);

    background: rgba(54,229,158,.07);
}

/* BUTTONS */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 15px;

    border-radius: 9px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,.04);

    color: #d5d0df;

    font-size: 10px;
    font-weight: 1000;

    letter-spacing: .6px;

    text-transform: uppercase;

    cursor: pointer;

    transition: .18s ease;
}

.btn:hover {
    transform: translateY(-1px);

    border-color: var(--border-purple);

    background: rgba(130,87,255,.07);
}

.btn-primary {
    color: #08050e;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold2)
        );

    box-shadow:
        0 12px 35px
        rgba(241,191,79,.14);
}

.btn-purple {
    color: #fff;

    border-color: var(--border-purple);

    background:
        linear-gradient(
            135deg,
            rgba(130,87,255,.70),
            rgba(47,139,255,.65)
        );

    box-shadow:
        0 12px 35px
        rgba(130,87,255,.15);
}

.btn-danger {
    color: #ffbbc7;

    border-color: rgba(255,77,109,.28);

    background: rgba(255,77,109,.08);
}

.btn-success {
    color: #b9f6d8;

    border-color: rgba(54,229,158,.28);

    background: rgba(54,229,158,.08);
}

/* INPUTS */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #a49ead;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .5px;
}

input,
select,
textarea {
    width: 100%;

    min-height: 47px;

    padding: 0 13px;

    border-radius: 9px;

    border: 1px solid rgba(255,255,255,.10);

    background:
        rgba(255,255,255,.035);

    color: #fff;

    outline: none;

    transition: .18s ease;
}

textarea {
    min-height: 120px;

    padding: 13px;

    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--purple);

    box-shadow:
        0 0 0 3px
        rgba(130,87,255,.08);
}

input::placeholder,
textarea::placeholder {
    color: #5f596a;
}

/* TABLES */

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

table {
    width: 100%;

    border-collapse: collapse;
}

th {
    padding: 11px 9px;

    text-align: left;

    color: #615a6e;

    font-size: 8px;
    font-weight: 1000;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    border-bottom:
        1px solid
        rgba(255,255,255,.07);
}

td {
    padding: 14px 9px;

    color: #aaa4b7;

    font-size: 11px;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}

tbody tr:hover {
    background:
        rgba(130,87,255,.04);
}

.table-player {
    color: #fff;

    font-weight: 1000;
}

.table-highlight {
    color: var(--gold2);

    font-weight: 1000;
}

/* INFO GRIDS */

.info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 10px;
}

.info-box {
    padding: 15px;

    border-radius: 11px;

    border:
        1px solid
        rgba(255,255,255,.07);

    background:
        rgba(255,255,255,.025);
}

.info-label {
    color: var(--muted2);

    font-size: 8px;
    font-weight: 1000;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    margin-bottom: 6px;
}

.info-value {
    color: #eeeaf5;

    font-size: 14px;
    font-weight: 1000;
}

/* LAYOUTS */

.two-column {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        360px;

    gap: 20px;

    align-items: start;
}

.three-column {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 15px;
}

.stack {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.sticky {
    position: sticky;

    top: 105px;
}

/* ARENA BOX */

.arena-box {
    position: relative;

    overflow: hidden;

    padding: 28px;

    border-radius: 20px;

    border:
        1px solid
        rgba(130,87,255,.26);

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(130,87,255,.17),
            transparent 35%
        ),
        radial-gradient(
            circle at 100% 90%,
            rgba(47,139,255,.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(22,14,40,.93),
            rgba(8,7,17,.95)
        );
}

.arena-box::after {
    content: "🏀";

    position: absolute;

    right: 24px;
    bottom: -15px;

    font-size: 95px;

    opacity: .04;

    transform: rotate(-15deg);
}

/* GLOW TEXT */

.gold-text {
    color: var(--gold2);

    text-shadow:
        0 0 18px
        rgba(241,191,79,.18);
}

.purple-text {
    color: #b49bff;

    text-shadow:
        0 0 18px
        rgba(130,87,255,.18);
}

/* ALERTS */

.alert {
    padding: 14px 16px;

    margin-bottom: 18px;

    border-radius: 9px;

    font-size: 11px;
}

.alert-success {
    color: #b2f5d4;

    border:
        1px solid
        rgba(54,229,158,.24);

    background:
        rgba(54,229,158,.07);
}

.alert-error {
    color: #ffc1cb;

    border:
        1px solid
        rgba(255,77,109,.24);

    background:
        rgba(255,77,109,.07);
}

/* EMPTY */

.empty {
    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    border-radius: 11px;

    border:
        1px dashed
        rgba(255,255,255,.10);

    color: #645e70;

    font-size: 10px;

    text-align: center;
}

/* FOOTER */

.site-footer {
    margin-top: 40px;

    padding: 34px 20px;

    text-align: center;

    color: #534d5e;

    font-size: 9px;

    line-height: 1.8;

    border-top:
        1px solid
        rgba(255,255,255,.07);
}

/* MOBILE */

@media(max-width: 1000px) {

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

    .sticky {
        position: static;
    }

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

@media(max-width: 760px) {

    .main-nav .nav-desktop {
        display: none;
    }

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

@media(max-width: 620px) {

    .site-header {
        min-height: 74px;

        padding: 0 15px;
    }

    .logo-img {
        height: 47px;
    }

    .page {
        width:
            calc(100% - 24px);

        padding-top: 25px;
    }

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

    .card-header {
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }
}
/* ======================================================================
   248 GLOBAL ESPORTS THEME OVERRIDES
   Keeps older page layouts but makes every page visually consistent.
   ====================================================================== */

body { background-color:#05030b !important; color:#fff; }
header:not(.site-header) {
    background:rgba(5,3,11,.86) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.logo { filter:drop-shadow(0 0 16px rgba(241,191,79,.18)); }

/* legacy page headings */
.heading h1, .profile-header h1, .login-box h1, .register-box h1,
.hero h1, .page > h1 { color:#fff; text-shadow:0 0 28px rgba(130,87,255,.12); }
.subtitle, .meta, .hero-meta, .side-description { color:#8f899f !important; }
.eyebrow, .season, .current-label, .draft-label, .round-title,
.phase, .card-kicker { color:#f1bf4f !important; }

/* generic dark/glass legacy surfaces */
.tournament-card, .side-card, .panel, .form-card, .login-box, .register-box,
.stat-card, .profile-header, .match, .series, .draft-box, .current-pick,
.player-card, .pick-row, .mode-card, .info, .quick-item, .rule, .warning {
    background:linear-gradient(145deg,rgba(22,15,40,.90),rgba(8,7,17,.94)) !important;
    border-color:rgba(255,255,255,.09) !important;
    box-shadow:0 18px 55px rgba(0,0,0,.16);
}
.tournament-card, .side-card, .panel, .form-card, .login-box, .register-box,
.stat-card, .profile-header { position:relative; overflow:hidden; }
.tournament-card:before, .side-card:before, .panel:before, .form-card:before,
.login-box:before, .register-box:before, .stat-card:before, .profile-header:before {
    content:""; position:absolute; top:0; left:0; width:100%; height:1px;
    background:linear-gradient(90deg,transparent,rgba(130,87,255,.5),rgba(241,191,79,.25),transparent);
}

/* legacy buttons */
.btn-primary, .register-link, .create-link, .submit-btn, .pick-btn,
.action-primary, .join-btn {
    background:linear-gradient(135deg,#f1bf4f,#ffda75) !important;
    color:#08050e !important;
    border-color:transparent !important;
    box-shadow:0 12px 35px rgba(241,191,79,.14) !important;
}
.btn:not(.btn-primary), .action:not(.action-primary), .back, .menu-link,
.profile-link, .vote-btn {
    background:rgba(130,87,255,.06) !important;
    border-color:rgba(130,87,255,.22) !important;
}
.btn:hover, .action:hover, .pick-btn:hover, .submit-btn:hover,
.register-link:hover, .create-link:hover { transform:translateY(-1px); filter:brightness(1.06); }

.status, .badge {
    color:#fff !important;
    border-color:rgba(130,87,255,.32) !important;
    background:linear-gradient(135deg,rgba(130,87,255,.30),rgba(47,139,255,.22)) !important;
    box-shadow:0 0 24px rgba(130,87,255,.08);
}

/* forms */
input, select, textarea {
    background:rgba(255,255,255,.035) !important;
    border-color:rgba(255,255,255,.10) !important;
    color:#fff !important;
}
input:focus, select:focus, textarea:focus {
    border-color:#8257ff !important;
    box-shadow:0 0 0 3px rgba(130,87,255,.08) !important;
}

/* tables */
th { color:#6f687d !important; }
td { color:#aaa4b7; }
.player, .table-player, .account-value { color:#fff !important; }
.points, .gold, .stat-value.gold, .ovr, .series-score, .score { color:#ffda75 !important; }
.playoff { background:linear-gradient(90deg,rgba(130,87,255,.055),transparent) !important; }

/* draft / progress */
.progress-value, .bar-fill {
    background:linear-gradient(90deg,#8257ff,#2f8bff) !important;
    box-shadow:0 0 20px rgba(130,87,255,.2);
}
.bar-fill.trade { background:linear-gradient(90deg,#f1bf4f,#ffda75) !important; }
.your-turn { background:rgba(241,191,79,.07) !important; border-color:rgba(241,191,79,.3) !important; color:#ffda75 !important; }

/* alerts */
.alert-success, .success { background:rgba(54,229,158,.07) !important; border-color:rgba(54,229,158,.24) !important; color:#b2f5d4 !important; }
.alert-error, .error { background:rgba(255,77,109,.07) !important; border-color:rgba(255,77,109,.24) !important; color:#ffc1cb !important; }

/* tabs */
.tab { background:rgba(255,255,255,.035) !important; border-color:rgba(255,255,255,.09) !important; }
.tab.active { background:linear-gradient(135deg,#8257ff,#2f8bff) !important; color:#fff !important; border-color:transparent !important; box-shadow:0 8px 28px rgba(130,87,255,.18); }

/* admin legacy action danger */
.action-danger { background:rgba(255,77,109,.08) !important; border-color:rgba(255,77,109,.28) !important; color:#ffc1cb !important; }

/* footer / empty */
.empty { background:rgba(255,255,255,.015); }

/* subtle arena motif across content */
.page:before {
    content:""; position:fixed; right:-180px; bottom:-240px; width:620px; height:620px;
    border:1px solid rgba(255,255,255,.025); border-radius:50%; pointer-events:none; z-index:-1;
    box-shadow:0 0 0 90px rgba(255,255,255,.007),0 0 0 180px rgba(255,255,255,.004);
}

/* 248 final project additions */
.hero-simple{position:relative;overflow:hidden;padding:34px;border:1px solid var(--border-purple);border-radius:22px;background:radial-gradient(circle at 85% 15%,rgba(130,87,255,.22),transparent 34%),radial-gradient(circle at 100% 90%,rgba(47,139,255,.12),transparent 30%),linear-gradient(145deg,rgba(23,15,42,.94),rgba(8,7,17,.96));margin-bottom:20px}
.hero-simple:after{content:"🎮";position:absolute;right:25px;bottom:-16px;font-size:120px;opacity:.035;transform:rotate(-12deg)}
.hero-title-small{font-size:clamp(36px,6vw,68px);line-height:.96;letter-spacing:-2px;margin:5px 0 12px;font-weight:1000;text-transform:uppercase}
.hero-title-small span{background:linear-gradient(100deg,#fff,#b9a6ff 55%,#ffda75);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy-small{max-width:760px;color:var(--muted);font-size:13px;line-height:1.7}
.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.section-gap{margin-top:20px}
.facebook-card{position:relative;overflow:hidden;background:radial-gradient(circle at 0 0,rgba(47,139,255,.18),transparent 40%),linear-gradient(145deg,rgba(17,14,31,.92),rgba(8,7,16,.95))}
.fb-placeholder{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;border:1px dashed rgba(47,139,255,.25);border-radius:12px;color:#807a8d}
.fb-placeholder .fb-icon{font-size:42px;margin-bottom:10px}
.fb-frame{width:100%;height:420px;border:0;border-radius:10px;background:#fff}
.legal-content{max-width:950px;margin:auto}.legal-content h2{margin:28px 0 10px;font-size:20px}.legal-content h3{margin:20px 0 8px;font-size:15px;color:#eee9f4}.legal-content p,.legal-content li{color:#a39dad;font-size:12px;line-height:1.85}.legal-content ul{padding-left:20px}.legal-note{padding:14px 16px;border-left:3px solid var(--gold);background:rgba(241,191,79,.05);color:#a49dac;font-size:11px;line-height:1.7;margin-bottom:18px}
.auth-shell{max-width:560px;margin:35px auto}.auth-card{padding:26px}.auth-logo{text-align:center;margin-bottom:22px}.auth-logo img{height:68px}.auth-links{text-align:center;margin-top:16px;color:#70697a;font-size:11px}.auth-links a{color:var(--gold)}
.kpi{font-size:30px;font-weight:1000;color:#fff;letter-spacing:-1px}.kpi.gold{color:var(--gold2)}
.tournament-card{padding:22px}.tournament-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.tournament-title{font-size:24px;font-weight:1000;margin:5px 0}.meta-line{color:#776f84;font-size:10px;line-height:1.6}
.match-card-link{display:block}.match-card-link:hover{border-color:var(--border-purple)}
.sidebar-title{font-size:17px;font-weight:1000;margin-bottom:12px}.sidebar-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:10px}.sidebar-row:last-child{border-bottom:0}.sidebar-row span{color:#6d6578}.sidebar-row strong{color:#e5e0ec;text-align:right}
.tabbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tab{padding:11px 14px;border:1px solid var(--border);border-radius:9px;color:#898294;background:rgba(255,255,255,.025);font-size:9px;font-weight:1000;text-transform:uppercase;letter-spacing:.7px}.tab.active{color:#090611;border-color:transparent;background:linear-gradient(135deg,var(--gold),var(--gold2))}
.admin-warning{padding:14px 16px;border:1px solid rgba(241,191,79,.25);background:rgba(241,191,79,.05);color:#b8af9c;border-radius:10px;font-size:11px;line-height:1.7;margin-bottom:18px}
.badge-live{display:inline-flex;align-items:center;gap:6px;color:#ff9aad;font-size:8px;font-weight:1000;letter-spacing:1.2px}.badge-live:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 12px var(--red)}
@media(max-width:900px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}}
@media(max-width:620px){.grid-4{grid-template-columns:1fr}.hero-simple{padding:24px 18px}.tournament-top{flex-direction:column}.fb-frame{height:360px}}

/* centered cookie notice */
.cookie-banner{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:9999;width:min(760px,calc(100% - 32px));padding:15px 16px;border:1px solid rgba(130,87,255,.38);border-radius:14px;background:rgba(12,8,24,.97);box-shadow:0 18px 60px rgba(0,0,0,.50);color:#d8d2e4;font-size:11px;line-height:1.55;align-items:center;justify-content:space-between;gap:18px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.cookie-banner[style*="display: block"]{display:flex!important}
.cookie-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.cookie-copy strong{color:#fff;font-size:12px}
.cookie-copy span{color:#aaa3b7}
.cookie-copy a{color:var(--gold2);font-weight:900}
.cookie-ok{flex:0 0 auto;min-width:72px}
.fb-help{margin-top:10px;text-align:center;color:#70697d;font-size:9px;line-height:1.5}
.fb-help a{color:var(--gold2);font-weight:900}
@media(max-width:620px){.cookie-banner{bottom:12px;width:calc(100% - 24px);padding:14px;align-items:stretch;flex-direction:column}.cookie-ok{width:100%}}

/* ===== 248 v5 refinements ===== */
.logo-img{
    height:74px;
    width:auto;
    max-width:170px;
    object-fit:contain;
    mix-blend-mode:screen;
    filter:drop-shadow(0 0 20px rgba(241,191,79,.26));
}
.site-header{min-height:94px}
.field-help{margin-top:6px;color:#6f687c;font-size:9px;line-height:1.45}
.home-box{border-color:rgba(241,191,79,.28)!important;background:rgba(241,191,79,.055)!important}

.cookie-overlay{
    position:fixed;
    inset:0;
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(2,1,7,.58);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
.cookie-modal{
    width:min(620px,100%);
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:18px;
    padding:22px;
    border:1px solid rgba(130,87,255,.42);
    border-radius:18px;
    background:linear-gradient(145deg,rgba(18,12,34,.98),rgba(8,6,18,.99));
    box-shadow:0 30px 100px rgba(0,0,0,.65),0 0 45px rgba(130,87,255,.08);
}
.cookie-icon{font-size:30px}
.cookie-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.cookie-copy strong{color:#fff;font-size:14px}
.cookie-copy span{color:#aaa3b7;font-size:11px;line-height:1.55}
.cookie-copy a{color:var(--gold2);font-weight:900}
.cookie-ok{min-width:86px}

.fb-placeholder{
    min-height:230px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:22px;
    border:1px dashed rgba(47,139,255,.26);
    border-radius:14px;
    background:rgba(47,139,255,.025);
    color:#8f899d;
    line-height:1.5;
}
.fb-icon{font-size:36px;margin-bottom:10px}
.fb-frame{display:block;width:100%;height:500px;border:0;border-radius:12px;background:#fff;overflow:hidden}
.fb-help{margin-top:10px;color:#777084;font-size:9px;line-height:1.5;text-align:center}
.fb-help a{color:var(--gold2);font-weight:900}

@media(max-width:620px){
    .logo-img{height:60px;max-width:135px}
    .site-header{min-height:80px}
    .cookie-modal{grid-template-columns:1fr;text-align:center;justify-items:center;padding:20px 16px}
    .cookie-ok{width:100%}
    .fb-frame{height:440px}
}

/* ===== 248 v6 useful-home + graceful-state refinements ===== */
.hero-compact{padding:26px 30px;margin-bottom:16px}
.home-hero{min-height:0!important}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:center;position:relative;z-index:2}
.home-hero .hero-title-small{font-size:clamp(38px,5vw,62px);margin-bottom:8px}
.season-snapshot{padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.035)}
.snapshot-title{font-size:24px;font-weight:1000;margin-top:5px}
.snapshot-meta{margin-top:5px;color:#9a93a7;font-size:11px;line-height:1.5}
.snapshot-rules{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);color:#ffda75;font-size:10px;font-weight:900}
.home-data-grid{align-items:stretch}
.compact-stack{gap:8px!important}
.result-row,.upcoming-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;padding:13px 14px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.025);transition:.16s ease}
.result-row:hover,.upcoming-row:hover{border-color:rgba(130,87,255,.32);background:rgba(130,87,255,.045)}
.result-team,.upcoming-row>div{min-width:0}.result-team strong,.upcoming-row strong{display:block;color:#fff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-team span,.upcoming-row span{display:block;margin-top:4px;color:#6f687d;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-team.away,.upcoming-row .away{text-align:right}.result-score{font-size:22px;font-weight:1000;color:#ffda75;white-space:nowrap}.result-score small{font-size:13px;color:#7a7386}.upcoming-center{text-align:center!important}.upcoming-center b{display:block;color:#ffda75;font-size:10px}.upcoming-center small{display:block;margin-top:4px;color:#746d80;font-size:8px;white-space:nowrap}
.trade-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 14px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.025)}
.trade-row>div:first-child{min-width:0}.trade-row strong{display:block;color:#fff;font-size:11px}.trade-row span:not(.status-pill){display:block;margin-top:4px;color:#777082;font-size:9px}.trade-status{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px}.trade-status small{color:#5f586b;font-size:8px}
.sidebar-big{font-size:24px;margin:8px 0 6px}.vote-line{display:flex;justify-content:space-between;gap:10px;margin:14px 0 7px;color:#81798e;font-size:10px}.vote-line strong{color:#fff}.vote-track{height:8px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}.vote-fill{height:100%;background:linear-gradient(90deg,#f1bf4f,#ffda75)}.vote-fill.trade{background:linear-gradient(90deg,#8257ff,#2f8bff)}.vote-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.vote-total{text-align:center;color:#625b6c;font-size:9px;margin-top:9px}
.facebook-mini{width:100%;min-height:132px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#fff}.facebook-mini iframe{display:block;max-width:100%}
.info-callout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center;margin-bottom:18px;padding:16px 18px;border-radius:12px;border:1px solid rgba(241,191,79,.24);background:linear-gradient(100deg,rgba(241,191,79,.07),rgba(130,87,255,.045))}.info-callout strong{grid-column:1;color:#fff;font-size:13px}.info-callout span{grid-column:1;color:#9a93a7;font-size:10px;line-height:1.55}.info-callout .btn{grid-column:2;grid-row:1/3;align-self:center}
.trade-log-card{padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.025)}.trade-log-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.trade-log-top strong{display:block;color:#fff;font-size:11px}.trade-log-top span:not(.status-pill){display:block;margin-top:4px;color:#777082;font-size:9px}
.roster-summary{padding:11px 0;border-bottom:1px solid rgba(255,255,255,.06)}.roster-summary:last-child{border-bottom:0}.roster-summary-head{display:flex;justify-content:space-between;gap:10px}.roster-summary-head strong{font-size:10px}.roster-summary-head span{color:#ffda75;font-size:9px;font-weight:900}.roster-mini{margin-top:5px;color:#6f687c;font-size:8px;line-height:1.45}
@media(max-width:900px){.home-hero-grid{grid-template-columns:1fr}.season-snapshot{max-width:520px}.home-data-grid{grid-template-columns:1fr}}
@media(max-width:620px){.hero-compact{padding:20px 18px}.result-row,.upcoming-row{grid-template-columns:1fr}.result-team.away,.upcoming-row .away{text-align:left}.result-score,.upcoming-center{text-align:left!important}.trade-row,.trade-log-top{flex-direction:column;align-items:flex-start}.trade-status{align-items:flex-start;text-align:left}.info-callout{grid-template-columns:1fr}.info-callout .btn{grid-column:1;grid-row:auto}.facebook-mini{background:transparent}}

/* ===== 248 v7 competition-first layout ===== */
.compact-page-head,.competition-bar,.player-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 22px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(145deg,rgba(18,14,31,.82),rgba(8,7,16,.88))}
.compact-page-head h1,.competition-bar h1,.player-head h1{font-size:clamp(28px,4vw,42px);line-height:1;margin:4px 0 7px;letter-spacing:-1px}.compact-page-head p,.competition-bar p,.player-head p{color:#8f8899;font-size:11px;line-height:1.55}
.leaders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.leader-card{position:relative;padding:18px;border:1px solid var(--border);border-radius:15px;background:linear-gradient(145deg,rgba(20,15,35,.9),rgba(9,7,18,.92));overflow:hidden}.leader-icon{font-size:26px;margin-bottom:9px}.leader-player{display:inline-block;font-size:18px;font-weight:1000;color:#fff;margin:4px 0}.leader-player:hover,.player-link:hover{color:var(--gold2)}.leader-team{color:#7b7485;font-size:9px;line-height:1.4;min-height:26px}.leader-value{margin-top:12px;color:var(--gold2);font-size:28px;font-weight:1000}.leader-value small{display:block;margin-top:3px;color:#6f6879;font-size:8px;text-transform:uppercase;letter-spacing:.8px}.leader-empty{margin-top:10px;color:#6d6677;font-size:10px}
.home-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.card-link{color:var(--gold2);font-size:9px;font-weight:1000;text-transform:uppercase;letter-spacing:.6px}.player-link{color:#fff;font-weight:1000;text-decoration:none}.player-link-inline{color:#fff}.attack-number{color:#ffb35a;font-weight:1000}.defence-number{color:#71d8ff;font-weight:1000}.champion-mini{font-size:23px;font-weight:1000;margin:9px 0}.trade-table{display:flex;flex-direction:column;gap:8px}.trade-table-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 150px;gap:12px;align-items:center;padding:12px 14px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.025)}.trade-table-row>div span:not(.status-pill){display:block;color:#6f6878;font-size:8px;margin-top:4px}.trade-arrow{color:var(--gold2);font-size:20px}.trade-table-row>div:last-child{text-align:right}.trade-table-row small{display:block;margin-top:5px;color:#615a6b;font-size:8px}
.stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.metric-card{padding:17px;border:1px solid var(--border);border-radius:13px;background:rgba(255,255,255,.025)}.metric-card span{display:block;color:#6d6678;font-size:8px;font-weight:1000;letter-spacing:1px;text-transform:uppercase}.metric-card strong{display:block;margin-top:7px;font-size:27px;font-weight:1000}.metric-card small{display:block;margin-top:4px;color:#696272;font-size:8px}.attack-card{border-color:rgba(255,179,90,.18);background:linear-gradient(145deg,rgba(255,179,90,.055),rgba(255,255,255,.02))}.defence-card{border-color:rgba(113,216,255,.18);background:linear-gradient(145deg,rgba(113,216,255,.05),rgba(255,255,255,.02))}
.section-gap{margin-top:18px}
@media(max-width:1050px){.home-main-grid{grid-template-columns:1fr}.leaders-grid{grid-template-columns:1fr 1fr 1fr}.stat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.compact-page-head,.competition-bar,.player-head{align-items:flex-start;flex-direction:column}.leaders-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.trade-table-row{grid-template-columns:1fr}.trade-arrow{transform:rotate(90deg)}.trade-table-row>div:last-child{text-align:left}}


/* TOP COMPLETED GAMES RIBBON */
.scores-ribbon{position:relative;width:100%;margin:0 0 18px;padding:14px 54px;border:1px solid rgba(241,191,79,.18);border-radius:16px;background:radial-gradient(circle at 15% 50%,rgba(130,87,255,.16),transparent 34%),radial-gradient(circle at 90% 30%,rgba(47,139,255,.12),transparent 30%),linear-gradient(110deg,rgba(18,12,32,.98),rgba(10,8,20,.98));box-shadow:0 18px 50px rgba(0,0,0,.20);overflow:hidden}
.scores-track{display:flex;gap:10px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;padding:1px 0}.scores-track::-webkit-scrollbar{display:none}
.mini-score-card{flex:0 0 228px;min-height:132px;scroll-snap-align:start;padding:11px 12px 9px;border:1px solid rgba(255,255,255,.10);border-radius:11px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.05);transition:transform .16s ease,border-color .16s ease,background .16s ease}
.mini-score-card:hover{transform:translateY(-2px);border-color:rgba(241,191,79,.38);background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045))}
.mini-score-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;color:#81798e;font-size:8px;font-weight:1000;letter-spacing:1px;text-transform:uppercase}.mini-score-head b{color:#ffda75;font-size:8px}
.mini-score-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:24px;opacity:.74}.mini-score-row.winner{opacity:1}.mini-score-row.winner .mini-name{color:#fff;font-weight:1000}.mini-score-row.winner>strong{color:#ffda75}
.mini-team{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.mini-home{flex:0 0 18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:rgba(241,191,79,.12);border:1px solid rgba(241,191,79,.25);color:#ffda75;font-size:7px;font-weight:1000}.mini-home.away{background:rgba(130,87,255,.12);border-color:rgba(130,87,255,.25);color:#baa7ff}
.mini-flag{font-size:13px;line-height:1}.mini-name{min-width:0;max-width:none;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d8d3e1;font-size:10px;font-weight:900}.mini-score-row>strong{flex:0 0 auto;color:#d9d4e3;font-size:18px;line-height:1;font-weight:1000}
.mini-team-sub{margin:0 28px 4px 48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f687d;font-size:7px;line-height:1.15}.mini-score-foot{margin-top:7px;padding-top:6px;border-top:1px solid rgba(255,255,255,.06);color:#716a7d;font-size:7px;font-weight:800;text-align:center}
.scores-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(8,6,16,.90);color:#fff;font-size:23px;line-height:30px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.25)}.scores-arrow:hover{border-color:rgba(241,191,79,.4);color:#ffda75}.scores-arrow-left{left:10px}.scores-arrow-right{right:10px}
@media(max-width:700px){.scores-ribbon{padding:11px 40px;margin-bottom:14px}.mini-score-card{flex-basis:205px;min-height:126px}.scores-arrow{width:29px;height:29px;font-size:20px}.scores-arrow-left{left:6px}.scores-arrow-right{right:6px}}

/* ===== v10 playoff bracket + two-stage result confirmation ===== */
.final-result-review{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;padding:18px;border:1px solid rgba(241,191,79,.22);border-radius:13px;background:linear-gradient(135deg,rgba(241,191,79,.055),rgba(130,87,255,.045))}.final-result-review>div:first-child,.final-result-review>div:last-child{display:flex;flex-direction:column;gap:8px}.final-result-review>div:last-child{text-align:right}.final-result-review span{color:#a59faf;font-size:11px;font-weight:900}.final-result-review strong{font-size:42px;line-height:1;color:#ffda75}.final-result-divider{color:#706979;font-size:9px;font-weight:1000;letter-spacing:1.3px;text-transform:uppercase}
.playoff-bracket-wrap{width:100%;overflow-x:auto;padding:4px 2px 10px}.playoff-bracket{display:flex;align-items:stretch;gap:24px;min-width:max-content}.bracket-round{width:250px;display:flex;flex-direction:column}.bracket-round-title{margin-bottom:12px;color:#f1bf4f;font-size:9px;font-weight:1000;letter-spacing:1.5px;text-transform:uppercase;text-align:center}.bracket-round-series{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:18px}.bracket-series{position:relative;min-height:108px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025);overflow:hidden}.bracket-series:after{content:"";position:absolute;right:-25px;top:50%;width:24px;height:1px;background:rgba(130,87,255,.35)}.bracket-player{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.06)}.bracket-player:nth-child(2){border-bottom:0}.bracket-player span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d8d3e2;font-size:10px;font-weight:900}.bracket-player strong{color:#c8c1d1;font-size:15px}.bracket-player small{grid-column:1 / -1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f6879;font-size:7px}.bracket-player.winner{background:linear-gradient(90deg,rgba(241,191,79,.09),transparent)}.bracket-player.winner span,.bracket-player.winner strong{color:#ffda75}.bracket-player.placeholder{opacity:.48}.bracket-series-foot{padding:6px 9px;border-top:1px solid rgba(255,255,255,.05);color:#5f5968;font-size:7px;font-weight:1000;letter-spacing:.7px;text-align:center}.series-complete{border-color:rgba(241,191,79,.20)}.bracket-champion{width:230px;display:flex;flex-direction:column;justify-content:center}.champion-trophy-card{padding:16px;border:1px solid rgba(241,191,79,.25);border-radius:14px;background:radial-gradient(circle at 50% 15%,rgba(241,191,79,.14),transparent 42%),rgba(255,255,255,.025);text-align:center}.champion-trophy-img{display:block;width:112px;height:112px;object-fit:cover;object-position:center;margin:0 auto 10px;border-radius:10px}.champion-bracket-name{display:block;color:#fff;font-size:18px;font-weight:1000;margin:7px 0 4px}.champion-bracket-name:hover{color:#ffda75}.champion-bracket-name.muted{color:#696272}.champion-series-score{display:inline-block;margin-top:10px;padding:6px 9px;border:1px solid rgba(241,191,79,.25);border-radius:7px;color:#ffda75;font-size:9px;font-weight:1000}
@media(max-width:700px){.final-result-review{grid-template-columns:1fr}.final-result-review>div:last-child{text-align:left}.final-result-divider{text-align:center}.playoff-bracket{gap:18px}.bracket-round{width:220px}.champion-trophy-img{width:96px;height:96px}}


/* 248 additions: countdowns, action-required card and in-theme confirmations */
.countdown248{display:block;margin-top:3px;color:#f1bf4f;font-size:9px;font-weight:900;letter-spacing:.35px}
.countdown248.is-live{color:#ff8094}
.home-action-required{border-color:rgba(241,191,79,.34)!important;background:linear-gradient(135deg,rgba(241,191,79,.055),rgba(143,108,255,.035))}
.home-action-required .action-required-title{font-size:10px;font-weight:1000;letter-spacing:1.2px;color:#f1bf4f;text-transform:uppercase}
.home-action-required .action-required-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0}
.home-action-required .action-required-row+.action-required-row{border-top:1px solid rgba(255,255,255,.06)}
.home-action-required .action-required-copy{min-width:0}
.home-action-required .action-required-copy strong{display:block;font-size:12px;color:#fff}
.home-action-required .action-required-copy span{display:block;margin-top:3px;font-size:9px;color:#8f899c}
.confirm248-overlay{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(3,2,10,.68);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.confirm248-overlay.is-open{display:flex}
.confirm248-modal{width:min(440px,100%);border-radius:18px;border:1px solid rgba(241,191,79,.28);background:radial-gradient(circle at 90% 0%,rgba(143,108,255,.18),transparent 38%),linear-gradient(145deg,rgba(18,13,31,.99),rgba(7,6,15,.99));box-shadow:0 30px 90px rgba(0,0,0,.58);padding:22px}
.confirm248-kicker{font-size:8px;font-weight:1000;letter-spacing:2px;color:#f1bf4f;text-transform:uppercase;margin-bottom:8px}
.confirm248-modal h3{margin:0;color:#fff;font-size:23px}
.confirm248-modal p{margin:10px 0 0;color:#9a93a6;font-size:12px;line-height:1.55}
.confirm248-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.confirm248-actions .btn{width:100%}
.full-match-list .upcoming-row{min-height:72px}
@media(max-width:600px){.confirm248-actions{grid-template-columns:1fr}.home-action-required .action-required-row{align-items:flex-start;flex-direction:column}}


/* 248.lt team logos — additive only */
.team-logo248{width:42px;height:42px;object-fit:contain;flex:0 0 42px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.30))}
.team-with-logo{display:flex;align-items:center;gap:10px;min-width:0}.team-with-logo>div{min-width:0}.team-with-logo.away{justify-content:flex-start;flex-direction:row-reverse}.team-with-logo.away>div{text-align:right}
.mini-team-logo{width:18px;height:18px;object-fit:contain;flex:0 0 18px;filter:drop-shadow(0 2px 5px rgba(0,0,0,.28))}
.match-team-logo-line{display:flex;align-items:center;gap:14px;min-width:0}.match-team-logo-line>div{min-width:0}.match-team-logo-line.away{flex-direction:row-reverse}.match-team-logo-line.away>div{text-align:right}.match-team-logo{width:66px;height:66px;object-fit:contain;flex:0 0 66px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.34))}
.score-team-head{display:flex;align-items:center;gap:12px}.score-team-head>div{min-width:0}.score-team-logo{width:48px;height:48px;object-fit:contain;flex:0 0 48px;filter:drop-shadow(0 5px 12px rgba(0,0,0,.30))}
.bracket-team-line{display:flex!important;align-items:center;gap:5px}.bracket-team-logo{width:18px;height:18px;object-fit:contain;flex:0 0 18px}
.champion-team-logo-line,.champion-player-team{display:flex;align-items:center;gap:12px}.champion-team-logo{width:56px;height:56px;object-fit:contain;flex:0 0 56px;filter:drop-shadow(0 6px 16px rgba(0,0,0,.32))}
.team-choice-logo-wrap{display:flex;align-items:center;justify-content:center;min-height:74px;margin-bottom:8px}.team-choice-logo{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 7px 16px rgba(0,0,0,.30))}.team-order-team{display:flex;align-items:center;gap:7px;margin-top:4px}.team-order-logo{width:24px;height:24px;object-fit:contain;flex:0 0 24px}
@media(max-width:620px){.team-logo248{width:34px;height:34px;flex-basis:34px}.team-with-logo.away{flex-direction:row}.team-with-logo.away>div{text-align:left}.match-team-logo{width:48px;height:48px;flex-basis:48px}.match-team-logo-line.away{flex-direction:row}.match-team-logo-line.away>div{text-align:left}.score-team-logo{width:40px;height:40px;flex-basis:40px}.champion-team-logo{width:46px;height:46px;flex-basis:46px}}


/* v28: leader logos slightly larger and shifted a bit left to sit more naturally in the empty center area */
.leader-card{min-height:190px;padding-right:190px}
.leader-side-logo{
  position:absolute;
  left:65%;
  top:54%;
  transform:translate(-50%,-50%);
  width:144px;
  height:144px;
  object-fit:contain;
  display:block;
  opacity:.98;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.32));
  pointer-events:none;
}
@media(max-width:900px){
  .leader-card{padding-right:154px}
  .leader-side-logo{left:66%;width:116px;height:116px}
}
@media(max-width:620px){
  .leader-card{padding-right:116px}
  .leader-side-logo{left:auto;right:18px;top:55%;transform:translateY(-50%);width:82px;height:82px}
}


/* v19 — Playoff / Finals visual mode */
.match-stage-head{display:inline-flex;align-items:center;gap:7px}.match-stage-head em{font-style:normal}.match-stage-logo{display:block;width:92px;max-height:28px;object-fit:contain}.mini-stage-logo{display:block;width:58px;max-height:18px;object-fit:contain}.result-stage-logo{display:block;width:86px;max-height:30px;object-fit:contain;margin:0 auto 4px}.match-page-stage{display:flex;align-items:center;gap:10px}.match-page-stage-logo{width:126px;max-height:44px;object-fit:contain}.stage-playoffs{border-color:rgba(235,32,78,.28)!important;background-image:linear-gradient(110deg,rgba(7,107,183,.045),rgba(235,32,78,.045))!important}.stage-finals{border-color:rgba(241,191,79,.42)!important;background-image:radial-gradient(circle at 50% 0,rgba(241,191,79,.09),transparent 45%)!important;box-shadow:inset 0 0 0 1px rgba(241,191,79,.04)}
.upcoming-center .match-stage-logo{margin:0 auto 4px;width:74px;max-height:22px}.match-main-card.stage-finals{border-color:rgba(241,191,79,.48)!important}.match-main-card.stage-playoffs{border-color:rgba(235,32,78,.30)!important}

.playoff-page-hero{overflow:hidden}.playoff-page-brand{display:flex;align-items:center;gap:26px}.playoff-page-brand>img{width:min(300px,32vw);max-height:110px;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.28))}.playoff-main-card{overflow:hidden}.playoff-tree-shell{border:1px solid rgba(241,191,79,.13);border-radius:18px;background:radial-gradient(circle at 50% 0,rgba(241,191,79,.065),transparent 28%),linear-gradient(180deg,rgba(15,12,24,.96),rgba(7,6,13,.98));padding:18px}.playoff-tree-brand{display:flex;align-items:center;gap:18px;padding:0 4px 16px;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:18px}.playoff-tree-brand img{width:190px;max-height:66px;object-fit:contain}.playoff-tree-brand span{display:block;color:#847b8f;font-size:8px;font-weight:900;letter-spacing:1.4px}.playoff-tree-brand strong{display:block;color:#fff;font-size:17px;margin-top:3px}.playoff-tree-scroll{overflow-x:auto;padding:4px 2px 12px}.playoff-tree{display:flex;align-items:stretch;gap:54px;min-width:max-content;padding:4px 8px 10px}.tree-round{width:270px;display:flex;flex-direction:column}.tree-round-head{height:52px;display:flex;align-items:center;justify-content:center;color:#f1bf4f;font-size:10px;font-weight:1000;letter-spacing:1.4px;text-transform:uppercase}.tree-finals-logo{width:148px;max-height:50px;object-fit:contain}.tree-series-stack{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:30px}.tree-series{position:relative;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.028);box-shadow:0 10px 28px rgba(0,0,0,.18);overflow:visible}.tree-series:after{content:"";position:absolute;right:-55px;top:50%;width:54px;height:1px;background:linear-gradient(90deg,rgba(241,191,79,.42),rgba(116,83,255,.35))}.tree-round:last-of-type .tree-series:after{background:rgba(241,191,79,.45)}.tree-team{display:grid;grid-template-columns:24px 34px minmax(0,1fr) 30px;align-items:center;gap:7px;padding:10px 10px;border-bottom:1px solid rgba(255,255,255,.06);min-height:59px}.tree-team:nth-of-type(2){border-bottom:0}.tree-team.winner{background:linear-gradient(90deg,rgba(241,191,79,.13),transparent)}.tree-team.winner .tree-team-copy b,.tree-team.winner .tree-wins{color:#ffda75}.tree-team.placeholder{opacity:.46}.tree-seed{color:#6f6879;font-size:9px;font-weight:1000}.tree-team-logo{width:32px;height:32px;object-fit:contain}.tree-team-copy{min-width:0}.tree-team-copy b{display:block;color:#e6e1ec;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-team-copy small{display:block;color:#6e6878;font-size:7px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-wins{color:#fff;font-size:21px;text-align:center}.tree-series-foot{padding:6px 9px;border-top:1px solid rgba(255,255,255,.05);color:#756e80;font-size:7px;font-weight:1000;letter-spacing:.9px;text-align:center}.tree-series-complete{border-color:rgba(241,191,79,.25)}.tree-champion-col{width:220px;display:flex;flex-direction:column}.tree-champion-card{margin:auto 0;padding:18px 14px;border:1px solid rgba(241,191,79,.28);border-radius:15px;background:radial-gradient(circle at 50% 10%,rgba(241,191,79,.16),transparent 50%),rgba(255,255,255,.025);text-align:center}.tree-cup{font-size:42px;margin-bottom:7px}.tree-champion-logo{width:78px;height:78px;object-fit:contain;margin:0 auto 8px}.tree-champion-card strong{display:block;color:#fff;font-size:16px}.tree-champion-card small{display:block;color:#847d8c;font-size:8px;margin-top:4px}.tree-champion-card b{display:inline-block;margin-top:10px;padding:6px 9px;border:1px solid rgba(241,191,79,.25);border-radius:8px;color:#ffda75;font-size:9px}.home-playoff-tree .playoff-tree-shell{padding:14px}.home-playoff-tree .playoff-tree-brand{margin-bottom:10px}.home-playoff-tree .playoff-tree-brand img{width:150px}.home-playoff-tree .playoff-tree-brand strong{font-size:14px}.playoff-tree-compact .tree-round{width:235px}.playoff-tree-compact .tree-team{grid-template-columns:20px 28px minmax(0,1fr) 26px;min-height:52px;padding:8px}.playoff-tree-compact .tree-team-logo{width:27px;height:27px}.playoff-tree-compact .tree-wins{font-size:18px}.playoff-tree-compact .tree-champion-col{width:190px}
@media(max-width:760px){.playoff-page-brand{align-items:flex-start;flex-direction:column}.playoff-page-brand>img{width:220px}.playoff-tree-shell{padding:12px}.playoff-tree{gap:38px}.tree-round{width:225px}.tree-series:after{right:-39px;width:38px}.match-page-stage{align-items:flex-start;flex-direction:column}.match-page-stage-logo{width:108px}.result-stage-logo{width:66px}.match-stage-logo{width:72px}}

/* v31 playoff lifecycle + 248 champion badge */
.playoff-tree-awaiting{margin:-4px 4px 14px;padding:10px 12px;border:1px dashed rgba(241,191,79,.2);border-radius:10px;color:#8b8395;font-size:9px;text-align:center;background:rgba(241,191,79,.025)}
.tree-team-copy b{display:flex;align-items:center;gap:6px}
.tree-inline-champion-badge{width:78px;max-width:42%;height:24px;object-fit:contain;object-position:left center;flex:0 0 auto;filter:drop-shadow(0 4px 9px rgba(241,191,79,.18))}
.tree-champion-badge{display:block;width:180px;max-width:100%;height:60px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 8px 18px rgba(241,191,79,.2))}
.playoff-history-section{display:flex;flex-direction:column;gap:18px}.playoff-history-heading{padding:4px 4px 0}.playoff-history-heading h2{margin:4px 0 5px}.playoff-history-heading p{margin:0;color:#81798c;font-size:10px}.playoff-history-card{opacity:.88}.playoff-history-card .playoff-tree-shell{background:linear-gradient(180deg,rgba(12,10,19,.92),rgba(6,5,11,.96))}.playoff-history-card .playoff-tree-brand{opacity:.8}
@media(max-width:760px){.tree-inline-champion-badge{width:60px;height:20px}.tree-champion-badge{width:145px;height:50px}}


/* ======================================================================
   v32 MOBILE EXPERIENCE
   Responsive-only polish. Desktop rules and application logic stay intact.
   ====================================================================== */

@media (max-width: 760px) {
  html,body{max-width:100%;overflow-x:hidden}
  body{background-attachment:scroll}

  /* Header: keep every destination reachable on phones via swipeable nav. */
  .site-header{
    min-height:auto;
    padding:8px 10px 9px;
    gap:7px;
    flex-direction:column;
    align-items:stretch;
  }
  .site-header>a:first-child{align-self:center;line-height:0}
  .logo-img{height:43px}
  .main-nav{
    width:100%;
    display:flex;
    gap:5px;
    overflow-x:auto;
    overflow-y:hidden;
    flex-wrap:nowrap;
    padding:1px 1px 3px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  .main-nav::-webkit-scrollbar{display:none}
  .main-nav .nav-desktop{display:block}
  .nav-link{
    flex:0 0 auto;
    scroll-snap-align:start;
    padding:8px 10px;
    font-size:8px;
    letter-spacing:.55px;
    border-radius:7px;
    white-space:nowrap;
  }

  /* Overall spacing */
  .page{width:calc(100% - 16px);padding:16px 0 66px}
  .section-gap{margin-top:12px}
  .stack{gap:12px}
  .two-column,.three-column,.home-main-grid{grid-template-columns:1fr;gap:12px}
  .sticky{position:static}

  /* Hero / page headers */
  .hero-simple,.hero-compact{padding:18px 15px;border-radius:16px;margin-bottom:13px}
  .hero-simple:after{font-size:74px;right:4px;bottom:-5px}
  .hero-title-small{font-size:32px;line-height:.98;letter-spacing:-1.2px;margin:4px 0 9px}
  .hero-copy-small{font-size:11px;line-height:1.55}
  .eyebrow{font-size:8px;letter-spacing:2px}
  .compact-page-head,.competition-bar,.player-head{
    padding:15px;
    border-radius:14px;
    gap:12px;
  }
  .compact-page-head h1,.competition-bar h1,.player-head h1{font-size:30px}

  /* Cards */
  .card{border-radius:14px}
  .card-header{min-height:auto;padding:14px 14px;gap:10px;align-items:flex-start;flex-wrap:wrap}
  .card-header h2{font-size:18px}
  .card-header p{font-size:9px;line-height:1.45}
  .card-body{padding:14px}
  .info-box{padding:12px}
  .info-value{font-size:13px}
  .legal-note{padding:11px 12px;font-size:10px;line-height:1.55}
  .empty{padding:20px 12px;min-height:90px}

  /* Actions / controls: thumb friendly without forcing awkward giant inline buttons. */
  .actions{width:100%;gap:7px;margin-top:12px}
  .actions .btn{width:auto;flex:1 1 130px;min-height:42px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;text-align:center}
  .actions .status-pill{flex:0 0 auto}
  .btn{min-height:42px;padding:0 13px}
  input,select,textarea{font-size:16px;min-height:46px} /* avoids iOS zoom */
  textarea{min-height:110px}

  /* Internal season tabs */
  .tabbar{
    flex-wrap:nowrap;
    overflow-x:auto;
    width:100%;
    gap:6px;
    margin-bottom:12px;
    padding:0 0 4px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .tabbar::-webkit-scrollbar{display:none}
  .tab{flex:0 0 auto;padding:9px 11px;font-size:8px;white-space:nowrap}

  /* Tables remain readable: swipe instead of squeezing columns into unreadable text. */
  .table-wrap{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:10px;
    scrollbar-width:thin;
  }
  .table-wrap table{min-width:650px}
  th{padding:9px 8px;font-size:7px}
  td{padding:11px 8px;font-size:10px}

  /* Stats / dashboard */
  .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .metric-card{padding:13px}
  .metric-card strong{font-size:24px}
  .leaders-grid{grid-template-columns:1fr;gap:9px}
  .leader-card{min-height:160px;padding:14px 112px 14px 14px}
  .leader-icon{font-size:22px;margin-bottom:6px}
  .leader-player{font-size:16px}
  .leader-value{font-size:26px;margin-top:8px}
  .leader-side-logo{left:auto!important;right:16px!important;top:52%!important;transform:translateY(-50%)!important;width:88px!important;height:88px!important}

  /* Completed score ribbon: designed for thumb swipe. */
  .scores-ribbon{padding:10px 34px;margin-bottom:12px;border-radius:13px}
  .scores-track{gap:8px;scroll-snap-type:x mandatory}
  .mini-score-card{flex:0 0 min(270px,78vw);min-height:122px;padding:10px;scroll-snap-align:center}
  .scores-arrow{width:27px;height:27px;font-size:18px;line-height:23px}
  .scores-arrow-left{left:4px}.scores-arrow-right{right:4px}

  /* Match/result rows keep the sports scoreboard composition on mobile. */
  .result-row,.upcoming-row{
    grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);
    gap:7px;
    padding:10px 9px;
    align-items:center;
  }
  .result-team.away,.upcoming-row .away{text-align:right}
  .team-with-logo{gap:6px;min-width:0}
  .team-with-logo.away{flex-direction:row-reverse}
  .team-with-logo.away>div{text-align:right}
  .team-with-logo>div{min-width:0}
  .team-with-logo strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .team-with-logo span{display:block;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .team-logo248{width:31px;height:31px;flex-basis:31px}
  .result-score{font-size:20px;text-align:center!important;white-space:nowrap}
  .upcoming-center{text-align:center!important;min-width:0}
  .upcoming-center b{font-size:13px}
  .upcoming-center small,.upcoming-center .page-subtitle{font-size:7px;line-height:1.25}
  .upcoming-center .match-stage-logo{width:54px;max-height:18px}
  .result-stage-logo{width:56px;max-height:21px}

  /* Tournament schedule cards */
  .match-card-link{padding:11px!important}
  .match-card-link>div:first-child{align-items:center}
  .schedule-match-grid{grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;gap:6px!important}
  .schedule-match-grid>.gold-text{text-align:center;font-size:12px}
  .schedule-match-grid .match-team-logo-line{gap:6px;min-width:0}
  .schedule-match-grid .match-team-logo-line.away{flex-direction:row-reverse;justify-content:flex-start!important}
  .schedule-match-grid .match-team-logo-line.away>div{text-align:right}
  .match-team-logo{width:38px;height:38px;flex-basis:38px}
  .match-stage-logo{width:64px;max-height:22px}
  .status-pill{font-size:7px;padding:6px 8px;white-space:nowrap}

  /* Match detail page */
  .match-page-stage{align-items:center;flex-direction:row;flex-wrap:wrap;gap:8px}
  .match-page-stage-logo{width:92px;max-height:34px}
  .match-summary-grid{grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr)!important;gap:8px!important;padding:4px 0!important}
  .match-summary-grid>div:nth-child(2){min-width:82px!important}
  .match-summary-grid>div:nth-child(2)>div:last-child{font-size:30px!important}
  .match-summary-grid .match-team-logo-line{gap:7px}
  .match-summary-grid .match-team-logo-line.away{flex-direction:row-reverse}
  .match-summary-grid .match-team-logo-line.away>div{text-align:right}
  .score-team-head{gap:9px}
  .score-team-logo{width:40px;height:40px;flex-basis:40px}

  /* Playoff experience: horizontal round-by-round swipe with snap and tighter connectors. */
  .playoff-page-brand{gap:12px;align-items:center;flex-direction:row}
  .playoff-page-brand>img{width:135px;max-height:52px;flex:0 0 135px}
  .playoff-tree-shell{padding:10px;border-radius:14px}
  .playoff-tree-brand{gap:10px;padding:0 2px 11px;margin-bottom:10px}
  .playoff-tree-brand img{width:118px;max-height:42px}
  .playoff-tree-brand strong{font-size:13px}
  .playoff-tree-scroll{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    padding:2px 0 8px;
  }
  .playoff-tree-scroll::-webkit-scrollbar{display:none}
  .playoff-tree{gap:24px;padding:2px 6px 8px}
  .tree-round{width:min(270px,79vw);scroll-snap-align:start}
  .tree-round-head{height:42px;font-size:9px}
  .tree-series-stack{gap:18px}
  .tree-series:after{right:-25px;width:24px}
  .tree-team{grid-template-columns:21px 31px minmax(0,1fr) 27px;min-height:55px;padding:8px;gap:6px}
  .tree-team-logo{width:29px;height:29px}
  .tree-team-copy b{font-size:9px}
  .tree-team-copy small{font-size:6.5px}
  .tree-wins{font-size:19px}
  .tree-champion-col{width:min(230px,72vw);scroll-snap-align:start}
  .tree-champion-card{padding:14px 11px}
  .tree-champion-logo{width:64px;height:64px}
  .tree-inline-champion-badge{width:58px;height:19px}
  .tree-champion-badge{width:130px;height:45px}
  .playoff-history-section{gap:13px}

  /* Chat + notifications */
  .chat248-toggle{right:9px!important;bottom:9px!important;padding:9px 12px!important;font-size:10px!important}
  .chat248-panel{width:calc(100vw - 16px)!important;right:8px!important;max-height:68vh!important;height:min(500px,68vh)!important}
  .n248-wrap{top:118px!important;right:8px!important;width:calc(100vw - 16px)!important}
  .n248{padding:8px 9px!important}
  .n248-copy{font-size:10px!important}

  /* Footer */
  .site-footer{margin-top:24px;padding:24px 13px 86px;font-size:8px;line-height:1.65}
}

@media (max-width: 480px) {
  .page{width:calc(100% - 12px)}
  .site-header{padding-left:6px;padding-right:6px}
  .logo-img{height:40px}
  .nav-link{padding:7px 9px;font-size:7.5px}
  .hero-title-small{font-size:29px}
  .card-header,.card-body{padding-left:12px;padding-right:12px}

  .stat-grid{gap:7px}
  .metric-card{padding:11px}
  .metric-card strong{font-size:22px}

  .result-row,.upcoming-row{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:5px;padding:9px 7px}
  .team-logo248{width:27px;height:27px;flex-basis:27px}
  .team-with-logo{gap:4px}
  .team-with-logo strong{font-size:9px}
  .team-with-logo span{font-size:6.5px}
  .result-score{font-size:18px}
  .upcoming-center .match-stage-logo{width:46px}

  .schedule-match-grid{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)!important;gap:4px!important}
  .schedule-match-grid .match-team-logo{width:32px;height:32px;flex-basis:32px}

  .match-summary-grid{grid-template-columns:1fr!important;gap:13px!important;text-align:center}
  .match-summary-grid>div{text-align:center!important}
  .match-summary-grid>div:nth-child(2){min-width:0!important;order:2}
  .match-summary-grid>div:first-child{order:1}
  .match-summary-grid>div:last-child{order:3}
  .match-summary-grid .match-team-logo-line,.match-summary-grid .match-team-logo-line.away{justify-content:center;flex-direction:row}
  .match-summary-grid .match-team-logo-line.away>div{text-align:left}

  .playoff-page-brand{align-items:flex-start;flex-direction:column}
  .playoff-page-brand>img{width:150px;flex-basis:auto}
  .tree-round{width:82vw}
  .tree-champion-col{width:76vw}

  .leader-card{padding-right:101px}
  .leader-side-logo{right:12px!important;width:78px!important;height:78px!important}

  .table-wrap table{min-width:610px}
}
