#bmbrc-home {
        width: 100%;
        overflow: clip;
      }
      /* upload/home_matches.html */
      #bambariaciHomeMatches {
        --yellow: #feed00;
        --yellow-soft: rgba(254, 237, 0, 0.14);
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.22),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        --panel-bg: rgba(255, 255, 255, 0.96);
        --card-bg: #fff;
        --text: #080808;
        --muted: rgba(0, 0, 0, 0.62);
        --border: rgba(0, 0, 0, 0.14);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
      }
      #bambariaciHomeMatches.dark {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.1),
            transparent 32%
          ),
          radial-gradient(
            circle at bottom right,
            rgba(254, 237, 0, 0.05),
            transparent 30%
          ),
          linear-gradient(180deg, #050505 0%, #111 55%, #1a1a1a 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
      html.dark #bambariaciHomeMatches,
      html[data-theme="dark"] #bambariaciHomeMatches,
      body.dark #bambariaciHomeMatches,
      body.dark-mode #bambariaciHomeMatches,
      body.theme-dark #bambariaciHomeMatches,
      body[data-theme="dark"] #bambariaciHomeMatches {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.1),
            transparent 32%
          ),
          radial-gradient(
            circle at bottom right,
            rgba(254, 237, 0, 0.05),
            transparent 30%
          ),
          linear-gradient(180deg, #050505 0%, #111 55%, #1a1a1a 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
      #bambariaciHomeMatches * {
        box-sizing: border-box;
      }
      #bambariaciHomeMatches {
        margin: 0;
        font-family: Montserrat, sans-serif;
        color: var(--text);
        background: var(--page-bg);
      }
      #bambariaciHomeMatches .page {
        padding: 42px 18px 18px;
      }
      #bambariaciHomeMatches .shell {
        width: 100%;
        max-width: 100%;
        margin: 0;
      }
      #bambariaciHomeMatches .panel {
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 28px;
        box-shadow: var(--shadow);
      }
      #bambariaciHomeMatches h1,
      #bambariaciHomeMatches h2,
      #bambariaciHomeMatches h3,
      #bambariaciHomeMatches p {
        margin: 0;
      }
      #bambariaciHomeMatches h1 {
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.1;
        font-weight: 900;
      }
      #bambariaciHomeMatches .duo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        align-items: stretch;
      }
      #bambariaciHomeMatches .panel {
        padding: clamp(18px, 2.2vw, 28px);
        display: grid;
        gap: 18px;
        overflow: hidden;
      }
      #bambariaciHomeMatches .panel-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
      }
      #bambariaciHomeMatches .kicker {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--yellow);
        color: #050505;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }
      #bambariaciHomeMatches .competition {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 5px 10px;
        border-radius: 999px;
        background: var(--yellow-soft);
        border: 1px solid var(--border);
        color: var(--text);
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
      }
      #bambariaciHomeMatches .match-title {
        font-size: clamp(20px, 2.3vw, 30px);
        line-height: 1.08;
        font-weight: 900;
        color: var(--text);
      }
      #bambariaciHomeMatches .teams {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 14px;
        align-items: center;
      }
      #bambariaciHomeMatches .team {
        display: grid;
        gap: 10px;
        justify-items: center;
        text-align: center;
        min-width: 0;
      }
      #bambariaciHomeMatches .team-logo {
        width: clamp(82px, 9vw, 124px);
        height: clamp(82px, 9vw, 124px);
        object-fit: contain;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
      }
      #bambariaciHomeMatches .team-name {
        font-size: clamp(18px, 2vw, 25px);
        line-height: 1.15;
        font-weight: 900;
        color: var(--text);
        word-break: normal;
        overflow-wrap: normal;
      }
      #bambariaciHomeMatches .versus,
      #bambariaciHomeMatches .score-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 70px;
        min-height: 54px;
        padding: 10px 14px;
        border-radius: 18px;
        background: #080808;
        color: var(--yellow);
        font-size: 20px;
        font-weight: 900;
      }
      #bambariaciHomeMatches.dark .versus,
      #bambariaciHomeMatches.dark .score-box {
        background: var(--yellow);
        color: #050505;
      }
      #bambariaciHomeMatches .score-box {
        min-width: 110px;
        font-size: clamp(26px, 3.2vw, 42px);
        flex-direction: column;
        line-height: 1;
        gap: 6px;
      }
      #bambariaciHomeMatches .score-half {
        font-size: clamp(13px, 1.4vw, 16px);
        opacity: 0.78;
        font-weight: 900;
      }
      #bambariaciHomeMatches .meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 9px 14px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.45;
        text-align: center;
      }
      #bambariaciHomeMatches .countdown {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
      }
      #bambariaciHomeMatches .count-item {
        padding: 8px 6px;
        border: 0;
        border-radius: 0;
        background: transparent;
        text-align: center;
      }
      #bambariaciHomeMatches .count-number {
        display: block;
        font-size: clamp(24px, 3vw, 38px);
        line-height: 1;
        font-weight: 900;
        color: var(--text);
      }
      #bambariaciHomeMatches .count-label {
        display: block;
        margin-top: 6px;
        font-size: 11px;
        font-weight: 900;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }
      #bambariaciHomeMatches .live-match {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 8px 16px;
        padding: 18px 20px;
        border-radius: 20px;
        background: #080808;
        color: #fff;
        text-align: left;
      }
      #bambariaciHomeMatches .live-dot {
        position: relative;
        grid-row: 1 / span 2;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ff3347;
        box-shadow: 0 0 0 7px rgba(255, 51, 71, 0.18);
        animation: bmbrc-live-pulse 1.45s ease-out infinite;
      }
      #bambariaciHomeMatches .live-title {
        color: var(--yellow);
        font-size: clamp(16px, 1.8vw, 22px);
        line-height: 1.15;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
      }
      #bambariaciHomeMatches .live-note {
        color: rgba(255, 255, 255, 0.72);
        font-size: 13px;
        line-height: 1.35;
        font-weight: 800;
      }
      @keyframes bmbrc-live-pulse {
        0% {
          box-shadow: 0 0 0 0 rgba(255, 51, 71, 0.55);
        }
        70% {
          box-shadow: 0 0 0 12px rgba(255, 51, 71, 0);
        }
        100% {
          box-shadow: 0 0 0 0 rgba(255, 51, 71, 0);
        }
      }
      #bambariaciHomeMatches .details {
        display: grid;
        gap: 10px;
        padding-top: 4px;
      }
      #bambariaciHomeMatches .detail-row {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 0;
        border-top: 1px solid var(--border);
        color: var(--muted);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.45;
      }
      #bambariaciHomeMatches .detail-row strong {
        color: var(--text);
        text-align: right;
      }
      #bambariaciHomeMatches .scorers {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        justify-content: center;
        padding-top: 4px;
      }
      #bambariaciHomeMatches .scorer-avatar {
        position: relative;
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
      }
      #bambariaciHomeMatches .scorer-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--yellow);
        background: transparent;
        display: block;
      }
      #bambariaciHomeMatches .scorer-goals {
        position: absolute;
        right: -5px;
        bottom: -5px;
        min-width: 24px;
        height: 24px;
        padding: 0 6px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--yellow);
        color: #050505;
        font-size: 12px;
        font-weight: 900;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
      }
      #bambariaciHomeMatches .empty-state {
        padding: 26px;
        color: var(--muted);
        line-height: 1.65;
        text-align: center;
        font-weight: 800;
      }
      #bambariaciHomeMatches .empty-state.with-image {
        min-height: 100%;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 24px;
      }
      #bambariaciHomeMatches .empty-net-image {
        display: block;
        width: min(280px, 72%);
        max-width: 100%;
        height: auto;
        object-fit: contain;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
      }
      #bambariaciHomeMatches .empty-net-image.is-yellow {
        display: none;
      }
      #bambariaciHomeMatches.dark .empty-net-image.is-black,
      html.dark #bambariaciHomeMatches .empty-net-image.is-black,
      html[data-theme="dark"] #bambariaciHomeMatches .empty-net-image.is-black,
      body.dark #bambariaciHomeMatches .empty-net-image.is-black,
      body.dark-mode #bambariaciHomeMatches .empty-net-image.is-black,
      body.theme-dark #bambariaciHomeMatches .empty-net-image.is-black,
      body[data-theme="dark"] #bambariaciHomeMatches .empty-net-image.is-black {
        display: none;
      }
      #bambariaciHomeMatches.dark .empty-net-image.is-yellow,
      html.dark #bambariaciHomeMatches .empty-net-image.is-yellow,
      html[data-theme="dark"] #bambariaciHomeMatches .empty-net-image.is-yellow,
      body.dark #bambariaciHomeMatches .empty-net-image.is-yellow,
      body.dark-mode #bambariaciHomeMatches .empty-net-image.is-yellow,
      body.theme-dark #bambariaciHomeMatches .empty-net-image.is-yellow,
      body[data-theme="dark"]
        #bambariaciHomeMatches
        .empty-net-image.is-yellow {
        display: block;
      }
      #bambariaciHomeMatches .date-ordinal sup {
        font-size: 0.44em;
        line-height: 0;
        vertical-align: super;
        margin-left: 1px;
      }

      @media (max-width: 900px) {
        #bambariaciHomeMatches .duo-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 560px) {
        #bambariaciHomeMatches .page {
          padding: 32px 12px 12px;
        }

        #bambariaciHomeMatches .panel {
          border-radius: 22px;
        }
        #bambariaciHomeMatches .teams {
          grid-template-columns: 1fr auto 1fr;
        }
        #bambariaciHomeMatches .team-name {
          font-size: clamp(12px, 3.7vw, 18px);
          overflow-wrap: anywhere;
        }
        #bambariaciHomeMatches .team-name.is-single-word {
          white-space: nowrap;
        }
        #bambariaciHomeMatches .versus,
        #bambariaciHomeMatches .score-box {
          width: 100%;
        }
        #bambariaciHomeMatches .countdown {
          grid-template-columns: repeat(4, minmax(0, 1fr));
          gap: 6px;
        }

        #bambariaciHomeMatches .count-number {
          font-size: clamp(18px, 4vw, 24px);
        }

        #bambariaciHomeMatches .count-label {
          font-size: 9px;
        }
        #bambariaciHomeMatches .detail-row {
          display: grid;
        }
        #bambariaciHomeMatches .detail-row strong {
          text-align: left;
        }
      }

      /* upload/home_stats.html */
      #bambariaciHomeStats {
        --yellow: #feed00;
        --yellow-soft: rgba(254, 237, 0, 0.14);
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.22),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        --panel-bg: rgba(255, 255, 255, 0.96);
        --card-bg: #fff;
        --text: #080808;
        --muted: rgba(0, 0, 0, 0.62);
        --border: rgba(0, 0, 0, 0.14);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
        margin: 0;
        font-family: Montserrat, sans-serif;
        color: var(--text);
        background: var(--page-bg);
      }
      #bambariaciHomeStats.hs-dark,
      html.dark #bambariaciHomeStats,
      html[data-theme="dark"] #bambariaciHomeStats,
      body.dark #bambariaciHomeStats,
      body.dark-mode #bambariaciHomeStats,
      body.theme-dark #bambariaciHomeStats,
      body[data-theme="dark"] #bambariaciHomeStats {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.1),
            transparent 32%
          ),
          radial-gradient(
            circle at bottom right,
            rgba(254, 237, 0, 0.05),
            transparent 30%
          ),
          linear-gradient(180deg, #050505 0%, #111 55%, #1a1a1a 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
      #bambariaciHomeStats *,
      #bambariaciHomeStats *::before,
      #bambariaciHomeStats *::after {
        box-sizing: border-box;
      }
      #bambariaciHomeStats .hs-page {
        padding: 18px 18px 28px;
      }
      #bambariaciHomeStats .hs-shell {
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
      }
      #bambariaciHomeStats .hs-panel {
        display: grid;
        gap: 18px;
        padding: clamp(18px, 2.2vw, 28px);
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 28px;
        box-shadow: var(--shadow);
        overflow: hidden;
      }
      #bambariaciHomeStats h1,
      #bambariaciHomeStats h2,
      #bambariaciHomeStats p {
        margin: 0;
      }
      #bambariaciHomeStats .hs-panel-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
      }
      #bambariaciHomeStats .hs-title-block {
        display: grid;
        gap: 8px;
      }
      #bambariaciHomeStats .hs-kicker {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        min-height: 30px;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--yellow);
        color: #050505;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }
      #bambariaciHomeStats h1 {
        font-size: clamp(26px, 3.4vw, 42px);
        line-height: 1.08;
        font-weight: 900;
      }
      #bambariaciHomeStats .hs-text {
        color: var(--muted);
        font-size: 14px;
        font-weight: 750;
        line-height: 1.55;
      }
      #bambariaciHomeStats .hs-toolbar {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        flex-wrap: wrap;
      }
      #bambariaciHomeStats .hs-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 16px;
        border-radius: 999px;
        border: 1px solid var(--border) !important;
        background: var(--card-bg) !important;
        color: var(--text) !important;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none !important;
        cursor: pointer;
        transition:
          transform 0.16s ease,
          box-shadow 0.16s ease,
          background 0.16s ease;
      }
      #bambariaciHomeStats .hs-btn:hover {
        transform: translateY(-1px);
      }
      #bambariaciHomeStats .hs-btn.is-active,
      #bambariaciHomeStats .hs-btn--primary {
        background: var(--yellow) !important;
        color: #050505 !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 14px 30px rgba(254, 237, 0, 0.24);
      }
      #bambariaciHomeStats .hs-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
      }
      #bambariaciHomeStats .hs-card {
        display: grid;
        gap: 10px;
        align-content: start;
        padding: 12px 10px;
        border-radius: 22px;
        border: 1px solid var(--border);
        background: var(--card-bg);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        min-height: 100%;
      }
      #bambariaciHomeStats .hs-card-head {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border);
      }
      #bambariaciHomeStats .hs-stat-name {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
      }
      #bambariaciHomeStats .hs-stat-title {
        min-width: 0;
        color: var(--text);
        font-size: clamp(9px, 0.72vw, 11px);
        line-height: 1.08;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.025em;
        overflow-wrap: anywhere;
      }
      #bambariaciHomeStats .hs-stat-icon {
        display: block;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        object-fit: contain;
      }
      #bambariaciHomeStats .hs-stat-icon--yellow {
        display: none;
      }
      #bambariaciHomeStats.hs-dark .hs-stat-icon--black,
      html.dark #bambariaciHomeStats .hs-stat-icon--black,
      html[data-theme="dark"] #bambariaciHomeStats .hs-stat-icon--black,
      body.dark #bambariaciHomeStats .hs-stat-icon--black,
      body.dark-mode #bambariaciHomeStats .hs-stat-icon--black,
      body.theme-dark #bambariaciHomeStats .hs-stat-icon--black,
      body[data-theme="dark"] #bambariaciHomeStats .hs-stat-icon--black {
        display: none;
      }
      #bambariaciHomeStats.hs-dark .hs-stat-icon--yellow,
      html.dark #bambariaciHomeStats .hs-stat-icon--yellow,
      html[data-theme="dark"] #bambariaciHomeStats .hs-stat-icon--yellow,
      body.dark #bambariaciHomeStats .hs-stat-icon--yellow,
      body.dark-mode #bambariaciHomeStats .hs-stat-icon--yellow,
      body.theme-dark #bambariaciHomeStats .hs-stat-icon--yellow,
      body[data-theme="dark"] #bambariaciHomeStats .hs-stat-icon--yellow {
        display: block;
      }
      #bambariaciHomeStats .hs-best-value {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        min-height: 32px;
        padding: 5px 8px;
        border-radius: 13px;
        background: #080808;
        color: var(--yellow);
        font-size: 18px;
        font-weight: 900;
      }
      #bambariaciHomeStats.hs-dark .hs-best-value,
      body.dark #bambariaciHomeStats .hs-best-value,
      html.dark #bambariaciHomeStats .hs-best-value {
        background: var(--yellow);
        color: #050505;
      }
      #bambariaciHomeStats .hs-leaders {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
      }
      #bambariaciHomeStats .hs-player {
        display: grid;
        justify-items: center;
        align-content: start;
        width: auto;
        min-width: 0;
      }
      #bambariaciHomeStats .hs-photo-wrap {
        position: relative;
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
      }
      #bambariaciHomeStats .hs-photo {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 50% !important;
        border: 2px solid var(--yellow) !important;
        background: transparent !important;
      }
      #bambariaciHomeStats .hs-player-initials {
        position: absolute;
        right: -5px;
        bottom: -5px;
        min-width: 22px;
        height: 22px;
        padding: 0 5px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--yellow);
        color: #050505;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
      }
      #bambariaciHomeStats .hs-empty {
        padding: 20px;
        border-radius: 20px;
        border: 1px dashed var(--border);
        color: var(--muted);
        text-align: center;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.55;
      }
      #bambariaciHomeStats .hs-footer {
        display: flex;
        justify-content: center;
        padding-top: 2px;
      }
      @media (max-width: 980px) {
        #bambariaciHomeStats .hs-grid {
          grid-template-columns: repeat(3, minmax(120px, 1fr));
        }
        #bambariaciHomeStats .hs-toolbar {
          justify-content: flex-start;
        }
      }
      @media (max-width: 640px) {
        #bambariaciHomeStats .hs-page {
          padding: 10px 8px 18px;
        }
        #bambariaciHomeStats .hs-panel {
          border-radius: 22px;
          padding: 16px;
        }
        #bambariaciHomeStats .hs-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 8px;
        }
        #bambariaciHomeStats .hs-panel-title {
          align-items: flex-start;
        }
        #bambariaciHomeStats .hs-btn {
          flex: 1 1 calc(33.333% - 8px);
          width: auto;
          min-width: 90px;
        }
        #bambariaciHomeStats .hs-toolbar {
          width: 100%;
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
        }
        #bambariaciHomeStats .hs-card {
          padding: 10px 8px;
          border-radius: 18px;
          gap: 8px;
        }
        #bambariaciHomeStats .hs-card-head {
          gap: 6px;
          padding-bottom: 8px;
        }
        #bambariaciHomeStats .hs-stat-name {
          gap: 5px;
        }
        #bambariaciHomeStats .hs-stat-title {
          font-size: 8px;
          line-height: 1.15;
        }
        #bambariaciHomeStats .hs-stat-icon {
          width: 22px;
          height: 22px;
          flex: 0 0 22px;
        }
        #bambariaciHomeStats .hs-best-value {
          min-width: 32px;
          min-height: 28px;
          padding: 4px 6px;
          font-size: 15px;
        }
        #bambariaciHomeStats .hs-photo-wrap {
          width: 40px;
          height: 40px;
          flex: 0 0 40px;
        }
        #bambariaciHomeStats .hs-player-initials {
          min-width: 18px;
          height: 18px;
          font-size: 8px;
        }
      }
      @media (max-width: 420px) {
        #bambariaciHomeStats .hs-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      /* upload/home_table.html */
      #bambariaciLeagueTable {
        --lt-yellow: #feed00;
        --lt-yellow-soft: rgba(254, 237, 0, 0.12);
        --lt-row-alt: #fff9bf;
        --lt-highlight-bg: #fff7a6;
        --lt-highlight-border: #080808;
        --lt-panel-bg: rgba(255, 255, 255, 0.96);
        --lt-card-bg: #fff;
        --lt-table-head: #080808;
        --lt-table-head-text: #feed00;
        --lt-text: #080808;
        --lt-muted: rgba(0, 0, 0, 0.62);
        --lt-border: rgba(0, 0, 0, 0.14);
        --lt-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
        font-family: Montserrat, sans-serif;
        color: var(--lt-text);
        box-sizing: border-box;
      }
      #bambariaciLeagueTable.lt-dark,
      #bambariaciLeagueTable.lt-dark {
        --lt-page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.1),
            transparent 32%
          ),
          radial-gradient(
            circle at bottom right,
            rgba(254, 237, 0, 0.05),
            transparent 30%
          ),
          linear-gradient(180deg, #050505 0%, #111 55%, #1a1a1a 100%);
        --lt-panel-bg: rgba(21, 21, 21, 0.95);
        --lt-card-bg: #151515;
        --lt-table-head: #050505;
        --lt-table-head-text: #feed00;
        --lt-text: #feed00;
        --lt-muted: rgba(254, 237, 0, 0.72);
        --lt-row-alt: #242424;
        --lt-highlight-bg: #1f1f05;
        --lt-highlight-border: #feed00;
        --lt-border: rgba(254, 237, 0, 0.22);
        --lt-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
      #bambariaciLeagueTable *,
      #bambariaciLeagueTable *::before,
      #bambariaciLeagueTable *::after {
        box-sizing: border-box;
      }
      #bambariaciLeagueTable .lt-page {
        padding: 42px 18px 70px;
        background: var(--lt-page-bg, transparent);
      }
      #bambariaciLeagueTable .lt-shell {
        max-width: 1180px;
        margin: 0 auto;
      }
      #bambariaciLeagueTable .lt-panel {
        display: grid;
        gap: 18px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
      }
      #bambariaciLeagueTable .lt-toolbar {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 18px;
      }
      #bambariaciLeagueTable .lt-btn {
        min-height: 44px;
        padding: 11px 18px;
        border: 1px solid var(--lt-border) !important;
        border-radius: 999px;
        background: var(--lt-card-bg) !important;
        color: var(--lt-text) !important;
        font: inherit;
        font-weight: 900;
        cursor: pointer;
        transition:
          transform 0.18s ease,
          background 0.18s ease,
          color 0.18s ease;
      }
      #bambariaciLeagueTable .lt-btn:hover {
        transform: translateY(-2px);
      }
      #bambariaciLeagueTable .lt-btn.is-active {
        background: var(--lt-yellow) !important;
        color: #080808 !important;
        border-color: var(--lt-yellow) !important;
      }
      #bambariaciLeagueTable h1,
      #bambariaciLeagueTable h2,
      #bambariaciLeagueTable h3,
      #bambariaciLeagueTable p {
        margin: 0;
      }
      #bambariaciLeagueTable .lt-panel-title {
        display: none;
      }
      #bambariaciLeagueTable .lt-kicker,
      #bambariaciLeagueTable .lt-updated,
      #bambariaciLeagueTable .lt-table-subtitle,
      #bambariaciLeagueTable .lt-footer-note {
        display: none !important;
      }
      #bambariaciLeagueTable .lt-table-title {
        margin: 0;
        line-height: 1.1;
        font-size: clamp(22px, 3vw, 32px);
        font-weight: 800;
        text-align: center;
        color: var(--lt-text);
        background: var(--lt-panel-bg);
        border: 1px solid var(--lt-border);
        border-radius: 28px;
        box-shadow: var(--lt-shadow);
        padding: 22px 20px;
      }
      #bambariaciLeagueTable .lt-table-wrap {
        width: 100%;
        overflow-x: auto;
        border: 1px solid var(--lt-border);
        border-radius: 24px;
        background: var(--lt-card-bg);
        box-shadow: var(--lt-shadow);
        isolation: isolate;
        padding: 0;
        margin: 0;
      }
      #bambariaciLeagueTable .lt-table {
        width: 100% !important;
        min-width: 720px;
        border-collapse: separate !important;
        border-spacing: 0;
        text-align: center;
      }
      #bambariaciLeagueTable .lt-table th,
      #bambariaciLeagueTable .lt-table td {
        padding: 14px 12px;
        border: 0 !important;
        border-bottom: 1px solid var(--lt-border) !important;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
      }
      #bambariaciLeagueTable .lt-table th {
        position: sticky;
        top: 0;
        z-index: 1;
        background: var(--lt-table-head) !important;
        color: var(--lt-table-head-text) !important;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        user-select: none;
      }
      #bambariaciLeagueTable .lt-table td {
        font-size: 14px;
        font-weight: 750;
        background: var(--lt-card-bg) !important;
        color: var(--lt-text);
      }
      #bambariaciLeagueTable .lt-table tbody tr:nth-child(even) td {
        background: var(--lt-row-alt) !important;
      }
      #bambariaciLeagueTable .lt-table tbody tr:last-child td {
        border-bottom: 0 !important;
      }
      #bambariaciLeagueTable .lt-pos {
        width: 58px;
        font-weight: 900;
      }
      #bambariaciLeagueTable .lt-logo-cell {
        width: 58px;
        min-width: 58px;
        max-width: 58px;
      }
      #bambariaciLeagueTable .lt-team-cell {
        text-align: left !important;
        min-width: 220px;
      }
      #bambariaciLeagueTable .lt-team-inline {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }
      #bambariaciLeagueTable .lt-team-logo {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        object-fit: contain;
        flex: 0 0 34px;
        background: transparent;
        border: 0;
        box-shadow: none;
      }
      #bambariaciLeagueTable .lt-team-name {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 750;
        color: var(--lt-text);
      }
      #bambariaciLeagueTable .lt-points {
        font-size: 16px;
        font-weight: 900;
      }
      #bambariaciLeagueTable .lt-bambariaci-row td {
        font-weight: 900;
        color: var(--lt-text);
        box-shadow:
          inset 0 2px 0 var(--lt-highlight-border),
          inset 0 -2px 0 var(--lt-highlight-border);
      }
      #bambariaciLeagueTable
        .lt-table
        tbody
        tr.lt-bambariaci-row:nth-child(even)
        td {
        background: var(--lt-row-alt) !important;
      }
      #bambariaciLeagueTable
        .lt-table
        tbody
        tr.lt-bambariaci-row:nth-child(odd)
        td {
        background: var(--lt-card-bg) !important;
      }
      #bambariaciLeagueTable .lt-bambariaci-row td:first-child {
        box-shadow:
          inset 2px 0 0 var(--lt-highlight-border),
          inset 0 2px 0 var(--lt-highlight-border),
          inset 0 -2px 0 var(--lt-highlight-border);
      }
      #bambariaciLeagueTable .lt-bambariaci-row td:last-child {
        box-shadow:
          inset -2px 0 0 var(--lt-highlight-border),
          inset 0 2px 0 var(--lt-highlight-border),
          inset 0 -2px 0 var(--lt-highlight-border);
      }
      #bambariaciLeagueTable .lt-bambariaci-row .lt-team-name,
      #bambariaciLeagueTable .lt-bambariaci-row .lt-points,
      #bambariaciLeagueTable .lt-bambariaci-row .lt-pos {
        font-weight: 900;
      }
      #bambariaciLeagueTable .lt-empty-state {
        padding: 26px;
        color: var(--lt-muted);
        line-height: 1.65;
        text-align: center;
        font-weight: 800;
        background: var(--lt-panel-bg);
        border: 1px solid var(--lt-border);
        border-radius: 28px;
        box-shadow: var(--lt-shadow);
      }

      @media (max-width: 760px) {
        #bambariaciLeagueTable .lt-page {
          padding: 32px 10px 50px;
        }
        #bambariaciLeagueTable .lt-table-title,
        #bambariaciLeagueTable .lt-empty-state {
          border-radius: 22px;
        }
        #bambariaciLeagueTable .lt-table-wrap {
          overflow-x: auto;
        }
        #bambariaciLeagueTable .lt-table {
          min-width: 720px;
        }
        #bambariaciLeagueTable .lt-table th,
        #bambariaciLeagueTable .lt-table td {
          padding: 12px 10px;
        }
        #bambariaciLeagueTable .lt-table th:first-child,
        #bambariaciLeagueTable .lt-table td:first-child {
          position: sticky;
          left: 0;
          z-index: 4;
          min-width: 58px;
          width: 58px;
          background: var(--lt-card-bg) !important;
          background-clip: border-box;
        }
        #bambariaciLeagueTable .lt-table th:nth-child(2),
        #bambariaciLeagueTable .lt-table td:nth-child(2) {
          position: sticky;
          left: 58px;
          z-index: 4;
          min-width: 58px;
          width: 58px;
          max-width: 58px;
          padding-left: 8px;
          padding-right: 8px;
          background: var(--lt-card-bg) !important;
          background-clip: border-box;
          box-shadow: 10px 0 14px rgba(0, 0, 0, 0.18);
        }
        #bambariaciLeagueTable .lt-table th:nth-child(3),
        #bambariaciLeagueTable .lt-table td:nth-child(3) {
          min-width: 190px;
          width: 190px;
          padding-left: 14px;
        }
        #bambariaciLeagueTable
          .lt-table
          tbody
          tr:nth-child(even)
          td:first-child,
        #bambariaciLeagueTable
          .lt-table
          tbody
          tr:nth-child(even)
          td:nth-child(2) {
          background: var(--lt-row-alt) !important;
        }
        #bambariaciLeagueTable .lt-table .lt-bambariaci-row td:first-child,
        #bambariaciLeagueTable .lt-table .lt-bambariaci-row td:nth-child(2) {
          background: var(--lt-highlight-bg) !important;
        }
        #bambariaciLeagueTable .lt-table .lt-bambariaci-row td:first-child {
          box-shadow:
            inset 2px 0 0 var(--lt-highlight-border),
            inset 0 2px 0 var(--lt-highlight-border),
            inset 0 -2px 0 var(--lt-highlight-border) !important;
        }
        #bambariaciLeagueTable .lt-table .lt-bambariaci-row td:nth-child(2) {
          box-shadow:
            10px 0 14px rgba(0, 0, 0, 0.18),
            inset 0 2px 0 var(--lt-highlight-border),
            inset 0 -2px 0 var(--lt-highlight-border) !important;
        }
        #bambariaciLeagueTable .lt-table .lt-bambariaci-row td:last-child {
          box-shadow:
            inset -2px 0 0 var(--lt-highlight-border),
            inset 0 2px 0 var(--lt-highlight-border),
            inset 0 -2px 0 var(--lt-highlight-border) !important;
        }
        #bambariaciLeagueTable .lt-table th:first-child,
        #bambariaciLeagueTable .lt-table th:nth-child(2) {
          z-index: 6;
          background: var(--lt-table-head) !important;
        }
        #bambariaciLeagueTable .lt-team-logo {
          width: 30px;
          height: 30px;
          flex-basis: 30px;
        }
      }

      /* upload/home_years.html */
      #bambariaciTimeline {
        --yellow: #feed00;
        --yellow-soft: rgba(254, 237, 0, 0.14);
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.22),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        --panel-bg: rgba(255, 255, 255, 0.96);
        --card-bg: #fff;
        --text: #080808;
        --muted: rgba(0, 0, 0, 0.62);
        --border: rgba(0, 0, 0, 0.14);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
      }
      #bambariaciTimeline.dark {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.1),
            transparent 32%
          ),
          radial-gradient(
            circle at bottom right,
            rgba(254, 237, 0, 0.05),
            transparent 30%
          ),
          linear-gradient(180deg, #050505 0%, #111 55%, #1a1a1a 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
      #bambariaciTimeline * {
        box-sizing: border-box;
      }
      #bambariaciTimeline {
        margin: 0;
        font-family: Montserrat, sans-serif;
        color: var(--text);
        background: var(--page-bg);
      }
      #bambariaciTimeline .timeline-page {
        padding: 18px 0 10px;
      }
      #bambariaciTimeline .shell {
        width: 100%;
        max-width: 100%;
        margin: 0;
      }
      #bambariaciTimeline .topbar,
      #bambariaciTimeline .timeline-panel {
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 28px;
        box-shadow: var(--shadow);
      }
      #bambariaciTimeline .topbar {
        padding: 24px 20px 22px;
        text-align: center;
        margin-bottom: 18px;
      }
      #bambariaciTimeline h1 {
        margin: 0;
        font-size: clamp(28px, 4vw, 44px);
        line-height: 1.1;
        font-weight: 900;
      }
      #bambariaciTimeline .timeline-panel {
        padding: 26px 20px;
        overflow: hidden;
        background: transparent;
        border: none;
        box-shadow: none;
      }
      #bambariaciTimeline .timeline-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--yellow) transparent;
      }
      #bambariaciTimeline .timeline-scroll::-webkit-scrollbar {
        height: 10px;
      }
      #bambariaciTimeline .timeline-scroll::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.08);
        border-radius: 999px;
      }
      #bambariaciTimeline .timeline-scroll::-webkit-scrollbar-thumb {
        background: var(--yellow);
        border-radius: 999px;
      }
      #bambariaciTimeline .timeline {
        position: relative;
        display: flex;
        gap: 18px;
        min-width: max-content;
        padding: 42px 8px 14px;
      }
      #bambariaciTimeline .timeline::before {
        content: "";
        position: absolute;
        top: 58px;
        left: 24px;
        right: 24px;
        height: 5px;
        border-radius: 999px;
        background: linear-gradient(
          90deg,
          var(--yellow),
          rgba(254, 237, 0, 0.26)
        );
      }
      #bambariaciTimeline .timeline-item {
        position: relative;
        width: auto;
        min-width: 220px;
        flex: 0 0 auto;
        padding-top: 42px;
      }
      #bambariaciTimeline .timeline-dot {
        position: absolute;
        top: 7px;
        left: 50%;
        width: 22px;
        height: 22px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: var(--yellow);
        border: 4px solid var(--card-bg);
        box-shadow:
          0 0 0 2px var(--yellow),
          0 10px 20px rgba(0, 0, 0, 0.18);
        z-index: 2;
      }
      #bambariaciTimeline .year-card {
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 22px;
        padding: 16px 14px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
        display: grid;
        align-content: start;
        gap: 10px;
        min-width: 220px;
      }
      #bambariaciTimeline .year {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        min-height: 34px;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--yellow);
        color: #050505;
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
      }
      #bambariaciTimeline .events {
        display: grid;
        gap: 7px;
      }
      #bambariaciTimeline .event {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 12px;
        border-radius: 14px;
        background: var(--yellow-soft);
        color: var(--text);
        font-size: 13px;
        font-weight: 850;
        line-height: 1.25;
        white-space: nowrap;
      }
      #bambariaciTimeline .event strong,
      #bambariaciTimeline .event span {
        white-space: nowrap;
      }
      #bambariaciTimeline .event span {
        color: var(--muted);
        font-weight: 900;
      }
      #bambariaciTimeline .event--gold {
        background: linear-gradient(135deg, #feed00, #d9a900);
        color: #050505;
      }
      #bambariaciTimeline .event--gold span {
        color: rgba(0, 0, 0, 0.72);
      }
      #bambariaciTimeline .event--silver {
        background: linear-gradient(135deg, #f8fafc, #a8b0bd);
        color: #050505;
      }
      #bambariaciTimeline .event--silver span {
        color: rgba(0, 0, 0, 0.72);
      }
      #bambariaciTimeline .event--bronze {
        background: linear-gradient(135deg, #d08a3a, #8a4f1d);
        color: #fff;
      }
      #bambariaciTimeline .event--bronze span {
        color: rgba(255, 255, 255, 0.78);
      }
      #bambariaciTimeline .event--covid {
        justify-content: center;
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        border: 1px solid rgba(239, 68, 68, 0.18);
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }
      #bambariaciTimeline.dark .event--covid {
        color: #ff8a8a;
      }
      #bambariaciTimeline .hint {
        margin: 16px 0 0;
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
        text-align: center;
      }
      #bambariaciTimeline .trophy-wrap {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
      }
      #bambariaciTimeline .trophy-img {
        width: 58px;
        height: auto;
        display: block;
      }
      #bambariaciTimeline .trophy-order {
        font-size: 12px;
        font-weight: 800;
        color: var(--muted);
        text-align: center;
      }
      #bambariaciTimeline.dark .trophy-order {
        color: var(--muted);
      }

      @media (max-width: 760px) {
        #bambariaciTimeline .timeline-page {
          padding: 14px 0 10px;
        }
        #bambariaciTimeline .timeline-panel {
          padding: 18px 12px;
          border-radius: 22px;
        }
        #bambariaciTimeline .timeline-item {
          width: auto;
          min-width: 220px;
          flex-basis: auto;
        }
        #bambariaciTimeline .year-card {
        }
      }

      /* upload/home_celebration.html */
      #bambariaciBirthday {
        --yellow: #feed00;
        --yellow-strong: #ffd21f;
        --yellow-soft: rgba(254, 237, 0, 0.14);
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.24),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        --panel-bg: rgba(255, 255, 255, 0.96);
        --card-bg: #fff;
        --text: #080808;
        --muted: rgba(0, 0, 0, 0.62);
        --border: rgba(0, 0, 0, 0.14);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
      }
      #bambariaciBirthday.dark {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.14),
            transparent 34%
          ),
          linear-gradient(180deg, #000 0%, #111 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }
      #bambariaciBirthday * {
        box-sizing: border-box;
      }
      #bambariaciBirthday {
        margin: 0;
        min-height: 100vh;
        font-family: Montserrat, sans-serif;
        color: var(--text);
        background: var(--page-bg);
      }
      #bambariaciBirthday .birthday-page {
        padding: 16px 8px 24px;
      }
      #bambariaciBirthday .shell {
        width: min(100%, 760px);
        margin: 0 auto;
      }
      #bambariaciBirthday .panel {
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: var(--shadow);
      }
      #bambariaciBirthday h1,
      #bambariaciBirthday h2,
      #bambariaciBirthday p {
        margin-top: 0;
      }
      #bambariaciBirthday h1 {
        margin-bottom: 0;
        font-size: clamp(28px, 4vw, 46px);
        line-height: 1.08;
        font-weight: 900;
      }
      #bambariaciBirthday .panel {
        padding: 12px;
      }
      #bambariaciBirthday .birthday-card {
        display: grid;
        grid-template-columns: minmax(160px, 230px) 1fr;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: var(--card-bg);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
      }
      #bambariaciBirthday .photo-wrap {
        position: relative;
        min-height: 240px;
        background:
          radial-gradient(
            circle at 72% 18%,
            rgba(255, 255, 255, 0.9),
            transparent 28%
          ),
          linear-gradient(145deg, #ffffff 0%, #f4f4f4 48%, #dadada 100%);
      }
      #bambariaciBirthday .badge {
        position: absolute;
        left: 18px;
        top: 18px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 28px;
        padding: 5px 10px;
        border-radius: 999px;
        background: var(--yellow);
        color: #050505;
        font-size: 10px;
        font-weight: 900;
        box-shadow: 0 12px 26px rgba(254, 237, 0, 0.24);
      }
      #bambariaciBirthday.dark .photo-wrap {
        background:
          radial-gradient(
            circle at 76% 16%,
            rgba(254, 237, 0, 0.18),
            transparent 30%
          ),
          linear-gradient(145deg, #050505 0%, #161616 54%, #3a3a3a 100%);
      }
      #bambariaciBirthday .player-photo {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center bottom;
      }
      #bambariaciBirthday .birthday-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: clamp(14px, 2vw, 22px);
      }
      #bambariaciBirthday .player-name {
        margin: 0;
        font-size: clamp(22px, 3vw, 38px);
        line-height: 0.98;
        font-weight: 900;
        letter-spacing: -0.04em;
      }
      #bambariaciBirthday .birthday-message {
        margin: 0;
        color: var(--muted);
        font-size: clamp(13px, 1.8vw, 17px);
        font-weight: 800;
        line-height: 1.55;
      }
      #bambariaciBirthday .confetti {
        position: absolute;
        inset: 0;
        pointer-events: none;
        overflow: hidden;
        z-index: 1;
      }
      #bambariaciBirthday .confetti span {
        position: absolute;
        top: -40px;
        width: 10px;
        height: 16px;
        border-radius: 3px;
        animation: confetti-fall linear infinite;
      }
      #bambariaciBirthday .confetti span:nth-child(1) {
        left: 12%;
        background: #feed00;
        animation-duration: 4s;
      }
      #bambariaciBirthday .confetti span:nth-child(2) {
        left: 28%;
        background: #ffffff;
        animation-duration: 5s;
      }
      #bambariaciBirthday .confetti span:nth-child(3) {
        left: 44%;
        background: #ffd21f;
        animation-duration: 3.8s;
      }
      #bambariaciBirthday .confetti span:nth-child(4) {
        left: 62%;
        background: #feed00;
        animation-duration: 4.6s;
      }
      #bambariaciBirthday .confetti span:nth-child(5) {
        left: 80%;
        background: #ffffff;
        animation-duration: 5.4s;
      }

      @keyframes confetti-fall {
        0% {
          transform: translateY(-120px) rotate(0deg);
          opacity: 0;
        }

        10% {
          opacity: 1;
        }

        100% {
          transform: translateY(520px) rotate(720deg);
          opacity: 0;
        }
      }
      #bambariaciBirthday .empty-state {
        padding: 30px;
        color: var(--muted);
        line-height: 1.65;
        text-align: center;
      }

      @media (max-width: 820px) {
        #bambariaciBirthday .birthday-page {
          padding: 8px 4px 18px;
        }
        #bambariaciBirthday .panel {
          padding: 8px;
        }
        #bambariaciBirthday .birthday-card {
          grid-template-columns: 1fr;
        }
        #bambariaciBirthday .photo-wrap {
          min-height: auto;
          aspect-ratio: 1 / 1;
          max-height: 240px;
        }
        #bambariaciBirthday .birthday-info {
          text-align: center;
        }
      }

      #bambariaciNameday {
        --yellow: #feed00;
        --yellow-strong: #ffd21f;
        --yellow-soft: rgba(254, 237, 0, 0.14);
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.24),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        --panel-bg: rgba(255, 255, 255, 0.96);
        --card-bg: #fff;
        --text: #080808;
        --muted: rgba(0, 0, 0, 0.62);
        --border: rgba(0, 0, 0, 0.14);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
        margin: 0;
        min-height: 100vh;
        font-family: Montserrat, sans-serif;
        color: var(--text);
        background: var(--page-bg);
      }

      #bambariaciNameday.dark {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.14),
            transparent 34%
          ),
          linear-gradient(180deg, #000 0%, #111 100%);
        --panel-bg: rgba(21, 21, 21, 0.95);
        --card-bg: #151515;
        --text: #feed00;
        --muted: rgba(254, 237, 0, 0.72);
        --border: rgba(254, 237, 0, 0.22);
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
      }

      #bambariaciNameday * {
        box-sizing: border-box;
      }

      #bambariaciNameday .nameday-page {
        padding: 16px 8px 24px;
      }
      #bambariaciNameday .shell {
        width: min(100%, 760px);
        margin: 0 auto;
      }

      #bambariaciNameday .panel {
        background: var(--panel-bg);
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: var(--shadow);
        padding: 12px;
      }

      #bambariaciNameday h1,
      #bambariaciNameday h2,
      #bambariaciNameday p {
        margin-top: 0;
      }

      #bambariaciNameday .nameday-grid {
        display: grid;
        gap: 14px;
      }

      #bambariaciNameday .nameday-card {
        display: grid;
        grid-template-columns: minmax(160px, 230px) 1fr;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: var(--card-bg);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
      }

      #bambariaciNameday .photo-wrap {
        position: relative;
        min-height: 240px;
        background:
          radial-gradient(
            circle at 72% 18%,
            rgba(255, 255, 255, 0.9),
            transparent 28%
          ),
          linear-gradient(145deg, #ffffff 0%, #f4f4f4 48%, #dadada 100%);
      }

      #bambariaciNameday.dark .photo-wrap {
        background:
          radial-gradient(
            circle at 76% 16%,
            rgba(254, 237, 0, 0.18),
            transparent 30%
          ),
          linear-gradient(145deg, #050505 0%, #161616 54%, #3a3a3a 100%);
      }

      #bambariaciNameday .badge {
        position: absolute;
        left: 18px;
        top: 18px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 28px;
        padding: 5px 10px;
        border-radius: 999px;
        background: var(--yellow);
        color: #050505;
        font-size: 10px;
        font-weight: 900;
        box-shadow: 0 12px 26px rgba(254, 237, 0, 0.24);
      }

      #bambariaciNameday .player-photo {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center bottom;
      }

      #bambariaciNameday .nameday-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: clamp(14px, 2vw, 22px);
      }

      #bambariaciNameday .player-name {
        margin: 0;
        font-size: clamp(22px, 3vw, 38px);
        line-height: 0.98;
        font-weight: 900;
        letter-spacing: -0.04em;
      }

      #bambariaciNameday .nameday-message {
        margin: 0;
        color: var(--muted);
        font-size: clamp(13px, 1.8vw, 17px);
        font-weight: 800;
        line-height: 1.55;
      }

      #bambariaciNameday .confetti {
        position: absolute;
        inset: 0;
        pointer-events: none;
        overflow: hidden;
        z-index: 1;
      }

      #bambariaciNameday .confetti span {
        position: absolute;
        top: -40px;
        width: 10px;
        height: 16px;
        border-radius: 3px;
        animation: nameday-confetti-fall linear infinite;
      }

      #bambariaciNameday .confetti span:nth-child(1) {
        left: 12%;
        background: #feed00;
        animation-duration: 4s;
      }
      #bambariaciNameday .confetti span:nth-child(2) {
        left: 28%;
        background: #ffffff;
        animation-duration: 5s;
      }
      #bambariaciNameday .confetti span:nth-child(3) {
        left: 44%;
        background: #ffd21f;
        animation-duration: 3.8s;
      }
      #bambariaciNameday .confetti span:nth-child(4) {
        left: 62%;
        background: #feed00;
        animation-duration: 4.6s;
      }
      #bambariaciNameday .confetti span:nth-child(5) {
        left: 80%;
        background: #ffffff;
        animation-duration: 5.4s;
      }

      @keyframes nameday-confetti-fall {
        0% {
          transform: translateY(-120px) rotate(0deg);
          opacity: 0;
        }
        10% {
          opacity: 1;
        }
        100% {
          transform: translateY(520px) rotate(720deg);
          opacity: 0;
        }
      }

      #bambariaciNameday .empty-state {
        padding: 30px;
        color: var(--muted);
        line-height: 1.65;
        text-align: center;
      }

      @media (max-width: 820px) {
        #bambariaciNameday .nameday-page {
          padding: 8px 4px 18px;
        }
        #bambariaciNameday .panel {
          padding: 8px;
        }
        #bambariaciNameday .nameday-card {
          grid-template-columns: 1fr;
        }
        #bambariaciNameday .photo-wrap {
          min-height: auto;
          aspect-ratio: 1 / 1;
          max-height: 240px;
        }
        #bambariaciNameday .nameday-info {
          text-align: center;
        }
      }

      /* Spoločný layout pre narodeniny + meniny */
      #bambariaciCelebrations {
        --yellow: #feed00;
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.24),
            transparent 34%
          ),
          linear-gradient(180deg, #fffbe0 0%, #fff 100%);
        width: 100%;
        margin: 0;
        padding: 0;
        background: var(--page-bg);
        font-family: Montserrat, sans-serif;
      }

      #bambariaciCelebrations.dark {
        --page-bg:
          radial-gradient(
            circle at top left,
            rgba(254, 237, 0, 0.1),
            transparent 32%
          ),
          radial-gradient(
            circle at bottom right,
            rgba(254, 237, 0, 0.05),
            transparent 30%
          ),
          linear-gradient(180deg, #050505 0%, #111 55%, #1a1a1a 100%);
      }

      #bambariaciCelebrations,
      #bambariaciCelebrations * {
        box-sizing: border-box;
      }

      #bambariaciCelebrations .celebrations-grid {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 18px;
        align-items: start;
        padding: 18px;
      }

      #bambariaciCelebrations #bambariaciNameday,
      #bambariaciCelebrations #bambariaciBirthday {
        min-height: auto;
        background: transparent;
      }

      #bambariaciCelebrations #bambariaciNameday .shell,
      #bambariaciCelebrations #bambariaciBirthday .shell {
        width: 100%;
        max-width: none;
      }

      #bambariaciCelebrations #bambariaciNameday .nameday-page,
      #bambariaciCelebrations #bambariaciBirthday .birthday-page {
        padding: 0;
      }

      #bambariaciCelebrations #bambariaciNameday .nameday-grid,
      #bambariaciCelebrations #bambariaciBirthday .birthday-grid {
        display: grid;
        gap: 14px;
      }

      #bambariaciCelebrations #bambariaciNameday .nameday-card,
      #bambariaciCelebrations #bambariaciBirthday .birthday-card {
        grid-template-columns: minmax(130px, 190px) 1fr;
      }

      #bambariaciCelebrations #bambariaciNameday .photo-wrap,
      #bambariaciCelebrations #bambariaciBirthday .photo-wrap {
        min-height: 210px;
      }

      @media (max-width: 820px) {
        #bambariaciCelebrations .celebrations-grid {
          grid-template-columns: 1fr;
          gap: 16px;
          padding: 12px;
        }

        #bambariaciCelebrations #bambariaciNameday .nameday-card,
        #bambariaciCelebrations #bambariaciBirthday .birthday-card {
          grid-template-columns: 1fr;
        }

        #bambariaciCelebrations #bambariaciNameday .photo-wrap,
        #bambariaciCelebrations #bambariaciBirthday .photo-wrap {
          width: 100%;
          min-height: auto;
          aspect-ratio: 1 / 1;
          max-height: 240px;
          display: flex;
          justify-content: center;
          align-items: center;
        }

        #bambariaciCelebrations #bambariaciNameday .player-photo,
        #bambariaciCelebrations #bambariaciBirthday .player-photo {
          width: auto;
          max-width: 100%;
          height: 100%;
          display: block;
          object-fit: contain;
          object-position: center center;
          margin-left: auto;
          margin-right: auto;
        }
      }

      #home-h2h {
        --yellow: #feed00; --yellow-soft: rgba(254,237,0,.14); --card-bg: #fff;
        --text: #080808; --muted: rgba(0,0,0,.62); --border: rgba(0,0,0,.14); --shadow: 0 18px 45px rgba(0,0,0,.16);
      }
      #home-h2h.dark {
        --card-bg: #151515; --text: #feed00; --muted: rgba(254,237,0,.72);
        --border: rgba(254,237,0,.22); --shadow: 0 18px 45px rgba(0,0,0,.3);
      }
      #home-h2h, #home-h2h * { box-sizing: border-box; }
      #nextMatchPanel .home-h2h-action { display: flex; justify-content: center; margin: 0 0 18px; }
      #bambariaciHomeMatches .h2h-button, #home-h2h .h2h-close {
        border: 1px solid var(--border) !important; background: var(--yellow) !important; color: #080808 !important;
        font: 900 13px Montserrat, sans-serif; border-radius: 999px; padding: 9px 15px; min-height: 40px; cursor: pointer;
      }
      #bambariaciHomeMatches .h2h-button { margin-top: 10px; }
      #bambariaciHomeMatches .h2h-button:hover, #home-h2h .h2h-close:hover { background: #e9da00 !important; color: #080808 !important; }
      #bambariaciHomeMatches .h2h-button:focus-visible, #home-h2h button:focus-visible, #home-h2h select:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
      #home-h2h[hidden] { display: none !important; }
      #home-h2h { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.78); font-family: Montserrat, sans-serif; color: var(--text); }
      #home-h2h .h2h-dialog { width: 100%; max-width: 840px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; padding: 26px; border: 1px solid var(--border); border-radius: 26px; background: var(--card-bg); box-shadow: var(--shadow); }
      #home-h2h .h2h-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
      #home-h2h h2 { font-size: clamp(20px,3vw,28px); color: var(--text); margin: 0; }
      #home-h2h .h2h-close { flex-shrink: 0; font-size: 24px; line-height: 1; width: 44px; height: 44px; padding: 0; }
      #home-h2h .h2h-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-bottom: 24px; text-align: center; }
      #home-h2h .h2h-team { min-width: 0; font-weight: 900; overflow-wrap: anywhere; }
      #home-h2h .h2h-team img { display: block; width: 76px; height: 76px; object-fit: contain; margin: 0 auto 10px; }
      #home-h2h .h2h-vs { font-weight: 900; color: var(--muted); }
      #home-h2h .h2h-filter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-weight: 800; font-size: 13px; }
      #home-h2h select { min-height: 44px; max-width: 100%; flex: 1; border: 1px solid var(--border); border-radius: 12px; background: var(--card-bg); color: var(--text); padding: 10px 12px; font: 700 14px Montserrat, sans-serif; }
      #home-h2h .h2h-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
      #home-h2h .h2h-stat { padding: 17px 10px; border: 1px solid var(--border); border-radius: 18px; text-align: center; background: var(--yellow-soft); }
      #home-h2h .h2h-stat strong { display: block; color: var(--text); font-size: clamp(19px,3vw,26px); font-weight: 900; overflow-wrap: anywhere; }
      #home-h2h .h2h-stat span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.5; margin-top: 6px; }
      #home-h2h h3 { font-size: 17px; color: var(--text); margin: 24px 0 12px; }
      #home-h2h .h2h-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
      #home-h2h .h2h-result span { color: var(--muted); font-size: 12px; font-weight: 700; }
      #home-h2h .h2h-result strong { color: var(--text); font-size: 20px; white-space: nowrap; }
      #home-h2h .h2h-message { color: var(--muted); padding: 16px 0; font-size: 14px; line-height: 1.6; }
      @media (max-width: 600px) {
        #home-h2h { padding: 12px; }
        #home-h2h .h2h-dialog { padding: 18px; border-radius: 20px; max-height: 94vh; max-height: 94dvh; }
        #home-h2h .h2h-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
        #home-h2h .h2h-teams { gap: 10px; font-size: 13px; }
        #home-h2h .h2h-team img { width: 62px; height: 62px; }
      }

      #lastResultPanel .home-video-action { display: flex; justify-content: center; margin-top: 18px; }
      #lastResultPanel .home-video-button {
        background: #feed00 !important; color: #080808 !important; border: 1px solid #feed00 !important;
        border-radius: 999px; padding: 11px 18px; min-height: 44px; font: 900 13px Montserrat, sans-serif; cursor: pointer;
      }
      #lastResultPanel .home-video-button:hover { background: #e9da00 !important; color: #080808 !important; }
      #lastResultPanel .home-video-button:focus-visible, #home-result-video button:focus-visible, #home-result-video iframe:focus-visible { outline: 3px solid #feed00; outline-offset: 4px; }
      #home-result-video[hidden] { display: none !important; }
      #home-result-video { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.85); padding: 24px; }
      #home-result-video iframe { width: 100%; max-width: 960px; aspect-ratio: 16/9; max-height: 85vh; border: 0; border-radius: 12px; background: #000; }
      #home-result-video-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.3) !important; background: #080808 !important; color: #feed00 !important; font-size: 28px; line-height: 1; cursor: pointer; }
      #home-result-video-close:hover { background: #feed00 !important; color: #080808 !important; }
      @media (max-width: 650px) { #home-result-video { padding: 12px; } }

      #nextMatchPanel .live-stream-action { display: flex; justify-content: center; margin: 0; }
      #nextMatchPanel .live-stream-link, #nextMatchPanel .live-stream-link:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 16px; border-radius: 999px; border: 1px solid #feed00 !important; background: #feed00 !important; color: #080808 !important; font: 900 13px Montserrat, sans-serif; text-decoration: none !important; }
      #nextMatchPanel .live-stream-link:hover { background: #e9da00 !important; color: #080808 !important; }
      #nextMatchPanel .live-stream-link:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
      #nextMatchPanel .live-stream-link svg { width: 10px; height: 10px; fill: #dc2626; }

      #bambariaciHomeMatches .home-match-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -6px 0; }
      #bambariaciHomeMatches .home-match-actions .home-h2h-action, #bambariaciHomeMatches .home-match-actions .home-video-action, #bambariaciHomeMatches .home-match-actions .live-stream-action { display: flex; justify-content: center; margin: 0; }
      #bambariaciHomeMatches .home-match-actions .h2h-button { margin: 0; }
      #lastResultPanel .home-video-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; min-height: 40px; font-size: 12px; white-space: nowrap; }
      #lastResultPanel .home-video-button svg { width: 16px; height: 16px; flex-shrink: 0; }

      #bambariaciHomeMatches .competition.has-competition-logo { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 5px 10px; text-align: left; }
      #bambariaciHomeMatches .competition-logo { width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
      #bambariaciHomeMatches .competition.has-competition-logo span { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
      @media (max-width: 560px) { #bambariaciHomeMatches .competition-logo { width: 28px; height: 28px; flex-basis: 28px; } }

      @media (max-width: 560px) {
        #bambariaciHomeMatches .panel-title { flex-wrap: nowrap; align-items: center; gap: 6px; --match-header-size: 10.5px; }
        #bambariaciHomeMatches .panel-title .kicker { flex: 0 0 auto; white-space: nowrap; font-size: var(--match-header-size); letter-spacing: .025em; padding: 5px 8px; }
        #bambariaciHomeMatches .panel-title .competition { flex: 0 1 auto; min-width: 0; font-size: var(--match-header-size); letter-spacing: .015em; padding: 4px 6px; gap: 5px; white-space: nowrap; }
        #bambariaciHomeMatches .panel-title .competition span { white-space: nowrap; overflow-wrap: normal; }
        #bambariaciHomeMatches .panel-title .competition-logo { width: 24px; height: 24px; flex-basis: 24px; }
      }

      #home-h2h .h2h-result-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
      #home-h2h .h2h-video-button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid var(--border) !important; border-radius: 10px; background: var(--yellow) !important; color: #050505 !important; font: 800 11px Montserrat, sans-serif; cursor: pointer; white-space: nowrap; }
      #home-h2h .h2h-video-button svg { width: 16px; height: 16px; }
      #home-h2h .h2h-video-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
      @media (max-width: 440px) { #home-h2h .h2h-result { gap: 8px; } #home-h2h .h2h-result-actions { gap: 7px; } }
