﻿:root {
    --fm-bg: #f4f8f2;
    --fm-surface: #ffffff;
    --fm-surface-strong: #0d2f24;
    --fm-text: #13261f;
    --fm-text-soft: #4d6359;
    --fm-primary: #1b8f4f;
    --fm-primary-dark: #0f6b39;
    --fm-accent: #f8b81f;
    --fm-radius-lg: 1.2rem;
    --fm-radius-md: 0.8rem;
    --fm-shadow-soft: 0 14px 30px rgba(13, 47, 36, 0.14);
}

html, body {
    font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 10% 10%, #fdf7e2 0%, #f4f8f2 38%, #e9f3ee 100%);
    color: var(--fm-text);
}

a, .btn-link {
    color: #116aa8;
}

.btn-primary {
    color: #fff;
    background-color: var(--fm-primary);
    border-color: var(--fm-primary-dark);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--fm-primary-dark);
    border-color: #0a512b;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 0.01em;
}

h1:focus {
    outline: none;
}

.hero-mundial {
    position: relative;
    overflow: hidden;
    border-radius: var(--fm-radius-lg);
    margin: 0.4rem 0 1.4rem;
    padding: 2.5rem 2rem;
    min-height: 22rem;
    display: flex;
    align-items: flex-end;
    background-image: linear-gradient(120deg, rgba(6, 40, 29, 0.9) 0%, rgba(7, 61, 40, 0.74) 45%, rgba(18, 56, 105, 0.58) 100%),
        url('https://images.unsplash.com/photo-1522778526097-ce0a22ceb253?auto=format&fit=crop&w=1920&q=80');
    background-position: center;
    background-size: cover;
    box-shadow: var(--fm-shadow-soft);
}

.hero-mundial__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 22, 17, 0.55) 0%, rgba(8, 22, 17, 0) 38%);
}

.hero-mundial__content {
    position: relative;
    max-width: 44rem;
    color: #f4fff8;
}

.hero-mundial__kicker {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: #102318;
    background: linear-gradient(135deg, #ffe48a, #f8b81f);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.hero-mundial h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.8rem;
    color: #ffe48a;
    font-weight: 700;
}

.hero-mundial p {
    font-size: 1.05rem;
    color: #dcece2;
    max-width: 40rem;
}

.hero-mundial__actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.info-card {
    background: var(--fm-surface);
    border-radius: var(--fm-radius-md);
    padding: 1.1rem;
    box-shadow: var(--fm-shadow-soft);
    border: 1px solid #d7e7de;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(13, 47, 36, 0.19);
}

.info-card h2 {
    margin-bottom: 0.45rem;
    font-size: 1.35rem;
}

.info-card p {
    color: var(--fm-text-soft);
}

.login-stage {
    display: grid;
    gap: 1.2rem;
    align-items: start;
    grid-template-columns: 1fr;
}

.login-stage__intro {
    background: linear-gradient(150deg, #edf8f2 0%, #fff9ea 100%);
    border: 1px solid #d8e9df;
    border-radius: var(--fm-radius-md);
    padding: 1.2rem;
}

.login-stage__intro p {
    margin: 0;
    color: var(--fm-text-soft);
}

.login-card {
    background: var(--fm-surface);
    border-radius: var(--fm-radius-md);
    border: 1px solid #d7e7de;
    box-shadow: var(--fm-shadow-soft);
    padding: 1.25rem;
}

.admin-page-shell {
    display: grid;
    gap: 1rem;
}

.admin-page-hero {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border-radius: var(--fm-radius-lg);
    background: linear-gradient(135deg, rgba(14, 63, 45, 0.95), rgba(23, 109, 80, 0.8)),
        url('https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #f4fff8;
    box-shadow: var(--fm-shadow-soft);
}

.admin-page-hero--compact {
    background-image: linear-gradient(135deg, rgba(13, 38, 31, 0.95), rgba(13, 83, 61, 0.82)),
        url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=1600&q=80');
}

.admin-page-hero p {
    margin: 0.5rem 0 0;
    max-width: 60ch;
    color: rgba(244, 255, 248, 0.85);
}

.admin-surface-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d7e7de;
    border-radius: var(--fm-radius-md);
    box-shadow: var(--fm-shadow-soft);
    padding: 1rem;
}

.admin-table thead th {
    border-bottom-width: 1px;
    color: var(--fm-text-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table tbody tr:hover {
    background-color: #f4fbf7;
}

.reveal-up {
    opacity: 0;
    transform: translateY(10px);
    animation: reveal-up 420ms ease forwards;
}

.reveal-up.delay-1 {
    animation-delay: 110ms;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (min-width: 900px) {
    .login-stage {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

@media (max-width: 640px) {
    .hero-mundial {
        min-height: 20rem;
        padding: 1.5rem 1.1rem;
    }

    .hero-mundial__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .info-card,
    .btn,
    .nav-link {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ── Avatares genéricos ── */
.avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--fm-gold);
    flex-shrink: 0;
}
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fm-green) 0%, #0a5c3c 100%);
    color: var(--fm-gold);
    font-size: 1.7rem;
    font-family: var(--fm-font-display);
    font-weight: 700;
    border: 3px solid var(--fm-gold);
}

/* ── Tabla de posiciones: grid de cards ── */
.page-with-sponsors {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.1rem;
    align-items: start;
}

.page-with-sponsors__main {
    min-width: 0;
}

.page-with-sponsors__side-stack {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-with-sponsors__side-stack .player-sponsors-rail {
    position: static;
}

.player-sponsors-rail {
    position: sticky;
    top: 1rem;
}

.player-sponsors-rail__card {
    border: 1px solid #d7e8de;
    border-radius: 1.2rem;
    background: linear-gradient(160deg, #ffffff 0%, #f4faf6 100%);
    box-shadow: 0 14px 30px rgba(13, 47, 36, 0.12);
    padding: 0.9rem;
}

.player-sponsors-rail__kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a7266;
    font-weight: 700;
}

.player-sponsors-rail__title {
    margin: 0.18rem 0 0.8rem;
    font-size: 1.25rem;
    color: #143628;
}

.player-sponsors-tier {
    margin-top: 0.7rem;
    border: 1px solid #deece4;
    border-radius: 0.95rem;
    padding: 0.55rem 0.6rem 0.7rem;
    background: #fff;
}

.player-sponsors-tier h3 {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    color: #1d3f31;
}

.player-sponsors-tier--gold {
    background: linear-gradient(180deg, #fffcf2 0%, #fff9e6 100%);
    border-color: #f1dda1;
}

.player-sponsors-tier--silver {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    border-color: #dbe3e9;
}

.player-sponsors-tier--bronze {
    background: linear-gradient(180deg, #fffefb 0%, #fff8f2 100%);
    border-color: #ebdbcf;
}

.prediction-cards {
    display: grid;
    gap: 1rem;
}

.hero-mundial--messages {
    background-image: linear-gradient(128deg, rgba(7, 36, 30, 0.92) 0%, rgba(16, 68, 55, 0.82) 48%, rgba(44, 99, 74, 0.74) 100%),
        url('https://images.unsplash.com/photo-1592656094267-764a45160876?auto=format&fit=crop&w=1920&q=80');
}

.direct-chat-layout {
    display: grid;
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
    gap: 1rem;
}

.direct-chat-layout__sidebar,
.direct-chat-layout__main {
    min-width: 0;
}

.direct-chat-search-list {
    display: grid;
    gap: 0.45rem;
}

.direct-chat-search-item {
    border: 1px solid #dbe8df;
    border-radius: 0.8rem;
    background: #fff;
    color: #163328;
    padding: 0.55rem 0.7rem;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.direct-chat-search-item:hover {
    transform: translateY(-1px);
    border-color: #9cc9b2;
    background: #f3faf6;
}

.direct-chat-search-item small {
    display: block;
    color: #567363;
}

.direct-chat-inbox {
    display: grid;
    gap: 0.55rem;
    max-height: 520px;
    overflow: auto;
    padding-right: 0.2rem;
}

.direct-chat-inbox__item {
    border: 1px solid #dbe8df;
    border-radius: 0.85rem;
    background: #fff;
    color: #13261f;
    padding: 0.65rem 0.75rem;
    text-align: left;
    display: grid;
    gap: 0.2rem;
    transition: border-color 160ms ease, transform 160ms ease;
}

.direct-chat-inbox__item strong {
    font-size: 0.95rem;
}

.direct-chat-inbox__badge {
    justify-self: start;
    background: linear-gradient(135deg, #ffd873 0%, #f3ad1e 100%);
    color: #2a220f;
    border: 1px solid rgba(255, 233, 173, 0.72);
    font-size: 0.72rem;
    border-radius: 999px;
    min-width: 1.6rem;
    text-align: center;
    padding: 0.1rem 0.45rem;
    font-weight: 800;
}

.direct-chat-inbox__item small {
    color: #5a7468;
}

.direct-chat-inbox__item time {
    color: #729282;
    font-size: 0.78rem;
}

.direct-chat-inbox__item:hover {
    transform: translateY(-1px);
    border-color: #99c7af;
}

.direct-chat-inbox__item--active {
    border-color: #5fae82;
    box-shadow: 0 0 0 1px rgba(32, 136, 84, 0.15);
    background: linear-gradient(150deg, #f8fff9 0%, #edf8f1 100%);
}

.tactics-chat-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 198, 167, 0.55);
    background:
        radial-gradient(circle at 18% 14%, rgba(223, 255, 230, 0.1), transparent 30%),
        radial-gradient(circle at 82% 82%, rgba(223, 255, 230, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(150deg, #0f3d31 0%, #13523f 52%, #0e3a30 100%);
    background-size: auto, auto, 32px 32px, 32px 32px, auto;
    color: #ecfff2;
}

.tactics-chat-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(194, 237, 208, 0.22);
    border-radius: 0.8rem;
    pointer-events: none;
}

.tactics-chat-card__header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
}

.tactics-chat-card h2,
.tactics-chat-card h3,
.tactics-chat-card p,
.tactics-chat-card .text-muted {
    color: #e5f8ec !important;
}

.tactics-chat-card__board {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.65rem;
}

.tactics-chat-list {
    border: 1px solid rgba(188, 232, 203, 0.3);
    border-radius: 0.85rem;
    padding: 0.65rem;
    background: rgba(7, 31, 24, 0.44);
    max-height: 380px;
    overflow: auto;
    display: grid;
    gap: 0.5rem;
}

.tactics-chat-empty {
    border: 1px dashed rgba(182, 225, 197, 0.42);
    border-radius: 0.75rem;
    padding: 0.8rem;
    color: #d5f1df;
    background: rgba(7, 31, 24, 0.34);
    display: grid;
    gap: 0.4rem;
}

.tactics-chat-separator {
    justify-self: center;
    background: rgba(7, 31, 24, 0.6);
    border: 1px solid rgba(188, 232, 203, 0.35);
    color: #d8f2e1;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.tactics-chat-message {
    max-width: min(90%, 560px);
    border-radius: 0.82rem;
    border: 1px solid rgba(207, 236, 218, 0.26);
    background: rgba(8, 47, 34, 0.72);
    padding: 0.55rem 0.65rem;
    color: #f3fff7;
    animation: reveal-up 260ms ease;
}

.tactics-chat-message--mine {
    margin-left: auto;
    background: linear-gradient(145deg, rgba(242, 196, 73, 0.95) 0%, rgba(239, 164, 45, 0.95) 100%);
    border-color: rgba(255, 227, 154, 0.55);
    color: #2b2310;
}

.tactics-chat-message__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.28rem;
}

.tactics-chat-message__meta strong {
    font-size: 0.84rem;
}

.tactics-chat-message__meta time {
    font-size: 0.74rem;
    opacity: 0.86;
}

.tactics-chat-message p {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.45;
}

.tactics-chat-message__receipt {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.86;
}

.tactics-chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: end;
}

.tactics-chat-composer .form-control {
    border-color: rgba(170, 225, 190, 0.5);
    background: rgba(4, 26, 20, 0.52);
    color: #effff4;
}

.tactics-chat-composer .form-control::placeholder {
    color: #b6d8c4;
}

@media (max-width: 992px) {
    .direct-chat-layout {
        grid-template-columns: 1fr;
    }

    .direct-chat-inbox {
        max-height: 260px;
    }
}

@media (max-width: 640px) {
    .tactics-chat-list {
        max-height: 320px;
    }

    .tactics-chat-composer {
        grid-template-columns: 1fr;
    }
}

.prediction-group-list {
    display: grid;
    gap: 1.1rem;
}

.prediction-group__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding: 0 0.1rem;
}

.prediction-group__kicker {
    margin: 0 0 0.18rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #668072;
    font-weight: 700;
}

.prediction-group__title {
    margin: 0;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: #163629;
}

.prediction-group__count {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: #eef5ef;
    border: 1px solid #d5e5d9;
    color: #45675b;
    font-size: 0.75rem;
    font-weight: 700;
}

.prediction-toolbar {
    padding: 0.95rem 1rem;
}

.prediction-toolbar__controls {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: end;
}

.prediction-toolbar__control {
    min-width: 0;
}

.prediction-toolbar__control .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #49665b;
}

.prediction-toolbar__summary {
    margin: 0.7rem 0 0;
    color: #5f766b;
    font-size: 0.84rem;
}

.prediction-card {
    padding: 1.1rem 1.1rem 1rem;
    overflow: hidden;
}

.prediction-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.prediction-card__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5d786b;
}

.prediction-card__title {
    margin: 0;
    font-size: clamp(1.18rem, 1.4vw, 1.45rem);
    color: #163629;
}

.prediction-card__versus {
    margin: 0 0.28rem;
    color: #698176;
    font-size: 0.92em;
}

.prediction-team-link {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(17, 106, 168, 0.35);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.12em;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.prediction-team-link:hover,
.prediction-team-link:focus-visible {
    color: #116aa8;
    text-decoration-color: currentColor;
}

.prediction-card__kickoff {
    margin: 0.35rem 0 0;
    color: var(--fm-text-soft);
    font-size: 0.93rem;
}

.prediction-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.prediction-card__badge--open {
    background: #e9f8ef;
    color: #15733f;
    border: 1px solid #bfe4ca;
}

.prediction-card__badge--saved {
    background: #eef5ff;
    color: #1b4f8f;
    border: 1px solid #c8daf5;
}

.prediction-card__badge--closed {
    background: #fff1f1;
    color: #a63333;
    border: 1px solid #f0c9c9;
}

.prediction-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 110px) minmax(0, 110px) auto;
    gap: 0.85rem;
    align-items: end;
}

.prediction-card__field {
    min-width: 0;
}

.prediction-card__field .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #315545;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.prediction-card__input {
    min-height: 2.7rem;
    font-weight: 700;
}

.prediction-card__save-wrap {
    display: flex;
    align-self: end;
    align-items: flex-start;
}

.prediction-card__save {
    padding: 0.58rem 1rem;
    border-radius: 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
    min-width: 0;
}

.prediction-card__hint {
    font-size: 0.72rem;
    color: #668072;
}

.prediction-card__meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    min-height: 0;
    grid-column: 1 / -1;
    padding-left: clamp(0rem, 0.8vw, 0.4rem);
}

.prediction-card__status {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    line-height: 1.35;
}

.prediction-card__status--danger {
    color: #b23636;
    font-weight: 600;
}

.prediction-card__status--muted {
    color: #62786f;
}

.prediction-stats-card {
    border: 1px solid #d9e7de;
    border-radius: 1.2rem;
    padding: 1rem;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 248, 244, 0.96) 100%),
        radial-gradient(circle at top right, rgba(248, 184, 31, 0.18), transparent 38%);
    box-shadow: 0 14px 30px rgba(13, 47, 36, 0.12);
}

.prediction-stats-card__kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a7266;
    font-weight: 700;
}

.prediction-stats-card__title {
    margin: 0.22rem 0 0.9rem;
    font-size: 1.2rem;
    color: #143628;
}

.prediction-stats-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.prediction-stats-card__meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.prediction-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 0.85rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dbe9e1;
}

.prediction-stat--accent {
    background: linear-gradient(135deg, rgba(17, 91, 61, 0.98), rgba(27, 143, 79, 0.9));
    border-color: rgba(14, 87, 55, 0.72);
}

.prediction-stat__value {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    color: #173428;
}

.prediction-stat--accent .prediction-stat__value,
.prediction-stat--accent .prediction-stat__label {
    color: #fff5cf;
}

.prediction-stat__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #688075;
    font-weight: 700;
}

.prediction-mini-stat {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.58rem 0.65rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #deebe4;
}

.prediction-mini-stat__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6d8379;
    font-weight: 700;
}

.prediction-mini-stat__value {
    font-size: 0.98rem;
    color: #173428;
    line-height: 1.1;
}

.prediction-stats-card__note {
    margin: 0.8rem 0 0;
    font-size: 0.8rem;
    color: #5f766b;
}

.prediction-team-modal-shell {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(8, 27, 20, 0.58);
    backdrop-filter: blur(4px);
}

.prediction-team-modal {
    width: min(100%, 720px);
    max-height: min(85vh, 760px);
    overflow: auto;
    padding: 1.1rem;
}

.prediction-team-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.prediction-team-modal__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #668072;
    font-weight: 700;
}

.prediction-team-modal__header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    color: #143628;
}

.prediction-team-modal__subtitle {
    margin: 0.28rem 0 0;
    color: #60776c;
}

.prediction-team-modal__close {
    appearance: none;
    border: 1px solid #d8e7df;
    background: #fff;
    color: #436155;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    font-size: 1.4rem;
    line-height: 1;
}

.prediction-team-modal__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.prediction-team-modal__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.75rem;
    border-radius: 0.95rem;
    background: #f5faf7;
    border: 1px solid #dbe8e0;
}

.prediction-team-modal__stat-value {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.45rem;
    color: #173428;
    line-height: 1;
}

.prediction-team-modal__stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #688075;
    font-weight: 700;
}

.prediction-team-modal__results {
    display: grid;
    gap: 0.65rem;
}

.prediction-team-modal__match {
    padding: 0.8rem 0.9rem;
    border-radius: 0.95rem;
    border: 1px solid #deebe3;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.prediction-team-modal__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
}

.prediction-team-modal__team {
    color: #4f665c;
}

.prediction-team-modal__team--focus {
    color: #143628;
    font-weight: 700;
}

.prediction-team-modal__score {
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.2rem;
    color: #173428;
}

.prediction-team-modal__meta-line {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #647b71;
}

.standings-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.page-with-sponsors .standings-shell {
    max-width: none;
    margin: 0;
    padding: 0;
}

.standings-grid {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.standing-card {
    display: grid;
    grid-template-columns: 2.4rem 3.4rem 1fr auto;
    align-items: center;
    gap: .9rem;
    padding: .8rem 1.1rem;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid #e8ede9;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s, transform .18s;
}
.standing-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

/* Podio */
.standing-card--gold  { border-color: #f8b81f; background: linear-gradient(95deg,#fffdf0 0%,#fff8d6 100%); }
.standing-card--silver{ border-color: #b8c0cc; background: linear-gradient(95deg,#f8f9fb 0%,#eceff3 100%); }
.standing-card--bronze{ border-color: #c8876a; background: linear-gradient(95deg,#fdf6f1 0%,#f9ede4 100%); }

.standing-pos {
    font-family: var(--fm-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #9aa5a7;
    text-align: center;
}
.standing-card--gold  .standing-pos { color: #c89400; }
.standing-card--silver .standing-pos { color: #7a8694; }
.standing-card--bronze .standing-pos { color: #b06040; }

.standing-avatar-wrap { flex-shrink: 0; }

.standing-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4e8d9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.standing-avatar--initials {
    background: linear-gradient(135deg, var(--fm-green) 0%, #0a5c3c 100%);
    color: var(--fm-gold);
    font-family: var(--fm-font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.standing-name {
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.standing-stats {
    display: flex;
    gap: .6rem;
}

.sstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.8rem;
}
.sstat__value {
    font-family: var(--fm-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--fm-dark);
}
.sstat__label {
    font-size: .62rem;
    color: #8a9a9b;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-top: 2px;
}
.sstat--exact .sstat__value  { color: #1a7c4a; }
.sstat--outcome .sstat__value { color: #c07800; }
.sstat--miss .sstat__value   { color: #b03030; }

@media (max-width: 980px) {
    .page-with-sponsors {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding-bottom: 2rem;
    }

    .page-with-sponsors__side-stack {
        position: static;
    }

    .player-sponsors-rail {
        position: static;
    }

    .prediction-card__grid {
        grid-template-columns: minmax(0, 110px) minmax(0, 110px) auto;
    }

    .prediction-card__meta {
        grid-column: 1 / -1;
    }

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

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

@media (max-width: 600px) {
    .prediction-group__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .prediction-card {
        padding: 0.85rem;
    }

    .prediction-card__header {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }

    .prediction-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .prediction-card__save-wrap {
        grid-column: 1 / -1;
    }

    .prediction-card__meta {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 0;
        padding-top: 0.1rem;
    }

    .prediction-card__save {
        width: 100%;
        padding: 0.52rem 0.9rem;
    }

    .prediction-card__title {
        font-size: 1.08rem;
    }

    .prediction-card__versus {
        display: inline-block;
        margin: 0.12rem 0.22rem;
    }

    .prediction-card__kickoff {
        font-size: 0.84rem;
    }

    .prediction-card__field .form-label {
        font-size: 0.73rem;
        margin-bottom: 0.28rem;
    }

    .prediction-card__input,
    .prediction-card__meta {
        min-height: 2.4rem;
    }

    .prediction-card__status {
        font-size: 0.78rem;
    }

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

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

    .prediction-team-modal {
        padding: 0.95rem;
    }

    .prediction-team-modal__header {
        align-items: center;
    }

    .prediction-team-modal__teams {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        text-align: left;
    }

    .prediction-team-modal__score {
        justify-self: start;
    }

    .standing-card {
        grid-template-columns: 1.8rem 2.8rem 1fr;
        grid-template-rows: auto auto;
    }
    .standing-stats {
        grid-column: 1 / -1;
        justify-content: space-around;
    }
}

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

    .prediction-team-modal__stats {
        grid-template-columns: 1fr;
    }
}

/* ── Página de perfil de jugador ── */
.player-profile-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* Hero card — dark base + diagonal colour band + gold accent strip */
.player-profile-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    color: #fff;
    box-shadow: 0 16px 40px rgba(6, 22, 12, .35);
}

/* Full-bleed dark-to-deep-green background */
.player-profile-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, #07190e 0%, #0d3320 55%, #133d28 100%);
    z-index: 0;
}
.player-profile-hero__bg::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 340px;
    height: 340px;
    background: radial-gradient(ellipse at center, rgba(27,143,79,.45) 0%, transparent 70%);
    transform: rotate(-20deg);
}
.player-profile-hero__accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--fm-accent) 30%, #fff8e1 60%, var(--fm-accent) 80%, transparent 100%);
    z-index: 2;
}
.player-profile-hero__body {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem 2rem 2.5rem;
}
.player-profile-avatar-wrap {
    flex-shrink: 0;
    position: relative;
}
.player-profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--fm-accent);
    box-shadow: 0 0 0 6px rgba(248,184,31,.18), 0 8px 24px rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-profile-avatar--initials {
    background: rgba(255,255,255,.08);
    color: var(--fm-accent);
    font-family: var(--fm-font-display);
    font-size: 2.6rem;
    font-weight: 700;
}
.player-profile-hero__badge {
    position: absolute;
    bottom: 4px;
    right: -4px;
    background: var(--fm-accent);
    color: #07190e;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 2px 7px;
    border-radius: 20px;
    border: 2px solid #07190e;
    white-space: nowrap;
}
.player-profile-hero__kicker {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fm-accent);
    margin-bottom: .2rem;
}
.player-profile-hero__name {
    font-family: var(--fm-font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .2rem;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.player-profile-hero__since {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    margin-bottom: .8rem;
}
.player-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.pstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem 1.1rem .5rem 0;
    margin-right: 1.1rem;
    border-right: 1px solid rgba(255,255,255,.12);
}
.pstat:last-child {
    border-right: none;
    margin-right: 0;
}
.pstat__value {
    font-family: var(--fm-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    line-height: 1;
}
.pstat__label {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.5);
    margin-top: 3px;
}
.pstat--accent .pstat__value {
    color: var(--fm-accent);
    font-size: 1.9rem;
}
.pstat--rank .pstat__value {
    color: rgba(255,255,255,.95);
}

@media (max-width: 580px) {
    .player-profile-hero__body {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1.2rem 2rem;
    }
    .player-profile-stats { justify-content: center; }
    .pstat { border-right: none; padding-right: .6rem; margin-right: .6rem; }
    .player-profile-hero__name { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
    background: linear-gradient(160deg, #061810 0%, #0d3320 60%, #081f14 100%);
    color: rgba(255,255,255,.65);
    font-size: .82rem;
}
.site-footer__gold-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--fm-accent) 40%, #e8a80d 60%, transparent 100%);
}
.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 2rem 3rem;
    align-items: start;
}
.site-footer__col-title {
    font-family: var(--fm-font-display);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fm-accent);
    margin-bottom: .7rem;
}
.site-footer__col-title--spaced { margin-top: 1.2rem; }
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--fm-font-display);
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: .8rem;
}
.site-footer__brand strong { color: var(--fm-accent); }
.site-footer__brand-ball { font-size: 1.3rem; }
.site-footer__tagline {
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    font-size: .8rem;
    margin-bottom: 1.2rem;
}
.site-footer__whitebox {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.1);
    padding: .3rem .7rem;
    border-radius: 6px;
    transition: border-color 160ms, color 160ms;
}
.site-footer__whitebox:hover { border-color: var(--fm-accent); color: var(--fm-accent); }
.site-footer__whitebox-label { opacity: .6; }
.site-footer__whitebox strong { color: #fff; font-weight: 700; }
.site-footer__link {
    display: block;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    margin-bottom: .45rem;
    transition: color 160ms;
    font-size: .8rem;
}
.site-footer__link:hover { color: var(--fm-accent); }
.site-footer__cta-desc {
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.site-footer__wsp {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    padding: .5rem 1.1rem;
    border-radius: 24px;
    text-decoration: none;
    font-size: .82rem;
    transition: background 160ms, transform 120ms;
    box-shadow: 0 3px 12px rgba(37,211,102,.25);
}
.site-footer__wsp:hover { background: #1dba57; transform: translateY(-2px); box-shadow: 0 5px 16px rgba(37,211,102,.35); }
.site-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.25);
    font-size: .71rem;
}
.site-footer__bottom a { color: rgba(255,255,255,.35); text-decoration: none; transition: color 140ms; }
.site-footer__bottom a:hover { color: var(--fm-accent); }

/* ═══════════════════════════════════════════════════════
   APP SHELL — authenticated layout
═══════════════════════════════════════════════════════ */

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

.app-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #061a10 0%, #0d3620 60%, #0a2c1a 100%);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    z-index: 40;
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1), width 220ms ease;
}
.app-sidebar::-webkit-scrollbar { display: none; }

.app-sidebar:has(.sidebar-shell--collapsed) {
    width: 70px;
}

.app-sidebar--collapsed {
    width: 70px;
}

.app-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-content {
    flex: 1;
    padding: 1.6rem 2rem;
}

.app-sidebar-toggle {
    display: none;
    position: fixed;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 50;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    border: none;
    background: #061a10;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.app-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 35;
    backdrop-filter: blur(2px);
}

/* ══ Sidebar internals ══ */
.sidebar-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-brand {
    padding: 1.4rem 1.2rem 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.sidebar-brand__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: #fff;
}
.sidebar-brand__link:hover { text-decoration: none; color: #fff; }

.sidebar-brand__ball { font-size: 1.5rem; }

.sidebar-brand__text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.18rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.02em;
}
.sidebar-brand__text strong {
    color: var(--fm-accent);
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    padding: 0.8rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow-y: auto;
}

.sidebar-nav__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 0.9rem;
    border-radius: 10px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 160ms, color 160ms;
    white-space: nowrap;
}
.sidebar-nav__item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}
.sidebar-nav__item.active {
    background: rgba(248,184,31,0.14);
    color: var(--fm-accent);
}

.sidebar-nav__icon {
    font-size: 1rem;
    opacity: 0.8;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}
.sidebar-nav__item.active .sidebar-nav__icon { opacity: 1; }

.sidebar-nav__section {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    padding: 1rem 0.9rem 0.3rem;
    font-weight: 700;
}

.sidebar-footer {
    padding: 0.7rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.sidebar-footer__profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 160ms, color 160ms;
    width: 100%;
    overflow: hidden;
}
.sidebar-footer__profile:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.sidebar-footer__icon {
    font-size: 1rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.sidebar-footer__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.sidebar-footer__logout-form { margin: 0; }

.sidebar-footer__logout {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    border: none;
    background: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 160ms, color 160ms;
}
.sidebar-footer__logout:hover {
    background: rgba(200, 40, 40, 0.14);
    color: #f87070;
}

/* ── Sidebar collapse ── */
.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}
.sidebar-toggle:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.3);
}

.sidebar-shell--collapsed {
    width: 70px;
}

.sidebar-shell--collapsed .sidebar-brand__text,
.sidebar-shell--collapsed .sidebar-nav__item span,
.sidebar-shell--collapsed .sidebar-footer__name,
.sidebar-shell--collapsed .sidebar-footer__logout span {
    display: none;
}

.sidebar-shell--collapsed .sidebar-brand {
    padding: 1.4rem 0.5rem;
}

.sidebar-shell--collapsed .sidebar-nav__item {
    padding: 0.62rem 0.5rem;
    justify-content: center;
    gap: 0;
}

.sidebar-shell--collapsed .sidebar-nav__section {
    display: none;
}

.sidebar-shell--collapsed .sidebar-footer__profile,
.sidebar-shell--collapsed .sidebar-footer__logout {
    padding: 0.55rem 0.5rem;
    justify-content: center;
    gap: 0;
}

.sidebar-toggle {
    display: flex;
}

body.fm-sidebar-collapsed .app-sidebar {
    width: 70px;
}

body.fm-sidebar-collapsed .sidebar-shell .sidebar-brand__text,
body.fm-sidebar-collapsed .sidebar-shell .sidebar-nav__item span,
body.fm-sidebar-collapsed .sidebar-shell .sidebar-footer__name,
body.fm-sidebar-collapsed .sidebar-shell .sidebar-footer__logout span {
    display: none;
}

body.fm-sidebar-collapsed .sidebar-shell .sidebar-brand {
    padding: 1.4rem 0.5rem;
}

body.fm-sidebar-collapsed .sidebar-shell .sidebar-nav__item {
    padding: 0.62rem 0.5rem;
    justify-content: center;
    gap: 0;
}

body.fm-sidebar-collapsed .sidebar-shell .sidebar-nav__section {
    display: none;
}

body.fm-sidebar-collapsed .sidebar-shell .sidebar-footer__profile,
body.fm-sidebar-collapsed .sidebar-shell .sidebar-footer__logout {
    padding: 0.55rem 0.5rem;
    justify-content: center;
    gap: 0;
}

/* Mobile sidebar */
@media (max-width: 768px) {
    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%);
    }
    .app-shell--sidebar-open .app-sidebar {
        transform: translateX(0);
    }
    .app-shell--sidebar-open .app-overlay {
        display: block;
    }
    .app-sidebar-toggle {
        display: flex;
    }
    .app-content {
        padding: 1rem;
        padding-top: 3.8rem;
    }
}

/* ═══════════════════════════════════════════════════════
   PUBLIC LAYOUT — topbar + landing
═══════════════════════════════════════════════════════ */

.public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.public-main { flex: 1; }

/* ── Topbar ── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 20, 12, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}
.topbar__brand:hover { text-decoration: none; color: #fff; }

.topbar__brand-ball { font-size: 1.3rem; }

.topbar__brand-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.18rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
}
.topbar__brand-text strong {
    color: var(--fm-accent);
    font-weight: 700;
}

.topbar__nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    justify-content: flex-end;
}

.topbar__link {
    padding: 0.42rem 0.95rem;
    border-radius: 8px;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 150ms, color 150ms;
}
.topbar__link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.topbar__cta {
    background: var(--fm-accent);
    color: #0d1f12 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.42rem 1.15rem;
    border-radius: 8px;
    margin-left: 0.35rem;
    transition: background 150ms, transform 150ms;
    text-decoration: none;
    display: inline-block;
}
.topbar__cta:hover {
    background: #ffce30;
    transform: translateY(-1px);
    text-decoration: none;
}

.topbar__profile {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.6rem 0.3rem 0.35rem;
    border-radius: 999px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    margin-left: 0.35rem;
    transition: background 150ms, border-color 150ms;
}

.topbar__profile:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.3);
}

.topbar__profile-avatar {
    border-color: rgba(248,184,31,0.9);
}

.topbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0.42rem 0.32rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    cursor: pointer;
    margin-left: auto;
    transition: background 150ms;
    flex-shrink: 0;
}
.topbar__hamburger:hover { background: rgba(255,255,255,0.16); }
.topbar__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
}

/* Tablet and mobile topbar */
@media (max-width: 860px) {
    .topbar__inner {
        height: auto;
        min-height: 58px;
        flex-wrap: wrap;
        padding: 0.7rem 1rem;
        gap: 0;
    }
    .topbar__hamburger { display: flex; }
    .topbar__nav {
        display: none;
    .authenticator-start-card,
    .authenticator-setup-card {
        margin: 0.75rem 0 0.95rem;
        border: 1px solid #d3e7d8;
        border-radius: 1rem;
        background: linear-gradient(140deg, #ffffff 0%, #f2faf5 58%, #ecf7ff 100%);
        box-shadow: 0 12px 28px rgba(13, 47, 36, 0.12);
        padding: 1rem;
    }
    .authenticator-start-card__title {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 700;
        color: #143628;
    }
    .authenticator-start-card__text {
        margin: 0.45rem 0 0.85rem;
        color: #4d6359;
    }
    .authenticator-setup-card__kicker {
        display: inline-block;
        margin-bottom: 0.6rem;
        padding: 0.2rem 0.58rem;
        border-radius: 999px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.72rem;
        font-weight: 700;
        color: #0f4d34;
        background: #d9f3e4;
    }
    .authenticator-setup-card__hint {
        margin: 0.75rem 0 0;
        color: #4d6359;
        font-size: 0.92rem;
    }
    .authenticator-qr {
        display: inline-flex;
        background: #ffffff;
        border-radius: 0.85rem;
        border: 1px solid #d9e8df;
        padding: 0.55rem;
    }
    .authenticator-qr svg {
        width: clamp(150px, 32vw, 210px);
        height: auto;
        display: block;
    }
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 0.75rem;
        gap: 0.2rem;
    }
    .topbar__nav--open { display: flex; }
    .topbar__link, .topbar__cta, .topbar__profile {
        text-align: center;
        padding: 0.65rem 1rem;
        margin-left: 0;
        border-radius: 10px;
    }

    .topbar__profile {
        justify-content: center;
    }
}

/* ── Landing hero ── */
.landing-hero {
    position: relative;
    min-height: calc(100vh - 62px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.landing-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    animation: hero-zoom 22s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes hero-zoom {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

.landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 12, 8, 0.9) 0%,
        rgba(4, 26, 16, 0.78) 40%,
        rgba(6, 25, 55, 0.5) 100%
    );
}

.landing-hero__content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.landing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(248,184,31,0.2), rgba(248,184,31,0.1));
    border: 1px solid rgba(248,184,31,0.45);
    color: var(--fm-accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(6px);
}

.landing-hero__title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3.8rem, 8vw, 6.8rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.landing-hero__accent {
    color: var(--fm-accent);
    text-shadow: 0 0 60px rgba(248,184,31,0.45);
}

.landing-hero__desc {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.72);
    max-width: 46ch;
    line-height: 1.65;
    margin-bottom: 2.2rem;
}

.landing-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.88rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms, box-shadow 160ms, background 160ms;
    letter-spacing: 0.01em;
}

.landing-btn--primary {
    background: var(--fm-accent);
    color: #0d1f12;
    box-shadow: 0 4px 22px rgba(248,184,31,0.38);
}
.landing-btn--primary:hover {
    background: #ffce30;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(248,184,31,0.48);
    text-decoration: none;
    color: #0d1f12;
}

.landing-btn--ghost {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
}
.landing-btn--ghost:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.landing-hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.35);
    font-size: 1.6rem;
    animation: bounce-hint 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bounce-hint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── Features section ── */
.landing-features {
    background: var(--fm-bg);
    padding: 4rem 0 5rem;
}

.landing-features__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}

.landing-feature-card {
    background: var(--fm-surface);
    border: 1px solid #d7e7de;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: var(--fm-shadow-soft);
    transition: transform 200ms ease, box-shadow 200ms ease;
    text-align: center;
}
.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(13,47,36,0.16);
}

.landing-feature-card__icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    display: block;
}

.landing-feature-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.55rem;
    color: var(--fm-text);
}

.landing-feature-card p {
    color: var(--fm-text-soft);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Home countdown ── */
.landing-countdown {
    padding: 1.2rem 1.25rem 0.7rem;
}

.landing-countdown__inner {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 1.6rem;
    border: 1px solid rgba(248, 184, 31, 0.3);
    background:
        radial-gradient(circle at 85% 20%, rgba(248,184,31,0.22) 0%, rgba(248,184,31,0.06) 28%, transparent 58%),
        linear-gradient(140deg, #0f3325 0%, #123a2d 56%, #0f2f54 100%);
    color: #fff;
    padding: clamp(1rem, 2.2vw, 1.8rem);
    box-shadow: 0 22px 44px rgba(10, 30, 23, 0.24);
}

.landing-countdown__kicker {
    margin: 0 0 0.25rem;
    color: rgba(255, 255, 255, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
}

.landing-countdown__inner h2 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.landing-countdown__desc {
    margin: 0.45rem 0 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.landing-countdown__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.landing-countdown__card {
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    padding: 0.95rem 0.75rem;
    text-align: center;
}

.landing-countdown__value {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1;
}

.landing-countdown__label {
    display: block;
    margin-top: 0.3rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.landing-countdown__started {
    border-radius: 0.95rem;
    border: 1px solid rgba(255,255,255,0.26);
    background: rgba(255,255,255,0.12);
    padding: 0.9rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.landing-countdown__started a {
    color: #ffe59a;
    font-weight: 700;
}

/* ── Home live data ── */
.landing-live {
    background: linear-gradient(180deg, #f7fbf8 0%, #f2f8f5 100%);
    padding: 0.8rem 0 2.9rem;
}

.landing-live__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.landing-live__card {
    background: #fff;
    border: 1px solid #d8e9df;
    border-radius: 1.1rem;
    box-shadow: 0 14px 30px rgba(9, 41, 30, 0.1);
    padding: 1rem;
}

.landing-live__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.landing-live__header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #123326;
}

.landing-live__header a {
    color: #245f49;
    font-weight: 700;
    text-decoration: none;
}

.landing-live__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.landing-live__list li {
    border: 1px solid #e2eee8;
    border-radius: 0.8rem;
    background: #fcfffd;
    padding: 0.62rem 0.7rem;
}

.landing-live__person {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.landing-live__person strong,
.landing-live__match-row strong {
    color: #102f24;
}

.landing-live__person small,
.landing-live__list li small {
    display: block;
    color: #5a7268;
    font-size: 0.8rem;
}

.landing-live__match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
}

.landing-live__match-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.landing-live__match-row span:last-child {
    text-align: right;
}

.landing-live__empty {
    margin: 0;
    color: #547063;
}

/* ── Sponsor request ── */
.landing-sponsor-request {
    padding: 0.5rem 1.25rem 1.35rem;
}

.landing-sponsor-request__inner {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 1.6rem;
    border: 1px solid #d7e5dc;
    background:
        radial-gradient(circle at 18% 16%, rgba(248,184,31,0.13) 0%, rgba(248,184,31,0.04) 26%, transparent 56%),
        linear-gradient(165deg, #ffffff 0%, #f6fbf8 100%);
    box-shadow: 0 18px 36px rgba(10, 42, 30, 0.1);
    padding: clamp(1rem, 2.4vw, 2rem);
}

.landing-sponsor-request__kicker {
    margin: 0;
    color: #3f6c58;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.73rem;
    font-weight: 700;
}

.landing-sponsor-request__content h2 {
    margin: 0.3rem 0;
    color: #15392b;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.landing-sponsor-request__content p {
    margin: 0 0 0.95rem;
    color: #4f695d;
    max-width: 70ch;
}

.landing-sponsor-request__form-wrap {
    margin-top: 1.05rem;
    border-top: 1px dashed #caddd1;
    padding-top: 1rem;
}

.landing-sponsor-request__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.landing-sponsor-request__grid label,
.landing-sponsor-request__message label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #234f3d;
    margin-bottom: 0.3rem;
    display: inline-block;
}

.landing-sponsor-request__message {
    margin: 0.7rem 0 0.95rem;
}

.landing-sponsor-request__feedback {
    margin: 0.95rem 0 0;
    border-radius: 0.75rem;
    border: 1px solid #b7e4c7;
    background: #ecfdf3;
    color: #1f6a48;
    padding: 0.7rem 0.85rem;
    font-weight: 600;
}

/* ── Sponsors section ── */
.landing-sponsors {
    padding: 0.8rem 1.25rem 4.8rem;
}

.landing-sponsors__inner {
    max-width: 1120px;
    margin: 0 auto;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 248, 243, 0.96) 100%);
    border: 1px solid #d7e8de;
    border-radius: 1.6rem;
    box-shadow: 0 20px 44px rgba(10, 45, 33, 0.14);
    padding: clamp(1.1rem, 2.4vw, 2rem);
}

.landing-sponsors__title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: #123125;
}

.landing-sponsors__subtitle {
    margin: 0.35rem 0 1.35rem;
    text-align: center;
    color: #4f685c;
}

.sponsors-tier {
    background: #ffffff;
    border: 1px solid #deece4;
    border-radius: 1.1rem;
    padding: 0.85rem 0.95rem 1.1rem;
    margin-top: 0.95rem;
    box-shadow: 0 10px 22px rgba(13, 47, 36, 0.08);
}

.landing-sponsors .sponsors-tier,
.landing-sponsors .sponsors-section,
.landing-sponsors .sponsors-carousel,
.landing-sponsors .sponsors-carousel__stage,
.landing-sponsors .sponsors-carousel__content,
.landing-sponsors .sponsors-carousel__viewport {
    width: 100%;
    max-width: none;
}

.sponsors-tier__title {
    margin: 0 0 0.65rem;
    color: #123528;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}

.sponsors-tier--gold {
    border-color: #f0db98;
    background: linear-gradient(180deg, #fffef8 0%, #fffcf1 100%);
}

.sponsors-tier--silver {
    border-color: #d8e0e6;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.sponsors-tier--bronze {
    border-color: #e7d4c6;
    background: linear-gradient(180deg, #fffdfa 0%, #fff8f3 100%);
}

/* Mobile landing */
@media (max-width: 640px) {
    .landing-hero {
        min-height: calc(100svh - 58px);
    }
    .landing-hero__content {
        padding: 3rem 1.25rem 4rem;
    }
    .landing-hero__actions {
        flex-direction: column;
    }
    .landing-btn {
        justify-content: center;
        text-align: center;
    }

    .landing-sponsors {
        padding: 0.6rem 0.8rem 3.5rem;
    }

    .landing-countdown,
    .landing-sponsor-request {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

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

    .landing-live__inner {
        padding: 0 0.8rem;
    }

    .landing-live__match-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .landing-live__match-row span:last-child {
        text-align: left;
    }

    .landing-sponsors__inner {
        border-radius: 1.1rem;
        padding: 0.95rem 0.8rem 1rem;
    }

    .sponsors-tier {
        border-radius: 0.9rem;
        padding: 0.7rem 0.7rem 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero__bg,
    .landing-hero__scroll-hint,
    .landing-feature-card,
    .landing-btn,
    .landing-countdown__card,
    .landing-live__card {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: #fff3cd;
    border-top: 1px solid #ffe69c;
    color: #6b5400;
    padding: 0.75rem 1rem;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
}

#blazor-error-ui .reload {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* Términos y Condiciones */
.tc-hero {
    position: relative;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #07190e 0%, #0d3320 55%, #133d28 100%);
    color: #fff;
    overflow: hidden;
}
.tc-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(27,143,79,.3) 0%, transparent 65%);
    pointer-events: none;
}
.tc-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.tc-hero__kicker {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fm-accent);
    margin-bottom: .6rem;
}
.tc-hero h1 {
    font-family: var(--fm-font-display);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.tc-hero p { color: rgba(255,255,255,.65); font-size: 1rem; margin: 0; }

/* T&C two-column layout */
.tc-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    gap: 3rem;
    align-items: start;
}
.tc-index {
    position: sticky;
    top: 1.5rem;
}
.tc-index__title {
    font-family: var(--fm-font-display);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fm-accent);
    margin-bottom: .7rem;
}
.tc-index__list {
    padding-left: 1.2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.tc-index__list li { font-size: .8rem; }
.tc-index__list a {
    color: var(--fm-text-soft);
    text-decoration: none;
    transition: color 140ms;
}
.tc-index__list a:hover { color: var(--fm-primary); }
.tc-body {
    max-width: 780px;
    padding: 0;
}
.tc-updated {
    font-size: .78rem;
    color: var(--fm-text-soft);
    margin-bottom: 2rem;
}
.tc-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(13,47,36,.1);
}
.tc-section:last-child { border-bottom: none; }
.tc-section h2 {
    font-family: var(--fm-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fm-primary-dark);
    margin-bottom: .75rem;
}
.tc-section p, .tc-section li { line-height: 1.75; color: var(--fm-text); }
.tc-section ul { padding-left: 1.4rem; margin-top: .5rem; }
.tc-section li { margin-bottom: .35rem; }
.tc-contact-block {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(13,47,36,.06);
    border-left: 3px solid var(--fm-accent);
    border-radius: 0 8px 8px 0;
}
.tc-contact-whitebox {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.tc-contact-whitebox__label {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fm-text-soft);
}
.tc-contact-whitebox__name {
    font-family: var(--fm-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fm-primary-dark);
    text-decoration: none;
    transition: color 140ms;
}
.tc-contact-whitebox__name:hover { color: var(--fm-primary); }
.tc-contact-whitebox__desc {
    font-size: .75rem;
    color: var(--fm-text-soft);
}
.tc-cta-wsp {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    padding: .6rem 1.4rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: .9rem;
    margin-top: .5rem;
    transition: background 160ms, transform 120ms;
}
.tc-cta-wsp:hover { background: #1dba57; transform: translateY(-1px); color: #fff; }

/* Player profile extra info strip */
.player-profile-extra {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .9rem;
}
.player-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
}
.player-profile-pill--fire {
    background: rgba(255,107,0,.18);
    border-color: rgba(255,107,0,.3);
    color: #ff9a4d;
}
.player-profile-pill--fire .bi-fire { color: #ff6b00; }


/* ══════ RESPONSIVE: footer 3-col collapse ══════ */
@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer__col--brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* ══════ RESPONSIVE: T&C sidebar collapse ══════ */
@media (max-width: 760px) {
    .tc-layout {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 4rem;
        gap: 2rem;
    }
    .tc-index {
        position: static;
        background: rgba(13,47,36,.05);
        border-radius: 8px;
        padding: 1rem 1.2rem;
    }
    .tc-index__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: .25rem .8rem;
    }
}
