/* Desktop presentation frame — matches the supplied mockup */
body {
  background: #eef0f3
}

.site-frame {
  max-width: 1180px;
  margin: 8px auto;
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, .14);
  overflow: hidden
}

.site-frame .header {
  position: sticky;
  top: 8px
}

.site-frame .hero {
  background-position: center
}

.site-frame .stats {
  max-width: 1080px
}

.site-frame .footer {
  margin-top: 25px
}

@media(max-width:680px) {
  body {
    background: var(--bg)
  }

  .site-frame {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh
  }

  .site-frame .header {
    position: sticky;
    top: 0
  }
}

:root {
  --red: #c8102e;
  --red2: #a90d26;
  --ink: #101828;
  --muted: #667085;
  --line: #e6e9ee;
  --bg: #f7f8fa;
  --navy: #07131f;
  --blue: #eef5ff;
  --shadow: 0 8px 24px rgba(16, 24, 40, .07)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.55 Inter, Arial, sans-serif
}

a {
  text-decoration: none;
  color: inherit
}

button,
select {
  font: inherit
}

.header {
  height: 86px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20
}

.head {
  max-width: 1180px;
  height: 100%;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px
}

.logo {
  width: 48px;
  height: 48px;
  color: var(--red)
}

.brand b,
.brand em {
  display: block;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -.5px
}

.brand em {
  color: var(--red);
  font-style: normal;
  font-weight: 800
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex: 1
}

.mobile-nav-heading {
  display: none
}

.nav a,
.nav button {
  border: 0;
  background: none;
  padding: 29px 8px 27px;
  font-weight: 600;
  position: relative;
  color: #172033
}

.nav a:hover,
.nav a.active {
  color: var(--red)
}

.nav a.active:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 17px;
  height: 2px;
  background: var(--red)
}

.admin-menu {
  position: relative;
  flex: none;
  color: #172033
}

.admin-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  list-style: none
}

.admin-menu summary::-webkit-details-marker {
  display: none
}

.admin-menu summary::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  margin-top: -3px
}

.admin-menu[open] summary::after {
  transform: rotate(225deg);
  margin-top: 3px
}

.admin-menu.is-active > summary,
.admin-menu summary:hover,
.admin-menu summary:focus-visible {
  border-color: var(--red);
  color: var(--red)
}

.admin-menu-panel {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 205px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .14)
}

.admin-menu-panel a {
  padding: 9px 10px;
  border-radius: 3px;
  color: #172033;
  font-weight: 600
}

.admin-menu-panel a:hover,
.admin-menu-panel a:focus-visible,
.admin-menu-panel a.active {
  background: #fcebed;
  color: var(--red)
}

.admin {
  background: var(--red);
  border: 0;
  color: white;
  border-radius: 7px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 12px
}

.admin-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 48px);
  max-width: 1132px;
  margin: 16px auto 0;
  padding: 11px 13px;
  border: 1px solid #b8ddc6;
  border-left: 4px solid #2c8051;
  border-radius: 6px;
  background: #f0f8f2;
  color: #255e3a;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 3px 12px rgba(16, 24, 40, .05)
}

.admin-notification-icon {
  flex: none;
  color: #318456;
  font-size: 16px
}

.admin-notification-message {
  flex: 1
}

.admin-notification-close {
  float: none;
  margin-left: auto;
  padding: 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #36754f;
  font-size: 13px;
  line-height: 1;
  opacity: 1
}

.admin-notification-close:hover,
.admin-notification-close:focus-visible {
  background: #dcefe2;
  color: #155b34;
  outline: 2px solid #5b9b70;
  outline-offset: 1px
}

@media(max-width:680px) {
  .admin-notification {
    width: calc(100% - 28px)
  }
}

.account {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--line)
}

.account-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fcebed;
  color: var(--red);
  font-size: 12px
}

.account-details {
  display: grid;
  gap: 1px;
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1
}

.account-details strong {
  max-width: 145px;
  overflow: hidden;
  color: #172033;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap
}

.account-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap
}

.account-logout:hover,
.account-logout:focus {
  color: #7f0010;
  text-decoration: none
}

a.admin:hover,
a.admin:focus {
  color: #fff;
  text-decoration: none;
}

.mobile {
  display: none;
  background: none;
  border: 0;
  color: #172033;
  cursor: pointer;
  font-size: 20px
}

.hero {
  color: #fff;
  /*background: linear-gradient(90deg, rgba(4, 14, 25, .94), rgba(4, 14, 25, .76) 28%, rgba(4, 14, 25, .18)), url("/static/images/8.png") right/cover;*/
/*  background: linear-gradient(90deg, rgba(4, 14, 25, .94), rgb(12 12 12 / 29%) 48%, rgb(255 255 255 / 0%)), url(/static/images/hero-court.svg) right / cover;*/
  background: url("/static/images/hero-header.jpg");
  background-size: cover;
}

.hero-inner {
  max-width: 1180px;
  margin: auto;
  min-height: 330px;
  padding: 56px 70px 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.hero h1 {
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -1.6px;
  margin: 5px 0 14px
}

.hero p {
  font-size: 17px;
  max-width: 600px;
  margin: 0 0 8px
}

.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 7px;
  font-weight: 800;
  border: 1px solid transparent
}

.red {
  background: var(--red);
  color: white
}

.outline {
  border-color: #fff;
  color: white
}

.count {
  background: #fff;
  color: var(--ink);
  width: 180px;
  min-height: 180px;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 18px 40px #0005
}

.count strong {
  display: block;
  color: var(--red);
  font-size: 38px;
  line-height: 1;
  margin: 10px 0 0
}

.count .big {
  font-weight: 800;
  font-size: 17px
}

.count small {
  color: var(--muted)
}

.stats {
  max-width: 1080px;
  margin: -34px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow)
}

.stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center
}

.stat:last-child {
  border: 0
}

.ico {
  color: var(--red);
  font-size: 24px
}

.stat b,
.stat span {
  display: block
}

.stat b {
  font-size: 12px
}

.stat span {
  font-size: 11px;
  color: var(--muted)
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 20px
}

.section {
  padding: 20px 34px
}

.title::before, .title::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #c8102e;
    margin: 0 15px;
}

.title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px
}

.title h2 {
  font-size: 20px;
  margin: 0
}

.line {
  height: 1px;
  background: var(--red);
  flex: 1
}

.link {
  color: var(--red);
  font-weight: 800;
  font-size: 12px
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px;
  box-shadow: 0 4px 14px #10182808
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px
}

.card h3,
.card h2 {
  margin: 0 0 7px
}

.card h3 {
  font-size: 14px
}

.card h2 {
  font-size: 20px
}

.card p {
  margin: 0;
  color: #4b5565;
  font-size: 13px
}

.more {
  display: inline-block;
  margin-top: 14px;
  color: var(--red);
  font-weight: 800;
  font-size: 12px
}

.upcoming-fixtures-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px
}

.upcoming-fixtures-heading h3 {
  margin-bottom: 0
}

.upcoming-fixtures-all {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap
}

.upcoming-fixtures-all:hover,
.upcoming-fixtures-all:focus {
  color: #7f0010;
  text-decoration: none
}

.league-table-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border-bottom: 1px solid var(--line)
}

.league-table-tabs button {
  width: 100%;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 7px 4px 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  text-align: center
}

.league-table-tabs button:hover,
.league-table-tabs button:focus,
.league-table-tabs button.active {
  border-bottom-color: var(--red);
  color: var(--red);
  outline: 0
}

.home-league-panel[hidden] {
  display: none
}

.league-table-empty {
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px
}

.upcoming-fixtures {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none
}

.upcoming-fixture {
  display: grid;
  grid-template-columns: 42px 1fr 12px;
  gap: 0 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line)
}

.upcoming-fixture:first-child {
  padding-top: 0;
  border-top: 0
}

.upcoming-fixture-date {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 44px;
  border-right: 1px solid var(--line);
  color: var(--red);
  line-height: 1
}

.upcoming-fixture-date span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.upcoming-fixture-date strong {
  margin: 2px 0;
  color: #172033;
  font-size: 17px
}

.upcoming-fixture-date small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.upcoming-fixture-main {
  min-width: 0
}

.upcoming-fixture-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase
}

.upcoming-fixture-meta time {
  color: #172033;
  font-size: 10px;
  font-weight: 800
}

.upcoming-fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  color: #172033;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2
}

.upcoming-fixture-teams b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 7px;
  font-weight: 800
}

.upcoming-fixture-teams span:first-child {
  text-align: right
}

.upcoming-fixture-teams span:last-child {
  text-align: left
}

.upcoming-fixture-link {
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 10px
}

.latest-results,
.home-league-table {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none
}

.latest-result {
  padding: 8px 0;
  border-top: 1px solid var(--line)
}

.latest-result:first-child {
  padding-top: 0;
  border-top: 0
}

.latest-result-meta,
.league-table-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase
}

.latest-result-meta time {
  color: #172033
}

.latest-result-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px 8px 22px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  margin-top: 5px;
  color: #172033;
  font-size: 11px;
  font-weight: 800
}

.latest-result-teams span:first-child {
  text-align: right
}

.latest-result-teams span:last-child {
  text-align: left
}

.latest-result-teams b {
  padding: 3px 0;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  text-align: center
}

.latest-result-teams i {
  color: var(--muted);
  font-style: normal;
  text-align: center
}

.league-table-heading {
  grid-template-columns: 1fr repeat(4, 24px);
  margin-top: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  text-align: center
}

.league-table-heading strong {
  text-align: left
}

.home-league-table li {
  display: grid;
  grid-template-columns: 20px 1fr repeat(4, 24px);
  gap: 4px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #f0f2f5;
  color: #172033;
  font-size: 10px;
  text-align: center
}

.home-league-table li > :nth-child(2) {
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap
}

.home-league-table li > :first-child {
  color: var(--muted)
}

.home-league-table li b {
  color: var(--red)
}

.table-card-link {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
  padding: 5px 12px;
  border: 1px solid #efaeb8;
  border-radius: 4px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800
}

.table-card-link:hover,
.table-card-link:focus {
  color: #7f0010;
  text-decoration: none
}

.latest-news-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.latest-news-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 14px
}

.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.latest-news-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff
}

.latest-news-card img {
  width: 88px;
  height: 128px;
  object-fit: cover
}

.latest-news-card-content {
  padding: 10px 11px
}

.latest-news-card time {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase
}

.latest-news-card h3 {
  margin: 3px 0 5px;
  font-size: 12px;
  line-height: 1.2
}

.latest-news-card h3 a {
  color: #172033
}

.latest-news-card h3 a:hover,
.latest-news-card h3 a:focus {
  color: var(--red);
  text-decoration: none
}

.latest-news-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4
}

.latest-news-read-more {
  display: inline-block;
  margin-top: 7px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800
}

.latest-news-read-more:hover,
.latest-news-read-more:focus {
  color: #7f0010;
  text-decoration: none
}

.empty {
  border: 1px dashed #cbd2dc;
  background: #fbfcfd;
  border-radius: 10px;
  padding: 24px;
  text-align: center
}

.empty h3 {
  margin: 0 0 5px
}

.empty p {
  max-width: 520px;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 12px
}

.banner {
  background: var(--blue);
  padding: 13px 15px;
  border-radius: 10px;
  color: #284466;
  font-size: 12px
}

.club {
  display: flex;
  gap: 12px;
  align-items: center
}

.badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff0f3;
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 800
}

.club h3 {
  margin: 0;
  font-size: 13px
}

.club p {
  font-size: 11px;
  margin: 2px 0;
  color: var(--muted)
}

.footer {
  background: var(--red);
  color: #fff;
  margin-top: 25px
}

.foot {
  max-width: 1180px;
  margin: auto;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 28px
}

.foot h3 {
  font-size: 12px;
  margin: 0 0 8px
}

.foot a,
.foot p {
  font-size: 11px;
  color: #ffe7ea;
  margin: 6px 0;
  display: block
}

.foot-brand-title {
  display: flex;
  align-items: center;
  gap: 10px
}

.foot-brand-title img {
  width: auto;
  height: 36px
}

.foot-brand b,
.foot-brand em {
  display: block;
  line-height: 1.05;
  font-size: 16px
}

.foot-brand em {
  font-style: normal;
  font-weight: 800
}

.bottom {
  background: var(--navy);
  padding: 8px 20px;
  font-size: 10px;
  display: flex;
  justify-content: space-between
}

.pagehero {
  background: var(--navy);
  color: #fff;
  padding: 38px 0
}

.pagehero h1 {
  font-size: 32px;
  margin: 0 0 5px
}

.pagehero p {
  margin: 0;
  color: #cbd5df
}

.crumb {
  font-size: 11px;
  color: #aeb9c5;
  margin-bottom: 10px
}

.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: var(--shadow);
  margin-top: 20px
}

.filter-value {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 9px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font-size: 12px
}

.fixture-filters {
  margin-top: 22px
}

.new-fixture-page {
  padding-bottom: 48px
}

.new-fixture-form {
  max-width: 100%;
  margin: 24px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow)
}

.new-fixture-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px
}

.new-fixture-form-full-width,
.new-fixture-team-grid {
  grid-column: 1 / -1
}

.new-fixture-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px
}

.new-fixture-form .form-group {
  width: 100%;
  min-width: 0;
  margin: 0
}

.new-fixture-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.new-fixture-form .form-control {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none
}

.new-fixture-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.club-edit-page {
  padding-bottom: 48px
}

.club-edit-form {
  display: grid;
  gap: 18px;
  max-width: 100%;
  margin: 20px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.club-edit-basics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.club-edit-form .form-group {
  min-width: 0;
  margin: 0
}

.club-edit-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.club-edit-form .form-control {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none
}

.club-edit-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.club-edit-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px 18px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafd
}

.club-edit-section legend {
  float: none;
  width: auto;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 7px;
  color: #172033;
  font-size: 13px;
  font-weight: 800
}

.club-edit-section > .club-edit-delete-button {
  grid-column: 1 / -1;
  justify-self: start
}

.club-edit-add-button {
  min-height: 36px;
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #f4f6f8;
  color: #344054;
  font-size: 11px;
  font-weight: 800
}

.club-edit-add-button:hover,
.club-edit-add-button:focus-visible {
  border-color: #aab8c8;
  background: #eaf0f6;
  color: #172033;
  outline: 2px solid #cbd5e1;
  outline-offset: 2px
}

.club-edit-delete-button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #efb7c0;
  border-radius: 5px;
  background: #fff4f5;
  color: #a90d26;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.club-edit-delete-button:hover,
.club-edit-delete-button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .15);
  outline-offset: 2px
}

.club-edit-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.club-edit-form-actions .btn-primary {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.club-edit-form-actions .btn-primary:hover,
.club-edit-form-actions .btn-primary:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.club-edit-delete-modal .modal-dialog {
  width: min(100%, 430px)
}

.club-edit-delete-modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(23, 32, 51, .25)
}

.club-edit-delete-modal .modal-header,
.club-edit-delete-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line)
}

.club-edit-delete-modal .modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0
}

.club-edit-delete-modal .modal-title {
  margin: 0;
  color: #172033;
  font-size: 15px;
  font-weight: 800
}

.club-edit-delete-modal .modal-body {
  padding: 16px;
  color: var(--muted);
  font-size: 13px
}

.club-edit-delete-modal .close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px
}

.result-edit-page {
  padding-bottom: 48px
}

.result-edit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 14px
}

.result-edit-meta > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8f9fb
}

.result-edit-meta span,
.result-scorecard-heading span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.result-edit-meta strong {
  color: #172033;
  font-size: 12px
}

.result-edit-meta .result-edit-updated {
  flex: 1
}

.result-edit-form {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.result-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px) minmax(0, 1fr);
  align-items: end;
  gap: 20px
}

.result-team {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9fb
}

.result-team > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.result-team > strong {
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 16px
}

.result-team-away {
  text-align: right
}

.result-score-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px
}

.result-score-field {
  min-width: 0
}

.result-score-field .form-group {
  margin: 0
}

.result-score-field label {
  display: block;
  min-height: 26px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center
}

.result-score-field .form-control {
  width: 100%;
  min-height: 58px;
  padding: 7px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  box-shadow: none
}

.result-score-field .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.result-versus {
  padding-top: 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase
}

.result-scorecard-section {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafd
}

.result-scorecard-heading {
  display: grid;
  gap: 3px
}

.result-scorecard-heading strong {
  color: #172033;
  font-size: 13px
}

.result-scorecard-section .form-group {
  min-width: 0;
  margin: 0
}

.result-scorecard-section label {
  display: none
}

.result-scorecard-section input[type="file"] {
  width: 100%;
  min-height: 48px;
  padding: 7px;
  border: 1px dashed #c5d0dd;
  border-radius: 5px;
  background: #fff;
  color: #526174;
  font-size: 12px;
  cursor: pointer
}

.result-scorecard-section input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 10px;
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  font: 700 11px Inter, Arial, sans-serif;
  cursor: pointer
}

.result-scorecard-section input[type="file"]::file-selector-button:hover {
  border-color: #aab8c8;
  background: #eef3f8
}

.result-scorecard-section input[type="file"]:focus-visible {
  border-color: var(--red);
  outline: 3px solid rgba(200, 16, 46, .12);
  outline-offset: 1px
}

.result-scorecard-preview {
  grid-column: 1 / -1;
  display: block;
  width: min(100%, 460px);
  max-height: 300px;
  justify-self: start;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9fb
}

.result-edit-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.result-edit-actions .btn-primary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.result-edit-actions .btn-primary:hover,
.result-edit-actions .btn-primary:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.league-table-form {
  max-width: 860px;
  margin-left: 0;
  margin-right: 0
}

.league-table-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px
}

.league-table-form-grid-count {
  grid-template-columns: minmax(0, 280px)
}

.league-table-form-divisions {
  display: grid;
  gap: 16px
}

.league-division-card {
  min-width: 0;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 7px
}

.league-division-card legend {
  width: auto;
  margin: 0;
  padding: 0 7px;
  color: #172033;
  font-size: 13px;
  font-weight: 800
}

.league-table-form .form-group {
  width: 100%;
  min-width: 0;
  margin: 0
}

.league-table-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.league-table-form-actions .btn-primary {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer
}

.league-table-form-actions .btn-primary:hover,
.league-table-form-actions .btn-primary:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .25);
  outline-offset: 2px
}

.league-table-edit-page {
  padding-bottom: 48px
}

.league-table-last-updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px
}

.league-table-edit-grids {
  display: grid;
  gap: 16px;
  margin-top: 16px
}

.league-table-edit-grid {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  --ag-font-family: Inter, Arial, sans-serif;
  --ag-font-size: 13px;
  --ag-foreground-color: var(--ink);
  --ag-border-color: var(--line);
  --ag-header-background-color: #f7f9fc;
  --ag-header-foreground-color: #475467;
  --ag-row-border-color: var(--line);
  --ag-odd-row-background-color: #fcfcfd;
  --ag-row-hover-color: #fff5f6;
  --ag-selected-row-background-color: #fcebed;
  --ag-header-height: 42px;
  --ag-row-height: 42px
}

.league-table-edit-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #dbe7f8;
  border-radius: 6px;
  background: #f3f7fd;
  color: #425f7b;
  font-size: 12px;
  line-height: 1.5
}

.league-table-edit-note > .fas {
  margin-top: 2px;
  color: var(--red)
}

.league-table-edit-actions {
  margin-top: 16px
}

.new-fixture-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.new-fixture-form-actions .form-group {
  margin: 0
}

.new-fixture-form-actions input[type="submit"] {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer
}

.new-fixture-form-actions input[type="submit"]:hover,
.new-fixture-form-actions input[type="submit"]:focus {
  border-color: var(--red2);
  background: var(--red2);
  outline: 0
}

@media(max-width:680px) {
  .new-fixture-form {
    margin-top: 20px;
    padding: 16px
  }

  .new-fixture-form-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .new-fixture-team-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .new-fixture-form-actions {
    justify-content: stretch
  }

  .new-fixture-form-actions input[type="submit"] {
    width: 100%
  }

  .club-edit-form {
    gap: 14px;
    padding: 16px
  }

  .club-edit-basics,
  .club-edit-section {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .club-edit-section legend {
    grid-column: 1
  }

  .club-edit-section > .club-edit-delete-button {
    grid-column: 1
  }

  .club-edit-add-button,
  .club-edit-form-actions .btn-primary {
    width: 100%
  }

  .result-edit-form {
    padding: 16px
  }

  .result-edit-meta {
    grid-template-columns: 1fr
  }

  .result-scoreboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px
  }

  .result-team-away {
    text-align: left
  }

  .result-score-entry {
    grid-row: 2
  }

  .result-score-field label {
    min-height: 0
  }

  .result-versus {
    padding-top: 0
  }

  .result-scorecard-section {
    grid-template-columns: 1fr;
    gap: 9px
  }

  .result-edit-actions .btn-primary {
    width: 100%
  }

  .league-table-form-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .league-table-form-grid-count {
    grid-template-columns: 1fr
  }

  .league-table-form-actions {
    justify-content: stretch
  }

  .league-table-form-actions .btn-primary {
    width: 100%
  }
}

.fixture-page {
  padding: 24px 34px 42px
}

.clubs-page {
  padding: 24px 34px 42px
}

.clubs-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.committee-page {
  padding: 24px 34px 42px
}

.committee-page-header {
  display: block;
  margin-bottom: 28px;
  padding: 0
}

.committee-page-header h2 {
  margin: 0;
  color: #172033;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15
}

.committee-updated {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px
}
.committee-page-divider {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid var(--line)
}

.committee-intro {
  max-width: 820px;
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.75
}

.committee-roster-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px
}

.committee-roster-heading h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
  font-weight: 800
}

.committee-new-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.committee-new-button:hover,
.committee-new-button:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.committee-roster {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-spacing: 0;
  overflow: hidden;
  background: #fff
}

.committee-roster > tbody > tr > td,
.committee-roster > tbody > tr > th {
  padding: 13px 16px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

.committee-roster > tbody > tr:last-child > td {
  border-bottom: 0
}

.committee-roster:not(.committee-admin-roster) > tbody > tr > td:first-child {
  width: 34%;
  color: #344054;
  font-weight: 700
}

.committee-roster:not(.committee-admin-roster) > tbody > tr > td:last-child {
  color: #475467;
  line-height: 1.7;
  overflow-wrap: anywhere
}

.committee-admin-roster > tbody > tr:first-child {
  background: #f7f9fc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.committee-admin-roster > tbody > tr:not(:first-child) > td:first-child {
  color: #475467;
  font-weight: 700
}

.committee-admin-roster > tbody > tr:not(:first-child) > td:nth-child(2) {
  color: #172033;
  font-weight: 700
}

.committee-admin-roster {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 8px
}

.committee-admin-roster > tbody > tr:first-child > th {
  padding: 11px 14px;
  border-bottom: 1px solid #dce3eb;
  background: #f7f9fc;
  text-align: left
}

.committee-admin-roster > tbody > tr > td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle
}

.committee-admin-roster > tbody > tr > th:first-child,
.committee-admin-roster > tbody > tr > td:first-child {
  width: 34%
}

.committee-admin-roster > tbody > tr > th:nth-child(3),
.committee-admin-roster > tbody > tr > th:nth-child(4),
.committee-admin-roster > tbody > tr > td:nth-child(3),
.committee-admin-roster > tbody > tr > td:nth-child(4) {
  width: 48px;
  padding-right: 5px;
  padding-left: 5px;
  text-align: center
}

.committee-admin-roster > tbody > tr:not(:first-child):nth-child(even) {
  background: #fbfcfd
}

.committee-admin-roster > tbody > tr:not(:first-child):hover {
  background: #fff8f9
}

.committee-admin-roster > tbody > tr:last-child > td {
  border-bottom: 0
}

.committee-admin-roster .btn {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  font-size: 11px
}

.committee-admin-roster .btn-success {
  border-color: #237a57;
  background: #237a57
}

.committee-admin-roster .btn-danger {
  border-color: var(--red);
  background: var(--red)
}

.committee-admin-roster .btn-success:hover,
.committee-admin-roster .btn-success:focus-visible {
  border-color: #195d42;
  background: #195d42;
  color: #fff;
  outline: 3px solid rgba(35, 122, 87, .2);
  outline-offset: 2px
}

.committee-admin-roster .btn-danger:hover,
.committee-admin-roster .btn-danger:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.rules-page {
  padding: 24px 34px 42px
}

.rules-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.rules-page-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2
}

.rules-page-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px
}

.rules-filters {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: none;
  margin-top: 20px
}

.rules-filters .field,
.rules-filters .field select {
  width: 100%
}

.rules-filters .field select {
  min-height: 42px;
  border-color: #dfe3e8;
  border-radius: 5px;
  color: var(--ink);
  font: inherit
}

.rules-filters .field select:focus-visible {
  border-color: var(--red);
  outline: 3px solid rgba(200, 16, 46, .12);
  outline-offset: 1px
}

.rules-edit-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.rules-edit-button:hover,
.rules-edit-button:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.rules-edit-page {
  padding: 24px 34px 48px
}

.rules-edit-heading {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.rules-edit-heading p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.rules-edit-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15
}

.rules-edit-card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.rules-edit-card form {
  display: grid;
  gap: 16px;
  margin: 0
}

.rules-edit-card .form-group {
  min-width: 0;
  margin: 0
}

.rules-edit-card label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.rules-edit-card input.form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none
}

.rules-edit-card input.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.rules-edit-card .cke_chrome {
  width: 100% !important;
  overflow: hidden;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  box-shadow: none
}

.rules-edit-card .cke_top {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fc
}

.rules-edit-card .cke_contents {
  height: 480px !important
}

.rules-edit-card .cke_bottom {
  border-top: 1px solid var(--line);
  background: #fff
}

.rules-edit-card form > input[type="submit"] {
  justify-self: end;
  min-height: 40px;
  margin-top: 2px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.rules-edit-card form > input[type="submit"]:hover,
.rules-edit-card form > input[type="submit"]:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.match-sheets-page,
.match-sheets-admin-page,
.match-sheet-form-page {
  padding: 24px 34px 42px
}

.match-sheets-heading,
.match-sheets-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.match-sheets-heading h2,
.match-sheets-admin-heading h2,
.match-sheet-form-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15
}

.match-sheets-heading p,
.match-sheets-admin-heading span {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px
}

.match-sheet-form-heading p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheets-manage-button,
.match-sheets-new-button,
.match-sheet-submit-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheets-manage-button:hover,
.match-sheets-manage-button:focus-visible,
.match-sheets-new-button:hover,
.match-sheets-new-button:focus-visible,
.match-sheet-submit-button:hover,
.match-sheet-submit-button:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.match-sheets-new-button > .fas {
  color: #fff
}

.document-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none
}

.document-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line)
}

.document-list li > .fas {
  margin-top: 3px;
  color: var(--red)
}

.document-list a,
.match-sheets-document-link {
  color: #172033;
  font-weight: 700;
  overflow-wrap: anywhere
}

.document-list a:hover,
.document-list a:focus-visible,
.match-sheets-document-link:hover,
.match-sheets-document-link:focus-visible {
  color: var(--red);
  text-decoration: underline
}

.match-sheets-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed #cbd2dc;
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 12px
}

.match-sheets-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff
}

.match-sheets-admin-table {
  width: 100%;
  border-collapse: collapse
}

.match-sheets-admin-table th,
.match-sheets-admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle
}

.match-sheets-admin-table th {
  background: #f7f9fc;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheets-admin-table tbody tr:last-child td {
  border-bottom: 0
}

.match-sheets-admin-table tbody tr:hover {
  background: #fff8f9
}

.match-sheets-document-link {
  display: inline-flex;
  align-items: center;
  gap: 9px
}

.match-sheets-document-link > .fas {
  color: var(--red)
}

.match-sheets-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px
}

.match-sheets-row-actions form {
  margin: 0
}

.match-sheets-action {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheets-action-edit {
  border-color: #237a57;
  background: #237a57
}

.match-sheets-action-delete {
  border-color: var(--red);
  background: var(--red)
}

.match-sheets-action-edit:hover,
.match-sheets-action-edit:focus-visible {
  border-color: #195d42;
  background: #195d42;
  color: #fff;
  outline: 3px solid rgba(35, 122, 87, .2);
  outline-offset: 2px
}

.match-sheets-action-delete:hover,
.match-sheets-action-delete:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.match-sheet-form-heading {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.match-sheet-form-card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.match-sheet-current-file {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafd;
  font-size: 12px
}

.match-sheet-current-file span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheet-current-file a {
  color: var(--red);
  font-weight: 700;
  overflow-wrap: anywhere
}

.match-sheet-form {
  display: grid;
  gap: 16px;
  margin: 0
}

.match-sheet-form .form-group {
  min-width: 0;
  margin: 0
}

.match-sheet-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheet-form input.form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none
}

.match-sheet-form input.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.match-sheet-form-error {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-size: 11px
}

.match-sheet-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line)
}

.match-sheet-cancel-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f4f6f8;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.match-sheet-cancel-button:hover,
.match-sheet-cancel-button:focus-visible {
  border-color: #c5cad1;
  background: #e9ebee;
  color: #172033
}

.match-sheet-submit-button {
  cursor: pointer
}

@media(max-width:680px) {
  .match-sheets-page,
  .match-sheets-admin-page,
  .match-sheet-form-page {
    padding: 20px 14px 32px
  }

  .match-sheets-heading,
  .match-sheets-admin-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px
  }

  .match-sheets-admin-heading h2,
  .match-sheets-heading h2,
  .match-sheet-form-heading h2 {
    font-size: 25px
  }

  .match-sheet-form-card {
    padding: 16px
  }

  .match-sheet-form-actions {
    align-items: stretch;
    flex-direction: column-reverse
  }

  .match-sheet-cancel-button,
  .match-sheet-submit-button,
  .match-sheets-new-button {
    width: 100%
  }

  .match-sheets-admin-table th,
  .match-sheets-admin-table td {
    padding: 10px 8px
  }

  .match-sheets-row-actions {
    align-items: flex-end;
    flex-direction: column
  }
}

.rules-page > hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid var(--line)
}

@media(max-width:680px) {
  .rules-page {
    padding: 20px 14px 30px
  }

  .rules-edit-page {
    padding: 20px 14px 32px
  }

  .rules-edit-card {
    padding: 16px
  }

  .rules-edit-card .cke_contents {
    height: 320px !important
  }

  .rules-edit-card form > input[type="submit"] {
    width: 100%
  }

  .rules-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px
  }

  .rules-page .rules-filters {
    width: 100%;
    max-width: none;
    min-width: 0
  }
}

.committee-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 26px 36px
}

.committee-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed #cbd2dc;
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 12px
}

.committee-group {
  min-width: 0
}

.committee-group-officers,
.committee-group-honorary,
.committee-group-general {
  grid-column: 1 / -1
}

.committee-group h4 {
  margin: 0 0 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: #172033;
  font-size: 13px;
  font-weight: 800
}

.committee-directory-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0
}

.committee-group-officers .committee-directory-list,
.committee-group-honorary .committee-directory-list,
.committee-group-general .committee-directory-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px
}

.committee-person {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line)
}

.committee-person dt {
  color: #526174;
  font-size: 11px;
  font-weight: 700
}

.committee-person dd {
  min-width: 0;
  margin: 0;
  color: #172033;
  font-size: 12px;
  overflow-wrap: anywhere
}

.committee-person dd strong {
  font-weight: 700
}

.committee-contact {
  display: grid;
  gap: 2px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px
}

.committee-contact a {
  color: var(--red);
  overflow-wrap: anywhere
}

.committee-contact a:hover,
.committee-contact a:focus-visible {
  text-decoration: underline
}

.committee-member-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 34px 48px
}

.committee-member-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700
}

.committee-member-back:hover,
.committee-member-back:focus-visible {
  color: var(--red);
  text-decoration: underline
}

.committee-member-heading {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.committee-member-heading p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.committee-member-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15
}

.committee-member-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.committee-member-form form {
  display: grid;
  gap: 16px;
  margin: 0
}

.committee-member-form .form-group {
  min-width: 0;
  margin: 0
}

.committee-member-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase
}

.committee-member-form .form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none
}

.committee-member-form .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.committee-member-form form .btn-primary {
  justify-self: end;
  min-height: 40px;
  margin-top: 2px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.committee-member-form form .btn-primary:hover,
.committee-member-form form .btn-primary:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

@media(max-width:680px) {
  .committee-page {
    padding: 20px 14px 30px
  }

  .committee-member-page {
    padding: 20px 14px 32px
  }

  .committee-member-form {
    padding: 16px
  }

  .committee-member-form form .btn-primary {
    width: 100%
  }

  .committee-page-header {
    margin-bottom: 22px
  }

  .committee-page-header h2 {
    font-size: 26px
  }

  .committee-directory {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .committee-group-officers,
  .committee-group-honorary,
  .committee-group-general {
    grid-column: auto
  }

  .committee-group-officers .committee-directory-list,
  .committee-group-honorary .committee-directory-list,
  .committee-group-general .committee-directory-list {
    grid-template-columns: 1fr
  }

  .committee-person {
    grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr);
    gap: 8px
  }

  .committee-roster-heading h3 {
    font-size: 16px
  }

  .committee-roster > tbody > tr > td,
  .committee-roster > tbody > tr > th {
    padding: 11px 10px
  }

  .committee-admin-roster .d-none.d-sm-table-cell {
    display: table-cell !important
  }

  .committee-admin-roster > tbody > tr > td {
    padding: 10px 7px
  }

  .committee-admin-roster > tbody > tr > th:nth-child(3),
  .committee-admin-roster > tbody > tr > th:nth-child(4),
  .committee-admin-roster > tbody > tr > td:nth-child(3),
  .committee-admin-roster > tbody > tr > td:nth-child(4) {
    width: 40px;
    padding-right: 3px;
    padding-left: 3px
  }

  .committee-roster:not(.committee-admin-roster) > tbody > tr > td:first-child {
    width: 42%
  }
}

.clubs-page-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15
}

.clubs-page-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px
}

.club-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700
}

.club-detail-back:hover,
.club-detail-back:focus-visible {
  color: var(--red);
  text-decoration: underline
}

.club-detail-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.club-detail-heading p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.club-detail-badge {
  display: grid;
  flex: none;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #fff0f3;
  color: var(--red);
  font-size: 15px;
  font-weight: 800
}

.club-detail-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15
}

.club-detail-website {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700
}

.club-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  align-items: start;
  gap: 18px
}

.club-detail-layout .clubs-map-section {
  margin: 0
}

.club-detail-layout #map {
  height: 480px
}

.club-detail-information {
  display: grid;
  gap: 14px;
  min-width: 0
}

.club-detail-section {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .04)
}

.club-detail-section h3 {
  margin: 0 0 11px;
  color: #172033;
  font-size: 13px;
  font-weight: 800
}

.club-detail-item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line)
}

.club-detail-section h3 + .club-detail-item {
  padding-top: 0;
  border-top: 0
}

.club-detail-item h4 {
  margin: 0 0 2px;
  color: #344054;
  font-size: 12px;
  font-weight: 700
}

.club-detail-item p {
  margin: 0;
  color: #526174;
  font-size: 11px;
  line-height: 1.45
}

.club-detail-item a {
  overflow-wrap: anywhere;
  color: #526174;
  font-size: 11px
}

.club-detail-item a:hover,
.club-detail-item a:focus-visible {
  color: var(--red);
  text-decoration: underline
}

.club-detail-item a .fas {
  width: 14px;
  color: var(--muted);
  text-align: center
}

.club-detail-map-empty,
.club-detail-empty {
  margin: 0;
  padding: 12px;
  color: var(--muted);
  font-size: 11px
}

.club-detail-map-empty {
  border-top: 1px solid var(--line);
  background: #f8fafd
}

.clubs-new-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.clubs-new-button:hover,
.clubs-new-button:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.clubs-map-section {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.clubs-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line)
}

.clubs-map-heading h3 {
  margin: 0;
  color: #172033;
  font-size: 13px;
  font-weight: 800
}

.clubs-map-heading > span {
  color: var(--red);
  font-size: 15px
}

#map {
  width: 100%;
  height: 390px;
  background: #e9eff2
}

#map.leaflet-container {
  font: inherit
}

.custom-map-attribution {
  padding: 4px 7px;
  background: rgba(255, 255, 255, .92);
  color: #526174;
  font-size: 10px
}

.custom-map-attribution a {
  color: #344f65;
  font-weight: 700
}

.shared-venue-marker {
  display: grid !important;
  box-sizing: border-box;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .45);
  text-align: center
}

.shared-venue-marker span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1
}

.clubs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff
}

.clubs-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0
}

.clubs-page .clubs-table th,
.clubs-page .clubs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top
}

.clubs-page .clubs-table th {
  background: #f7f9fc;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.clubs-table thead th {
  border-bottom: 1px solid #dce3eb;
  white-space: nowrap
}

.clubs-table tbody tr:nth-child(even) {
  background: #fbfcfd
}

.clubs-table tbody tr:last-child td {
  border-bottom: 0
}

.clubs-table tbody tr:hover {
  background: #fbfcfd
}

.clubs-table td:first-child {
  min-width: 145px;
  color: #172033;
  font-weight: 800
}

.clubs-table .club-name {
  font-size: 13px
}

.clubs-table .club-name-content {
  display: flex;
  align-items: center;
  gap: 10px
}

.clubs-table .club-name-badge {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  font-size: 11px
}

.clubs-table td:nth-child(2),
.clubs-table td:nth-child(3) {
  color: #526174
}

.clubs-table .club-detail-block {
  display: grid;
  gap: 2px;
  min-width: 0
}

.clubs-table .club-detail-block + .club-detail-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line)
}

.clubs-table .club-detail-block strong {
  color: #344054;
  font-size: 11px;
  font-weight: 700
}

.clubs-table .club-detail-block span,
.clubs-table .club-detail-block a {
  overflow-wrap: anywhere;
  color: #526174;
  font-size: 11px
}

.clubs-table .club-detail-block a:hover,
.clubs-table .club-detail-block a:focus-visible {
  color: var(--red);
  text-decoration: underline
}

.clubs-table .club-action-cell {
  width: 46px;
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
  vertical-align: middle
}

.clubs-table .btn {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border-radius: 4px
}

.clubs-page .clubs-table .club-action-button {
  border: 1px solid transparent;
  color: #fff;
  font-size: 12px;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease
}

.clubs-page .clubs-table .club-action-edit {
  border-color: #237a57;
  background: #237a57
}

.clubs-page .clubs-table .club-action-delete {
  border-color: var(--red);
  background: var(--red)
}

.clubs-page .clubs-table .club-action-edit:hover,
.clubs-page .clubs-table .club-action-edit:focus-visible {
  border-color: #195d42;
  background: #195d42;
  color: #fff;
  outline: 3px solid rgba(35, 122, 87, .2);
  outline-offset: 2px
}

.clubs-page .clubs-table .club-action-delete:hover,
.clubs-page .clubs-table .club-action-delete:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.club-delete-modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 24, 40, .22)
}

.club-delete-modal .modal-header {
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8f9fb
}

.club-delete-modal .modal-title {
  color: #172033;
  font-size: 15px;
  font-weight: 800
}

.club-delete-modal .close {
  color: var(--muted);
  opacity: 1
}

.club-delete-modal .modal-body {
  padding: 20px 18px
}

.club-delete-modal .modal-body h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
  font-weight: 800
}

.club-delete-modal .modal-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px
}

.club-delete-modal .modal-footer {
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: #fbfcfd
}

.club-delete-modal .modal-footer form {
  margin: 0
}

.club-delete-modal .modal-footer .btn {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.club-delete-modal .modal-footer .btn-secondary {
  border-color: #d5dbe3;
  background: #fff;
  color: #344054
}

.club-delete-modal .modal-footer .btn-danger {
  border-color: var(--red);
  background: var(--red)
}

@media(max-width:680px) {
  .club-detail-page {
    padding: 18px 14px 30px
  }

  .club-detail-heading {
    gap: 11px;
    margin-bottom: 16px
  }

  .club-detail-badge {
    width: 44px;
    height: 44px;
    font-size: 13px
  }

  .club-detail-heading h2 {
    font-size: 24px
  }

  .club-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px
  }

  .club-detail-layout #map {
    height: 340px
  }
}

.league-page {
  padding: 24px 34px 42px
}

.league-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.league-page-heading h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.15
}

.league-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px
}

.league-admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer
}

.league-admin-button-edit {
  border-color: #237a57;
  background: #237a57
}

.league-admin-button-delete {
  border-color: var(--red);
  background: var(--red)
}

.league-admin-button-edit:hover,
.league-admin-button-edit:focus-visible {
  border-color: #195d42;
  background: #195d42;
  color: #fff;
  outline: 3px solid rgba(35, 122, 87, .2);
  outline-offset: 2px
}

.league-admin-button-delete:hover,
.league-admin-button-delete:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.league-delete-modal .modal-footer form {
  margin: 0
}

.league-delete-modal .modal-footer .btn-secondary {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f4f5f6;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.league-delete-modal .modal-footer .btn-secondary:hover,
.league-delete-modal .modal-footer .btn-secondary:focus-visible {
  border-color: #c5cad1;
  background: #e9ebee;
  color: #172033;
  outline: 2px solid #b8c0ca;
  outline-offset: 2px
}

.league-delete-modal .league-delete-modal-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px
}

.league-delete-modal-icon {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fcebed;
  color: var(--red);
  font-size: 14px
}

.league-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px
}

.league-page .data-table-league {
  border-color: var(--line);
  background: #fff
}

.league-page table.data-table-league {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-spacing: 0
}

.league-page th.data-table-league {
  background: #f7f9fc;
  color: var(--muted);
  font-size: 14px;
  text-align: left
}

.league-page td.data-table-league,
.league-page th.data-table-league {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line)
}

.league-page td.data-table-league:nth-child(2) {
  color: #172033;
  font-weight: 700;
  text-align: left
}

.league-page td.data-table-league:last-child {
  color: var(--red);
  font-weight: 800
}

@media print {
  .league-page {
    padding: 0
  }

  .league-filters {
    display: none !important
  }
}

.fixture-page > h2 {
  margin: 0;
  padding: 0 2px 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.15
}

.fixture-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.fixture-page-heading h2 {
  margin: 0;
  padding: 0;
  color: #172033;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.15
}

.fixture-selection-summary {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600
}

.fixture-selection-summary span {
  margin: 0 5px;
  color: var(--red)
}

.public-fixture-page {
  padding-bottom: 48px
}

.public-result-card {
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.public-fixture-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px
}

.public-fixture-meta-item {
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: start;
  gap: 4px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8f9fb;
  color: inherit
}

.public-fixture-meta-item > span:first-child {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.public-fixture-meta-item strong {
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 12px;
  text-align: left
}

.public-fixture-event:hover strong,
.public-fixture-event:focus-visible strong {
  color: var(--red);
  text-decoration: underline
}

.public-match-score,
.public-upcoming-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .04)
}

.public-match-team {
  display: grid;
  gap: 6px;
  min-width: 0
}

.public-match-team > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase
}

.public-match-team > strong {
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 19px;
  line-height: 1.3
}

.public-match-team-away {
  text-align: right
}

.public-match-scoreline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 74px;
  padding: 10px 14px;
  border: 1px solid #f0c5cd;
  border-radius: 6px;
  background: #fff7f8;
  color: var(--red)
}

.public-match-scoreline strong {
  font-size: 34px;
  font-weight: 800;
  line-height: 1
}

.public-match-scoreline > span {
  color: #a4acb8;
  font-size: 20px;
  font-weight: 600
}

.public-upcoming-versus {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase
}

.public-scorecard-section {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .04)
}

.public-scorecard-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #172033
}

.public-scorecard-heading > span {
  color: var(--red);
  font-size: 14px
}

.public-scorecard-heading h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800
}

.public-scorecard-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(100%, 680px);
  max-width: 100%;
  margin: 0 auto;
  color: inherit;
  text-decoration: none
}

.public-scorecard-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8f9fb
}

.public-scorecard-view {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #d3dce6;
  border-radius: 4px;
  background: #f4f6f8;
  color: #344054;
  font-size: 11px;
  font-weight: 700
}

.public-scorecard-link:hover .public-scorecard-view,
.public-scorecard-link:focus-visible .public-scorecard-view {
  border-color: #aab8c8;
  background: #eaf0f6;
  color: var(--red)
}

.public-scorecard-link:focus-visible {
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 3px
}

.public-scorecard-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed #d3dbe5;
  border-radius: 5px;
  background: #f8fafd;
  color: var(--muted);
  font-size: 12px
}

.fixture-page > .btn-primary.btn-sm,
.league-page > .btn-primary.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.fixture-page > .btn-primary.btn-sm:hover,
.fixture-page > .btn-primary.btn-sm:focus-visible,
.league-page > .btn-primary.btn-sm:hover,
.league-page > .btn-primary.btn-sm:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .25);
  outline-offset: 2px
}

.post-page {
  padding: 24px 34px 42px
}

/*.post-article {
  max-width: 1050px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow)
}*/

.post-header {
  padding: 0px 0px 22px;
  border-bottom: 1px solid var(--line);
}

.post-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px
}

.post-eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.post-header h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.03em
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.post-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer
}

.post-actions .btn-success {
  border-color: #237a57;
  background: #237a57
}

.post-actions .btn-danger {
  border-color: var(--red);
  background: var(--red)
}

.post-actions .btn-success:hover,
.post-actions .btn-success:focus-visible {
  border-color: #195d42;
  background: #195d42;
  color: #fff;
  outline: 3px solid rgba(35, 122, 87, .2);
  outline-offset: 2px
}

.post-actions .btn-danger:hover,
.post-actions .btn-danger:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.post-updated {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-style: italic
}

.post-body {
  padding: 30px 0px 38px;
  color: #1f2a37;
  font-size: 15px;
  line-height: 1.8
}

.post-body > :first-child {
  margin-top: 0
}

.post-body > :last-child {
  margin-bottom: 0
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body table,
.post-body img,
.post-body iframe,
.post-body figure {
  margin: 0 0 1.2em
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  margin: 1.5em 0 .8em;
  color: #172033;
  line-height: 1.2
}

.post-body ul,
.post-body ol {
  padding-left: 1.2em
}

.post-body a {
  color: var(--red)
}

.post-body a:hover,
.post-body a:focus {
  color: #7f0010;
  text-decoration: underline
}

.post-body img,
.post-body iframe,
.post-body video,
.post-body table {
  max-width: 100%;
  border-radius: 10px
}

.post-body blockquote {
  padding: 12px 18px;
  border-left: 4px solid var(--red);
  background: #fff7f9;
  color: #3b485d;
  border-radius: 0 8px 8px 0
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line)
}

.post-body th,
.post-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left
}

.post-body th {
  background: #f8f9fb;
  font-weight: 800
}

.posts-page {
  padding: 24px 34px 42px
}

.new-post-page {
  padding-bottom: 48px
}

.new-post-page > .fixture-page-heading {
  margin-bottom: 18px
}

.edit-post-page {
  padding-bottom: 48px
}

.edit-post-page > .fixture-page-heading {
  margin-bottom: 18px
}

.new-post-form-card {
  max-width: 980px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow)
}

.new-post-form-card form {
  display: grid;
  gap: 16px;
  margin: 0
}

.new-post-form-card .form-group {
  min-width: 0;
  margin: 0
}

.new-post-form-card label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase
}

.new-post-form-card input.form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  color: var(--ink);
  font-size: 13px;
  box-shadow: none
}

.new-post-form-card input.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1)
}

.new-post-form-card .cke_chrome {
  width: 100% !important;
  overflow: hidden;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  box-shadow: none
}

.new-post-form-card .cke_top {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fc
}

.new-post-form-card .cke_contents {
  height: 360px !important
}

.new-post-form-card .cke_bottom {
  border-top: 1px solid var(--line);
  background: #fff
}

.new-post-form-card form > input[type="submit"] {
  justify-self: end;
  margin-top: 2px
}

.new-post-form-card form .btn-primary {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.new-post-form-card form .btn-primary:hover,
.new-post-form-card form .btn-primary:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.posts-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.posts-page-header h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.03em
}

.posts-page-title {
  display: grid;
  justify-items: start;
  gap: 12px
}

.season-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em
}

.season-selector select {
  min-width: 132px;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 700
}

.posts-page-title > .btn,
.posts-page .admin-inline-actions .btn,
.posts-page .modal-footer .btn:not(.btn-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer
}

.posts-page .btn-primary,
.posts-page .btn-danger {
  border-color: var(--red);
  background: var(--red)
}

.posts-page .btn-success {
  border-color: #237a57;
  background: #237a57
}

.posts-page .modal-footer .btn-secondary {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #344054
}

.posts-page .modal-footer .btn-secondary:hover,
.posts-page .modal-footer .btn-secondary:focus {
  border-color: #98a2b3;
  background: #e4e7ec;
  color: #101828
}

.posts-page .btn-primary:hover,
.posts-page .btn-primary:focus,
.posts-page .btn-danger:hover,
.posts-page .btn-danger:focus {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff
}

.posts-page .btn-success:hover,
.posts-page .btn-success:focus {
  border-color: #195d42;
  background: #195d42;
  color: #fff
}

.post-delete-modal .modal-header {
  background: #fff8f8
}

.post-delete-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px
}

.post-delete-heading > .fas {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fcebed;
  color: var(--red);
  font-size: 13px
}

.post-delete-modal .modal-footer form {
  margin: 0
}

.post-delete-modal .modal-footer .btn-danger {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase
}

.post-delete-modal .modal-footer .btn-danger:hover,
.post-delete-modal .modal-footer .btn-danger:focus-visible {
  border-color: var(--red2);
  background: var(--red2);
  color: #fff;
  outline: 3px solid rgba(200, 16, 46, .2);
  outline-offset: 2px
}

.posts-list {
  display: grid;
  gap: 18px
}

.post-summary-card {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow)
}

.post-summary-content {
  flex: 1;
  padding: 22px 22px 18px;
}

.post-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em
}

.post-summary-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px
}

.post-summary-card h3 {
  margin: 12px 0 10px;
  color: #172033;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -.02em
}

.post-summary-card h3 a {
  color: #172033
}

.post-summary-card h3 a:hover,
.post-summary-card h3 a:focus {
  color: var(--red);
  text-decoration: none
}

.post-summary-card p {
  margin: 0;
  color: #4d5d73;
  font-size: 14px;
  line-height: 1.7
}

.post-summary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line)
}

.read-more-link {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em
}

.read-more-link:hover,
.read-more-link:focus {
  color: #7f0010;
  text-decoration: none
}

.admin-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.posts-past-seasons {
  margin-top: 18px
}

.posts-past-seasons a {
  color: var(--red);
  font-weight: 700
}

.posts-past-seasons a:hover,
.posts-past-seasons a:focus {
  color: #7f0010;
  text-decoration: underline
}

@media(max-width:680px) {
  .new-post-form-card {
    padding: 16px
  }

  .new-post-form-card .cke_contents {
    height: 300px !important
  }

  .new-post-form-card form > input[type="submit"] {
    width: 100%
  }

  .posts-page {
    padding: 18px 14px 30px
  }

  .posts-page-header {
    align-items: flex-start;
    flex-direction: column
  }

  .season-selector {
    width: 100%;
    justify-content: space-between
  }

  .season-selector select {
    flex: 1;
    max-width: 220px
  }

  .post-summary-actions {
    flex-direction: column;
    align-items: flex-start
  }

  .admin-inline-actions {
    width: 100%
  }

  .admin-inline-actions .btn {
    flex: 1 1 auto;
    justify-content: center
  }
  .post-page {
    padding: 18px 14px 30px
  }

  .post-header,
  .post-body {
    padding-left: 18px;
    padding-right: 18px
  }

  .post-header-row {
    flex-direction: column
  }

  .post-actions {
    width: 100%
  }

  .post-actions .btn {
    flex: 1 1 auto;
    justify-content: center
  }

  .post-meta {
    gap: 10px 16px;
    font-size: 11px
  }
}

.print-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #efaeb8;
  border-radius: 5px;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800
}

.print-action:hover,
.print-action:focus {
  background: #fff0f3;
  outline: 0
}

.fixture-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 12px;
  padding: 11px 13px;
  border: 1px solid #dbe7f8;
  border-radius: 7px;
  background: #f3f7fd;
  color: #35628f;
  font-size: 14px
}

.fixture-notice span:last-child {
  display: grid;
  gap: 2px
}

.fixture-notice small {
  color: #56708c;
  font-size: 11px
}

.fixture-empty-state {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid #dbe7f8;
  border-radius: 10px;
  background: linear-gradient(180deg, #f3f7fd 0%, #f8fbff 100%);
  color: #29557d;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .04)
}

.fixture-empty-state > span {
  margin-top: 2px;
  color: var(--red);
  font-size: 18px
}

.fixture-empty-state > div {
  display: grid;
  gap: 6px;
  min-width: 0
}

.fixture-empty-state strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.4
}

.fixture-empty-state p {
  margin: 0;
  color: #4d5d73;
  font-size: 13px;
  line-height: 1.6
}

.fixture-empty-state a {
  color: var(--red);
  font-weight: 700
}

.fixture-empty-state a:hover,
.fixture-empty-state a:focus {
  color: #7f0010;
  text-decoration: underline
}

.fixture-list {
  margin: 18px 0 0
}

@media(max-width:680px) {
  .public-result-card {
    padding: 12px 14px
  }

  .public-fixture-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px
  }

  .public-fixture-meta-item {
    padding: 9px 11px
  }

  .public-match-score,
  .public-upcoming-match {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px
  }

  .public-match-team-away {
    text-align: left
  }

  .public-match-scoreline {
    grid-row: 2;
    justify-self: center;
    width: min(100%, 240px)
  }

  .public-upcoming-versus {
    min-height: 0
  }
}

@media print {
  body {
    background: #fff
  }

  .header,
  .hero,
  .footer,
  .fixture-filters,
  .fixture-notice,
  .print-action,
  .fixture-admin-actions,
  .fixture-delete-modal,
  .mobile,
  .admin {
    display: none !important
  }

  .container,
  .site-frame,
  main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0
  }

  .fixture-page-heading h2 {
    padding: 0 0 16px;
    font-size: 22px
  }

  .fixture-list {
    margin-top: 0
  }
}

.fixture-list .fixture {
  color: #172033;
  text-decoration: none
}

.fixture-list .fixture:hover {
  background: #fff8f9;
  text-decoration: none
}

.field label {
  display: block;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px
}

.field select {
  width: 100%;
  height: 38px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #fff;
  padding: 0 9px
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-top: 20px
}

.tab {
  border: 0;
  background: none;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  position: relative
}

.tab.active {
  color: var(--red)
}

.tab.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--red)
}

.fixture {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr) 72px minmax(0, 1fr) 130px 100px;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 13px
}

.fixture:first-child {
  border-top: 1px solid var(--line);
  border-radius: 10px 10px 0 0
}

.fixture:last-child {
  border-radius: 0 0 10px 10px
}

.date b {
  display: block;
  color: var(--red);
  font-size: 13px
}

.date small,
.venue {
  font-size: 10px;
  color: var(--muted)
}

.team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  font-weight: 800;
  white-space: nowrap
}

.team.away {
  text-align: left
}

.vs {
  justify-self: center;
  background: var(--red);
  color: #fff;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800
}

.result-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: center;
  padding: 0 4px;
  font-weight: 800;
  white-space: nowrap
}

.result-score b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 12px
}

.result-score i {
  color: var(--muted);
  font-style: normal
}

.small {
  font-size: 9px;
  color: var(--red);
  border: 1px solid #efaeb8;
  background: #fff;
  padding: 7px;
  border-radius: 5px;
  font-weight: 800
}

.fixture-admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px
}

.fixture-admin-action {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid #efaeb8;
  border-radius: 5px;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-size: 11px
}

.fixture-admin-action:hover,
.fixture-admin-action:focus {
  background: #fff0f3;
  color: var(--red);
  text-decoration: none
}

.fixture-admin-row .modal {
  position: fixed
}

.fixture-delete-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 32, 51, .45)
}

.fixture-delete-modal.is-open {
  display: flex
}

.fixture-delete-modal .modal-dialog {
  width: min(100%, 430px)
}

.fixture-delete-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(23, 32, 51, .25)
}

.fixture-delete-modal .modal-header,
.fixture-delete-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line)
}

.fixture-delete-modal .modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0
}

.fixture-delete-modal .modal-title,
.fixture-delete-modal .modal-body h3 {
  margin: 0;
  color: #172033;
  font-size: 16px
}

.fixture-delete-modal .modal-body {
  padding: 16px
}

.fixture-delete-modal .modal-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px
}

.fixture-delete-modal .close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff
}

.table th,
.table td {
  padding: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-align: center
}

.table th {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  background: #fafbfc
}

.table th:first-child,
.table td:first-child {
  text-align: left
}

.table .leader {
  color: var(--red);
  font-weight: 800
}

.matchscore {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 20px
}

.matchscore strong {
  font-size: 34px;
  color: var(--red)
}

.scoregrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.scoreline {
  display: grid;
  grid-template-columns: 1fr 70px 70px;
  border-bottom: 1px solid var(--line);
  padding: 9px;
  font-size: 12px
}

.scoreline:last-child {
  border: 0
}

.scoreline span:not(:first-child) {
  text-align: center;
  font-weight: 700
}

@media(max-width:950px) {

  .nav,
  .admin-menu,
  .admin,
  .account {
    display: none
  }

  .mobile {
    display: block
  }

  .brand {
    min-width: 0;
    flex: 1
  }

  .head {
    position: relative;
    flex-wrap: wrap;
    height: 72px;
    gap: 0 12px;
    padding: 0 16px
  }

  .mobile {
    margin-left: auto;
    padding: 10px;
    order: 1
  }

  .header.mobile-open {
    height: auto
  }

  .header.mobile-open .head {
    height: auto;
    padding-bottom: 12px
  }

  .header.mobile-open .nav {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    order: 2
  }

  .header.mobile-open .mobile-nav-heading {
    display: block;
    padding: 8px 4px 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
  }

  .header.mobile-open .nav a {
    padding: 9px 4px;
    border-top: 1px solid var(--line)
  }

  .header.mobile-open .nav a.active::after {
    display: none
  }

  .header.mobile-open .nav a.active {
    color: var(--red)
  }

  .header.mobile-open .admin-menu {
    display: block;
    flex: 0 0 100%;
    order: 3;
    padding: 7px 0;
    border-top: 1px solid var(--line)
  }

  .header.mobile-open .admin-menu summary {
    width: 100%;
    padding: 8px 4px;
    border: 0
  }

  .header.mobile-open .admin-menu-panel {
    position: static;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none
  }

  .header.mobile-open .account,
  .header.mobile-open .admin-login {
    display: flex;
    flex: 0 0 100%;
    order: 4;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0
  }

  .header.mobile-open .admin-login {
    display: inline-flex
  }

  .header {
    height: 72px
  }

  .hero-inner {
    padding: 45px 20px
  }

  .hero h1 {
    font-size: 35px
  }

  .grid4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:680px) {
  .clubs-page {
    padding: 18px 14px 30px
  }

  .clubs-page-heading {
    align-items: flex-start
  }

  .clubs-page-heading h2 {
    font-size: 25px
  }

  .clubs-page-heading p {
    max-width: 230px;
    line-height: 1.4
  }

  .clubs-new-button {
    flex: none
  }

  #map {
    height: 320px
  }

  .clubs-table th,
  .clubs-table td {
    padding: 10px;
    font-size: 11px
  }

  .hero-inner {
    display: block
  }

  .hero h1 {
    font-size: 31px
  }

  .count {
    margin-top: 25px;
    width: 100%;
    min-height: 0
  }

  .stats {
    margin: -22px 16px 0;
    grid-template-columns: repeat(2, 1fr)
  }

  .stat {
    border: 0;
    border-bottom: 1px solid var(--line)
  }

  .grid4,
  .grid3,
  .grid2,
  .scoregrid,
  .latest-news-grid {
    grid-template-columns: 1fr
  }

  .filters {
    grid-template-columns: 1fr 1fr
  }

  .fixture {
    grid-template-columns: 50px minmax(0, 1fr) 68px minmax(0, 1fr)
  }

  .venue,
  .fixture .small {
    display: none
  }

  .foot {
    grid-template-columns: 1fr
  }

  .bottom {
    flex-direction: column;
    gap: 4px
  }
}
