@layer aow-ui-consistency {
  body.aow-masters-theme [data-competition-status].competition-defeated {
    color: #edca83 !important;
    font-weight: 700 !important;
  }
  body.aow-masters-theme .status:has([data-competition-status].competition-defeated) {
    border-color: #ac8e48 !important;
    background: #231f14 !important;
  }
  body.aow-masters-theme .notify-team-row.competition-defeated:has(input:disabled) {
    opacity: .62 !important;
  }
  body.aow-masters-theme [data-competition-count] {
    display: inline-block !important;
    min-width: 1.6em !important;
    padding: 2px 5px !important;
    margin-left: 5px !important;
    border: 1px solid #577b72 !important;
    color: #eaf7f0 !important;
    background: #081a18 !important;
    font-size: 16px !important;
  }
  @media (max-width:760px) {
    body.aow-masters-theme .aow-archive-page .admin-page-head {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 16px !important;
      padding-right: 0 !important;
    }
    body.aow-masters-theme .aow-archive-page .admin-page-head > div {
      width: 100% !important;
      max-width: none !important;
    }
    body.aow-masters-theme .aow-archive-page .admin-page-head h2 {
      font-size: 32px !important;
      max-width: none !important;
      overflow-wrap: normal !important;
      word-break: normal !important;
    }
    body.aow-masters-theme .aow-archive-page .admin-back-topright {
      position: static !important;
      align-self: flex-end !important;
      margin: 0 !important;
    }
    body.aow-masters-theme .archive-table,
    body.aow-masters-theme .archive-table tbody {
      display: block !important;
      width: 100% !important;
    }
    body.aow-masters-theme .archive-table thead {display: none !important;}
    body.aow-masters-theme .archive-table tr {
      display: grid !important;
      grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
      gap: 12px !important;
      border: 1px solid #43686c !important;
      padding: 12px !important;
      margin-bottom: 14px !important;
      background: #071a1b !important;
    }
    body.aow-masters-theme .archive-table td {
      display: block !important;
      min-width: 0 !important;
      width: auto !important;
      padding: 0 !important;
      border: 0 !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
    }
    body.aow-masters-theme .archive-table td:first-child,
    body.aow-masters-theme .archive-table td:last-child {grid-column: 1 / -1 !important;}
    body.aow-masters-theme .archive-table td::before {
      content: attr(data-label) !important;
      display: block !important;
      color: #86c9c5 !important;
      font: 800 16px/1.3 var(--aow-heading,sans-serif) !important;
      margin-bottom: 4px !important;
      text-transform: uppercase !important;
    }
    body.aow-masters-theme .archive-table .btn {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      width: 100% !important;
      white-space: normal !important;
    }
  }
}
