:root {
  --bg: #206b70;
  --dark: #0c2728;
  --deep: #113d40;
  --line: rgba(238, 248, 244, 0.23);
  --muted: #c3dbd8;
  --mint: #c2edb1;
  --blue: #078fe1;
  --paper: #e9eeea;
  --ink: #123334;
  --green: #0daf85;
  --radius: 22px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #f7faf7;
  background: var(--bg);
  font-synthesis: none;
}
[hidden] { display: none !important; }
.site-header nav a.nav-active { color: var(--mint); font-weight: 700; box-shadow: inset 0 -2px var(--mint); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 4px; }
.legal-page { max-width: 860px; }
.legal-page h2 { margin-top: 36px; font-size: 24px; }
.legal-page p { line-height: 1.8; }
.terms-acceptance { margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.django-form .terms-acceptance label { display: flex; align-items: flex-start; gap: 12px; }
.terms-acceptance input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--mint); }
.terms-acceptance a { text-decoration: underline; text-underline-offset: 3px; }
.terms-acceptance .fine-print { margin: 12px 0 0; }
.payment-policy-summary { border-left: 3px solid var(--mint); padding: 12px 18px; margin: 20px 0; background: var(--deep); border-radius: 0 12px 12px 0; }
.payment-policy-summary p { margin: 0; }
.payment-modal { width: min(620px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: var(--deep); color: var(--paper); box-shadow: 0 30px 100px #0006; }
.payment-modal::backdrop { background: #061e20ba; backdrop-filter: blur(4px); }
.modal-close { float: right; background: transparent; border: 0; color: var(--paper); min-width: 36px; min-height: 36px; font-size: 22px; }
.payment-modal h2 { margin: 16px 0 24px; }
.payment-conditions p { line-height: 1.65; }
.payment-modal .text-button { display: block; margin: 18px auto 0; }
.payment-modal [data-payment-countdown] { min-height: 40px; margin-top: 20px; }
.payment-modal [data-payment-accept]:disabled { opacity: .45; }
.explore-map-panel { padding: 26px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--deep); }
.map-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.map-heading h3 { margin: 10px 0 16px; font-size: 30px; }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.map-consent { min-height: 340px; display: grid; place-items: center; padding: 32px; text-align: center; border-radius: 16px; border: 1px solid var(--line); background: repeating-linear-gradient(35deg, transparent 0 58px, #c2edb10b 58px 61px), var(--dark); }
.map-consent > div { max-width: 520px; }
.map-consent p { color: var(--muted); }
.map-consent a { display: block; margin-top: 16px; font-size: 12px; }
.map-placeholder-icon { display: block; font-size: 44px; color: var(--mint); margin-bottom: 12px; }
.explore-map { height: 420px; width: 100%; border-radius: 16px; background: #dce5d9; z-index: 0; }
.map-caption { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; font-size: 11px; margin-top: 12px; color: var(--muted); }
.map-price-marker { background: none; border: 0; }
.map-price-badge { display: inline-block; white-space: nowrap; background: var(--paper); color: var(--ink); border: 2px solid var(--bg); border-radius: 18px; padding: 6px 12px; box-shadow: 0 3px 12px #0003; font-size: 12px; font-weight: 700; }
.map-court-popup a { font-weight: 700; color: #206b70; text-decoration: underline; }
.map-court-popup p { color: #123334; font-size: 12px; }
.explore-map .leaflet-control-attribution a { color: #145e70; }
.court-distance { color: var(--mint); font-size: 12px; }
@media (max-width: 700px) {
  .payment-modal { padding: 24px 20px; }
  .explore-map-panel { padding: 18px; }
  .explore-map { height: 340px; }
  .map-consent { padding: 22px 16px; }
  .map-actions .button { padding: 10px 12px; }
  .site-footer { flex-wrap: wrap; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 650;
}
h2 {
  font-size: 30px;
  font-weight: 620;
}
h3 {
  font-size: 21px;
  font-weight: 620;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
}
a,
button {
  touch-action: manipulation;
}
a:hover {
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}
label {
  display: block;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--deep);
  color: white;
  padding: 14px 16px;
  margin-top: 6px;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  accent-color: var(--green);
  margin-right: 6px;
}
input[type="date"] {
  color-scheme: dark;
}
input::placeholder,
textarea::placeholder {
  color: #afc6c4;
}
select option {
  background: var(--deep);
}
textarea {
  resize: vertical;
}
form {
  margin: 0;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 44px;
  padding-right: 44px;
}
.padded {
  padding-top: 50px;
  padding-bottom: 80px;
}
.narrow {
  max-width: 700px;
  margin: auto;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 650;
  text-transform: uppercase;
}
.mint {
  color: var(--mint);
}
.muted {
  color: var(--muted);
}
.fine-print {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 20px 0;
}
.center {
  text-align: center;
}
.underlined {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.back:hover {
  color: white;
}
.page-title {
  margin: 15px 0 22px;
}
.page-title span {
  color: var(--mint);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  color: black;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 50px;
  min-height: 50px;
  padding: 13px 25px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.button.primary {
  background: var(--blue);
  color: white;
}
.button.light {
  background: var(--mint);
  color: var(--ink);
}
.button.outline {
  background: transparent;
  border-color: var(--line);
  color: inherit;
}
.button.small {
  min-height: 38px;
  padding: 8px 17px;
  font-size: 13px;
}
.button.full {
  width: 100%;
  justify-content: space-between;
}
.button.danger {
  background: #f4ccc4;
  color: #5c211a;
}
.text-button {
  border: 0;
  background: none;
  color: inherit;
  padding: 5px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 10px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1240px;
  margin: auto;
  padding: 24px 44px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.2em;
  margin-top: 5px;
  font-weight: 500;
}
.brand-light {
  font-weight: 350;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.site-header nav a {
  padding: 8px 0;
  color: var(--muted);
}
.site-header nav a:hover {
  color: white;
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 650;
}
.demo-strip {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: #c6e0d5;
  font-size: 9px;
  letter-spacing: 0.07em;
}
.demo-strip > div {
  display: flex;
  gap: 20px;
}
.demo-strip button {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 10px;
  text-decoration: underline;
  white-space: nowrap;
  padding: 4px 0;
}
.messages {
  max-width: 1152px;
  margin: 12px auto;
}
.message {
  border-radius: 10px;
  padding: 14px 18px;
  background: var(--mint);
  color: var(--ink);
  font-size: 14px;
  margin: 8px 0;
}
.message.error {
  background: #f4ccc4;
  color: #5c211a;
}
.site-footer {
  max-width: 1152px;
  margin: auto;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 11px;
}
.brand-footer {
  font-size: 20px;
  font-weight: 650;
  color: white;
  letter-spacing: -0.04em;
}
.brand-footer span {
  font-size: 10px;
  vertical-align: top;
  margin-left: 3px;
}
.site-footer p {
  margin: 0;
}
.site-footer > span {
  margin-left: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 55px;
  padding-top: 40px;
  padding-bottom: 64px;
}
.hero-copy {
  padding: 22px 0;
}
.hero h1 {
  font-size: clamp(60px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin: 24px 0;
}
.hero h1 span {
  color: var(--mint);
}
.hero p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 26px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 8px;
  vertical-align: middle;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-ball {
  font-size: 22px;
  color: var(--mint);
}
.hero-visual {
  position: relative;
  min-height: 520px;
  isolation: isolate;
  border-radius: 120px 24px 24px 24px;
  overflow: hidden;
  background: var(--deep);
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(3, 23, 24, 0.83));
  z-index: -0;
}
.hero-photo-label {
  position: absolute;
  bottom: 34px;
  left: 34px;
  right: 32px;
  z-index: 1;
}
.hero-photo-label > span:first-child {
  font-size: 10px;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}
.hero-photo-label strong {
  font-size: 37px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 550;
}
.circle-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--ink);
  font-size: 26px;
}
.hero-vertical {
  position: absolute;
  right: 18px;
  top: 30px;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: white;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  margin: 12px 0 0;
  font-size: 36px;
}
.section-heading .muted {
  font-size: 13px;
}
.section-heading.compact {
  margin-top: 40px;
  align-items: center;
}
.section-heading.compact h2 {
  font-size: 25px;
  margin: 0;
}
.search-form {
  display: grid;
  grid-template-columns: 1.8fr 1fr auto;
  gap: 20px;
  background: var(--paper);
  color: var(--ink);
  padding: 16px 18px;
  border-radius: 18px;
  align-items: center;
}
.search-form label {
  border-right: 1px solid #c8d3cc;
  padding-left: 9px;
}
.search-form label > span {
  font-size: 11px;
  font-weight: 700;
}
.search-form input,
.search-form select {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 3px 0;
  font-size: 14px;
  margin: 0;
}
.search-form input::placeholder {
  color: #637d75;
}
.search-form select option {
  color: var(--ink);
  background: var(--paper);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
}
.chip {
  font-size: 12px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 30px;
  white-space: nowrap;
}
.chip.active {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}
.result-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.court-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.court-card {
  min-width: 0;
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  color: var(--ink);
}
.card-photo {
  height: 235px;
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--deep);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.court-card:hover .card-photo img {
  transform: scale(1.035);
}
.sport-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 30px;
  padding: 7px 12px;
  background: #f3f4e8;
  color: #163e38;
  font-size: 10px;
  font-weight: 600;
}
.card-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: #f4f6e8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.card-body {
  padding: 22px;
}
.card-body .eyebrow {
  font-size: 9px;
  color: #62786e;
}
.card-body h3 {
  margin: 9px 0;
  font-size: 23px;
}
.card-body p {
  color: #63756e;
  font-size: 12px;
  margin: 0 0 22px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #cbd5ce;
  padding-top: 15px;
  font-size: 11px;
}
.card-bottom strong {
  font-size: 19px;
  letter-spacing: -0.04em;
}
.rating {
  font-size: 11px;
}
.how {
  padding-top: 72px;
  padding-bottom: 65px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 30px;
}
.steps > div {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.steps span {
  font-size: 13px;
  color: var(--mint);
}
.steps h3 {
  margin: 18px 0 12px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  max-width: 250px;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  padding: 48px 24px;
  text-align: center;
  border-radius: 20px;
}
.empty-state > span {
  font-size: 40px;
}
.empty-state p {
  color: var(--muted);
}
.auth-page {
  background: var(--dark);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 65px;
  padding-bottom: 80px;
  min-height: 75vh;
}
.auth-story {
  padding-top: 20px;
}
.auth-story h1 {
  font-size: 64px;
  line-height: 1.04;
  margin-top: 30px;
}
.auth-story h1 span {
  color: var(--mint);
}
.auth-story p {
  color: var(--muted);
}
.line-court {
  border: 1px solid #406360;
  height: 180px;
  width: 80%;
  position: relative;
  margin: 40px 0;
}
.line-court:before {
  content: "";
  position: absolute;
  left: 50%;
  height: 100%;
  border-left: 1px solid #406360;
}
.line-court:after {
  content: "";
  position: absolute;
  left: calc(50% - 38px);
  top: calc(50% - 38px);
  width: 76px;
  height: 76px;
  border: 1px solid #406360;
  border-radius: 50%;
}
.line-court > div {
  border: 1px solid #406360;
  height: 80px;
  width: 35px;
  position: absolute;
  left: -1px;
  top: 49px;
}
.auth-card {
  max-width: 470px;
  width: 100%;
}
.auth-card h2 {
  font-size: 38px;
  margin-bottom: 14px;
}
.auth-card form label {
  font-size: 12px;
  margin: 20px 0;
}
.auth-card input {
  background: #091f20;
  border: 0;
  border-radius: 18px;
  padding: 17px 18px;
}
.auth-card .forgot {
  display: block;
  text-align: right;
  font-size: 12px;
  margin: 18px 0 28px;
}
.auth-divider {
  text-align: center;
  font-size: 12px;
  margin: 28px 0 16px;
  color: var(--muted);
}
.auth-card .fine-print {
  text-align: center;
}
.auth-card .center {
  margin-top: 25px;
  font-size: 13px;
}
.auth-card .helptext {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.auth-card ul {
  font-size: 10px;
  color: var(--muted);
  padding-left: 18px;
}
.auth-card .errorlist {
  color: #ffcfc4;
  font-size: 13px;
}
.standalone {
  margin: 70px auto;
  padding: 20px;
}
.django-form p {
  margin-bottom: 20px;
}
.django-form label {
  font-size: 13px;
}
.django-form ul.errorlist {
  background: #f4ccc4;
  color: #5c211a;
  padding: 12px 24px;
  border-radius: 8px;
  list-style: none;
  font-size: 13px;
}
.django-form p:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.django-form .helptext {
  font-size: 11px;
  color: var(--muted);
}
.court-detail {
  padding-top: 28px;
  padding-bottom: 60px;
}
.court-gallery {
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}
.court-carousel-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.court-carousel-track::-webkit-scrollbar { display: none; }
.court-carousel-track:focus-visible { outline: 3px solid var(--mint); outline-offset: -4px; }
.court-carousel-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.court-carousel-slide { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.court-carousel-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #0c2728cc; color: var(--paper); font-size: 34px; line-height: 1; display: grid; place-items: center; }
.carousel-arrow.previous { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-arrow:hover { background: var(--dark); }
.carousel-arrow:focus-visible, .carousel-dots button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.carousel-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 0 4px; border-radius: 22px; background: #0c2728bd; }
.carousel-dots button { width: 32px; height: 32px; display: grid; place-items: center; background: transparent; border: 0; padding: 0; }
.carousel-dots button::after { content: ''; width: 7px; height: 7px; background: var(--paper); opacity: .5; border-radius: 50%; }
.carousel-dots button[aria-current]::after { background: var(--mint); opacity: 1; width: 10px; height: 10px; }
.carousel-counter { position: absolute; bottom: 34px; right: 20px; border-radius: 20px; padding: 7px 12px; background: #0c2728cc; color: var(--paper); font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.court-gallery .sport-badge {
  top: 24px;
  left: 24px;
  font-size: 12px;
}
.password-field { position: relative; display: block; width: 100%; }
.password-field input { padding-right: 94px; width: 100%; }
.password-toggle { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); min-height: 42px; min-width: 72px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--mint); background: var(--deep); font-size: 12px; font-weight: 600; }
.password-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 65px;
  padding-top: 40px;
}
.detail-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.detail-title h1 {
  margin: 10px 0 15px;
  font-size: 42px;
}
.heart {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 30px;
}
.heart.saved {
  color: var(--mint);
}
.detail-copy > .underlined {
  font-size: 14px;
  color: var(--muted);
}
.review-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 30px;
  font-size: 12px;
  color: var(--muted);
}
.stars {
  letter-spacing: 3px;
  color: var(--mint);
  font-size: 18px;
}
.description {
  color: var(--muted);
  font-size: 15px;
}
.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  margin: 30px 0;
}
.amenities > div {
  display: flex;
  gap: 15px;
  align-items: center;
}
.amenities > div > span {
  font-size: 28px;
  color: var(--mint);
}
.amenities strong {
  display: block;
  font-size: 14px;
}
.amenities small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.booking-aside {
  align-self: start;
  position: sticky;
  top: 24px;
  background: var(--deep);
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.price-label {
  font-size: 10px;
  color: var(--mint);
  letter-spacing: 0.12em;
}
.big-price {
  font-size: 36px;
  margin: 15px 0;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.big-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.aside-rule {
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.booking-aside > p:not(.big-price) {
  font-size: 13px;
}
.booking-aside > small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  text-align: center;
  margin-top: 16px;
}
.reviews,
.location {
  margin-top: 40px;
}
.reviews h2,
.location h2 {
  font-size: 27px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.review-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 20px;
}
.review-card > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.review-card time {
  font-size: 9px;
  color: #63756e;
}
.review-card > p {
  font-size: 13px;
  margin: 20px 0;
  white-space: pre-wrap;
}
.review-author {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
}
.review-author small {
  font-size: 9px;
  color: #63756e;
}
.map-card {
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  min-height: 180px;
}
.map-card > div:last-child {
  padding: 28px;
  align-self: center;
}
.map-card p {
  font-size: 13px;
  margin: 8px 0;
}
.map-card .underlined {
  font-size: 12px;
}
.map-lines {
  width: 35%;
  min-width: 110px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      34deg,
      transparent 0 30px,
      #c6d5c9 31px 38px,
      transparent 39px 58px
    ),
    repeating-linear-gradient(105deg, #dde7dc 0 45px, #f9faf2 46px 57px);
}
.map-lines span {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 5px 20px #163e3840;
}
.flow-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 90px;
  padding-top: 40px;
  padding-bottom: 70px;
}
.flow-aside > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 25px;
}
.flow-aside h2 {
  font-size: 29px;
  margin: 14px 0;
}
.flow-aside p {
  color: var(--muted);
  font-size: 14px;
}
.flow-aside > strong {
  color: var(--mint);
}
.flow-steps {
  counter-reset: flow;
  list-style: none;
  padding: 30px 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.flow-steps li {
  font-size: 13px;
  color: #a5c4c1;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.flow-steps li:before {
  counter-increment: flow;
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
}
.flow-steps .current {
  color: white;
}
.flow-steps .current:before {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.flow-main {
  padding-top: 15px;
  max-width: 670px;
  width: 100%;
}
.flow-main h1 {
  font-size: 36px;
  margin: 14px 0;
}
.flow-main > .muted {
  font-size: 14px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 12px;
}
.calendar-header h2 {
  font-size: 23px;
  margin: 0;
}
.calendar-header > a {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.date-picker {
  display: flex;
  align-items: end;
  gap: 15px;
  justify-content: end;
  margin: 10px 0 20px;
}
.date-picker label {
  font-size: 10px;
}
.date-picker input {
  padding: 6px 10px;
  font-size: 12px;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
}
.week-strip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  color: var(--muted);
  border-radius: 16px;
}
.week-strip a strong {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  font-size: 20px;
}
.week-strip a > span {
  font-size: 11px;
}
.week-strip a.active {
  background: #f1f4e9;
  color: var(--ink);
}
.week-strip a.active strong {
  background: var(--deep);
  color: var(--mint);
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 10px;
  margin: 25px 0;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 7px;
  height: 7px;
  border: 1px solid #a3c3c1;
  border-radius: 50%;
}
.legend .busy-dot {
  background: #7b9799;
}
.legend .selected-dot {
  background: var(--green);
  border-color: var(--green);
}
.time-slot {
  display: flex;
  align-items: stretch;
  position: relative;
  cursor: pointer;
  min-height: 62px;
}
.time-label {
  width: 60px;
  padding-top: 7px;
  font-size: 12px;
  flex-shrink: 0;
}
.time-slot input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.slot-box {
  flex: 1;
  border-top: 1px solid #a9ccca80;
  position: relative;
  padding: 10px 16px;
  margin-bottom: 5px;
  border-radius: 4px;
  min-height: 55px;
}
.slot-box strong {
  display: block;
  font-weight: 500;
  font-size: 13px;
}
.slot-box small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.slot-check {
  position: absolute;
  right: 14px;
  top: 17px;
  font-size: 18px;
}
.time-slot.free .slot-box {
  background: #ffffff06;
}
.time-slot.free:hover .slot-box {
  background: #ffffff12;
}
.time-slot.busy .slot-box {
  background: #779799;
}
.time-slot.busy .slot-box:before,
.time-slot.selected .slot-box:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  background: #cfdbd7;
  border-radius: 3px;
}
.time-slot.busy .slot-check,
.time-slot.past .slot-check {
  display: none;
}
.time-slot.past {
  opacity: 0.4;
  cursor: not-allowed;
}
.time-slot.selected .slot-box {
  background: var(--green);
}
.time-slot.selected .slot-box small {
  color: white;
}
.time-slot:has(input:focus-visible) .slot-box {
  outline: 3px solid var(--mint);
}
.flow-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.flow-bottom > span {
  font-size: 12px;
  color: var(--muted);
}
.flow-bottom .button {
  min-width: 190px;
  border: 3px solid #d6dcd8;
  min-height: 53px;
}
.form-note {
  color: #ffd2c8;
  font-size: 13px;
}
.extras-list {
  margin: 40px 0;
}
.extra-row {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.extra-icon {
  font-size: 26px;
  color: var(--mint);
}
.extra-row h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.extra-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.stepper {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 25px;
  overflow: hidden;
}
.stepper button {
  background: transparent;
  border: 0;
  color: white;
  width: 34px;
  height: 36px;
  font-size: 20px;
}
.stepper input {
  width: 35px;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
  margin: 0;
}
.stepper input::-webkit-inner-spin-button {
  display: none;
}
.order-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.order-line span small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.order-line strong {
  white-space: nowrap;
}
.order-line.total {
  font-size: 23px;
  border-bottom: 0;
  padding: 24px 0;
}
.reservation-date {
  margin-top: 30px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.reservation-date > span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.reservation-date h2 {
  font-size: 26px;
  margin: 12px 0;
}
.reservation-date p {
  font-size: 20px;
  color: var(--mint);
  margin: 0;
}
.status {
  display: inline-block;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #d2dfdc;
  color: #284e4e;
  white-space: nowrap;
}
.status.confirmed {
  background: var(--mint);
  color: var(--ink);
}
.status.refund_pending,
.status.hold {
  background: #f0dfaa;
  color: #55451b;
}
.status.cancelled,
.status.expired {
  background: #e5c7c1;
  color: #63352e;
}
.demo-notice {
  font-size: 11px;
  color: var(--mint);
  margin: 12px 0;
}
.demo-payment {
  margin-top: 12px;
}
.notice {
  padding: 20px;
  background: #fff0c4;
  color: #514728;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 13px;
}
.cancel-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 25px;
  padding: 20px 0;
}
.cancel-panel summary {
  font-size: 13px;
  cursor: pointer;
  color: #ffded8;
}
.cancel-panel p {
  font-size: 13px;
  margin-top: 18px;
}
.cancel-panel label {
  font-size: 12px;
  margin-bottom: 15px;
}
.repeat-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
}
.review-form {
  margin-top: 30px;
}
.tabs {
  display: flex;
  gap: 4px;
  margin: 25px 0;
  align-items: center;
  flex-wrap: wrap;
}
.tabs > a {
  padding: 9px 19px;
  border-radius: 30px;
  color: var(--muted);
  font-size: 13px;
  border: 1px solid var(--line);
}
.tabs > a.active {
  background: var(--mint);
  color: var(--ink);
  border-color: var(--mint);
}
.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.reservation-card {
  background: var(--paper);
  color: var(--ink);
  padding: 20px;
  border-radius: 17px;
  display: flex;
  gap: 20px;
}
.reservation-card > img {
  width: 115px;
  min-height: 140px;
  object-fit: cover;
  border-radius: 10px;
}
.reservation-card > div {
  flex: 1;
  min-width: 0;
}
.reservation-card h2 {
  font-size: 23px;
  margin: 12px 0 6px;
}
.reservation-card p {
  font-size: 11px;
  color: #60766b;
  margin-bottom: 10px;
}
.reservation-card .status {
  background: #cfdfd1;
}
.reservation-actions {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-size: 11px;
  text-decoration: underline;
  margin-top: 18px;
}
.partner-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.inline-form input,
.inline-form select {
  width: auto;
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 12px 0 35px;
}
.metrics article {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
  background: #ffffff05;
}
.metrics article > span {
  font-size: 9px;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.metrics article > strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.05em;
  margin: 15px 0 6px;
  color: var(--mint);
  font-weight: 550;
}
.metrics small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.partner-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.calendar-day {
  min-height: 155px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-day-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.calendar-day-heading strong {
  font-size: 18px;
  color: white;
}
.calendar-event {
  display: block;
  background: #a2d6bf;
  color: #143c36;
  border-left: 3px solid var(--green);
  padding: 8px;
  margin-bottom: 6px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.calendar-event.hold {
  background: #e6daac;
  border-color: #b59b3d;
}
.calendar-event.cancelled,
.calendar-event.refunded,
.calendar-event.refund_pending,
.calendar-event.expired {
  background: #b9c8c4;
  border-color: #7d8e88;
}
.calendar-event strong,
.calendar-event span,
.calendar-event small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
}
.calendar-event small {
  font-size: 9px;
}
.calendar-empty {
  font-size: 9px;
  color: #b9d1cd;
}
.partner-calendar.day {
  grid-template-columns: 1fr;
}
.partner-calendar.day .calendar-event {
  display: inline-block;
  min-width: 210px;
  margin: 5px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  background: var(--deep);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--muted);
  padding: 14px;
}
td {
  padding: 16px 14px;
  border-top: 1px solid var(--line);
}
td small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
td strong {
  font-size: 12px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}
.panel {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #164e522a;
  margin-bottom: 24px;
}
.panel h2 {
  font-size: 26px;
}
.panel > .muted {
  font-size: 12px;
}
.demand-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  margin: 13px 0;
}
.demand-row > span {
  width: 83px;
  flex-shrink: 0;
}
.demand-row > div {
  flex: 1;
}
meter {
  width: 100%;
  height: 9px;
  appearance: none;
}
meter::-webkit-meter-bar {
  background: #143f43;
  border: 0;
  border-radius: 10px;
}
meter::-webkit-meter-optimum-value {
  background: var(--mint);
  border-radius: 10px;
}
.demand-row strong {
  width: 28px;
  font-weight: 500;
}
.partner-courts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.partner-court {
  display: flex;
  gap: 20px;
  background: var(--paper);
  color: var(--ink);
  padding: 18px;
  border-radius: 16px;
}
.partner-court img {
  width: 130px;
  object-fit: cover;
  border-radius: 10px;
}
.partner-court h3 {
  margin: 10px 0;
}
.partner-court p {
  font-size: 12px;
}
.partner-court .eyebrow {
  font-size: 9px;
}
.partner-court a {
  font-size: 11px;
  display: block;
  text-decoration: underline;
  margin-top: 7px;
}
.connection-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.connection-card h3 {
  margin-bottom: 8px;
}
.connection-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 570px;
}
.edit-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}
.edit-layout > .panel {
  align-self: start;
}
.price-breakdown {
  background: var(--deep);
  padding: 20px;
  border-radius: 14px;
  margin: 25px 0;
}
.price-breakdown h3 {
  font-size: 19px;
}
.price-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.price-breakdown .net {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--mint);
  font-size: 18px;
}
.price-breakdown small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.photo-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.photo-admin-grid img {
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}
.photo-admin-grid button {
  font-size: 10px;
}
.photo-editor { margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.photo-editor legend { padding: 0 8px; font-size: 20px; font-weight: 600; }
.photo-editor input[type="file"] { max-width: 100%; padding: 12px 0; }
.photo-editor [data-photo-message] { font-size: 13px; overflow-wrap: anywhere; }
.photo-editor [data-photo-count] { font-size: 12px; color: var(--mint); }
.photo-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.photo-editor-card { padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); min-width: 0; }
.photo-editor-card.is-cover { border-color: var(--mint); }
.photo-editor-card.is-dragging { opacity: .6; outline: 2px solid var(--mint); }
.photo-editor-card img { display: block; width: 100%; height: 120px; border-radius: 7px; object-fit: cover; }
.photo-editor-card [data-photo-position] { display: block; padding: 8px 0; font-size: 12px; }
.photo-editor [data-photo-drag] { cursor: grab; touch-action: none; user-select: none; }
.photo-editor-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.photo-editor-actions button { min-width: 34px; min-height: 36px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--paper); font: inherit; font-size: 12px; cursor: pointer; }
.photo-editor-actions button:disabled { opacity: .35; cursor: default; }
.photo-editor-actions button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.weekday-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.django-form .weekday-options label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.weekday-options input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--mint); }
.weekday-options label:has(input:checked) { background: var(--mint); color: var(--ink); border-color: var(--mint); }
@media (max-width: 400px) {
  .photo-editor { padding: 12px; }
  .photo-editor-grid { gap: 8px; }
  .photo-editor-actions button { min-width: 30px; }
}
.panel details {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.panel summary {
  cursor: pointer;
  font-size: 14px;
}
.panel summary small {
  color: var(--muted);
}
.panel details form {
  padding-top: 15px;
}
.exception {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.exception > span {
  font-size: 12px;
  margin-left: 12px;
  color: var(--mint);
}
.exception p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
}
@media (min-width: 1400px) {
  .hero-visual {
    min-height: 550px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .site-header {
    padding: 22px 28px;
  }
  .demo-strip,
  .site-footer,
  .messages {
    margin-left: 28px;
    margin-right: 28px;
  }
  .site-header nav {
    gap: 20px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-visual {
    min-height: 490px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .court-grid {
    gap: 16px;
  }
  .card-photo {
    height: 190px;
  }
  .card-body {
    padding: 18px;
  }
  .card-body h3 {
    font-size: 21px;
  }
  .detail-layout {
    gap: 30px;
    grid-template-columns: 1fr 290px;
  }
  .flow-layout {
    gap: 45px;
    grid-template-columns: 240px 1fr;
  }
  .auth-layout {
    gap: 50px;
  }
  .auth-story h1 {
    font-size: 54px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .partner-courts {
    grid-template-columns: 1fr;
  }
  .reservation-grid {
    grid-template-columns: 1fr;
  }
  .edit-layout {
    gap: 20px;
  }
  .calendar-day {
    padding: 6px;
  }
  .calendar-event {
    padding: 5px;
  }
  .section-heading .page-title {
    font-size: 37px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 14px;
  }
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    padding: 17px 22px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand small {
    font-size: 7px;
  }
  .site-header nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    padding-top: 11px;
    gap: 16px;
  }
  .site-header nav a {
    font-size: 12px;
    padding: 0;
  }
  .account-name {
    display: none;
  }
  .account-nav .avatar {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .account-nav .text-button {
    font-size: 11px;
  }
  .account-nav .button {
    min-height: 33px;
    padding: 6px 12px;
    font-size: 11px;
  }
  .demo-strip {
    margin: 0 22px;
    display: block;
    padding: 10px 0;
    font-size: 8px;
  }
  .demo-strip > div {
    justify-content: space-between;
    gap: 10px;
    margin-top: 3px;
  }
  .demo-strip button {
    font-size: 9px;
  }
  .messages {
    margin: 10px 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 22px;
    padding-bottom: 40px;
    gap: 30px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 64px;
    line-height: 1;
    margin: 22px 0;
  }
  .hero p {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-note {
    margin-top: 17px;
  }
  .hero-visual {
    min-height: 330px;
    height: 330px;
    border-radius: 75px 18px 18px 18px;
  }
  .hero-photo-label {
    bottom: 24px;
    left: 24px;
  }
  .hero-photo-label strong {
    font-size: 31px;
  }
  .hero-photo-label .circle-arrow {
    width: 43px;
    height: 43px;
  }
  .section-heading {
    align-items: start;
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading > .muted {
    display: none;
  }
  .search-form {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }
  .search-form label {
    border: 0;
    border-bottom: 1px solid #c8d3cc;
    padding: 0 0 10px;
  }
  .search-form .button {
    width: 100%;
    min-height: 44px;
  }
  .filter-row {
    gap: 7px;
    overflow-x: auto;
    margin: 18px 0;
  }
  .chip {
    font-size: 10px;
    padding: 7px 12px;
  }
  .result-count {
    display: none;
  }
  .court-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-photo {
    height: 235px;
  }
  .card-body {
    padding: 20px;
  }
  .card-body h3 {
    font-size: 25px;
  }
  .how {
    padding-top: 45px;
    padding-bottom: 40px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
  }
  .steps > div {
    position: relative;
    padding: 20px 0 0 44px;
  }
  .steps span {
    position: absolute;
    left: 0;
    top: 22px;
  }
  .steps h3 {
    margin: 0 0 10px;
  }
  .steps p {
    max-width: none;
    font-size: 12px;
  }
  .site-footer {
    margin: 0 22px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px 0;
  }
  .site-footer > span {
    margin: 0;
    width: 100%;
    font-size: 10px;
  }
  .site-footer p {
    font-size: 10px;
    margin-left: auto;
  }
  .brand-footer {
    font-size: 18px;
  }
  .auth-layout {
    display: block;
    padding-top: 30px;
    padding-bottom: 50px;
  }
  .auth-story {
    display: none;
  }
  .auth-card {
    margin: 0 auto;
    padding: 0 10px;
  }
  .auth-card h2 {
    font-size: 34px;
  }
  .auth-card > .muted {
    font-size: 13px;
  }
  .auth-card .back {
    font-size: 12px;
    margin-bottom: 30px;
  }
  .auth-card input {
    padding: 15px;
  }
  .auth-card .button {
    min-height: 54px;
  }
  .auth-card form label {
    margin: 14px 0;
  }
  .court-detail {
    padding: 0 0 35px;
  }
  .court-detail > .back {
    margin: 15px 22px;
  }
  .court-gallery {
    height: 390px;
    border-radius: 0;
  }
  .court-gallery .sport-badge {
    font-size: 10px;
  }
  .detail-layout {
    display: flex;
    flex-direction: column;
    padding: 28px 22px 0;
    gap: 30px;
    border-radius: 30px 30px 0 0;
    margin-top: -25px;
    background: var(--bg);
    position: relative;
  }
  .detail-title h1 {
    font-size: 30px;
  }
  .detail-title .eyebrow {
    font-size: 10px;
  }
  .heart {
    width: 42px;
    height: 42px;
    font-size: 27px;
    flex-shrink: 0;
  }
  .description {
    font-size: 14px;
  }
  .review-line {
    font-size: 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .amenities {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .amenities strong {
    font-size: 14px;
  }
  .review-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .review-card {
    min-width: 270px;
    scroll-snap-align: start;
  }
  .reviews h2,
  .location h2 {
    font-size: 24px;
  }
  .booking-aside {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    width: 100%;
    padding: 4px 4px 4px 22px;
    border: 4px solid #d2d9d5;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    box-shadow: 0 6px 20px #12333430;
  }
  .booking-aside .price-label,
  .booking-aside > small,
  .booking-aside > .aside-rule,
  .booking-aside > p:not(.big-price) {
    display: none;
  }
  .booking-aside .big-price {
    font-size: 20px;
    line-height: 1.15;
    margin: 0;
    flex: 1;
    white-space: nowrap;
  }
  .big-price span {
    font-size: 11px;
    display: block;
  }
  .booking-aside .button {
    width: auto;
    min-width: 150px;
    min-height: 45px;
    padding: 10px 18px;
    font-size: 12px;
    gap: 8px;
  }
  .map-card {
    min-height: 170px;
  }
  .map-card > div:last-child {
    padding: 20px;
  }
  .map-card strong {
    font-size: 14px;
  }
  .map-card .underlined {
    font-size: 11px;
  }
  .flow-layout {
    display: block;
    padding-top: 15px;
    padding-bottom: 45px;
  }
  .flow-aside {
    position: relative;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .flow-aside .back {
    margin-bottom: 12px;
    font-size: 12px;
  }
  .flow-aside > img {
    display: none;
  }
  .flow-aside > .eyebrow {
    font-size: 9px;
    margin-top: 8px;
  }
  .flow-aside h2 {
    font-size: 22px;
    margin: 8px 0;
  }
  .flow-aside p {
    font-size: 12px;
    margin: 0 0 6px;
  }
  .flow-aside > strong {
    font-size: 13px;
  }
  .flow-steps {
    display: none;
  }
  .flow-main {
    padding-top: 0;
  }
  .flow-main h1 {
    font-size: 29px;
  }
  .flow-main > .muted {
    font-size: 12px;
  }
  .calendar-header {
    margin-top: 24px;
  }
  .calendar-header h2 {
    font-size: 22px;
  }
  .date-picker {
    justify-content: space-between;
  }
  .date-picker label {
    flex: 1;
  }
  .week-strip {
    gap: 3px;
  }
  .week-strip a {
    padding: 8px 2px;
  }
  .week-strip a strong {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .week-strip a > span {
    font-size: 10px;
  }
  .legend {
    gap: 14px;
    font-size: 9px;
  }
  .time-slot {
    min-height: 59px;
  }
  .time-label {
    width: 49px;
    font-size: 11px;
  }
  .slot-box {
    padding: 8px 14px;
    min-height: 53px;
  }
  .flow-bottom {
    position: sticky;
    bottom: 10px;
    border: 0;
    background: var(--bg);
    padding: 8px 0;
    margin-top: 25px;
    flex-direction: column;
    gap: 7px;
    z-index: 3;
  }
  .flow-bottom .button {
    width: 85%;
    justify-content: center;
    min-height: 54px;
    border-width: 4px;
    font-size: 17px;
  }
  .flow-bottom > span {
    font-size: 11px;
  }
  .extras-list {
    margin: 26px 0;
  }
  .extra-row {
    gap: 10px;
    padding: 20px 0;
  }
  .extra-row h3 {
    font-size: 16px;
  }
  .extra-row p {
    font-size: 10px;
  }
  .extra-icon {
    font-size: 24px;
  }
  .stepper button {
    width: 29px;
  }
  .stepper input {
    width: 26px;
  }
  .order-line {
    font-size: 13px;
  }
  .order-line.total {
    font-size: 21px;
  }
  .padded {
    padding-top: 28px;
    padding-bottom: 45px;
  }
  .page-title {
    font-size: 35px;
  }
  .reservation-card {
    padding: 16px;
    gap: 14px;
  }
  .reservation-card > img {
    width: 73px;
    min-height: 125px;
  }
  .reservation-card h2 {
    font-size: 20px;
  }
  .reservation-card p {
    font-size: 10px;
  }
  .reservation-card .status {
    font-size: 9px;
  }
  .tabs {
    margin: 18px 0;
  }
  .tabs > a {
    font-size: 12px;
    padding: 8px 17px;
  }
  .partner-page > .section-heading {
    display: block;
  }
  .partner-page > .section-heading > .button {
    margin-top: 12px;
  }
  .section-heading .page-title {
    font-size: 32px;
  }
  .metrics {
    gap: 10px;
  }
  .metrics article {
    padding: 16px;
  }
  .metrics article > span {
    font-size: 8px;
  }
  .metrics article > strong {
    font-size: 25px;
  }
  .metrics article > small {
    font-size: 9px;
  }
  .partner-toolbar {
    gap: 10px;
    margin-bottom: 18px;
  }
  .inline-form {
    width: 100%;
    gap: 7px;
  }
  .inline-form select {
    max-width: 155px;
    font-size: 11px;
  }
  .inline-form input {
    max-width: 140px;
  }
  .partner-calendar.week {
    overflow-x: auto;
    grid-template-columns: repeat(7, 135px);
  }
  .partner-calendar.month {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .partner-calendar.month .calendar-day {
    min-height: 80px;
    padding: 4px;
  }
  .partner-calendar.month .calendar-event {
    padding: 3px;
    font-size: 8px;
  }
  .partner-calendar.month .calendar-event span,
  .partner-calendar.month .calendar-event small {
    display: none;
  }
  .partner-calendar.month .calendar-event strong {
    font-size: 7px;
  }
  .partner-calendar.month .calendar-empty {
    display: none;
  }
  .calendar-day-heading {
    font-size: 8px;
    display: block;
  }
  .calendar-day-heading strong {
    font-size: 14px;
    display: block;
  }
  .section-heading.compact {
    flex-wrap: wrap;
    gap: 15px;
  }
  .section-heading.compact h2 {
    font-size: 23px;
  }
  .section-heading.compact > div {
    font-size: 12px;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 20px;
  }
  .partner-court {
    padding: 14px;
    gap: 14px;
  }
  .partner-court img {
    width: 95px;
  }
  .partner-court h3 {
    font-size: 20px;
  }
  .connection-card {
    display: block;
    padding: 20px;
  }
  .connection-card form {
    margin-top: 18px;
  }
  .connection-card .button {
    font-size: 12px;
  }
  .edit-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .standalone {
    padding: 22px;
  }
  .price-breakdown .net {
    font-size: 17px;
  }
  .photo-admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Editorial home hero: all surface and text colors use the existing palette. */
.lighting-settings { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 24px 0; min-width: 0; }
.lighting-settings legend { padding: 0 8px; font-weight: 600; }
.lighting-included { font-size: 12px; min-width: 96px; }
.lighting-included input:disabled { opacity: 1; }
.export-menu { position: relative; flex-shrink: 0; }
.export-menu > summary { cursor: pointer; list-style: none; }
.export-menu > summary::-webkit-details-marker { display: none; }
.export-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  width: 230px;
  padding: 6px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 12px 30px #0c272840;
}
.export-options a { display: block; padding: 12px; border-radius: 8px; font-size: 14px; }
.export-options a:hover, .export-options a:focus-visible { background: var(--mint); }
.export-options small { display: block; font-size: 11px; }
@media (max-width: 700px) {
  .partner-page > .section-heading { flex-wrap: wrap; }
  .export-options { left: 0; right: auto; }
}
.hero.hero-editorial {
  display: block;
  padding-top: 34px;
  padding-bottom: 56px;
}
.hero-kicker { text-align: center; }
.hero-stage {
  position: relative;
  height: 480px;
  isolation: isolate;
}
.hero-editorial h1 {
  position: absolute;
  inset: 6px 0 auto;
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(130px, 22vw, 292px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.065em;
  color: var(--paper);
}
.hero-invitation, .hero-edition { position: absolute; top: 304px; z-index: 4; }
.hero-invitation { left: 0; }
.hero-editorial .hero-invitation p {
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  color: var(--paper);
}
.hero-invitation strong { font-weight: 500; color: var(--mint); }
.hero-invitation .button { font-size: 12px; padding: 12px 19px; gap: 16px; }
.hero-edition { right: 0; width: 150px; }
.hero-edition > strong { display: block; font-size: 30px; font-weight: 500; margin: 8px 0 22px; letter-spacing: -.04em; }
.hero-edition > span:last-child { color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-baseline {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}
.hero-discover span { margin-left: 12px; font-size: 18px; }
@media (max-width: 1000px) and (min-width: 701px) {
  .hero-stage { height: 450px; }
  .hero-invitation, .hero-edition { top: 292px; }
  .hero-edition { width: 105px; }
  .hero-edition > strong { font-size: 25px; }
  .hero-invitation .button { max-width: 168px; gap: 8px; padding: 12px; }
  .hero-editorial .hero-invitation p { font-size: 20px; }
}
@media (max-width: 700px) {
  .hero.hero-editorial { padding-top: 26px; padding-bottom: 38px; }
  .hero-editorial .hero-kicker { font-size: 8px; letter-spacing: .12em; }
  .hero-stage { height: 310px; }
  .hero-editorial h1 { top: 20px; font-size: clamp(88px, 25vw, 168px); }
  .hero-invitation, .hero-edition { top: 190px; }
  .hero-editorial .hero-invitation p { font-size: 17px; margin-bottom: 12px; }
  .hero-invitation p br:first-child { display: none; }
  .hero-invitation .button { font-size: 11px; min-height: 42px; padding: 10px 14px; gap: 10px; }
  .hero-edition { width: 106px; text-align: right; }
  .hero-edition .eyebrow { font-size: 8px; }
  .hero-edition > strong { font-size: 25px; margin: 4px 0 12px; }
  .hero-edition > span:last-child { font-size: 11px; }
  .hero-baseline { margin-top: 24px; gap: 8px; font-size: 8px; letter-spacing: .05em; }
  .hero-discover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
