@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
/* Player app base: tokens, typography, sidebar shell, hero, search, club and match cards. */
:root {
  --ink: #193c32;
  --muted: #7c867d;
  --lime: #d7ee8b;
  --paper: #f6f7f1;
  --line: #e3e7dd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #95b746;
  outline-offset: 4px;
}
button {
  color: inherit;
}
button svg {
  pointer-events: none;
}
svg {
  vertical-align: middle;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: Manrope, sans-serif;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  padding: 36px 25px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.brand {
  font-weight: 800;
  letter-spacing: -1.2px;
  font-size: 23px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand small {
  display: block;
  letter-spacing: 3px;
  font-size: 9px;
  margin-top: 2px;
}
aside nav {
  display: grid;
  gap: 9px;
  margin-top: 55px;
}
.nav-item {
  padding: 15px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  color: #7b847c;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.nav-item.active {
  background: var(--ink);
  color: var(--lime);
}
.side-bottom {
  margin-top: auto;
}
.side-note {
  background: #f0f4e7;
  padding: 20px 16px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.side-note b {
  font-size: 14px;
  display: block;
  margin: 12px 0 5px;
}
.profile-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  width: 100%;
  text-align: left;
}
.avatar {
  border-radius: 50%;
  background: #e4c6b2;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #5c4031;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
}
.profile-mini span:last-child {
  margin-left: auto;
}
.profile-mini small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
main {
  margin-left: 236px;
  padding: 0 48px 45px;
  max-width: 1700px;
}
.topbar {
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.location {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.location small {
  color: var(--muted);
  display: block;
  font-size: 10px;
  margin-bottom: 4px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.demo-tag {
  font-size: 10px;
  border: 1px solid #dce3cf;
  border-radius: 20px;
  padding: 7px 11px;
  color: #6e7c60;
}
.icon-btn {
  width: 39px;
  height: 39px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #d8a462;
  border-radius: 50%;
  right: 10px;
  top: 7px;
}
.welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 35px 0 25px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.welcome h1 {
  font-size: 32px;
  letter-spacing: -1.3px;
  margin: 7px 0;
}
.sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.date-label {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 7px;
}
.hero {
  background: #173f33;
  border-radius: 21px;
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 265px;
  padding: 35px 37px;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 55%;
}
.hero .eyebrow {
  color: var(--lime);
  font-size: 9px;
}
.hero h2 {
  font-size: 39px;
  letter-spacing: -1.8px;
  line-height: 1.17;
  margin: 14px 0;
}
.hero h2 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  font-size: 12px;
  color: #b7c9bd;
  max-width: 300px;
  line-height: 1.7;
}
.primary {
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  gap: 17px;
  align-items: center;
}
.hero .primary {
  margin-top: 21px;
}
.court-art {
  position: absolute;
  right: -5%;
  top: -30%;
  width: 62%;
  height: 170%;
  transform: rotate(-22deg);
  opacity: 0.85;
}
.court-field {
  position: absolute;
  inset: 23% 16%;
  background: #62866a;
  border: 2px solid #b2c99c;
  box-shadow:
    0 0 0 18px #315d47,
    0 0 0 19px #749174,
    0 0 0 50px #234e3d;
}
.court-field:before {
  content: '';
  position: absolute;
  inset: 23% 0;
  border-top: 2px solid #b2c99c;
  border-bottom: 2px solid #b2c99c;
  background: linear-gradient(
    90deg,
    transparent 49.5%,
    #b2c99c 49.5%,
    #b2c99c 50.5%,
    transparent 50.5%
  );
}
.net {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #d4dece 0 1px, transparent 1px 5px);
  border-top: 2px solid #e5ecdf;
  box-shadow: 0 7px 5px #153c32;
}
.ball {
  width: 24px;
  height: 24px;
  background: #e3f28e;
  border-radius: 50%;
  position: absolute;
  right: 18%;
  top: 45%;
  box-shadow: 7px 12px 9px #193d3280;
}
.ball:after {
  content: '';
  position: absolute;
  inset: 3px;
  border-left: 1px solid #889e48;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.hero-badge {
  position: absolute;
  right: 22px;
  bottom: 19px;
  color: #c9d9ca;
  font-size: 8px;
  letter-spacing: 2px;
}
.quick-search {
  display: flex;
  margin: 24px 0 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  gap: 8px;
}
.search-cell {
  padding: 2px 17px;
  border-right: 1px solid var(--line);
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-cell label {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.search-cell select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  max-width: 150px;
  width: 100%;
  outline: none;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
.section-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.text-btn {
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chips {
  display: flex;
  gap: 7px;
  overflow: auto;
  margin: 0 0 20px;
  scrollbar-width: none;
}
.chip {
  border: 1px solid var(--line);
  white-space: nowrap;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 11px;
  background: white;
}
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.club-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.club-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.club-image {
  height: 146px;
  position: relative;
  overflow: hidden;
  background: #afbd9e;
}
.club-image .mini-court {
  position: absolute;
  width: 62%;
  height: 180%;
  background: #7295a0;
  left: 27%;
  top: 9%;
  border: 2px solid #e4e6cd;
  transform: perspective(350px) rotateX(37deg) rotateZ(-24deg);
  box-shadow:
    0 0 0 14px #6e8a69,
    0 0 0 15px #dde6cd,
    0 0 0 45px #7f986c;
}
.mini-court:before {
  content: '';
  position: absolute;
  inset: 25% 0;
  border-top: 2px solid #e4e6cd;
  border-bottom: 2px solid #e4e6cd;
  background: linear-gradient(90deg, transparent 49%, #e4e6cd 49%, #e4e6cd 50%, transparent 50%);
}
.mini-court:after {
  content: '';
  position: absolute;
  top: 50%;
  height: 6px;
  background: #263e39;
  width: 100%;
  border-top: 2px solid white;
}
.club-image.clay {
  background: #bab09c;
}
.clay .mini-court {
  background: #bb8064;
  box-shadow:
    0 0 0 14px #c2a88c,
    0 0 0 15px #ede0c9,
    0 0 0 45px #9da98a;
}
.club-image.night {
  background: #1d3d3d;
}
.night .mini-court {
  background: #477e82;
  box-shadow:
    0 0 0 14px #365e4d,
    0 0 0 15px #9aaf9c,
    0 0 0 45px #2d5145;
}
.image-label {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ffffffed;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
}
.favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 29px;
  height: 29px;
  background: #fff;
  border-radius: 50%;
  font-size: 19px;
}
.favorite.saved {
  color: #b95f45;
}
.club-body {
  padding: 16px;
}
.club-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.club-title h3 {
  font-size: 13px;
  letter-spacing: -0.3px;
}
.rating {
  font-size: 10px;
}
.rating b {
  color: #b99a4a;
}
.club-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.club-bottom {
  border-top: 1px solid #edf0e8;
  padding-top: 13px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price {
  font-size: 16px;
  font-weight: 700;
}
.price small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.slot {
  background: #eff4e6;
  padding: 8px 10px;
  border: 1px solid #dae5c4;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}
.matches-section {
  margin-top: 32px;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.match {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 19px;
}
.match-top,
.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.match-top b {
  font-size: 13px;
}
.level {
  font-size: 9px;
  background: #f0f4e5;
  border-radius: 5px;
  padding: 5px 7px;
}
.match h3 {
  font-size: 12px;
  margin: 13px 0 6px;
}
.match p {
  font-size: 10px;
  color: var(--muted);
}
.match-footer {
  border-top: 1px solid #edf0e8;
  margin-top: 17px;
  padding-top: 14px;
}
.players {
  display: flex;
  align-items: center;
}
.players .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  margin-right: -5px;
  border: 2px solid white;
}
.players .avatar:nth-child(2) {
  background: #d3ddc2;
  color: #4f664d;
}
.players .avatar:nth-child(3) {
  background: #d5d8e9;
  color: #4e5876;
}
.players .empty {
  border: 1px dashed #b5bea8;
  background: white;
  color: #7b8c61;
  margin-left: 5px;
}
.spots {
  font-size: 9px;
  color: var(--muted);
  margin-left: 13px;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9ba292;
  margin-top: 34px;
}

:root{--ink:#123e2e;--lime:#d8ef73}
.brand-logo{display:block;object-fit:contain;flex-shrink:0;background:#063b2b;border-radius:9px}
.brand .brand-logo{width:70px;height:50px}.brand .brand-name{font-size:17px;letter-spacing:-.5px;white-space:nowrap}.brand .brand-name small{font-size:7px;letter-spacing:1.2px}
.access-brand img.brand-logo{width:88px;height:63px}.access-page>.access-brand{flex-direction:column;margin-inline:auto;gap:10px;font-size:19px;letter-spacing:0}.access-page>.access-brand img.brand-logo{width:160px;height:114px;border-radius:15px}.access-page .access-card{margin-top:32px}
.owner-top .access-brand img.brand-logo,.admin-brand img.brand-logo{width:66px;height:47px}.owner-top .access-brand{font-size:17px}.admin-brand{font-size:17px}
@media(min-width:601px) and (max-width:850px){aside .brand .brand-logo{width:48px;height:35px}}
@media(max-width:600px){.mobile-brand .brand-logo{width:58px;height:42px}.mobile-brand .brand-name{font-size:12px;letter-spacing:-.2px}.mobile-brand .brand-name small{font-size:6px;letter-spacing:.6px}.mobile-brand{gap:7px}.topbar .location{max-width:110px}.access-page>.access-brand img.brand-logo{width:132px;height:94px}.access-page .access-card{margin-top:25px}.owner-top .access-brand img.brand-logo,.admin-brand img.brand-logo{width:58px;height:42px}.owner-top .access-brand,.admin-brand{font-size:14px}}
