/*
 * Product pages (resources/views/product/*-v2.blade.php), on top of homepage-moments.css (.mth tokens).
 * Spec: MatchTime design system → Product pages. Scoped to .mtp.
 */
.mtp-center { text-align: center; }

/* The fun numbers row on the DUPR card */
.mtp-fun { list-style: none; margin: 0; padding: 20px; display: grid; gap: 14px; }
@media (min-width: 640px) { .mtp-fun { grid-template-columns: 1fr 1fr; padding: 24px 40px 28px; gap: var(--space-4); } }
.mtp-fun li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius-md); background: var(--bg-wash); }
.mtp-fun b { grid-row: 1 / 3; font: 700 30px/1 var(--font); color: var(--sport-pickleball); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .mtp-fun b { font-size: 36px; } }
/* The label and note sit as one block centred on the number's height (they used to hang off its baseline). */
.mtp-fun b { align-self: center; }
.mtp-fun span { align-self: end; font: 600 15px/1.3 var(--font); color: var(--ink); }
.mtp-fun small { align-self: start; font: 400 13px/1.4 var(--font); color: var(--ink-muted); }
.mtp-fun span, .mtp-fun small, .mth-live__num span { text-wrap: pretty; }  /* no single word left on a line */
.dark .mtp .mtp-fun li { background: #262a37; }

/* Trusted by */
.mtp-trusted { padding-top: var(--space-5); }
.mtp-topclubs { margin: 12px 0 0; text-align: center; font: 500 17px/1.5 var(--font); color: var(--ink); }
.mtp-topclubs a { margin-left: 6px; font-size: 13px; color: var(--ink-muted); }
.mtp-logos { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.mtp-logos li { display: flex; align-items: center; justify-content: center; height: 76px; padding: 10px 14px;
  border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--line); }
.mtp-logos a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.mtp-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.mtp-logos li:hover img, .mtp-logos a:focus-visible img { filter: none; opacity: 1; }
.mtp-logos span { font: 600 15px/1.2 var(--font); color: var(--ink-muted); text-align: center; }
/* After the base rules, so it wins: bigger tiles from 640px. Logos fit inside the padding (max-height 100%). */
@media (min-width: 640px) { .mtp-logos { grid-template-columns: repeat(5, 1fr); gap: 16px; } .mtp-logos li { height: 96px; padding: 14px 18px; } }
/* Dark: full-colour brand art (some on their own backgrounds) sits on light tiles rather than being inverted. */
.dark .mtp .mtp-logos li { background: #fff; border-color: #fff; }  /* pure white: logos with their own white background (Somerset) blend in */

/* Featured league story: the league's own colours on the left, its words on the right. */
.mtp-story { --story-bg: var(--bg-deep); --story-accent: #f2b544; --story-sky: #9fd3f3;
  display: grid; margin: var(--space-6) 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--bg-card); }
@media (min-width: 900px) { .mtp-story { grid-template-columns: 5fr 7fr; } .mtp-story--solo { grid-template-columns: 1fr; } }
.mtp-story__brand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-5) var(--space-4); color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.14), transparent 60%), var(--story-bg); }
.mtp-story__tag { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: var(--story-accent); color: #1a1406;
  font: 700 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.mtp-story__logo { width: 168px; margin: 0 auto 16px; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.mtp-story__logo img { display: block; width: 100%; height: auto; }
.mtp-story__brand h3 { margin: 0; font: 700 22px/1.25 var(--font); color: #fff; }
.mtp-story__stats { align-self: stretch; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.mtp-story__stats dt { font: 700 24px/1.1 var(--font); color: var(--story-sky); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .mtp-story__stats dt { font-size: 28px; } }
.mtp-story__stats dd { margin: 4px 0 0; font: 500 12px/1.35 var(--font); color: rgba(255,255,255,.82); }
.mtp-story__since { margin: 16px 0 0; font: 500 13px/1.45 var(--font); color: rgba(255,255,255,.75); }
/* DUPR's number, not ours: in the league's accent colour, with its source under the numbers. */
.mtp-story__rank dt { color: var(--story-accent); }
.mtp-story__source { margin: 6px 0 0; font: 500 12px/1.4 var(--font); }
.mtp-story__source a { color: rgba(255,255,255,.75); }
.mtp-story__source a:hover { color: #fff; }
.mtp-story__quote { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: var(--space-5) var(--space-4); }
@media (min-width: 900px) { .mtp-story__quote { padding: var(--space-6) 56px; } }
.mtp-story__mark { width: 44px; height: 33px; color: var(--story-bg); }  /* the league's dark colour on white; its accent in dark mode */
.dark .mtp .mtp-story__mark { color: var(--story-accent); }
.mtp-story__quote blockquote { margin: 0; }
.mtp-story__quote blockquote p { margin: 0; font: 500 19px/1.5 var(--font); color: var(--ink); }
@media (min-width: 640px) { .mtp-story__quote blockquote p { font-size: 21px; } }
@media (min-width: 1024px) { .mtp-story__quote blockquote p { font-size: 24px; } }
.mtp-story__quote figcaption { display: flex; align-items: center; gap: 12px; font: 400 14px/1.4 var(--font); color: var(--ink-muted); }
.mtp-story__quote figcaption b { display: block; font: 600 16px/1.3 var(--font); color: var(--ink); }
.mtp-story__avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 999px;
  background: var(--story-bg); color: #fff; font: 700 18px/1 var(--font); }
.mtp-story__sample { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 6px; border: 1px dashed var(--red); color: #a3302e; font: 600 12px/1.3 var(--font); }
.dark .mtp .mtp-story__sample { color: var(--red); }
.dark .mtp .mtp-story__avatar { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

/* Formats */
.mtp-formats { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .mtp-formats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .mtp-formats--two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .mtp-formats--two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .mtp-formats--six { grid-template-columns: repeat(2, 1fr); } }
.mth-live .mth-caption { text-wrap: pretty; }
.mtp-format__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
section[id] { scroll-margin-top: 16px; }
.mtp-format__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-wash); color: var(--sport-pickleball); }
.mtp-format__icon svg { width: 26px; height: 26px; }

/* How DUPR works */
.mtp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: none; }
@media (min-width: 900px) { .mtp-steps { grid-template-columns: repeat(3, 1fr); } }
.mtp-steps li { padding: var(--space-4); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-card); }
.mtp-steps b { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--sport-pickleball); color: #fff; font: 700 16px/1 var(--font); }
.dark .mtp .mtp-steps b { color: #17181d; }
.mtp-steps h3 { margin: 14px 0 6px; }
.mtp-steps p { margin: 0; font: 400 15px/1.55 var(--font); color: var(--ink-muted); }

/* Captain + player pair */
.mtp-pair { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .mtp-pair { grid-template-columns: 1fr 1fr; } }
.mtp-pair__item { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-card); }
.mtp-pair__item p { margin: 0; padding: var(--space-4); font: 400 16px/1.55 var(--font); color: var(--ink); }
.mtp-pair .mth-card__stage--phone .mth-screen { width: 60%; }  /* tall enough to run off the stage, never sliced at the bezel */

/* Web + mobile: the browser screen wide, the two phones beside it */
@media (min-width: 1024px) {
  .mtp-pair--three { grid-template-columns: 2fr 1fr 1fr; }
  .mtp-pair--three .mth-card__stage { aspect-ratio: auto; height: 300px; }
  .mtp-pair--three .mth-card__stage--browser { align-items: flex-start; padding: 24px 32px 0; }  /* top of the window, title bar included; the rest runs off */
  /* Same 24px top as the browser so the three tops line up; phones wide enough to run off the
     bottom at every width, like the browser does (not float short at 1024, or clip the bezel at 1440). */
  .mtp-pair--three .mth-card__stage--phone { padding-top: 24px; }
  .mtp-pair--three .mth-card__stage--phone .mth-screen { width: 80%; }
}
@media (min-width: 768px) and (max-width: 1023px) { .mtp-pair--three .mtp-pair__item--wide { grid-column: 1 / -1; } }
/* 1024–1279: the phone columns are narrow, so a shorter stage and slimmer side padding keep the
   phones running off the bottom (at 300px tall they stopped 41px short). */
@media (min-width: 1024px) and (max-width: 1279px) {
  .mtp-pair--three .mth-card__stage { height: 260px; }
  .mtp-pair--three .mth-card__stage--phone { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Gear pages (affiliate stores) ---------- */
.mth-btn--secondary { background: var(--bg-card); color: var(--ink); border-color: var(--line); }
.mth-btn--secondary:hover { border-color: var(--indigo); color: var(--ink); }
.mtp-pagehead { background: var(--bg-deep); color: var(--ink-on-deep); padding: 32px 0 40px; }
@media (min-width: 1024px) { .mtp-pagehead { padding: 44px 0 52px; } }
.mtp-pagehead h1 { margin: 8px 0 0; font: 700 34px/1.15 var(--font); color: #fff; }
@media (min-width: 1024px) { .mtp-pagehead h1 { font-size: 46px; } }
.mtp-pagehead .mth-switch { margin-bottom: 22px; }
/* The sport switch as links (each store is its own page). */
.mth-switch a { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font); padding: 10px 16px; border-radius: 999px;
  color: var(--ink-muted); text-decoration: none; }
.mth-switch a svg { width: 18px; height: 18px; }
.mth-switch a[aria-current="page"] { background: var(--bg-card); color: var(--ink); box-shadow: var(--shadow-card); }
.mth[data-sport="tennis"] .mth-switch a[aria-current="page"] svg { color: var(--sport-tennis); }
.mth[data-sport="pickleball"] .mth-switch a[aria-current="page"] svg { color: var(--sport-pickleball); }
.mtp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mtp-chips a { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font: 600 14px/1 var(--font); }
.mtp-chips a:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.mtp-chips .mtp-chips__all { background: var(--cta); border-color: var(--cta); }
.mtp-chips .mtp-chips__all:hover { background: var(--cta-hover); }

.mtp-gear { padding-top: var(--space-5); }
.mtp-disclosure { margin: 0 0 var(--space-4); padding: 12px 16px; border-radius: var(--radius-sm); background: var(--bg-wash); font: 400 14px/1.5 var(--font); color: var(--ink-muted); }
.mtp-gear__h { margin: var(--space-5) 0 var(--space-3); }
.mtp-gear__empty { font: 400 17px/1.5 var(--font); color: var(--ink-muted); }
.mtp-gear__more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-5); }

.mtp-promos { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .mtp-promos { grid-template-columns: repeat(3, 1fr); } }
.mtp-promo { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); }
.mtp-promo__img { position: relative; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; background: #fff; }
/* Absolutely placed so a tall image (a 190×442 racquet) can't stretch the box; shown whole, never upscaled past the box. */
.mtp-promo__img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.mtp-promo__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.mtp-promo__body small { min-height: 1.3em; font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.mtp-promo__body b { font: 600 18px/1.3 var(--font); }
.mtp-promo__body span { margin-top: auto; font: 600 14px/1.3 var(--font); color: var(--cta); }

.mtp-products { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .mtp-products { grid-template-columns: repeat(4, 1fr); } .mtp-products--3 { grid-template-columns: repeat(3, 1fr); } }
.mtp-products a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 12px 16px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.mtp-products a:hover { border-color: var(--indigo); box-shadow: var(--shadow-card); }
.mtp-product__img { position: relative; aspect-ratio: 1 / 1; margin-bottom: 8px; border-radius: var(--radius-sm); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mtp-product__img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.mtp-product__img em { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/1.3 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.mtp-products small { min-height: 1.3em; font: 600 12px/1.3 var(--font); color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }
.mtp-products b { font: 500 15px/1.35 var(--font); }
.mtp-product__price { margin-top: auto; padding-top: 2px; font: 700 15px/1.3 var(--font); color: var(--ink); }
.mtp-product__price s { margin-left: 6px; font-weight: 400; color: var(--ink-muted); }
.mtp-gear__close { text-align: center; }
.mtp-gear__close p { max-width: 640px; margin-left: auto; margin-right: auto; }
.mtp-gear__close .mth-ctas { justify-content: center; }
.mth-switch--on-deep a:not([aria-current="page"]) { color: rgba(255,255,255,.85); }

/* ---------- About, History & news, Advertising ---------- */
.mtp-subnav { background: var(--bg-card); border-bottom: 1px solid var(--line); }
.mtp-subnav .mth-wrap { display: flex; gap: 4px; overflow-x: auto; }
.mtp-subnav a { flex: none; padding: 16px 10px; font: 600 14px/1 var(--font); color: var(--ink-muted); text-decoration: none; border-bottom: 3px solid transparent; }
.mtp-subnav a:hover { color: var(--ink); }
.mtp-subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cta); }
@media (min-width: 640px) { .mtp-subnav a { padding: 16px 14px; font-size: 15px; } }
/* The hero card overlaps nothing here, so the live card sits in normal flow after the sub-nav. */
.mtp-subnav + .mth-live { margin-top: var(--space-5); }
/* After a section, its own bottom padding is the gap; extra margin left ~136px of white above the card. */
.mth-sec + .mth-live { margin-top: 0; }
/* A card with only the numbers row (no fun row, tagline or CTA) needs its own bottom padding:
   the row's padding assumes something follows it, so the labels sat on the border. */
.mth-live__top:last-child { padding-bottom: 24px; }
@media (min-width: 900px) { .mth-live__top:last-child { padding-bottom: 32px; } }

.mtp-story-text { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 1024px) { .mtp-story-text { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.mtp-prose { margin: 0 0 18px; font: 400 18px/1.65 var(--font); color: var(--ink); max-width: 640px; }

@media (min-width: 640px) { .mtp-logos--six { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .mtp-logos--six { grid-template-columns: repeat(6, 1fr); } }

.mtp-timeline { list-style: none; margin: var(--space-4) 0 0; padding: 0 0 0 28px; position: relative; display: grid; gap: var(--space-4); }
.mtp-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.mtp-timeline li { position: relative; }
.mtp-timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 999px; background: var(--bg-page); border: 3px solid var(--indigo); }
.mtp-timeline b { display: block; font: 700 14px/1 var(--font); letter-spacing: .08em; color: var(--indigo); }
.mtp-timeline h3 { margin: 6px 0 4px; }
.mtp-timeline p { margin: 0; max-width: 640px; font: 400 16px/1.55 var(--font); color: var(--ink-muted); }
.mtp-timeline__now::before { background: var(--cta); border-color: var(--cta); }
.mtp-timeline__now b { color: var(--cta); }
@media (min-width: 900px) {
  /* A real zig-zag: every entry gets its own row, alternating sides, dot on the centre line. */
  .mtp-timeline { display: block; padding-left: 0; }
  .mtp-timeline::before { left: calc(50% - 1px); }
  .mtp-timeline li { width: calc(50% - 40px); margin-bottom: 8px; }
  .mtp-timeline li:nth-child(odd) { margin-right: auto; text-align: right; }
  .mtp-timeline li:nth-child(even) { margin-left: auto; }
  .mtp-timeline li:nth-child(odd)::before { left: auto; right: -47px; }
  .mtp-timeline li:nth-child(even)::before { left: -47px; }
  .mtp-timeline li:nth-child(odd) p { margin-left: auto; }
}

.mtp-news { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 768px) { .mtp-news { grid-template-columns: 1fr 1fr; } }
.mtp-news a { text-decoration: none; color: var(--ink); }
.mtp-news img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.mtp-news p { margin: 0; font: 400 15px/1.55 var(--font); color: var(--ink-muted); }
.mtp-news__more { font: 600 14px/1.3 var(--font); color: var(--indigo); }

.mtp-contact { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-wash); }
.mtp-contact p { margin: 8px 0 16px; font: 400 16px/1.55 var(--font); color: var(--ink-muted); }
.mtp-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mtp-contact a { font: 600 17px/1.3 var(--font); color: var(--indigo); }

/* Pricing */
.mtp-plans { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 768px) { .mtp-plans { grid-template-columns: 1fr 1fr; } .mtp-plans--two { max-width: 880px; } }
@media (min-width: 1024px) { .mtp-plans:not(.mtp-plans--two) { grid-template-columns: repeat(3, 1fr); } }
.mtp-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--line); }
.mtp-plan--featured { border: 2px solid var(--cta); box-shadow: var(--shadow-card); }
/* Two classes deep so .mtp-plan p (grey, 16px) can't override the pill's white bold text. */
.mtp-plan .mtp-plan__tag { position: absolute; top: -13px; left: var(--space-5); margin: 0; padding: 4px 12px; border-radius: 999px; background: #0f8542; color: #fff; font: 700 12px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; } /* fixed green: dark mode's brighter --cta gives white only 3.1:1 */
.mtp-plan h3 { margin: 0; }
.mtp-plan p { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink-muted); }
.mtp-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.mtp-plan__price b { font: 700 40px/1.1 var(--font); color: var(--ink); letter-spacing: -.02em; }
.mtp-plan__price span { font: 500 15px/1.3 var(--font); color: var(--ink-muted); }
.mtp-plan ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.mtp-plan li { display: flex; gap: 10px; font: 400 16px/1.45 var(--font); color: var(--ink); }
.mtp-plan li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--cta); }
.mtp-plan .mth-btn { margin-top: auto; align-self: flex-start; }
.mtp-plan__sub { padding-top: var(--space-3); border-top: 1px solid var(--line); }
.mtp-plan--support { background: var(--bg-wash); border-color: transparent; }
.mtp-plan--support img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); }
.mtp-plan__link { margin-top: auto; font: 600 15px/1.3 var(--font); color: var(--indigo); text-decoration: none; }
@media (min-width: 768px) and (max-width: 1023px) { .mtp-plan--support { grid-column: 1 / -1; } }

.mtp-club { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .mtp-club { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.mtp-club__note { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--bg-card); display: grid; gap: 10px; justify-items: start; }
.mtp-club__note p { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink-muted); }
.mtp-tiers { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); font-family: var(--font); }
.mtp-tiers th, .mtp-tiers td { padding: 14px var(--space-4); text-align: left; border-bottom: 1px solid var(--line); }
.mtp-tiers thead th { white-space: nowrap; font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.mtp-tiers tbody th { font: 500 16px/1.4 var(--font); color: var(--ink); text-wrap: pretty; }
@media (max-width: 479px) { .mtp-tiers th, .mtp-tiers td { padding: 12px var(--space-3); } }
.mtp-tiers td, .mtp-tiers thead th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mtp-tiers td { font: 700 17px/1.4 var(--font); color: var(--ink); white-space: nowrap; }
.mtp-tiers tbody tr:last-child th, .mtp-tiers tbody tr:last-child td { border-bottom: 0; }
.mtp-tiers__call td a { color: var(--indigo); text-decoration: none; }
.mtp-tiers__contact { margin: var(--space-3) 0 0; font: 400 15px/1.55 var(--font); color: var(--ink-muted); }
.mtp-tiers__contact a { color: var(--indigo); font-weight: 600; white-space: nowrap; }
.mtp-tiers__contact span { white-space: nowrap; }

/* Legal pages: the verbatim document in a readable column, with an "On this page" list. */
/* The scroll hint on the list: a shadow on light, a glow on dark (a shadow can't darken #1a1c20). */
.mth { --mtp-scroll-shade: rgba(0, 0, 0, .28); }
.dark .mth { --mtp-scroll-shade: rgba(255, 255, 255, .22); }
.mtp-legal-wrap { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .mtp-legal-wrap { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; } }
.mtp-toc { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--bg-wash); font-family: var(--font); }
@media (min-width: 1024px) {
  .mtp-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain;
    /* Scroll shadows: a soft edge appears at the bottom (or top) only while there's more list that way. */
    background:
      linear-gradient(var(--bg-wash) 30%, transparent) center top,
      linear-gradient(transparent, var(--bg-wash) 70%) center bottom,
      radial-gradient(farthest-side at 50% 0, var(--mtp-scroll-shade), transparent) center top,
      radial-gradient(farthest-side at 50% 100%, var(--mtp-scroll-shade), transparent) center bottom;
    background-color: var(--bg-wash); background-repeat: no-repeat;
    background-size: 100% 40px, 100% 40px, 100% 12px, 100% 12px;
    background-attachment: local, local, scroll, scroll; }
}
.mtp-toc summary { cursor: pointer; font: 600 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.mtp-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.mtp-toc a { font: 500 14px/1.4 var(--font); color: var(--ink); text-decoration: none; }
.mtp-toc a:hover { color: var(--indigo); text-decoration: underline; }
.mtp-legal { max-width: 72ch; font: 400 16px/1.7 var(--font); color: var(--ink); overflow-wrap: anywhere; }
.mtp-legal :is(h1, h2, h3, h4) { scroll-margin-top: 24px; font-family: var(--font); color: var(--ink); letter-spacing: -.01em; }
.mtp-legal h1, .mtp-legal h2 { margin: var(--space-5) 0 12px; font-size: 24px; line-height: 1.3; font-weight: 700; }
.mtp-legal h3 { margin: var(--space-4) 0 8px; font-size: 19px; line-height: 1.35; font-weight: 600; }
.mtp-legal h4 { margin: var(--space-3) 0 6px; font-size: 16px; font-weight: 600; }
/* The page header already shows the document's title. */
.mtp-legal .mtp-legal__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mtp-legal .mtp-legal__title + p { margin-top: 0; font-size: 14px; color: var(--ink-muted); }
.mtp-legal p { margin: 0 0 14px; }
.mtp-legal ul, .mtp-legal ol { margin: 0 0 16px; padding-left: 1.4em; }
.mtp-legal li { margin-bottom: 8px; }
.mtp-legal li > p { margin-bottom: 6px; }
.mtp-legal a { color: var(--indigo); font-weight: 600; }
.mtp-legal strong { font-weight: 600; }
.mtp-legal table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.mtp-legal th, .mtp-legal td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.mtp-legal__top { margin-top: var(--space-5); font-size: 14px; }

/* Sign-up (account/register-v2): the form beside a short "why" panel. */
.mtp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mtp-reg-sec { background: var(--bg-wash); }
.mtp-reg { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 1024px) { .mtp-reg { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .mtp-reg__aside { position: sticky; top: 24px; } }
.mtp-reg__main { display: grid; gap: var(--space-3); min-width: 0; }
.mtp-reg__notice { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--line); font: 400 15px/1.55 var(--font); color: var(--ink); }
.mtp-reg__notice b { display: block; font-weight: 600; }
.mtp-reg__notice p { margin: 4px 0 12px; color: var(--ink-muted); }
.mtp-reg__notice--inline { margin-top: 10px; border-color: #f0c36d; background: #fff8e6; }
.mtp-reg__notice--inline p { margin: 4px 0 0; }
.mtp-reg__notice--inline a { color: var(--indigo); font-weight: 600; }
.dark .mth .mtp-reg__notice--inline { background: #3a3220; border-color: #7a6326; }
.mtp-reg__alert { padding: 12px 16px; border-radius: var(--radius-md); background: #fdecec; border: 1px solid #f3b4b4; color: #8a1c1c; font: 500 15px/1.5 var(--font); }
.mtp-reg__alert ul { margin: 0; padding-left: 1.2em; }
.mtp-reg__alert--good { background: #e8f7ee; border-color: #a7dfbd; color: #135e33; }
.mtp-reg__why { padding: var(--space-4); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); }
.mtp-reg__why ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.mtp-reg__why li { display: flex; gap: 10px; font: 400 15px/1.45 var(--font); color: var(--ink); }
.mtp-reg__why svg { flex: none; width: 20px; height: 20px; color: var(--cta); }
.mtp-reg__login { margin: var(--space-3) 0 0; text-align: center; font: 400 15px/1.5 var(--font); color: var(--ink-muted); }
.mtp-reg__login a { color: var(--indigo); font-weight: 600; }

.mtp-form { display: grid; gap: var(--space-3); font-family: var(--font); }
.mtp-form__note { margin: 0; font: 400 14px/1.5 var(--font); color: var(--ink-muted); }
.mtp-form__card { margin: 0; min-width: 0; padding: var(--space-4); border: 0; border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .mtp-form__card { padding: var(--space-4) var(--space-5); } }
/* float + full width takes the legend out of the border, so it sits inside the card as its first grid row. */
.mtp-form__card legend { float: left; width: 100%; padding: 0; margin: 0; font: 600 19px/1.3 var(--font); color: var(--ink); }
.mtp-form__row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) {
  .mtp-form__row { grid-template-columns: 1fr 1fr; }
  .mtp-form__row--zip { grid-template-columns: 160px 1fr; }
  .mtp-form__row--addr { grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; }
  .mtp-field--half { max-width: calc(50% - var(--space-3) / 2); }
}
@media (min-width: 640px) and (max-width: 899px) { .mtp-form__row--addr { grid-template-columns: 1fr 1fr; } }
/* <details> doesn't lay its content out as a grid, so the optional fields get their own grid. */
.mtp-form__more-body { display: grid; gap: var(--space-3); }
.mtp-form__row--alerts { grid-template-columns: 1fr; }
@media (min-width: 640px) { .mtp-form__row--alerts .mtp-field { grid-template-rows: 1fr auto; } .mtp-form__row--alerts label { align-self: end; } }
.mtp-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mtp-field label { font: 600 14px/1.3 var(--font); color: var(--ink); }
.mtp-field label span[aria-hidden] { color: #c0392b; }
.mtp-field input:not([type="checkbox"]), .mtp-field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9d0de; border-radius: 10px; background: var(--bg-card); color: var(--ink); font: 400 16px/1.3 var(--font); box-shadow: none; }
.mtp-field select { padding-right: 32px; }
.mtp-field input:focus, .mtp-field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(80, 104, 200, .2); }
.mtp-field input[readonly] { background: var(--bg-wash); }
.dark .mth .mtp-field input:not([type="checkbox"]), .dark .mth .mtp-field select { border-color: var(--line); background: var(--bg-page); }
.mtp-field__hint { font: 400 13px/1.45 var(--font); color: var(--ink-muted); }
.mtp-field__hint.is-good { color: #15803d; font-weight: 600; }
.mtp-field__hint.is-bad { color: #b42318; font-weight: 600; }
.mtp-field__err { font: 600 13px/1.4 var(--font); color: #b42318; }
.mtp-field.is-invalid input, .mtp-field.is-invalid select { border-color: #d92d20; }
.mtp-field__pw { position: relative; }
.mtp-field__pw input { padding-right: 64px !important; }
.mtp-field__pwtoggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 6px 8px; border: 0; background: none; font: 600 13px/1 var(--font); color: var(--indigo); cursor: pointer; }
.mtp-form__fine { margin: 0; font: 400 12.5px/1.5 var(--font); color: var(--ink-muted); }
.mtp-form__fine b { color: var(--ink); font-weight: 600; }
.mtp-check { display: flex; align-items: flex-start; gap: 10px; font: 400 15px/1.5 var(--font); color: var(--ink); cursor: pointer; }
.mtp-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cta); }
.mtp-check a { color: var(--indigo); font-weight: 600; }
.mtp-check.is-invalid span { color: #b42318; }
@media (min-width: 640px) { .mtp-check--field { align-self: end; min-height: 46px; align-items: center; } }
.mtp-dupr { display: grid; gap: 4px; }
.mtp-dupr b { display: flex; align-items: center; gap: 6px; font: 600 14px/1.3 var(--font); color: #15803d; }
.mtp-dupr b svg { width: 16px; height: 16px; }
.mtp-dupr input { max-width: 140px; text-transform: uppercase; }
.mtp-dupr small { font: 400 13px/1.4 var(--font); color: var(--ink-muted); }
.mtp-form__more { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.mtp-form__more summary { cursor: pointer; display: grid; gap: 4px; list-style: none; padding: 4px 0; }
.mtp-form__more summary::-webkit-details-marker { display: none; }
.mtp-form__more summary b { font: 600 17px/1.3 var(--font); color: var(--indigo); }
.mtp-form__more summary b::before { content: "+ "; }
.mtp-form__more[open] summary b::before { content: "− "; }
.mtp-form__more summary small { font: 400 14px/1.45 var(--font); color: var(--ink-muted); }
.mtp-form__more[open] summary { margin-bottom: var(--space-2); }
.mtp-form__sub { margin: var(--space-2) 0 0; font: 600 15px/1.3 var(--font); color: var(--ink); }
.mtp-form__submit { display: grid; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .mtp-form__submit { padding: var(--space-4) var(--space-5); } }
.mtp-form__submit .mth-btn { justify-self: start; min-width: 240px; }
@media (max-width: 639px) { .mtp-form__submit .mth-btn { justify-self: stretch; } }
.mtp-form__submit .mth-btn:disabled { opacity: .6; cursor: wait; }
.autocomplete-suggestions { border: 1px solid #c9d0de; border-radius: 10px; background: #fff; overflow: auto; box-shadow: 0 10px 25px rgba(0,0,0,.12); font-family: var(--font, sans-serif); }
.autocomplete-suggestion { padding: 8px 12px; border-bottom: 1px solid #f2f2f2; font-size: 14px; cursor: pointer; }
.autocomplete-suggestion small { color: #6b7280; }
.autocomplete-selected { background: #eef2ff; }
.autocomplete-no-suggestion { padding: 8px 12px; font-size: 14px; color: #6b7280; }

/* An organization's sign-up link (?brand=): its colour on the header, its logo on a white tile. */
.mtp-brandmark { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.mtp-brandmark .mth-eyebrow { margin: 0; }
.mtp-brandmark__logo { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.mtp-brandmark__logo img { display: block; max-height: 56px; max-width: 180px; width: auto; height: auto; }
.mtp-pagehead--brand h1, .mtp-pagehead--brand .mth-eyebrow, .mtp-pagehead--brand .mth-lead { color: #fff; }

/* Tournament page: the "Running a league too?" note. */
.mtp-tourn-leagues { max-width: 720px; }
.mtp-tourn-leagues ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* League hub: the two sport cards. */
.mtp-sports { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .mtp-sports { grid-template-columns: 1fr 1fr; } }
.mtp-sport { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.mtp-sport:hover { transform: translateY(-2px); color: var(--ink); }
.mtp-sport__photo.mth-moment { aspect-ratio: 16 / 9; border-radius: 0; }
.mtp-sport__body { display: grid; gap: 8px; padding: var(--space-4); }
.mtp-sport__body h3 { margin: 0; }
.mtp-sport__body p { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink-muted); }
.mtp-sport__body span { font: 600 15px/1.3 var(--font); color: var(--indigo); }

/* Questions and answers (<x-mkt.faq>) */
.mtp-faq { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .mtp-faq { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-5); } }
.mtp-faq__item { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.mtp-faq__item .mth-h3 { font-size: 18px; }
@media (min-width: 768px) { .mtp-faq__item .mth-h3 { font-size: 19px; } }
.mtp-faq__item p { margin: 8px 0 0; font: 400 16px/1.6 var(--font); color: var(--ink-muted); }

/* /compare tables. Scrolls sideways on a phone; MatchTime's column stands out. */
.mtp-compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); }
.mtp-compare table { width: 100%; min-width: 720px; border-collapse: collapse; font: 400 15px/1.45 var(--font); color: var(--ink); }
.mtp-compare th, .mtp-compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.mtp-compare thead th { border-top: 0; font-weight: 700; }
.mtp-compare tbody th { font-weight: 600; width: 18%; }
.mtp-compare .mtp-compare__us { background: rgba(24, 168, 84, .08); font-weight: 600; }
.mtp-compare thead .mtp-compare__us { color: var(--cta); }
.mtp-compare .mtp-compare__none { color: var(--ink-muted); font-style: italic; }
.mtp-compare__checked { margin-top: 12px; }
.mtp-compare__two { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .mtp-compare__two { grid-template-columns: 1fr 1fr; } }
.mtp-compare__fit { margin: 16px 0 0; padding-left: 20px; color: var(--ink-muted); font: 400 16px/1.6 var(--font); }
.mtp-compare__fit li + li { margin-top: 10px; }

/* /ai */
.mtp-ai__ctas { margin-top: 24px; }
.mtp-ai__url { margin: 0 0 var(--space-4); font: 500 16px/1.5 var(--font); color: var(--ink); }
.mtp-ai__url code { display: inline-block; margin-top: 4px; padding: 4px 10px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--line); font: 600 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.mtp-ai__steps { margin: 12px 0; padding-left: 20px; color: var(--ink); font: 400 16px/1.55 var(--font); }
.mtp-ai__steps li + li { margin-top: 6px; }
.mtp-ai__promises { list-style: none; margin: 20px 0 0; padding: 0; }
.mtp-ai__promises li { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font: 400 16px/1.5 var(--font); color: var(--ink); }
.mtp-ai__promises svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--cta); }
.mtp-compare .mtp-compare__usrow th, .mtp-compare .mtp-compare__usrow td { background: rgba(24, 168, 84, .08); font-weight: 600; }

/* <x-mkt.ai-callout>: a slim band, deliberately quieter than the sections around it. */
.mtp-ai-band { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.mtp-ai-band__inner { display: grid; gap: 14px; align-items: center; padding: 20px var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); }
@media (min-width: 768px) { .mtp-ai-band__inner { grid-template-columns: auto 1fr auto; gap: 20px; } }
.mtp-ai-band__inner .mth-h3 { font-size: 18px; }
.mtp-ai-band__inner p { margin: 4px 0 0; font: 400 15px/1.5 var(--font); color: var(--ink-muted); }
.mtp-ai-band__inner .mth-btn { justify-self: start; }

/* /product/league-scheduling-software */
.mtp-sched__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-4) 0 0; }
@media (min-width: 768px) { .mtp-sched__stats { grid-template-columns: repeat(4, 1fr); } }
.mtp-sched__stats div { display: flex; flex-direction: column-reverse; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); }
.mtp-sched__stats dd { margin: 0; font: 700 44px/1.05 var(--font); color: var(--indigo); }
.mtp-sched__stats dt { margin-top: 6px; font: 500 15px/1.4 var(--font); color: var(--ink-muted); }
.mtp-sched__result { display: flex; gap: 10px; align-items: flex-start; margin: var(--space-4) 0 0; font: 600 18px/1.5 var(--font); color: var(--ink); }
.mtp-sched__result svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--cta); }
.mtp-sched__quote { margin: 0; max-width: 760px; }
.mtp-sched__quote blockquote { margin: 8px 0 12px; font: 500 22px/1.5 var(--font); color: var(--ink); }
.mtp-sched__quote figcaption { font: 600 15px/1.4 var(--font); color: var(--ink-muted); }
.mtp-sched__why { max-width: 760px; }
.mtp-sched__screen { max-width: 900px; margin-top: var(--space-5); }
/* <x-mkt.scheduling-callout>: same slim band as the AI pointer, but a lead feature, so a filled button. */
.mtp-sched-band .mtp-ai-band__inner { border-color: var(--cta); }

/* A wide logo (e.g. StillFire's tennis logo) gets a wider white tile than a square one. */
.mtp-story--wide-logo .mtp-story__logo { width: 260px; max-width: 100%; }

/* Facility page (facility/profile-v2) */
.mtp-fac__rating { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; color: rgba(255,255,255,.85); font: 500 15px/1.4 var(--font); }
.mtp-fac__stars { letter-spacing: 2px; color: rgba(127,127,127,.45); font-size: 18px; }
.mtp-fac__stars .is-on { color: #f5b301; }
.mtp-fac__ad { margin-top: var(--space-4); text-align: center; }
.mtp-fac__ad:empty { display: none; }
/* Revive writes <ins> + <a><img>; Tailwind's preflight makes img a block, so text-align alone leaves it on the left. */
.mtp-fac__ad ins { display: block; margin: 0 auto; text-align: center; }
.mtp-fac__ad ins + ins { margin-top: var(--space-4); }
.mtp-fac__ad ins a { display: inline-block; }
.mtp-fac__ad ins img { margin: 0 auto; max-width: 100%; height: auto; }
.mtp-fac__grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .mtp-fac__grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.mtp-fac__sports { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 640px) { .mtp-fac__sports { grid-template-columns: repeat(2, 1fr); } }
.mtp-fac__count { margin: 6px 0 0; font: 700 22px/1.2 var(--font); color: var(--indigo); }
.mtp-fac__sport ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-muted); font: 400 15px/1.5 var(--font); }
.mtp-fac__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-4) 0 0; }
.mtp-fac__facts dt { font: 600 13px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.mtp-fac__facts dd { margin: 4px 0 0; font: 500 16px/1.5 var(--font); color: var(--ink); }
.mtp-fac__sub { margin-top: var(--space-5); }
.mtp-fac__programs { margin: 8px 0 0; padding-left: 18px; color: var(--ink); font: 400 16px/1.6 var(--font); }
.mtp-fac__directions { margin: 8px 0 0; color: var(--ink-muted); font: 400 16px/1.6 var(--font); }
.mtp-fac__map { width: 100%; height: 320px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-wash); }
.mtp-fac__summary { display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
@media (min-width: 768px) { .mtp-fac__summary { grid-template-columns: 1fr 2fr; align-items: center; } }
.mtp-fac__avg { margin: 0; font: 500 18px/1.3 var(--font); color: var(--ink-muted); }
.mtp-fac__avg b { font: 700 48px/1 var(--font); color: var(--ink); }
.mtp-fac__avg span { display: block; margin-top: 6px; font-size: 14px; }
.mtp-fac__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mtp-fac__bars li { display: grid; grid-template-columns: 70px 1fr 36px; gap: 10px; align-items: center; font: 500 14px/1 var(--font); color: var(--ink-muted); }
.mtp-fac__bars i { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #f5b301 var(--w), var(--line) var(--w)); }
.mtp-fac__bars b { text-align: right; color: var(--ink); }
.mtp-fac__reviews { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .mtp-fac__reviews { grid-template-columns: repeat(2, 1fr); } }
.mtp-fac__review { margin: 0; }
.mtp-fac__review blockquote { margin: 8px 0; font: 400 16px/1.6 var(--font); color: var(--ink); }
.mtp-fac__review figcaption { font: 500 14px/1.4 var(--font); color: var(--ink-muted); }
.mtp-fac__review-ctas { margin-top: var(--space-4); }
.mtp-fac__near { margin: var(--space-4) 0; padding-left: 22px; display: grid; gap: 12px; }
.mtp-fac__near a { font: 600 16px/1.4 var(--font); color: var(--indigo); }
.mtp-fac__near span { display: block; font: 400 14px/1.4 var(--font); color: var(--ink-muted); }
.mtp-fac__homes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; }
.mtp-fac__homes li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); font: 600 14px/1.3 var(--font); color: var(--ink); }

/* Court search (facility/search-v2) */
.mtp-fs__box { margin-top: var(--space-4); max-width: 760px; padding: var(--space-4); border-radius: var(--radius-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.mtp-fs__label { display: block; margin-bottom: 8px; font: 600 15px/1.3 var(--font); color: #fff; }
.mtp-fs__row { display: flex; gap: 10px; flex-wrap: wrap; }
.mtp-fs__row input { flex: 1 1 240px; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink); font: 500 16px/1.3 var(--font); }
.mtp-fs__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.mtp-fs__filters legend { float: left; margin-right: 6px; padding: 6px 0; font: 600 13px/1.3 var(--font); color: rgba(255,255,255,.85); }
.mtp-fs__chip { position: relative; cursor: pointer; }
.mtp-fs__chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mtp-fs__chip span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); color: #fff; font: 600 13px/1.3 var(--font); }
.mtp-fs__chip input:checked + span { background: var(--cta); border-color: var(--cta); }
.mtp-fs__chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.mtp-fs__notice { margin: 0 0 var(--space-4); padding: 12px 16px; border-radius: 12px; background: #fff3cd; color: #5c4400; font: 500 15px/1.5 var(--font); }
.mtp-fs__grid { display: grid; gap: var(--space-5); }
@media (min-width: 1024px) { .mtp-fs__grid { grid-template-columns: 7fr 5fr; align-items: start; } .mtp-fs__side { position: sticky; top: 16px; } }
.mtp-fs__count { margin: 0 0 var(--space-3); }
.mtp-fs__count span { color: var(--ink-muted); font-weight: 500; }
.mtp-fs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.mtp-fs__item .mth-card__body { flex-direction: row; gap: 14px; align-items: flex-start; }
.mtp-fs__item .mth-card__body > div { flex: 1; min-width: 0; }
.mtp-fs__n { flex: 0 0 30px; width: 30px; height: 30px; margin-top: 2px; border-radius: 999px; background: var(--cta); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 14px/1 var(--font); }
.mtp-fs__item h3 { margin: 0; }
.mtp-fs__item h3 a { color: var(--indigo); text-decoration: none; }
.mtp-fs__item h3 a:hover { text-decoration: underline; }
.mtp-fs__addr { margin: 4px 0 0; font: 400 15px/1.5 var(--font); color: var(--ink-muted); }
.mtp-fs__dist { white-space: nowrap; }
.mth-card .mtp-fs__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.mth-card .mtp-fs__tags li { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--bg-wash); color: var(--ink); font: 600 12px/1.3 var(--font); }
.mtp-fs__rating { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font: 500 14px/1.3 var(--font); color: var(--ink-muted); }
.mtp-fs__pages { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--space-4); }
.mtp-fs__page { min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink); font: 600 14px/1 var(--font); cursor: pointer; }
.mtp-fs__page.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.mtp-fs__map { height: 420px; }
.mtp-compare .mtp-compare__fact { display: block; margin-top: 6px; color: var(--cta); font-weight: 700; }
