    /* bottom tabs (mobile, admin) */
    .tabbar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 35;
      background: var(--card);
      border-top: 1px solid var(--line);
      display: flex;
      padding: 6px 6px calc(6px + var(--safe-bottom));
      box-shadow: 0 -2px 14px rgba(42, 33, 24, .08)
    }

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

    .tabbar button {
      flex: 1;
      border: 0;
      background: none;
      padding: 7px 2px;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      color: var(--muted);
      font-size: 10.5px;
      font-weight: 600
    }

    .tabbar button svg {
      width: 20px;
      height: 20px
    }

    .tabbar button.active {
      color: var(--green-d)
    }

    /* address sheet */
    .sheet-bg {
      position: fixed;
      inset: 0;
      background: rgba(42, 33, 24, .5);
      z-index: 60;
      opacity: 0;
      pointer-events: none;
      transition: .2s
    }

    .sheet-bg.show {
      opacity: 1;
      pointer-events: auto
    }

    .sheet {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 61;
      background: var(--card);
      border-radius: 22px 22px 0 0;
      padding: 8px 22px calc(26px + var(--safe-bottom));
      transform: translateY(100%);
      transition: .25s cubic-bezier(.2, .8, .2, 1);
      max-width: 520px;
      margin: 0 auto;
      box-shadow: 0 -8px 34px rgba(42, 33, 24, .22)
    }

    .sheet.show {
      transform: translateY(0)
    }

    .sheet .grab {
      width: 42px;
      height: 4px;
      background: var(--line);
      border-radius: 3px;
      margin: 6px auto 16px
    }

    .sheet h4 {
      margin: 0 0 5px;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 20px;
      font-weight: 400
    }

    .sheet .addr {
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
      margin: 0 0 18px
    }

    .sheet .map-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      background: var(--green);
      color: #fff;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 16px;
      padding: 14px;
      border-radius: 10px
    }

    .admin-stub {
      max-width: 420px;
      margin: 70px auto;
      text-align: center;
      padding: 0 24px
    }

    /* ---------- TOAST ---------- */
    .toast {
      position: fixed;
      left: 50%;
      bottom: calc(22px + var(--safe-bottom));
      transform: translate(-50%, 12px);
      background: var(--dark);
      color: #fff;
      font-size: 13.5px;
      font-weight: 600;
      padding: 12px 18px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(42, 33, 24, .3);
      z-index: 80;
      opacity: 0;
      pointer-events: none;
      transition: .2s;
      max-width: calc(100% - 40px);
      text-align: center
    }

    .toast.show {
      opacity: 1;
      transform: translate(-50%, 0)
    }

    /* grid de cards (Times) */
    .time-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 12px;
      margin-bottom: 18px
    }

    .time-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px
    }

    .time-card-head {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .time-card-head .crest {
      width: 34px;
      height: 36px;
      flex: none
    }

    .time-card-head span {
      font-weight: 700;
      font-size: 13.5px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap
    }

    .time-card-actions {
      display: flex;
      gap: 8px;
      margin-top: auto
    }

    .time-card-actions .btn {
      flex: 1;
      padding: 8px 10px;
      font-size: 13px;
      justify-content: center
    }

    /* thumbnail do arquivo escolhido no upload de escudo (form de time) */
    .escudo-preview {
      width: 38px;
      height: 40px;
      object-fit: contain;
      border: 1px dashed var(--line);
      border-radius: 8px;
      padding: 3px;
      background: var(--bg);
      flex: none
    }

    /* modal genérica do admin — mesmo espírito visual do .sheet público
       (mesma paleta/transição), mas centralizada na tela (fade + leve
       escala) em vez de bottom sheet, com HTML dinâmico em vez de campos
       fixos, e um botão de fechar (X). z-index fica entre o sheet público
       (60/61) e o toast (80), pro toast continuar visível por cima. */
    .adm-modal-bg {
      position: fixed;
      inset: 0;
      background: rgba(42, 33, 24, .5);
      z-index: 70;
      opacity: 0;
      pointer-events: none;
      transition: .2s
    }

    .adm-modal-bg.show {
      opacity: 1;
      pointer-events: auto
    }

    .adm-modal {
      position: fixed;
      left: 50%;
      top: 50%;
      z-index: 71;
      background: var(--card);
      border-radius: 18px;
      padding: 20px 22px 22px;
      transform: translate(-50%, -50%) scale(.96);
      opacity: 0;
      transition: .25s cubic-bezier(.2, .8, .2, 1);
      width: calc(100% - 32px);
      max-width: 600px;
      max-height: 85vh;
      overflow-y: auto;
      box-shadow: 0 20px 50px rgba(42, 33, 24, .3)
    }

    .adm-modal.show {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1
    }

    .adm-modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 0;
      background: var(--bg);
      color: var(--muted);
      display: grid;
      place-items: center
    }

    .adm-modal-close svg {
      width: 16px;
      height: 16px
    }

    .adm-modal h4 {
      margin: 0 0 16px;
      font-family: 'Bebas Neue', sans-serif;
      font-size: 22px;
      font-weight: 400;
      padding-right: 40px
    }

    /* ---------- ADMIN ---------- */
    .adm-logout {
      width: 100%;
      justify-content: center;
      margin-top: 14px;
      font-size: 13px;
      padding: 11px 16px
    }

    .adm-login-form {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 280px;
      margin: 0 auto
    }

    .adm-input {
      font-family: inherit;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 12px;
      font-size: 14px;
      color: var(--ink);
      background: var(--card)
    }

    .adm-input:focus {
      outline: 2px solid var(--green);
      outline-offset: -1px
    }

    .adm-input-lg {
      padding: 13px 14px;
      font-size: 15px;
      text-align: center
    }

    .adm-picker {
      margin-bottom: 16px
    }

    .adm-hint {
      margin: -6px 0 14px !important
    }

    .adm-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 18px
    }

    .adm-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 10px 14px
    }

    .adm-row .adm-link-in {
      flex: 1 1 100%;
      order: 4
    }

    .adm-row .adm-team {
      display: flex;
      align-items: center;
      gap: 9px;
      flex: 1;
      min-width: 0;
      font-weight: 600;
      font-size: 13.5px
    }

    .adm-row .adm-team span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap
    }

    .adm-row .adm-team-away {
      flex-direction: row-reverse;
      text-align: right
    }

    .adm-row .adm-team .crest {
      width: 29px;
      height: 31px;
      flex: none
    }

    .adm-score {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: none
    }

    .adm-score .adm-input {
      width: 52px;
      text-align: center;
      font-family: 'Bebas Neue';
      font-size: 17px;
      padding: 8px 4px
    }

    .adm-score span {
      color: var(--muted);
      font-size: 13px;
      font-weight: 600
    }

    .adm-adjust-in {
      width: 72px;
      text-align: center;
      flex: none
    }

    .adm-save {
      margin-top: 4px
    }

    .adm-textarea {
      width: 100%;
      font-family: 'Libre Franklin', monospace;
      font-size: 13.5px;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 14px;
      resize: vertical;
      line-height: 1.6;
      margin-bottom: 16px;
      background: var(--card);
      color: var(--ink)
    }

    .adm-textarea:focus {
      outline: 2px solid var(--green);
      outline-offset: -1px
    }

    .adm-backup-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 18px
    }

    .adm-file-btn {
      position: relative;
      overflow: hidden
    }

    .adm-file-btn input[type="file"] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer
    }

    .adm-warning {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: rgba(217, 140, 40, .1);
      color: #8a5c14;
      border: 1px solid rgba(217, 140, 40, .25);
      border-radius: 12px;
      padding: 13px 15px;
      font-size: 13px;
      line-height: 1.5
    }

    .adm-warning svg {
      flex: none;
      margin-top: 1px
    }

    /* linha com pendência na revisão da importação de PDF (grupo/time sem match ainda) */
    .pend-row {
      border-color: rgba(217, 140, 40, .4);
      background: rgba(217, 140, 40, .06)
    }

    /* selects de matching da importação de PDF (grupo/time/campo) — sem isso,
       a opção mais comprida da lista (nome de time longo) faz o <select>
       inteiro esticar até essa largura, empurrando cada campo da linha pra
       sua própria linha (.adm-row já é flex-wrap) */
    .ic-sel {
      flex: 1 1 180px;
      min-width: 140px;
      max-width: 260px
    }

    /* card de campeonato (seção Campeonatos) — emblema em miniatura, reaproveita
       o grid/card de Times (.time-grid/.time-card) */
    .champ-emblema {
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex: none
    }

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

    /* badge de status do campeonato — mesma paleta/nomenclatura do STATUS
       usado no site público (js/ui/public.js): live/soon/off */
    .champ-status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .03em
    }

    .champ-status .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      flex: none
    }

    .champ-status.live {
      color: var(--green-d)
    }

    .champ-status.live .dot {
      background: var(--green)
    }

    .champ-status.soon {
      color: #8a5c14
    }

    .champ-status.soon .dot {
      background: #d98c28
    }

    .champ-status.off {
      color: var(--muted)
    }

    .champ-status.off .dot {
      background: var(--muted)
    }

    /* card de post (seção Notícias) — mesmo grid/card de Times, só com uma
       miniatura da capa no topo (ou o ícone de notícia, sem capa) */
    .post-card-thumb {
      width: 100%;
      height: 100px;
      border-radius: 10px;
      overflow: hidden;
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center
    }

    .post-card-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .post-card-thumb svg {
      width: 28px;
      height: 28px;
      color: var(--label)
    }

    /* editor de blocos do corpo do post (parágrafo/imagem, com reordenar) */
    .post-blocos-toolbar {
      display: flex;
      gap: 10px;
      margin-bottom: 14px
    }

    .post-blocos {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 4px
    }

    .post-bloco {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px 14px;
      display: flex;
      flex-direction: column;
      gap: 8px
    }

    .post-bloco-head {
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .post-bloco-tag {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 11.5px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: var(--label)
    }

    .post-bloco-actions {
      display: flex;
      gap: 6px
    }

    .post-bloco-actions .btn {
      padding: 5px 9px;
      font-size: 12px
    }

    .post-bloco-actions .btn:disabled {
      opacity: .4;
      cursor: default
    }

    .post-bloco-texto {
      width: 100%;
      margin: 0
    }

    .post-bloco-img-preview {
      max-width: 200px;
      max-height: 120px;
      border-radius: 8px;
      object-fit: cover
    }