﻿/* ============================================================
   PICKLEBALL HẢI PHÒNG CONNECT – Custom Styles
   ============================================================ */

:root {
  --primary: #061B35;
  --primary-dark: #04101F;
  --primary-light: #0E3A63;
  --navy-800: #08213D;
  --navy-700: #0B2A4A;
  --accent: #E8B23A;        /* medal gold — leaderboard accents only */
  --accent-dark: #B9861F;
  --gold: #E8B23A;
  --silver: #C4CDD8;
  --bronze: #CD7F44;
  --cta: #ED1C24;
  --cta-dark: #C60F16;
  --text-dark: #12203a;
  --text-muted: #6c757d;
  --bg-light: #F4F6F9;
  --border-color: #dde3ea;
  --card-shadow: 0 10px 40px rgba(6,27,53,.10);
  --font: 'Be Vietnam Pro', sans-serif;
}

/* ---- Reset & Base ---- */
html { font-size: 15px; position: relative; min-height: 100%; }
body { font-family: var(--font); color: var(--text-dark); background: #fff; margin: 0; }

.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(17,40,74,.28);
}

/* ---- Bootstrap Overrides ---- */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-light);
  border-color: var(--primary-light);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   TOP BAR  (two-level navy header — level 1)
   ============================================================ */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.72);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar .top-bar-social {
  color: rgba(255,255,255,.7);
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 0.7rem;
  text-decoration: none;
  transition: all .2s;
}
.top-bar .top-bar-social:hover { background: var(--cta); border-color: var(--cta); color: #fff; }

/* ============================================================
   NAVBAR  (two-level navy header — level 2)
   ============================================================ */
.site-header {
  background: var(--primary);
  box-shadow: 0 6px 24px rgba(4,16,31,.28);
  z-index: 1030;
  border-bottom: 3px solid var(--cta);
}
.site-header .navbar { padding: 0.35rem 0; }
.site-header .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: .01em;
  padding: 0.55rem 0.8rem !important;
  position: relative;
  transition: color .2s;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #fff !important; }
.site-header .nav-link::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 3px;
  background: var(--cta);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s;
}
.site-header .nav-link:hover::before,
.site-header .nav-link.active::before { transform: scaleX(1); }
.site-header .nav-item.dropdown > .nav-link::after {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  content: "▾";
  font-size: 0.7em;
  border: none;
}
.site-header .dropdown-menu {
  border: 1px solid rgba(255,255,255,.08);
  background: var(--navy-800);
  box-shadow: 0 16px 40px rgba(4,16,31,.45);
  border-radius: 10px;
  padding: 0.4rem 0;
}
.site-header .dropdown-item {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  color: rgba(255,255,255,.8);
  transition: background .15s, color .15s;
}
.site-header .dropdown-item:hover { background: rgba(255,255,255,.06); color: #fff; }

.site-header .navbar-toggler {
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 10px;
    padding: .35rem .55rem;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(237,28,36,.35);
}

.site-header .navbar-toggler-icon {
    width: 1.15rem;
    height: 1.15rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header search */
.hp-search-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    color: rgba(255,255,255,.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.hp-search-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.hp-search-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: .5rem;
    width: min(360px, 88vw);
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(4,16,31,.5);
    padding: .75rem;
    z-index: 1040;
}
.hp-search-panel.open { display: block; }
.hp-search-panel .form-control {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.18);
    color: #fff;
}
.hp-search-panel .form-control::placeholder { color: rgba(255,255,255,.5); }

/* Logo */
.logo-icon {
  width: 46px; height: 46px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cta);
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}
.logo-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
    .logo-icon-sm {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        background: rgba(255,255,255,.12);
        color: #fff;
        box-shadow: none;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .logo-title {
        font-size: 0.78rem;
        font-weight: 800;
        color: #fff;
        letter-spacing: 0.5px;
    }

    .logo-subtitle {
        font-size: 0.62rem;
        font-weight: 700;
        color: var(--cta);
        letter-spacing: 1.5px;
    }
    .site-footer .logo-title { color: #fff; }
    .site-footer .logo-subtitle { color: var(--cta); }
    /* ============================================================
   HERO / BANNER
   ============================================================ */
    .hero-section {
        position: relative;
        min-height: 320px;
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 58%, var(--primary-dark) 100%);
        overflow: hidden;
        display: flex;
        align-items: center;
    }

        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            opacity: 0.2;
        }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(10,24,48,.95) 0%, rgba(10,24,48,.6) 60%, transparent 100%);
    }

    .hero-content {
        position: relative;
        z-index: 2;
        color: #fff;
    }

    .hero-split {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 2rem;
    }

    .hero-copy {
        flex: 1 1 65%;
        max-width: 1450px;
        max-height: 360px;
    }

    .hero-event-carousel {
        position: relative;
        max-height: 320px;
    }

    /* Clips the sliding track; card radii show through at the frame edges. */
    .hero-event-viewport {
        border-radius: 22px;
        overflow: hidden;
    }

    .hero-event-track {
        display: flex;
        align-items: stretch;
        transition: transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    /* Two cards are visible at once; the track auto-steps left one card at a
       time so the right-hand card slides into the lead position. */
    .hero-event-slide {
        flex: 0 0 50%;
        max-width: 50%;
        box-sizing: border-box;
        padding-right: 14px;
    }

    .hero-event-slide .hero-carousel-content {
        padding: .85rem .85rem 1.4rem;
    }

    .hero-event-carousel--single .hero-event-slide {
        flex-basis: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-carousel-card {
        position: relative;
        min-height: 320px;
        height: 320px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
        background: var(--primary-dark);
    }

    .hero-carousel-image {
        width: 100%;
        height: 320px;
        object-fit: cover;
        display: block;
    }

    /* Hero card variant: a member's recent podium finish (no countdown). */
    .hero-carousel-card--achievement .hero-carousel-overlay {
        background: linear-gradient(120deg, rgba(6, 27, 53, .95) 0%, rgba(6, 27, 53, .78) 55%, rgba(14, 58, 99, .55) 100%);
    }

    .hero-achievement-row {
        display: flex;
        align-items: center;
        gap: .75rem;
    }

    .hero-achievement-avatar {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--accent);
        flex-shrink: 0;
    }

    .hero-achievement-name {
        font-size: 1.15rem;
        font-weight: 800;
        color: #fff;
        line-height: 1.2;
    }

    .hero-achievement-name .fa-trophy {
        color: var(--accent);
    }

    .hero-achievement-detail {
        font-size: .82rem;
        font-weight: 600;
        color: rgba(255, 255, 255, .9);
        margin-top: .15rem;
    }

    .hero-achievement-date {
        font-size: .72rem;
        color: rgba(255, 255, 255, .68);
        margin-top: .1rem;
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-event-track {
            transition: none;
        }
    }

    .hero-carousel-overlay {
        inset: 0;
        background: linear-gradient(90deg, rgba(10, 24, 48, .92) 0%, rgba(10, 24, 48, .72) 48%, rgba(10, 24, 48, .25) 100%);
    }

.hero-carousel-content {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-start;
        padding: 1rem 1rem 2rem;
        flex-direction: column;
        justify-content: flex-end;
        gap: .55rem;
        z-index: 2;
    }

    .hero-carousel-content .hero-actions {
        margin-top: auto;
    }

    .hero-carousel-content .hero-title {
        margin-bottom: 0;
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hero-carousel-content .hero-subtitle {
        margin-bottom: 0;
        max-width: 560px;
        font-size: .78rem;
        line-height: 1.35;
        opacity: .92;
    }

    .hero-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: .35rem .8rem;
        font-size: .74rem;
        color: rgba(255, 255, 255, .9);
    }

    .hero-carousel-indicators {
        margin-bottom: .45rem;
        z-index: 3;
    }

    .hero-carousel-indicators [data-hero-slide-to] {
        width: 26px;
        height: 5px;
        border-radius: 999px;
        border: 0;
        margin: 0 4px;
        padding: 0;
        cursor: pointer;
        background-color: rgba(255, 255, 255, .48);
        transition: background-color .3s ease;
    }

    .hero-carousel-indicators [data-hero-slide-to].active {
        background-color: #ffffff;
    }

.hero-carousel-empty {
    border-radius: 22px;
    background-size: cover;
    background-position: center;
    min-height: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1rem 2rem;
    gap: .55rem;
    background-image: url('/images/heroImage.jpg');
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

/* Hero countdown */
.hero-countdown-wrap {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.hero-countdown-label {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .75);
    text-transform: uppercase;
    padding: .2rem .55rem;
    background: rgba(0, 0, 0, .28);
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.hero-countdown {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.hero-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.6rem;
    background: rgba(0, 0, 0, .38);
    border-radius: 8px;
    padding: .35rem .5rem .25rem;
}

.hero-countdown-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-countdown-unit-label {
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .72);
    margin-top: .2rem;
    text-transform: uppercase;
}

.hero-countdown-sep {
    font-size: 1.4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .7);
    line-height: 1;
    margin-bottom: .6rem;
}

.hero-auth-frame {
    width: 100%;
}

/* ============================================================
   GUEST MARKETING HERO
   ============================================================ */
.hero-guest {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    width: 100%;
    padding: 2.5rem 0;
    color: #fff;
}

.hero-guest-copy {
    flex: 1 1 58%;
    max-width: 640px;
}

.hero-guest-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

    .hero-guest-title .accent {
        color: var(--cta);
    }

.hero-guest-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.hero-guest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.btn-hero-cta {
    background: var(--cta);
    border: 2px solid var(--cta);
    color: #fff;
    font-weight: 700;
    padding: .7rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}

    .btn-hero-cta:hover {
        background: var(--cta-dark);
        border-color: var(--cta-dark);
        color: #fff;
    }

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,.6);
    color: #fff;
    font-weight: 700;
    padding: .7rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}

    .btn-hero-outline:hover {
        background: rgba(255,255,255,.12);
        border-color: #fff;
        color: #fff;
    }

.hero-guest-badge-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 28px;
    padding: 1.25rem;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.hero-guest-badge {
    width: 260px;
    height: 260px;
    max-width: 34vw;
    object-fit: contain;
    border-radius: 16px;
}

@media (max-width: 991.98px) {
    .hero-guest {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 0 2rem;
    }

    .hero-guest-copy {
        max-width: 100%;
    }

    .hero-guest-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-guest-actions {
        justify-content: center;
    }

    .hero-guest-title {
        font-size: 2rem;
    }

    .hero-guest-badge-wrap {
        padding: .85rem;
    }

    .hero-guest-badge {
        width: 180px;
        height: 180px;
    }
}

/* ============================================================
   UPCOMING TOURNAMENT + FEATURED CLUBS
   ============================================================ */
.upcoming-tournament-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary);
    color: #fff;
    height: 100%;
    box-shadow: var(--card-shadow);
}

.upcoming-tournament-media {
    position: relative;
    height: 200px;
}

    .upcoming-tournament-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .upcoming-tournament-media::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(10,24,48,0) 0%, rgba(10,24,48,.85) 100%);
    }

.upcoming-tournament-body {
    padding: 1.5rem;
}

.upcoming-tournament-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.upcoming-tournament-meta {
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .4rem;
}

    .upcoming-tournament-meta i {
        color: var(--cta);
        width: 16px;
    }

.upcoming-tournament-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: rgba(255,255,255,.75);
}

.featured-clubs-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--card-shadow);
    height: 100%;
    padding: 1.5rem;
}

.featured-clubs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: .5rem;
}

.featured-club-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
    padding: 1rem .5rem;
    border-radius: 12px;
    background: var(--bg-light);
}

.featured-club-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.featured-club-name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.best-members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: .5rem;
}

.best-member-card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-light);
}

.best-member-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.best-member-tournament {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.best-member-players {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.best-member-player {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--text-dark);
}

.best-member-player img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================================
   HOME AUTH NOTIFICATION MODAL
   ============================================================ */
.home-sidebar-modal-body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    background: #f8fafc;
}

.home-sidebar-modal .modal-content {
    background: #f8fafc;
}

.home-side-card {
    border-radius: 14px;
    border: 1px solid rgba(17,40,74,.08);
}

.home-side-profile {
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
}

.home-side-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(17,40,74,.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.home-side-links {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.home-side-link-item {
    font-size: .83rem;
    text-decoration: none;
    color: var(--text-dark);
    padding: .35rem .5rem;
    border-radius: 8px;
    background: #f8fafc;
}

.home-side-link-item:hover {
    color: var(--cta);
    background: rgba(237,28,36,.08);
}

.home-side-list li {
    font-size: .83rem;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(15,23,42,.06);
}

.home-side-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/*@keyframes slideBackground {
    from {
        background-position: 100% center;
    }

    to {
        background-position: 0% center;
    }
}

.hero-carousel-empty {
    background-size: 120% auto !important;*/ /* Increase size to allow sliding */
    /*animation: slideBackground 10s linear infinite;
}*/
    .hero-login-shell {
        flex: 0 0 360px;
        display: flex;
        justify-content: flex-end;
        align-self: stretch;
        z-index: 2;
    }

    .hero-login-shell .login-card {
        width: 100%;
        max-width: 360px;
        height: 100%;
        background: rgba(255,255,255,.98);
        color: var(--text-dark);
        border-radius: 16px;
        padding: .8rem .9rem .7rem;
        box-shadow: 0 14px 35px rgba(0,0,0,.18);
        overflow-y: auto;
    }

    .hero-login-shell .login-title {
        font-size: 1.05rem;
        font-weight: 800;
        color: #0f172a;
        letter-spacing: -.01em;
        margin-bottom: .1rem;
    }

    .hero-login-shell .login-subtitle {
        font-size: .67rem;
        color: #64748b;
        margin-bottom: .5rem;
    }

    .hero-login-shell .form-group {
        margin-bottom: .45rem;
    }

    .hero-login-shell .form-label {
        display: block;
        font-size: .68rem;
        font-weight: 600;
        color: #334155;
        margin-bottom: .2rem;
    }

    .hero-login-shell .input-wrap {
        display: flex;
        align-items: center;
        gap: .45rem;
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        padding: .35rem .55rem;
        background: #f8fafc;
        transition: border-color .2s, box-shadow .2s;
    }

    .hero-login-shell .input-wrap:focus-within {
        border-color: #1e3a8a;
        box-shadow: 0 0 0 3px rgba(30,58,138,.08);
        background: #fff;
    }

    .hero-login-shell .input-wrap.is-invalid {
        border-color: #ef4444;
    }

    .hero-login-shell .input-wrap .icon {
        color: #94a3b8;
        font-size: .72rem;
        flex-shrink: 0;
    }

    .hero-login-shell .input-wrap input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-family: inherit;
        font-size: .74rem;
        color: #0f172a;
    }

    .hero-login-shell .input-wrap input::placeholder {
        color: #94a3b8;
    }

    .hero-login-shell .toggle-pw {
        background: none;
        border: none;
        cursor: pointer;
        color: #94a3b8;
        padding: 0;
        line-height: 1;
    }

    .hero-login-shell .toggle-pw:hover {
        color: #1e3a8a;
    }

    .hero-login-shell .form-row-check {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: .5rem;
    }

    .hero-login-shell .form-check {
        display: flex;
        align-items: center;
        gap: .25rem;
        cursor: pointer;
    }

    .hero-login-shell .form-check input[type=checkbox] {
        width: 13px;
        height: 13px;
        accent-color: #1e3a8a;
        cursor: pointer;
        flex-shrink: 0;
    }

    .hero-login-shell .form-check label {
        font-size: .68rem;
        color: #475569;
        cursor: pointer;
    }

    .hero-login-shell .forgot-link {
        font-size: .68rem;
        color: #1e3a8a;
        text-decoration: none;
        font-weight: 500;
    }

    .hero-login-shell .forgot-link:hover {
        text-decoration: underline;
    }

    .hero-login-shell .validation-summary {
        background: #fef2f2;
        border: 1px solid #fca5a5;
        border-radius: 8px;
        padding: .35rem .5rem;
        margin-bottom: .5rem;
        font-size: .68rem;
        color: #b91c1c;
    }

    .hero-login-shell .validation-summary ul {
        list-style: none;
    }

    .hero-login-shell .btn-login {
        width: 100%;
        padding: .45rem .55rem;
        font-size: .74rem;
        font-weight: 700;
        color: #fff;
        background: #1e3a8a;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        letter-spacing: .03em;
        transition: background .2s, transform .1s;
    }

    .hero-login-shell .btn-login:hover {
        background: #1e40af;
    }

    .hero-login-shell .btn-login:active {
        transform: scale(.99);
    }

    .hero-login-shell .btn-login:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

    .hero-login-shell .or-separator {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin: 1.5rem 0;
        color: #94a3b8;
        font-size: .8rem;
    }

    .hero-login-shell .or-separator::before,
    .hero-login-shell .or-separator::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e2e8f0;
    }

    .hero-login-shell .social-grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: .75rem;
        margin-bottom: 1.75rem;
    }

    .hero-login-shell .btn-social {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        padding: .6rem .5rem;
        border: 1.5px solid #e2e8f0;
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
        font-size: .82rem;
        font-weight: 600;
        color: #334155;
        text-decoration: none;
        transition: border-color .2s, box-shadow .2s;
    }

    .hero-login-shell .btn-social:hover {
        border-color: #93c5fd;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }

    .hero-login-shell .btn-social img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .hero-login-shell .register-row {
        text-align: center;
        font-size: .67rem;
        color: #64748b;
        margin-bottom: .35rem;
        margin-top: .35rem;
    }

    .hero-login-shell .register-row a {
        color: #1e3a8a;
        font-weight: 700;
        text-decoration: none;
    }

    .hero-login-shell .register-row a:hover {
        text-decoration: underline;
    }

    .hero-login-shell .secure-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        font-size: .62rem;
        color: #94a3b8;
        line-height: 1.2;
    }

    .hero-badge {
        display: inline-block;
        background: var(--cta);
        color: #fff;
        font-size: 0.62rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 50px;
        letter-spacing: 1px;
        margin-bottom: .35rem;
        text-transform: uppercase;
    }

    .hero-title {
        font-size: 2.8rem;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

        .hero-title .accent {
            color: var(--accent);
        }

    .hero-subtitle {
        font-size: 1rem;
        opacity: .85;
        max-width: 480px;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .hero-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .btn-hero-primary {
        background: var(--cta);
        border: 2px solid var(--cta);
        color: #fff;
        font-weight: 700;
        padding: 0.38rem .85rem;
        font-size: .72rem;
        border-radius: 50px;
        transition: all .2s;
    }

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

    .btn-hero-outline {
        border: 2px solid rgba(255,255,255,.85);
        color: #fff;
        font-weight: 600;
        padding: 0.38rem .85rem;
        font-size: .72rem;
        border-radius: 50px;
        transition: all .2s;
        background: rgba(255,255,255,.08);
    }

        .btn-hero-outline:hover {
            border-color: #fff;
            background: rgba(255,255,255,.1);
            color: #fff;
        }
    
    /* Stats bar */
    .stats-bar {
        background: #fff;
        box-shadow: 0 -4px 24px rgba(0,0,0,.1), var(--card-shadow);
        border-radius: 12px;
        position: relative;
        z-index: 3;
        margin-top: -20px;
    }

    .stat-item {
        padding: 1.5rem 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .35rem;
    }

        .stat-item + .stat-item {
            border-left: 1px solid var(--border-color);
        }

    .stat-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--cta);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        margin-bottom: .2rem;
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1;
    }

    .stat-label {
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-top: 4px;
        text-transform: uppercase;
        letter-spacing: .04em;
        font-weight: 600;
    }
    /* ============================================================
   SECTION COMMONS
   ============================================================ */
    .section-badge {
        display: inline-block;
        background: rgba(17,40,74,.1);
        color: var(--primary);
        font-size: 0.75rem;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 50px;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: 1.85rem;
        font-weight: 800;
        color: var(--text-dark);
    }

        .section-title .accent {
            color: var(--cta);
        }

    .section-divider {
        width: 54px;
        height: 4px;
        background: var(--cta);
        border-radius: 2px;
        margin: 0.75rem 0 1rem;
    }

        .section-divider.center {
            margin: 0.75rem auto 1rem;
        }
    /* ============================================================
   NEWS CARDS
   ============================================================ */
    .news-card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
        transition: transform .2s, box-shadow .2s;
        height: 100%;
    }

        .news-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(17,40,74,.18);
        }

        .news-card .card-img-top {
            height: 200px;
            object-fit: cover;
        }

        .news-card .card-body {
            padding: 1.25rem;
        }

        .news-card .news-date {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .news-card .card-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.4;
        }

    .news-tag {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 2px 10px;
        border-radius: 50px;
        background: rgba(17,40,74,.12);
        color: var(--primary);
        margin-bottom: 0.5rem;
    }
    /* ============================================================
   SPONSOR LOGOS
   ============================================================ */
    .sponsor-bar {
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .sponsor-logo {
        height: 65px;
        width: auto;
        max-width: 110px;
        object-fit: contain;
        transition: all .2s;
    }

        .sponsor-logo:hover {
            filter: none;
            opacity: 1;
        }

    /* ---- Home partner/sponsor card (compact, tiered) ---- */
    .partner-sponsor-card {
        background: var(--primary);
        border-radius: 20px;
        padding: 1.75rem 1.75rem 2rem;
        color: #fff;
    }

    .partner-sponsor-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

        .partner-sponsor-header h2 {
            font-size: 1.4rem;
            font-weight: 800;
            color: #fff;
            margin: 0;
        }

            .partner-sponsor-header h2 .accent {
                color: var(--cta);
            }

    .partner-sponsor-viewall {
        background: rgba(255,255,255,.12);
        color: #fff;
        border: 1px solid rgba(255,255,255,.3);
        padding: .45rem 1rem;
        border-radius: 8px;
        font-size: .85rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: background .2s;
    }

        .partner-sponsor-viewall:hover {
            background: rgba(255,255,255,.22);
            color: #fff;
        }

    .partner-sponsor-body .text-muted,
    .partner-sponsor-body .text-danger {
        color: rgba(255,255,255,.7) !important;
    }

    .partner-tier-caption {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: rgba(255,255,255,.7);
        margin-bottom: .75rem;
    }

    .partner-tier-empty {
        font-size: .8rem;
        color: rgba(255,255,255,.6);
    }

    .partner-logo-row {
        display: flex;
        flex-wrap: wrap;
        gap: .6rem;
    }

    .partner-logo-box {
        background: #fff;
        border-radius: 10px;
        flex: 1 1 calc(33.333% - .45rem);
        min-width: 88px;
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .5rem .6rem;
        cursor: pointer;
        transition: transform .15s;
    }

        .partner-logo-box:hover {
            transform: translateY(-2px);
        }

        .partner-logo-box img {
            max-height: 40px;
            max-width: 100%;
            object-fit: contain;
        }

        .partner-logo-box .partner-logo-fallback {
            font-size: .7rem;
            font-weight: 700;
            color: var(--primary);
            text-align: center;
        }

    .partner-companion-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .6rem;
    }

    .partner-companion-box {
        background: #fff;
        border-radius: 10px;
        padding: .6rem .75rem;
        font-size: .72rem;
        font-weight: 700;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 56px;
        cursor: pointer;
        transition: transform .15s;
    }

        .partner-companion-box:hover {
            transform: translateY(-2px);
        }

    /* ============================================================
   TOURNAMENT SECTION
   ============================================================ */
    .tournament-card {
        border: none;
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--card-shadow);
        overflow: hidden;
        transition: transform .2s;
    }

        .tournament-card:hover {
            transform: translateY(-3px);
        }

        .tournament-card .tc-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: #fff;
            padding: 1.25rem;
        }

        .tournament-card .tc-date {
            background: var(--cta);
            color: #fff;
            border-radius: 8px;
            padding: 0.5rem;
            text-align: center;
            min-width: 56px;
        }

    .tc-date .day {
        font-size: 1.5rem;
        font-weight: 800;
        line-height: 1;
    }

    .tc-date .month {
        font-size: 0.65rem;
        text-transform: uppercase;
    }

    .tournament-dashboard {
        background: linear-gradient(180deg, rgba(17,40,74,.04), rgba(17,40,74,0));
    }

    .tournament-kicker {
        max-width: 760px;
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .tournament-shell {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .tournament-filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        align-items: flex-end;
        background: #fff;
        border-radius: 20px;
        padding: 1rem 1.2rem;
        box-shadow: var(--card-shadow);
        border: 1px solid rgba(17,40,74,.08);
    }

    .filter-bar-field {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        flex: 1;
        min-width: 160px;
    }

    .filter-bar-search {
        flex: 2;
        min-width: 240px;
    }

    .filter-bar-actions {
        display: flex;
        gap: 0.5rem;
        align-items: flex-end;
        padding-bottom: 1px;
    }

    .sidebar-card {
        background: #fff;
        border-radius: 20px;
        padding: 1.1rem;
        box-shadow: var(--card-shadow);
        border: 1px solid rgba(17,40,74,.08);
    }

    .sidebar-card-ghost {
        background: linear-gradient(180deg, rgba(17,40,74,.06), rgba(17,40,74,.02));
    }

    .sidebar-title {
        font-size: 0.92rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: .6px;
    }

    .tournament-search-group .input-group-text {
        background: #fff;
        border-color: var(--border-color);
        color: var(--text-muted);
        border-radius: 12px 0 0 12px;
    }

    .tournament-search-group .form-control {
        border-left: 0;
        border-radius: 0 12px 12px 0;
    }

    .tournament-toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .tournament-status-tabs .nav-link {
        border-radius: 999px;
        padding: 0.6rem 1rem;
        font-weight: 700;
        background: #fff;
        border: 1px solid rgba(17,40,74,.12);
        color: var(--text-dark);
        box-shadow: 0 2px 10px rgba(17,40,74,.06);
    }

    .tournament-status-tabs .nav-link.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .tournament-count-label {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--primary);
        background: rgba(17,40,74,.08);
        border-radius: 999px;
        padding: 0.55rem 0.9rem;
    }

    .tournament-result-host {
        min-height: 220px;
    }

    .tournament-loading {
        text-align: center;
        color: var(--text-muted);
        padding: 2rem 1rem;
        background: rgba(255,255,255,.75);
        border: 1px dashed rgba(17,40,74,.18);
        border-radius: 18px;
    }

    .tournament-workflow-section {
        background: linear-gradient(180deg, rgba(17,40,74,.03), rgba(17,40,74,0));
    }

    .workflow-panel {
        background: #fff;
        border: 1px solid rgba(17,40,74,.08);
        border-radius: 24px;
        padding: 1.5rem;
        box-shadow: var(--card-shadow);
    }

    .workflow-intro {
        max-width: 760px;
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .workflow-approval-note {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        max-width: 320px;
        padding: 1rem 1.1rem;
        border-radius: 18px;
        background: rgba(17,40,74,.08);
        color: var(--primary-dark);
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.55;
    }

    .workflow-approval-note i {
        color: var(--primary);
        font-size: 1.1rem;
        margin-top: 0.15rem;
        flex-shrink: 0;
    }

    .workflow-steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }

    .workflow-step {
        height: 100%;
        padding: 1.25rem;
        border-radius: 20px;
        background: linear-gradient(180deg, #f9fcfa 0%, #fff 100%);
        border: 1px solid rgba(17,40,74,.1);
        box-shadow: 0 10px 24px rgba(17,40,74,.05);
    }

    .workflow-step-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .workflow-step-index {
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: #fff;
        font-size: 0.95rem;
        font-weight: 800;
        flex-shrink: 0;
    }

    .workflow-step-icon {
        width: 3rem;
        height: 3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(17,40,74,.08);
        color: var(--primary);
        font-size: 1rem;
    }

    .workflow-step h3 {
        margin: 0.9rem 0 0.5rem;
        font-size: 1rem;
        font-weight: 800;
        color: var(--text-dark);
    }

    .workflow-step p {
        margin: 0;
        color: var(--text-muted);
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .workflow-step.is-emphasis {
        border-color: rgba(248,201,62,.55);
        background: linear-gradient(180deg, rgba(248,201,62,.14), #fff);
    }

    .workflow-step.is-emphasis .workflow-step-index {
        background: var(--accent-dark);
        color: #fff;
    }

    .workflow-step.is-emphasis .workflow-step-icon {
        background: rgba(248,201,62,.24);
        color: #8a6700;
    }

    .workflow-side-card {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 24px;
        background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
        box-shadow: var(--card-shadow);
        color: #fff;
    }

    .workflow-side-badge {
        display: inline-flex;
        align-self: flex-start;
        align-items: center;
        border-radius: 999px;
        padding: 0.35rem 0.8rem;
        background: rgba(255,255,255,.16);
        color: rgba(255,255,255,.9);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: .6px;
        text-transform: uppercase;
    }

    .workflow-side-title {
        font-size: 1.35rem;
        font-weight: 800;
        margin: 0;
    }

    .workflow-side-description {
        margin: 0;
        color: rgba(255,255,255,.85);
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .workflow-side-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .workflow-side-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255,255,255,.92);
    }

    .workflow-side-list i {
        margin-top: 0.2rem;
        color: var(--accent);
        flex-shrink: 0;
    }

    .workflow-side-action {
        margin-top: auto;
        border-radius: 999px;
        font-weight: 800;
        color: var(--primary-dark);
    }

    .workflow-side-action:hover,
    .workflow-side-action:focus {
        color: var(--primary-dark);
    }

    @media (max-width: 991.98px) {
        .workflow-approval-note {
            max-width: none;
        }

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

    @media (max-width: 575.98px) {
        .workflow-panel,
        .workflow-side-card {
            padding: 1.25rem;
            border-radius: 20px;
        }

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

    .group-card {
        display: grid;
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 0;
        background: #fff;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
        border: 1px solid rgba(17,40,74,.08);
    }

    .group-card-media {
        position: relative;
        min-height: 280px;
        background: #0f4f32;
    }

    .group-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: saturate(1.05);
    }

    .group-card-media-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 100%);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 1.1rem;
        gap: 0.35rem;
    }

    .group-status-pill {
        align-self: flex-start;
        background: #e11d48;
        border-radius: 999px;
        padding: 0.28rem 0.65rem;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .6px;
    }

    .group-card-overlay-title {
        font-size: 1.3rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .group-card-overlay-meta {
        font-size: 0.8rem;
        opacity: .88;
    }

    .group-card-body {
        padding: 1.2rem;
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 0;
    }

    .group-summary {
        padding-bottom: 0.9rem;
        border-bottom: 1px solid rgba(17,40,74,.1);
        margin-bottom: 0.9rem;
    }

    .group-summary-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 0.45rem;
    }

    .group-summary-kicker {
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .9px;
        color: var(--primary);
        margin-bottom: 0.2rem;
    }

    .group-card-name {
        margin: 0 0 0.3rem;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.25;
    }

    .group-detail-btn {
        border-radius: 999px;
        font-weight: 700;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .group-summary-desc {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin: 0 0 0.65rem;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .group-summary-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem 1.1rem;
        font-size: 0.82rem;
        color: var(--text-muted);
    }

    .group-meta-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .group-events-section {
        flex: 1;
        min-width: 0;
    }

    .group-events-label {
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .9px;
        color: var(--text-muted);
        margin-bottom: 0.5rem;
    }

    .group-events-table {
        font-size: 0.82rem;
    }

        .group-events-table thead th {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-muted);
            border-bottom: 1px solid rgba(17,40,74,.15);
            padding: 0.4rem 0.55rem;
            white-space: nowrap;
            background: transparent;
        }

        .group-events-table tbody td {
            padding: 0.45rem 0.55rem;
            vertical-align: middle;
            border-bottom: 1px solid rgba(17,40,74,.06);
        }

    .tournament-name-cell {
        font-weight: 600;
        min-width: 140px;
    }

    .skill-level-badge {
        display: inline-block;
        border-radius: 999px;
        background: rgba(17,40,74,.12);
        color: var(--primary);
        font-weight: 800;
        font-size: 0.78rem;
        padding: 0.15rem 0.55rem;
    }

    .status-chip {
        border-radius: 999px;
        background: rgba(17,40,74,.08);
        color: var(--primary);
        font-weight: 700;
        padding: 0.18rem 0.55rem;
        font-size: 0.78rem;
    }

    .tournament-register-btn {
        border-radius: 999px;
        font-weight: 700;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.25rem 0.65rem;
    }

    .tournament-detail-btn {
        border-radius: 999px;
        font-weight: 700;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
    }

    .tournament-register-btn:disabled,
    .tournament-register-btn[aria-disabled="true"] {
        opacity: .65;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* Mobile Tournament Cards */
    .tournament-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .tournament-mobile-card {
        background: #fff;
        border: 1px solid rgba(17,40,74,.12);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,.05);
    }

    .tournament-mobile-card-header {
        padding: 0.75rem;
        background: rgba(17,40,74,.04);
        border-bottom: 1px solid rgba(17,40,74,.08);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .tournament-mobile-title {
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--text);
        flex: 1;
        line-height: 1.3;
    }

    .tournament-mobile-card-body {
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .tournament-mobile-info-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .tournament-mobile-label {
        color: var(--text-muted);
        font-weight: 600;
        flex-shrink: 0;
    }

    .tournament-mobile-card-footer {
        padding: 0.75rem;
        border-top: 1px solid rgba(17,40,74,.08);
        background: #fff;
    }

    .tournament-mobile-card-footer .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }

    .event-date-tabs {
        border-bottom: 1px solid rgba(17,40,74,.15);
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .event-date-tabs::-webkit-scrollbar {
            display: none;
        }

        .event-date-tabs .nav-link {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-muted);
            border: none;
            border-bottom: 2px solid transparent;
            border-radius: 0;
            padding: 0.5rem 0.9rem;
            background: transparent;
            white-space: nowrap;
        }

        .event-date-tabs .nav-link.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
            background: transparent;
        }

    .event-date-tab-content {
        border: 1px solid rgba(17,40,74,.1);
        border-top: none;
        border-radius: 0 0 10px 10px;
        overflow: hidden;
    }

    .partner-registration-modal {
        border: 0;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(15, 79, 50, .18);
    }

    .partner-registration-kicker {
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: .9px;
        text-transform: uppercase;
        color: var(--primary);
        margin-bottom: 0.2rem;
    }

    .partner-registration-target {
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(17,40,74,.08), rgba(17,40,74,.03));
        border: 1px solid rgba(17,40,74,.12);
        padding: 0.9rem 1rem;
        font-weight: 700;
        color: var(--text-dark);
    }

    .partner-registration-result {
        margin-top: 1rem;
        margin-bottom: 0;
        border-radius: 14px;
        font-size: 0.9rem;
    }


    @media (max-width: 991.98px) {
        .group-card {
            grid-template-columns: 1fr;
        }

        .group-card-media {
            min-height: 220px;
        }
    }

    @media (max-width: 575.98px) {
        .tournament-filter-bar {
            padding: 0.85rem 1rem;
        }

        .filter-bar-field,
        .filter-bar-search {
            min-width: 100%;
        }

        .tournament-toolbar {
            align-items: stretch;
        }

        .tournament-status-tabs {
            width: 100%;
        }

        .tournament-status-tabs .nav-item,
        .tournament-status-tabs .nav-link {
            width: 100%;
        }

        .group-events-table thead th,
        .group-events-table tbody td {
            padding: 0.4rem 0.4rem;
        }

        .tournament-register-btn {
            width: 100%;
        }
    }
    /* ============================================================
   RANKING TABLE
   ============================================================ */
    .ranking-table {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
    }

        .ranking-table thead th {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: 0.85rem;
            border: none;
            padding: 0.85rem 1rem;
        }

        .ranking-table tbody td {
            padding: 0.85rem 1rem;
            font-size: 0.875rem;
            border-color: var(--border-color);
        }

        .ranking-table tbody tr:hover {
            background: var(--bg-light);
        }

    .rank-badge {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.8rem;
    }

    .rank-1 {
        background: #ffd700;
        color: #7a5c00;
    }

    .rank-2 {
        background: #c0c0c0;
        color: #555;
    }

    .rank-3 {
        background: #cd7f32;
        color: #fff;
    }

    .rank-n {
        background: var(--bg-light);
        color: var(--text-muted);
    }
    /* Member badges */
    .badge-member {
        background: #dee2e6;
        color: #495057;
    }

    .badge-silver {
        background: linear-gradient(135deg,#c0c0c0,#e8e8e8);
        color: #555;
    }

    .badge-gold {
        background: linear-gradient(135deg,#f5a623,#ffd700);
        color: #7a5c00;
    }

    .badge-platinum {
        background: linear-gradient(135deg,#0b7a45,#0ea85f);
        color: #fff;
    }
    /* ============================================================
   MEMBER PORTAL
   ============================================================ */
    .portal-sidebar {
        background: var(--primary);
        color: #fff;
        min-height: 100vh;
        padding: 1.5rem 0;
    }

        .portal-sidebar .nav-link {
            color: rgba(255,255,255,.75) !important;
            padding: 0.65rem 1.5rem;
            font-size: 0.875rem;
            font-weight: 500;
            border-left: 3px solid transparent;
            transition: all .2s;
        }

            .portal-sidebar .nav-link:hover,
            .portal-sidebar .nav-link.active {
                color: #fff !important;
                background: rgba(255,255,255,.1);
                border-left-color: var(--accent);
            }

            .portal-sidebar .nav-link i {
                width: 20px;
                text-align: center;
                margin-right: 8px;
            }
    /* ============================================================
   REGISTRATION FORM
   ============================================================ */
    /* Hero banner for registration page */
    .reg-hero {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #034325 100%);
        background-image: linear-gradient(135deg, rgba(17,40,74,.92) 0%, rgba(10,24,48,.95) 60%), url('/images/reg-hero-bg.jpg');
        background-size: cover;
        background-position: center;
        border-bottom: 3px solid var(--accent);
    }

    .reg-sidebar {
        background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
        min-height: 100vh;
        padding: 3rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .reg-sidebar .reg-benefit {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 1.5rem;
        }

        .reg-sidebar .benefit-icon {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: rgba(255,255,255,.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--accent);
            flex-shrink: 0;
        }

        .reg-sidebar h5 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .reg-sidebar p {
            color: rgba(255,255,255,.75);
            font-size: 0.85rem;
            margin: 0;
        }

    .reg-main {
        padding: 3rem 2.5rem;
        background: #fff;
    }

    .form-section-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary);
        border-left: 4px solid var(--accent);
        padding-left: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .form-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 0.35rem;
    }

    .form-control, .form-select {
        font-size: 0.875rem;
        border-color: var(--border-color);
        border-radius: 8px;
        padding: 0.55rem 0.85rem;
    }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.15rem rgba(17,40,74,.16);
        }

    .upload-box {
        border: 2px dashed var(--border-color);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        cursor: pointer;
        transition: border-color .2s;
        background: var(--bg-light);
    }

        .upload-box:hover {
            border-color: var(--primary);
        }

        .upload-box i {
            font-size: 2rem;
            color: var(--text-muted);
        }

    /* Existing-file gallery (preview/delete) reused by DangKy/Index and AdminMembers/_MemberDetail */
    .doc-gallery-item { display: flex; flex-direction: column; align-items: center; }
    .doc-gallery-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1.5px solid #e2e8f0; }
    .doc-gallery-pdf { width: 72px; height: 72px; border-radius: 6px; border: 1.5px solid #e2e8f0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff5f5; cursor: pointer; gap: .2rem; }
    .doc-icon-btn { width: 24px; height: 24px; border: 1.5px solid #e2e8f0; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #64748b; font-size: .6rem; transition: all .15s; }
    .doc-icon-btn:hover { border-color: #93c5fd; color: #2563eb; }
    .doc-icon-btn.text-danger:hover { border-color: #fca5a5; color: #dc2626; }
    /* ============================================================
   ABOUT / INTRO PAGE
   ============================================================ */
    .page-hero {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        padding: 3.5rem 0 2rem;
    }

        .page-hero h1 {
            font-size: 2.2rem;
            font-weight: 800;
        }

        .page-hero .breadcrumb {
            --bs-breadcrumb-divider-color: rgba(255,255,255,.5);
        }

        .page-hero .breadcrumb-item {
            color: rgba(255,255,255,.75);
            font-size: 0.85rem;
        }

            .page-hero .breadcrumb-item.active {
                color: #fff;
            }

            .page-hero .breadcrumb-item + .breadcrumb-item::before {
                color: rgba(255,255,255,.5);
            }

            /* ============================================================
               GIAI DAU DETAILS PAGE
               ============================================================ */
            .giai-dau-details-page {
                background: #f5f8f6;
                min-height: 100vh;
            }

            .giai-dau-details-hero {
                padding: 1.25rem 0 1rem;
            }

            .giai-dau-breadcrumb .breadcrumb-item,
            .giai-dau-breadcrumb .breadcrumb-item a {
                color: rgba(15, 23, 42, .65);
                text-decoration: none;
            }

            .giai-dau-breadcrumb .breadcrumb-item.active {
                color: var(--primary);
                font-weight: 600;
            }

            .giai-dau-hero-grid {
                display: grid;
                grid-template-columns: minmax(0, 1fr) 300px;
                gap: 1rem;
                align-items: start;
            }

            .giai-dau-hero-banner {
                position: relative;
                min-height: 410px;
                border-radius: 18px;
                overflow: hidden;
                box-shadow: 0 20px 40px rgba(15, 23, 42, .10);
                background: #0b1f16;
            }

            .giai-dau-hero-image {
                position: absolute;
                inset: 0;
                background-size: cover;
                background-position: center;
                transform: scale(1.02);
            }

            .giai-dau-hero-overlay {
                position: absolute;
                inset: 0;
                background: linear-gradient(90deg, rgba(3, 36, 22, .92) 0%, rgba(3, 36, 22, .68) 48%, rgba(3, 36, 22, .28) 100%);
            }

            .giai-dau-hero-content {
                position: relative;
                z-index: 2;
                color: #fff;
                padding: 2rem 2rem 1.5rem;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                min-height: 410px;
                gap: .85rem;
                max-width: 760px;
            }

            .giai-dau-status-pill {
                align-self: flex-start;
                background: #0ea35f;
                color: #fff;
                border-radius: 999px;
                padding: .35rem .8rem;
                font-size: .72rem;
                font-weight: 800;
                letter-spacing: .6px;
                text-transform: uppercase;
            }

            .giai-dau-hero-content h1 {
                margin: 0;
                font-size: clamp(2rem, 4vw, 3.2rem);
                font-weight: 900;
                line-height: 1.05;
                text-transform: uppercase;
            }

            .giai-dau-hero-content h2 {
                margin: 0;
                font-size: clamp(1.15rem, 2.2vw, 1.7rem);
                font-weight: 900;
                color: #ffd86b;
                text-transform: uppercase;
                letter-spacing: .4px;
            }

            .giai-dau-hero-content p {
                margin: 0;
                max-width: 560px;
                color: rgba(255,255,255,.9);
                font-size: .92rem;
                line-height: 1.55;
            }

            .giai-dau-hero-meta {
                display: flex;
                flex-wrap: wrap;
                gap: .7rem 1.2rem;
                font-size: .85rem;
                color: rgba(255,255,255,.9);
            }

            .giai-dau-hero-meta span {
                display: inline-flex;
                align-items: center;
                gap: .45rem;
                white-space: nowrap;
            }

            .giai-dau-hero-actions {
                display: flex;
                gap: .75rem;
                flex-wrap: wrap;
            }

            .giai-dau-side-stack {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }

            .giai-dau-side-card {
                background: #fff;
                border-radius: 18px;
                box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
                border: 1px solid rgba(17,40,74, .08);
                padding: 1rem;
            }

            .organizer-card-head h3,
            .quick-action-card h3,
            .video-card h3,
            .news-card h3 {
                margin: 0;
                font-size: 1rem;
                font-weight: 800;
                color: #0f172a;
            }

            .organizer-logo {
                width: 56px;
                height: 56px;
                object-fit: cover;
                border-radius: 50%;
                border: 1px solid rgba(17,40,74,.12);
            }

            .organizer-contact ul {
                list-style: none;
                padding: 0;
                margin: 0;
                display: grid;
                gap: .45rem;
                font-size: .85rem;
                color: #334155;
            }

            .organizer-contact li {
                display: flex;
                gap: .5rem;
                align-items: center;
            }

            .quick-action-card .btn {
                border-radius: 12px;
                justify-content: flex-start;
            }

            .video-thumb {
                position: relative;
                border-radius: 14px;
                overflow: hidden;
                height: 150px;
                background: #0b1f16;
            }

            .video-thumb img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                opacity: .92;
            }

            .video-play {
                position: absolute;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.25rem;
                color: #fff;
                background: rgba(15, 23, 42, .22);
            }

            .related-news-item {
                display: flex;
                gap: .7rem;
                text-decoration: none;
                color: inherit;
                padding: .55rem 0;
                border-top: 1px solid rgba(15, 23, 42, .06);
            }

            .related-news-item:first-of-type {
                border-top: 0;
                padding-top: 0;
            }

            .related-news-item img {
                width: 68px;
                height: 54px;
                object-fit: cover;
                border-radius: 10px;
                flex-shrink: 0;
            }

            .giai-dau-summary-strip {
                padding: 0 0 1rem;
            }

            .giai-dau-summary-grid {
                display: grid;
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: .75rem;
            }

            .giai-dau-summary-card {
                background: #fff;
                border-radius: 16px;
                padding: 1rem;
                box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
                border: 1px solid rgba(17,40,74, .08);
                min-height: 132px;
            }

            .summary-card-icon {
                width: 34px;
                height: 34px;
                border-radius: 50%;
                background: rgba(17,40,74,.10);
                color: var(--primary);
                display: inline-flex;
                align-items: center;
                justify-content: center;
                margin-bottom: .6rem;
            }

            .summary-card-kicker {
                font-size: .68rem;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: .7px;
                color: #64748b;
                margin-bottom: .3rem;
            }

            .summary-card-value {
                font-size: .98rem;
                font-weight: 800;
                color: #0f172a;
                line-height: 1.35;
            }

            .summary-card-subtitle {
                font-size: .76rem;
                color: #64748b;
                margin-top: .25rem;
            }

            .giai-dau-content-section {
                padding: .5rem 0 2rem;
            }

            .giai-dau-tabs {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                gap: .25rem;
                border-bottom: 1px solid rgba(17,40,74,.12);
                padding-bottom: .25rem;
                margin-bottom: 1rem;
            }

            .giai-dau-tabs .nav-link {
                border: 0;
                background: transparent;
                color: #475569;
                font-weight: 700;
                white-space: nowrap;
                border-bottom: 2px solid transparent;
                border-radius: 0;
            }

            .giai-dau-tabs .nav-link.active {
                color: var(--primary);
                border-bottom-color: var(--primary);
            }

            .giai-dau-tab-content .tab-pane {
                min-height: 320px;
            }

            .giai-dau-panel {
                background: #fff;
                border-radius: 18px;
                padding: 1rem;
                box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
                border: 1px solid rgba(17,40,74, .08);
            }

            .bracket-iframe-wrap {
                width: 100%;
                height: 85vh;
                overflow-x: hidden;
                overflow-y: auto;
            }

            .bracket-iframe-wrap iframe {
                display: block;
                border: 0;
            }

            .overview-table thead th {
                font-size: .75rem;
                text-transform: uppercase;
                letter-spacing: .4px;
                color: #64748b;
                font-weight: 800;
                border-bottom: 1px solid rgba(17,40,74,.12);
            }

            .overview-table tbody td {
                padding-top: .8rem;
                padding-bottom: .8rem;
            }

            .giai-dau-note-panel {
                background: linear-gradient(180deg, #f8fcf9 0%, #ffffff 100%);
            }

            @media (max-width: 1199.98px) {
                .giai-dau-hero-grid {
                    grid-template-columns: 1fr 280px;
                }

                .giai-dau-summary-grid {
                    grid-template-columns: repeat(3, minmax(0, 1fr));
                }
            }

            @media (max-width: 991.98px) {
                .giai-dau-hero-grid {
                    grid-template-columns: 1fr;
                }

                .giai-dau-hero-banner {
                    min-height: 360px;
                }

                .giai-dau-hero-content {
                    min-height: 360px;
                }

                .giai-dau-summary-grid {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
            }

            @media (max-width: 575.98px) {
                .giai-dau-hero-content {
                    padding: 1.35rem 1rem 1rem;
                }

                .giai-dau-hero-banner,
                .giai-dau-hero-content {
                    min-height: 330px;
                }

                .giai-dau-summary-grid {
                    grid-template-columns: 1fr;
                }
            }

    .value-card {
        border: none;
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--card-shadow);
        padding: 2rem 1.5rem;
        text-align: center;
        transition: transform .2s;
    }

        .value-card:hover {
            transform: translateY(-4px);
        }

    .value-icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: rgba(17,40,74,.12);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }
    /* ============================================================
   FOOTER
   ============================================================ */
    .site-footer {
        position: relative;
        background: var(--primary);
        color: rgba(255,255,255,.8);
        overflow: hidden;
    }

    .site-footer::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 190px;
        background: url('/images/haiphong-bridge-silhouette.svg') repeat-x bottom center;
        background-size: auto 100%;
        opacity: .12;
        pointer-events: none;
    }

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

    .footer-main {
        border-bottom: 1px solid rgba(255,255,255,.1);
        border-top: 3px solid var(--cta);
    }

    .footer-heading {
        color: #fff;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .footer-desc {
        font-size: 0.85rem;
        line-height: 1.6;
        color: rgba(255,255,255,.65);
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: rgba(255,255,255,.65);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color .2s;
        }

            .footer-links a:hover {
                color: #fff;
                padding-left: 4px;
            }

    .footer-bottom {
        background: var(--primary-dark);
        color: rgba(255,255,255,.55);
        font-size: 0.8rem;
    }

    .social-btn {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.25);
        color: rgba(255,255,255,.75);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        text-decoration: none;
        transition: all .2s;
    }

        .social-btn:hover {
            background: var(--cta);
            border-color: var(--cta);
            color: #fff;
        }
    /* ============================================================
   REUSABLE ALERT UI
   ============================================================ */
    .app-alert-stack {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .app-alert {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        border: 1px solid;
        border-radius: 10px;
        background: #fff;
        padding: 12px 14px;
        position: relative;
    }

    .app-alert-icon {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: #fff;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .app-alert-title {
        font-weight: 700;
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .app-alert-message {
        font-size: 0.82rem;
        color: #4b5563;
    }

    .app-alert-close {
        border: none;
        background: transparent;
        color: #6b7280;
        font-size: 0.95rem;
        line-height: 1;
        margin-left: auto;
        padding: 2px;
    }

    .app-alert-success {
        border-color: #bde8cf;
        background: #f4fbf7;
    }

        .app-alert-success .app-alert-icon {
            background: #22a55d;
        }

        .app-alert-success .app-alert-title {
            color: #167647;
        }

    .app-alert-info {
        border-color: #c9dbff;
        background: #f3f7ff;
        transition: width 1s, height 1s, background-color 1s, rotate 1s;
    }

        .app-alert-info .app-alert-icon {
            background: #0b7a45;
        }

        .app-alert-info .app-alert-title {
            color: #085f35;
        }

    .app-alert-warning {
        border-color: #f7dfb5;
        background: #fff9ef;
    }

        .app-alert-warning .app-alert-icon {
            background: #f59e0b;
        }

        .app-alert-warning .app-alert-title {
            color: #b45309;
        }

    .app-alert-error {
        border-color: #f6c9cf;
        background: #fff5f6;
    }

        .app-alert-error .app-alert-icon {
            background: #ef4444;
        }

        .app-alert-error .app-alert-title {
            color: #b91c1c;
        }

    .app-toast-container {
        position: fixed;
        top: 18px;
        right: 18px;
        width: min(360px, calc(100vw - 24px));
        z-index: 1090;
    }

    .app-toast {
        box-shadow: 0 10px 22px rgba(15, 35, 70, 0.16);
        animation: appToastIn .22s ease;
    }

    @keyframes appToastIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
    .lang-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 8px;
        font-size: 0.78rem;
        font-weight: 600;
        color: rgba(255,255,255,.9);
        text-decoration: none;
        background: transparent;
        transition: all 0.18s ease;
        white-space: nowrap;
    }

        .lang-toggle-btn:hover {
            background: rgba(255,255,255,.1);
            border-color: rgba(255,255,255,.4);
            color: #fff;
        }

        .lang-toggle-btn::after {
            margin-left: 2px;
            font-size: 0.7rem;
        }

    .lang-flag {
        font-size: 0.95rem;
        line-height: 1;
    }

    .lang-label {
        letter-spacing: 0.03em;
    }

    .lang-menu {
        min-width: 170px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        box-shadow: 0 12px 24px rgba(6, 27, 53, 0.16);
        padding: 6px;
    }

    .lang-menu-item {
        display: flex;
        align-items: center;
        gap: 8px;
        border-radius: 8px;
        font-size: 0.86rem;
        padding: 7px 10px;
        color: var(--text-dark);
    }

        .lang-menu-item.active,
        .lang-menu-item:active {
            background: rgba(6,27,53,.06);
            color: var(--primary);
        }
    /* ============================================================
   MEMBER DROPDOWN (PUBLIC LAYOUT)
   ============================================================ */
    .pub-member-toggle {
        border: none;
        background: transparent;
        padding: 0;
    }

    .pub-member-avatar {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,.14);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .pub-member-name {
        font-size: 0.85rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.15;
    }

    .pub-member-sub {
        font-size: 0.72rem;
        color: rgba(255,255,255,.6);
    }

    .pub-noti-btn {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,.25);
        background: transparent;
        color: rgba(255,255,255,.85);
        position: relative;
    }

    .pub-noti-dot {
        position: absolute;
        top: -3px;
        right: -2px;
        background: #ef4444;
        color: #fff;
        border-radius: 999px;
        min-width: 16px;
        height: 16px;
        font-size: 0.62rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
    }

    .pub-member-menu {
        width: min(360px, 92vw);
        border: none;
        border-radius: 12px;
        box-shadow: 0 18px 32px rgba(17, 39, 77, 0.2);
        overflow: hidden;
        padding: 0;
    }

    @media (max-width: 767.98px) {
        .pub-member-menu {
            width: 85vw !important;
            max-width: 280px;
            left: 50% !important;
            transform: translateX(-50%);
            right: auto !important;
        }
    }

    .pub-member-menu-head {
        background: linear-gradient(115deg, var(--primary) 0%, var(--primary-light) 100%);
        color: #fff;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pub-member-menu-head .pub-member-avatar {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }

    .pub-member-menu-body {
        padding: 10px 14px;
    }

    .pub-member-meta {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        font-size: 0.77rem;
        color: var(--text-muted);
        padding: 6px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .pub-member-links {
        list-style: none;
        margin: 8px 0 0;
        padding: 0;
    }

        .pub-member-links li a,
        .pub-member-links li button {
            width: 100%;
            border: none;
            background: transparent;
            display: flex;
            align-items: center;
            gap: 8px;
            text-align: left;
            color: var(--text-dark);
            font-size: 0.84rem;
            padding: 8px 2px;
        }

            .pub-member-links li a:hover,
            .pub-member-links li button:hover {
                color: var(--primary);
            }

        .pub-member-links .pub-logout-btn {
            color: #dc2626;
        }
    /* ============================================================
   RESPONSIVE
   ============================================================ */
    @media (max-width: 767.98px) {
        .site-header .navbar-collapse {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
            padding: .75rem;
            margin-top: .6rem;
        }

        .site-header .navbar-nav {
            gap: .2rem;
        }

        .site-header .nav-link::before {
            display: none;
        }

        .pub-member-toggle {
            transform: scale(0.8);
            transform-origin: right center;
            margin: 0 auto;
        }

        .pub-member-name,
        .pub-member-sub {
            display: none;
        }

        .hero-split {
            flex-direction: column;
            align-items: stretch;
            gap: 1.25rem;
        }

        .hero-copy {
            max-width: none;
            width: 100%;
        }

        .hero-carousel-card,
        .hero-carousel-image,
        .hero-carousel-empty {
            min-height: 320px;
        }

        /* One card per view on phones — two 50% cards would be too narrow. */
        .hero-event-slide {
            flex-basis: 100%;
            max-width: 100%;
            padding-right: 0;
        }

        .hero-event-slide .hero-carousel-content,
        .hero-carousel-content {
            padding: 1.25rem 1rem 2.35rem;
            gap: .65rem;
        }

        .hero-carousel-content .hero-title {
            font-size: 1.5rem;
        }

        .hero-carousel-content .hero-subtitle {
            font-size: .88rem;
        }

        .hero-login-shell {
            flex: 1 1 auto;
            width: 100%;
            justify-content: stretch;
        }

        .hero-login-shell .login-card {
            max-width: none;
            border-radius: 14px;
            padding: .75rem .8rem .65rem;
        }

        .hero-title {
            font-size: 1.9rem;
        }

        .stat-item + .stat-item {
            border-left: none;
            border-top: 1px solid var(--border-color);
        }

        .reg-main {
            padding: 2rem 1.25rem;
        }

        .reg-sidebar {
            min-height: auto;
            padding: 2.5rem 1.5rem;
        }
    }

    @media (max-width: 575.98px) {
        .hero-title {
            font-size: 1.5rem;
        }
    }

/* ============================================================
   HẢI PHÒNG CONNECT — HOMEPAGE REDESIGN (v3.3.0)
   Distinct navy/red sports-platform layout. Prefix: .hp-
   ============================================================ */

.hp-home { --hp-max: 1240px; background: var(--bg-light); }
.hp-container { max-width: var(--hp-max); margin: 0 auto; padding: 0 1.25rem; }
.hero-title .accent { color: var(--cta); }

/* ---- HERO ---- */
.hp-hero {
    position: relative;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    /*isolation: isolate;*/
}
.hp-hero__media { position: absolute; inset: 0; z-index: -3; }
.hp-hero__media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hp-hero__overlay {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(100deg, var(--primary) 8%, rgba(6,27,53,.86) 46%, rgba(6,27,53,.45) 100%),
        linear-gradient(180deg, rgba(6,27,53,.2), rgba(4,16,31,.75));
}
.hp-hero__net {
    position: absolute; inset: 0; z-index: -1;
    opacity: .10;
    mix-blend-mode: screen;
}
.hp-hero__brush {
    position: absolute; right: -4%; top: 8%; width: 62%; max-width: 780px; z-index: -1;
    opacity: .9; pointer-events: none;
}
.hp-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 2.5rem;
    align-items: center;
    padding: 4.5rem 1.25rem 5.5rem;
    max-width: var(--hp-max);
    margin: 0 auto;
}
.hp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: #fff;
    background: var(--cta);
    padding: .4rem .9rem; border-radius: 4px;
    margin-bottom: 1.25rem;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
}
.hp-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.9rem);
    font-weight: 800; line-height: 1.04; margin: 0 0 1.1rem;
    text-transform: uppercase;
}
.hp-hero__title span { display: block; }
.hp-hero__title .is-red { color: var(--cta); }
.hp-hero__lead { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.hp-hero__sub { font-size: .98rem; color: rgba(255,255,255,.78); max-width: 44ch; margin-bottom: 1.9rem; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hp-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 800; font-size: .9rem; letter-spacing: .02em;
    padding: .85rem 1.6rem; border-radius: 8px; text-decoration: none;
    border: 2px solid transparent; transition: transform .15s, background .2s, border-color .2s;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn--primary { background: var(--cta); border-color: var(--cta); color: #fff; }
.hp-btn--primary:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: #fff; }
.hp-btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); color: #fff; }
.hp-btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.hp-btn--navy { background: var(--primary); border-color: var(--primary); color: #fff; }
.hp-btn--navy:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; }

/* ---- QUICK ACTION CARDS ---- */
.hp-quickcards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.hp-quickcard {
    display: flex; flex-direction: column; gap: .35rem;
    background: #fff; color: var(--text-dark);
    border-radius: 14px; padding: 1.25rem 1.15rem;
    text-decoration: none;
    box-shadow: 0 22px 45px rgba(4,16,31,.28);
    border-left: 4px solid var(--cta);
    transition: transform .16s, box-shadow .16s;
}
.hp-quickcard:hover { transform: translateY(-4px); box-shadow: 0 28px 55px rgba(4,16,31,.36); color: var(--text-dark); }
.hp-quickcard__icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(6,27,53,.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
    margin-bottom: .35rem;
}
.hp-quickcard__title { font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; }
.hp-quickcard__sub { font-size: .78rem; color: var(--text-muted); line-height: 1.35; }
.hp-quickcard__arrow { margin-top: .4rem; color: var(--cta); font-weight: 800; font-size: .8rem; }

/* Quick actions rendered under the authenticated hero */
.hp-quickcards-scope-inline { max-width: var(--hp-max); margin: 1.5rem auto 0; padding: 0 1.25rem; }
.hp-quickcards-scope-inline .hp-quickcards { grid-template-columns: repeat(4, 1fr); }
.hp-quickcards-scope-inline .hp-quickcard { box-shadow: var(--card-shadow); }

/* ---- FLOATING STATS PANEL + QUOTE ---- */
.hp-statswrap {
    max-width: var(--hp-max); margin: 1.75rem auto 0; padding: 0 1.25rem;
    position: relative; z-index: 4;
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.25rem;
}
/* Overlap the hero only in the guest layout (auth hero is .hero-section, not .hp-hero) */
.hp-hero ~ .hp-statswrap { margin-top: -3.25rem; }
.hp-statspanel {
    background: #fff; border-radius: 18px;
    box-shadow: 0 24px 60px rgba(4,16,31,.16);
    display: grid; grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}
.hp-stat { padding: 1.6rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.hp-stat + .hp-stat { border-left: 1px solid var(--border-color); }
.hp-stat__icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--cta); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: .2rem;
}
.hp-stat__num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hp-stat__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.hp-quote {
    background: var(--primary); color: #fff;
    border-radius: 18px; padding: 1.6rem 1.5rem;
    box-shadow: 0 24px 60px rgba(4,16,31,.22);
    display: flex; flex-direction: column; justify-content: center; gap: .6rem;
    position: relative; overflow: hidden;
}
.hp-quote::before {
    content: "\201C"; position: absolute; top: -1.6rem; left: .6rem;
    font-size: 6rem; color: var(--cta); opacity: .5; font-family: Georgia, serif;
}
.hp-quote p { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.5; position: relative; }
.hp-quote cite { font-size: .78rem; color: rgba(255,255,255,.6); font-style: normal; }

/* ---- SECTION SHELL ---- */
.hp-section { padding: 4rem 0; }
.hp-section--tint { background: var(--bg-light); }
.hp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hp-eyebrow { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cta); margin-bottom: .5rem; }
.hp-h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--primary); margin: 0; text-transform: uppercase; }
.hp-h2::after { content: ""; display: block; width: 54px; height: 4px; background: var(--cta); margin-top: .7rem; border-radius: 2px; }
.hp-viewall { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); text-decoration: none; }
.hp-viewall:hover { color: var(--cta); }

/* ---- NEWS ---- */
.hp-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
.hp-news-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: var(--card-shadow); text-decoration: none; color: var(--text-dark);
    transition: transform .18s, box-shadow .18s;
}
.hp-news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(6,27,53,.18); color: var(--text-dark); }
.hp-news-card__media { position: relative; height: 180px; overflow: hidden; }
.hp-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hp-news-card:hover .hp-news-card__media img { transform: scale(1.06); }
.hp-news-card__badge {
    position: absolute; left: .8rem; top: .8rem;
    background: var(--cta); color: #fff; font-size: .64rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 4px;
}
.hp-news-card__body { padding: 1.15rem; display: flex; flex-direction: column; gap: .5rem; }
.hp-news-card__date { font-size: .74rem; color: var(--text-muted); font-weight: 600; }
.hp-news-card__title { font-size: .95rem; font-weight: 700; line-height: 1.4; color: var(--primary); }

/* ---- DASHBOARD (tournament + leaderboard) ---- */
.hp-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.hp-panel-head { margin-bottom: 1.25rem; }

.hp-featured {
    background: var(--primary); color: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 22px 50px rgba(4,16,31,.2); display: flex; flex-direction: column;
}
.hp-featured__media { position: relative; height: 240px; }
.hp-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.hp-featured__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,27,53,0), rgba(6,27,53,.9)); }
.hp-featured__tag {
    position: absolute; left: 1rem; top: 1rem; z-index: 2;
    background: var(--cta); color: #fff; font-size: .68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; padding: .3rem .7rem; border-radius: 4px;
}
.hp-featured__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.hp-featured__title { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.hp-featured__meta { display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: rgba(255,255,255,.82); }
.hp-featured__meta i { color: var(--cta); width: 16px; text-align: center; }
.hp-featured__cta { align-self: flex-start; margin-top: .4rem; }
.hp-featured--empty { padding: 3rem 1.5rem; text-align: center; color: rgba(255,255,255,.7); }

.hp-eventlist { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.hp-eventrow {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .9rem; align-items: center;
    background: #fff; border-radius: 12px; padding: .7rem; text-decoration: none; color: var(--text-dark);
    box-shadow: 0 8px 22px rgba(6,27,53,.07); transition: transform .15s;
}
.hp-eventrow:hover { transform: translateX(4px); color: var(--text-dark); }
.hp-eventrow__thumb { width: 64px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--bg-light); }
.hp-eventrow__name { font-weight: 700; font-size: .88rem; color: var(--primary); line-height: 1.3; }
.hp-eventrow__meta { font-size: .74rem; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .8rem; margin-top: .15rem; }
.hp-eventrow__arrow { margin-left: auto; display: inline-flex; align-items: center; gap: .25rem; color: var(--cta); font-weight: 600; white-space: nowrap; cursor: pointer; }
.hp-eventrow__arrow:hover { text-decoration: underline; }

/* ---- LEADERBOARD ---- */
.hp-leaderboard { display: flex; flex-direction: column; gap: .75rem; }
.hp-lbrow {
    display: grid; grid-template-columns: 46px auto minmax(0, 1fr) auto; gap: .9rem; align-items: center;
    background: #fff; border-radius: 12px; padding: .85rem 1rem;
    box-shadow: 0 8px 22px rgba(6,27,53,.07);
    border-left: 4px solid transparent;
}
.hp-lbrank {
    width: 34px; height: 34px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: .95rem; color: #fff; background: var(--primary-light);
}
.hp-lbrow--1 { border-left-color: var(--gold); }
.hp-lbrow--1 .hp-lbrank { background: var(--gold); color: #4a3410; }
.hp-lbrow--2 { border-left-color: var(--silver); }
.hp-lbrow--2 .hp-lbrank { background: var(--silver); color: #3d444d; }
.hp-lbrow--3 { border-left-color: var(--bronze); }
.hp-lbrow--3 .hp-lbrank { background: var(--bronze); color: #fff; }
.hp-lbrow__avatars { display: flex; }
.hp-lbrow__avatars img,
.hp-lbrow__avatars span {
    width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .8rem; color: var(--primary);
}
.hp-lbrow__avatars > * + * { margin-left: -12px; }
.hp-lbrow__id { min-width: 0; }
.hp-lbrow__name { font-weight: 700; font-size: .9rem; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-lbrow__sub { font-size: .74rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-lbrow__rating { text-align: right; }
.hp-lbrow__rating b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--cta); line-height: 1; }
.hp-lbrow__rating span { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.hp-empty { text-align: center; color: var(--text-muted); padding: 2.5rem 1rem; background: #fff; border-radius: 12px; }

/* ---- SPONSOR BANNER ---- */
.hp-sponsors {
    position: relative; background: var(--primary); color: #fff; overflow: hidden;
    padding: 3.5rem 0;
}
.hp-sponsors::before {
    content: ""; position: absolute; inset: 0;
                
    opacity: .5; pointer-events: none;
}
.hp-sponsors__inner { position: relative; max-width: var(--hp-max); margin: 0 auto; padding: 0 1.25rem; }
.hp-sponsors__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hp-sponsors__head .hp-h2 { color: #fff; }
.hp-sponsors__head .hp-eyebrow { color: rgba(255,255,255,.7); }
.hp-sponsors .hp-viewall { color: #fff; border: 1px solid rgba(255,255,255,.35); padding: .5rem 1rem; border-radius: 8px; }
.hp-sponsors .hp-viewall:hover { background: rgba(255,255,255,.12); color: #fff; }
.hp-sponsor-tier { margin-bottom: 1.5rem; }
.hp-sponsor-tier__cap { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: .75rem; }
.hp-sponsor-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.hp-sponsor-card {
    background: #fff; border-radius: 12px; min-width: 130px; min-height: 78px; flex: 0 1 150px;
    display: flex; align-items: center; justify-content: center; padding: .85rem 1rem;
    cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.hp-sponsor-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.25); }
.hp-sponsor-card img { max-height: 44px; max-width: 100%; object-fit: contain; }
.hp-sponsor-card__fallback { font-weight: 800; font-size: .8rem; color: var(--primary); text-align: center; }
.hp-sponsor-empty { font-size: .82rem; color: rgba(255,255,255,.55); }
.hp-sponsors .text-muted, .hp-sponsors .text-danger { color: rgba(255,255,255,.7) !important; }

/* ============================================================
   HOMEPAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .hp-news-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-quickcards-scope-inline .hp-quickcards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .hp-hero__inner { grid-template-columns: 1fr; padding: 3rem 1.25rem 4.5rem; gap: 2rem; }
    .hp-hero__brush { display: none; }
    .hp-statswrap { grid-template-columns: 1fr; margin-top: -2.5rem; }
    .hp-dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .hp-section { padding: 3rem 0; }
    .hp-hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
    .hp-quickcards { grid-template-columns: repeat(2, 1fr); }
    .hp-statspanel { grid-template-columns: 1fr; }
    .hp-stat + .hp-stat { border-left: 0; border-top: 1px solid var(--border-color); }
    .hp-news-grid {
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .5rem;
    }
    .hp-news-card { scroll-snap-align: start; }
    .hp-sponsor-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .5rem;
    }
    .hp-sponsor-card { flex: 0 0 auto; }
    .hp-lbrow { grid-template-columns: 40px auto minmax(0,1fr); }
    .hp-lbrow__rating { grid-column: 2 / -1; text-align: left; margin-top: .35rem; }
}
@media (max-width: 575.98px) {
    .hp-quickcards { grid-template-columns: 1fr; }
    .hp-quickcards-scope-inline .hp-quickcards { grid-template-columns: 1fr; }
    .hp-eventrow { grid-template-columns: 52px minmax(0,1fr); }
}