    /* ================= CHAMPIONSHIP VIEW (admin — layout com sidebar) ================= */
    .champ {
      min-height: 100vh;
      display: flex;
      flex-direction: column
    }

    .layout {
      display: flex;
      flex: 1
    }

    .sidebar {
      display: none
    }

    @media(min-width:1000px) {
      .sidebar {
        display: flex;
        flex-direction: column;
        width: 240px;
        flex: none;
        background: var(--dark);
        color: #fff;
        padding: 22px 16px;
        position: sticky;
        top: 0;
        height: 100vh
      }
    }

    .side-nav {
      display: flex;
      flex-direction: column;
      gap: 3px;
      margin-top: 26px
    }

    .side-nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 13px;
      border-radius: 11px;
      color: rgba(255, 255, 255, .68);
      font-weight: 600;
      font-size: 14px
    }

    .side-nav a svg {
      width: 18px;
      height: 18px
    }

    .side-nav a:hover {
      background: rgba(255, 255, 255, .07);
      color: #fff
    }

    .side-nav a.active {
      background: var(--green);
      color: #fff
    }

    .side-foot {
      margin-top: auto
    }

    .side-foot .lbl {
      font-size: 11px;
      color: rgba(255, 255, 255, .45);
      margin-bottom: 8px
    }

    .main {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      background: var(--bg)
    }

    .mtop {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 13px 14px;
      background: var(--dark);
      color: #fff;
      position: sticky;
      top: 0;
      z-index: 30
    }

    @media(min-width:1000px) {
      .mtop {
        display: none
      }
    }

    .mtop .back {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      border: 0;
      background: rgba(255, 255, 255, .14);
      color: #fff;
      font-size: 19px;
      flex: none
    }

    .mtop .back svg {
      width: 18px;
      height: 18px
    }

    .mtop .mt-name {
      font-weight: 800;
      font-size: 15px;
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .content {
      max-width: 1080px;
      width: 100%;
      margin: 0 auto;
      padding: 22px 16px calc(90px + var(--safe-bottom))
    }

    @media(min-width:1000px) {
      .content {
        padding: 30px 30px 50px
      }
    }

    .crumb {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 6px
    }

    .crumb b {
      color: var(--ink);
      font-weight: 600
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 18px
    }

    .page-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 32px;
      letter-spacing: .01em;
      margin: 0
    }

    .page-sub {
      color: var(--muted);
      font-size: 14px;
      margin: 5px 0 0
    }

    .selector {
      position: relative
    }

    .selector .ic {
      position: absolute;
      left: 13px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--green);
      pointer-events: none
    }

    /* select customizado — usado em todo <select> do projeto (ver .sel abaixo
       e a variante .selector select, que só ajusta o padding esquerdo pra
       abrir espaço pro ícone que .selector .ic já posiciona) */
    .sel,
    .selector select {
      appearance: none;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 34px 10px 12px;
      font-family: inherit;
      font-weight: 600;
      font-size: 14px;
      color: var(--ink);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7d64' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 11px
    }

    .sel:focus,
    .selector select:focus {
      outline: 2px solid var(--green);
      outline-offset: -1px
    }

    .selector select {
      padding-left: 38px;
      box-shadow: var(--shadow)
    }

    /* ================= CAMPEONATO (público) ================= */
    .champ-banner {
      position: relative;
      background: var(--ac, var(--green));
      color: #fff;
      overflow: hidden
    }

    .champ-banner::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .1;
      background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 26px)
    }

    .champ-banner-in {
      position: relative;
      max-width: 1240px;
      margin: 0 auto;
      padding: 22px clamp(18px, 4vw, 40px) 32px
    }

    .champ-back {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: rgba(255, 255, 255, .85);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 18px
    }

    .champ-head {
      position: relative;
      z-index: 1;
      margin-bottom: 20px
    }

    .champ-badge {
      position: absolute;
      top: 50%;
      right: -20px;
      transform: translateY(-50%);
      width: clamp(150px, 26vw, 260px);
      height: clamp(150px, 26vw, 260px);
      opacity: .16;
      z-index: 0;
      display: grid;
      place-items: center;
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(64px, 11vw, 110px);
      color: #fff;
      pointer-events: none
    }

    .champ-badge img {
      width: 100%;
      height: 100%;
      object-fit: contain
    }

    .champ-title {
      font-family: 'Bebas Neue', sans-serif;
      font-weight: 400;
      font-size: clamp(28px, 4.4vw, 42px);
      color: #fff;
      letter-spacing: .01em;
      margin: 0 0 9px;
      line-height: 1.02
    }

    .champ-chips {
      display: flex;
      gap: 8px;
      flex-wrap: wrap
    }

    .champ-chip {
      background: rgba(255, 255, 255, .16);
      border: 1.5px solid rgba(255, 255, 255, .35);
      color: #fff;
      padding: 6px 12px;
      border-radius: 100px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .02em
    }

    .champ-switcher {
      position: relative;
      z-index: 1;
      display: flex;
      gap: 8px;
      flex-wrap: wrap
    }

    /* --pill-cor/--pill-cor-suave/--pill-texto-suave vêm inline por pill
       (champBanner, ui/public.js) — --pill-cor é a cor cheia do campeonato
       (texto/borda da ativa, borda no hover das inativas — nunca
       preenchimento sólido), --pill-cor-suave é ela misturada com branco
       (corSuave, helpers.js, só usada no hover das inativas) e
       --pill-texto-suave é o texto claro/escuro calculado por contraste EM
       CIMA da cor suave (corTextoContraste), não da cor cheia.

       A ATIVA é a única pill com cor visível em repouso — faz sentido, é a
       página atual: fundo branco/creme do tema (var(--card), o mais claro
       dos dois tokens claros), texto e borda na cor cheia do campeonato.
       Nada de preto nem cinza aqui — sem box-shadow, sem token escuro.

       As INATIVAS em repouso usam var(--bg) — o mesmo "papel" de fundo do
       site, um creme levemente mais fechado que --card — só pra não ficarem
       idênticas à ativa; a cor do campeonato só aparece nelas no hover/foco,
       na versão suave. O destaque continua sendo "a ativa é a mais clara e
       a única com cor", não "as inativas ficaram escuras". */
    .champ-switcher a {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: .03em;
      padding: 8px 16px;
      border-radius: 100px;
      border: 1.5px solid rgba(255, 255, 255, .55);
      background: var(--bg);
      color: var(--ink);
      transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease
    }

    /* (hover: hover) exclui touch — sem isso, tocar numa pill no mobile
       (que dispara um :hover sintético) deixava a cor "grudada" até o
       usuário tocar em outro lugar. No mobile, só :focus-visible (teclado/
       leitor de tela) muda a cor das inativas — elas ficam claras (var(--bg))
       o tempo todo, e está tudo bem; a ativa continua marcada mesmo assim. */
    @media (hover: hover) and (pointer: fine) {
      .champ-switcher a:hover {
        background: var(--pill-cor-suave);
        color: var(--pill-texto-suave);
        border-color: var(--pill-cor)
      }
    }

    .champ-switcher a:focus-visible {
      background: var(--pill-cor-suave);
      color: var(--pill-texto-suave);
      border-color: var(--pill-cor);
      outline: none;
      box-shadow: 0 0 0 2px rgba(255, 255, 255, .7)
    }

    .champ-switcher a.active {
      background: var(--card);
      color: var(--pill-cor);
      border-color: var(--pill-cor)
    }

    .champ-switcher a.active:focus-visible {
      background: var(--card);
      color: var(--pill-cor);
      box-shadow: 0 0 0 2px rgba(255, 255, 255, .7)
    }

    .champ-tabs {
      position: sticky;
      top: 64px;
      z-index: 40;
      background: rgba(243, 236, 221, .95);
      backdrop-filter: blur(10px);
      border-bottom: 2px solid var(--dark)
    }

    @media(min-width:860px) {
      .champ-tabs {
        top: 76px
      }
    }

    .champ-tabs-in {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 clamp(18px, 4vw, 40px);
      display: flex;
      gap: clamp(16px, 3vw, 28px);
      overflow-x: auto;
      scrollbar-width: none
    }

    .champ-tabs-in::-webkit-scrollbar {
      display: none
    }

    .champ-tabs-in button {
      padding: 15px 2px;
      margin-bottom: -2px;
      background: none;
      border: 0;
      border-bottom: 3px solid transparent;
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 600;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: .02em;
      color: var(--label);
      white-space: nowrap
    }

    .champ-tabs-in button.active {
      font-weight: 800;
      color: var(--ink);
      border-bottom-color: var(--ac, var(--green))
    }

    .champ-body {
      max-width: 1240px;
      margin: 0 auto;
      padding: clamp(24px, 4vw, 36px) clamp(18px, 4vw, 40px) clamp(50px, 6vw, 80px)
    }

    .static-body {
      max-width: 720px;
      margin: 0 auto;
      padding: clamp(32px, 5vw, 56px) clamp(18px, 4vw, 24px)
    }

    .static-body h1 {
      font-family: 'Bebas Neue', sans-serif;
      font-size: clamp(30px, 4vw, 40px);
      margin: 0 0 18px
    }

    .static-body p {
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
      margin: 0 0 16px
    }

    .static-body a {
      color: var(--green-d);
      text-decoration: underline
    }

    /* round tabs (usado no público e no admin) */
    .rounds {
      display: flex;
      gap: 2px;
      overflow-x: auto;
      border-bottom: 1px solid var(--line);
      margin-bottom: 18px;
      scrollbar-width: none
    }

    .rounds::-webkit-scrollbar {
      display: none
    }

    .rounds button {
      padding: 13px 15px;
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: .02em;
      color: var(--label);
      border: 0;
      background: none;
      border-bottom: 2px solid transparent;
      white-space: nowrap;
      margin-bottom: -1px
    }

    .rounds button.active {
      color: var(--green-d);
      border-bottom-color: var(--green)
    }

    .date-h {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 800;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: .03em;
      margin: 20px 2px 11px;
      color: var(--muted2)
    }

    .date-h:first-child {
      margin-top: 0
    }

    /* match card */
    .mcard {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      margin-bottom: 12px;
      overflow: hidden
    }

    .mrow {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 10px;
      padding: 16px 18px
    }

    @media(min-width:760px) {
      .mrow {
        grid-template-columns: 1fr auto 1fr 168px
      }
    }

    .side {
      display: flex;
      align-items: center;
      gap: 11px;
      min-width: 0
    }

    .side.home {
      flex-direction: row-reverse;
      text-align: right
    }

    .side .tn {
      font-weight: 700;
      font-size: 14px;
      line-height: 1.2;
      min-width: 0
    }

    .side .crest-img {
      width: 34px;
      height: 37px
    }

    .crest {
      width: 34px;
      height: 36px;
      flex: none
    }

    .crest-img {
      width: 46px;
      height: 50px;
      object-fit: contain;
      display: inline-block
    }

    .scoreb {
      display: flex;
      align-items: center;
      gap: 9px;
      justify-content: center
    }

    .scoreb .sv {
      font-size: 25px;
      line-height: 1;
      min-width: 22px;
      text-align: center;
      color: var(--ink)
    }

    .scoreb .xx {
      color: var(--label);
      font-size: 13px;
      font-weight: 600
    }

    .scoreb .pend {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--muted);
      background: var(--soft);
      padding: 7px 12px;
      border-radius: 8px
    }

    .venue {
      display: none;
      text-align: right;
      font-size: 12.5px;
      color: var(--muted);
      line-height: 1.45
    }

    @media(min-width:760px) {
      .venue {
        display: block
      }
    }

    .venue b {
      color: var(--ink);
      font-weight: 700;
      display: block
    }

    .venue.tap {
      cursor: pointer
    }

    .venue.tap:hover b {
      color: var(--green-d)
    }

    .mvenue-mob {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 18px;
      border-top: 1px dashed var(--line);
      background: transparent;
      font-size: 12.5px;
      color: var(--muted)
    }

    @media(min-width:760px) {
      .mvenue-mob {
        display: none
      }
    }

    .mvenue-mob .field-btn {
      border: 0;
      background: var(--bg);
      border: 1px solid var(--line);
      color: var(--green-d);
      font-weight: 700;
      font-size: 12px;
      padding: 6px 11px;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      gap: 5px
    }

    .mcode {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: .02em;
      color: var(--label)
    }

    .mstatus {
      display: block;
      font-style: normal;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .02em;
      color: var(--label);
      margin-top: 4px
    }

    .mstatus.done {
      color: var(--green-d)
    }

    .mvenue-mob .mstatus {
      display: inline;
      margin: 0
    }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #d32f2f;
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 20px;
      text-decoration: none;
      animation: live-pulse 1.4s infinite;
      margin-left: 6px;
    }

    /* bolinha do "AO VIVO" — era emoji 🔴, trocado por um dot puro em CSS
       (o badge inteiro já pulsa via live-pulse acima, então o dot não
       precisa de animação própria) */
    .live-badge .live-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #fff;
      flex: none
    }

    @keyframes live-pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: .45;
      }
    }
