:root {
  --ink: #07140f;
  --forest: #0b3d2e;
  --grass: #12a66a;
  --mint: #d6ffec;
  --lime: #d9ff51;
  --sand: #fff3cf;
  --sun: #ffb000;
  --coral: #ff5d46;
  --rose: #ff2d7a;
  --sky: #b9efff;
  --paper: #fffaf0;
  --white: #ffffff;
  --muted: #5a665f;
  --line: rgba(7, 20, 15, .14);
  --shadow: 0 24px 70px rgba(7, 20, 15, .20);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(217,255,81,.7), transparent 28rem),
    radial-gradient(circle at 82% 2%, rgba(255,93,70,.34), transparent 26rem),
    linear-gradient(180deg, #fffaf0 0%, #f4fff9 52%, #fff3cf 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .20;
  background-image:
    linear-gradient(30deg, rgba(7,20,15,.05) 12%, transparent 12.5%, transparent 87%, rgba(7,20,15,.05) 87.5%, rgba(7,20,15,.05)),
    linear-gradient(150deg, rgba(7,20,15,.05) 12%, transparent 12.5%, transparent 87%, rgba(7,20,15,.05) 87.5%, rgba(7,20,15,.05));
  background-size: 76px 132px;
  mix-blend-mode: multiply;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 240, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,20,15,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--forest);
  background: linear-gradient(135deg, var(--lime), var(--sky));
  box-shadow: 0 12px 26px rgba(18,166,106,.28);
  transform: rotate(-5deg);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem;
}

nav a {
  padding: .62rem .78rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 800;
  color: var(--forest);
}

nav a:hover { background: rgba(18,166,106,.12); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.78);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--forest);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 88svh;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 4rem) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -11rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: repeating-conic-gradient(from 15deg, rgba(18,166,106,.18) 0 9deg, rgba(255,176,0,.18) 9deg 18deg);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(7,20,15,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 32px rgba(7,20,15,.06);
  color: var(--forest);
  font-size: .83rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow.glass { background: rgba(255,255,255,.18); color: white; border-color: rgba(255,255,255,.28); }

h1, h2, h3 {
  font-family: Oswald, Inter, sans-serif;
  line-height: .92;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(4rem, 12vw, 10.8rem);
  max-width: 11ch;
  text-shadow: 0 8px 0 rgba(217,255,81,.45);
}
h2 { font-size: clamp(2.5rem, 7vw, 5.4rem); }
h3 { font-size: clamp(1.45rem, 3vw, 2rem); }

.hero-line {
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 900;
  color: var(--forest);
}

.hero-text, .section-head p:not(.eyebrow) {
  max-width: 72ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #20342b;
}

.badge-row, .button-row, .mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: .72rem;
  align-items: center;
  margin-top: 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem .95rem;
  border-radius: 999px;
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(7,20,15,.08);
}
.badge.hot { background: linear-gradient(135deg, var(--coral), var(--sun)); color: white; border: 0; }
.badge.city { background: linear-gradient(135deg, var(--mint), var(--sky)); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  min-height: 50px;
  padding: .88rem 1.1rem;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font: inherit;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: white; box-shadow: 0 14px 30px rgba(7,20,15,.26); }
.button.secondary { background: var(--lime); color: var(--ink); box-shadow: 0 14px 30px rgba(217,255,81,.28); }
.button.ghost { background: rgba(255,255,255,.68); border: 1px solid var(--line); }
.light-button { color: white; background: rgba(255,255,255,.14) !important; border-color: rgba(255,255,255,.24) !important; }

.hero-card {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: calc(var(--radius) + 12px);
  background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(255,255,255,.28));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-photo {
  min-height: 540px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent 42%, rgba(7,20,15,.9)),
    url("../beach-center-43-3-2500x1875.jpg") center/cover;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  color: white;
  overflow: hidden;
}

.floating-score {
  position: absolute;
  top: 2rem;
  right: 1.6rem;
  width: min(230px, 46vw);
  padding: 1rem;
  border-radius: 24px;
  background: var(--lime);
  box-shadow: 0 18px 42px rgba(7,20,15,.24);
  transform: rotate(3deg);
  font-weight: 900;
}
.score-big { display: block; font-family: Oswald, sans-serif; font-size: 3.2rem; line-height: .9; }
.floating-date {
  position: absolute;
  top: 2rem;
  left: 1.6rem;
  width: min(250px, 48vw);
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--coral), var(--sun));
  color: white;
  box-shadow: 0 18px 42px rgba(7,20,15,.24);
  transform: rotate(-4deg);
  font-weight: 900;
  text-transform: uppercase;
}
.date-big { display: block; font-family: Oswald, sans-serif; font-size: 3.45rem; line-height: .82; }

section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); }
.section-head { max-width: 980px; margin-bottom: 2rem; }
.section-head.compact { margin-bottom: 1rem; }
.section-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2rem; align-items: start; }

.grid { display: grid; gap: 1rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.quick-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding-top: 0;
}
.quick-strip article {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  box-shadow: 0 20px 56px rgba(7,20,15,.08);
}
.quick-strip strong { font-family: Oswald, sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .88; }
.quick-strip span { color: var(--muted); font-weight: 900; padding: 0 1rem; }

.card, .sport-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  background: rgba(255,255,255,.72);
  box-shadow: 0 20px 56px rgba(7,20,15,.09);
  overflow: hidden;
}
.card.bright { background: linear-gradient(145deg, var(--mint), #ffffff); }
.card.sun { background: linear-gradient(145deg, #fff7d8, #ffffff); }
.card.dark { background: var(--ink); color: white; }
.highlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
}
.card.dark p, .card.dark li { color: rgba(255,255,255,.78); }
.card p, .card li, .sport-card p { color: #40524a; line-height: 1.65; }
.card ul { padding-left: 1.1rem; margin-bottom: 0; }

.concept-card { position: relative; min-height: auto; }
.concept-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  min-height: 430px;
}
.mosaic-tile {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  min-height: 220px;
  color: white;
  font-family: Oswald, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  background: var(--forest);
}
.mosaic-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,20,15,.05) 30%, rgba(7,20,15,.82));
  opacity: 1;
}
.mosaic-tile span { position: relative; z-index: 1; text-shadow: 0 2px 18px rgba(7,20,15,.45); }
.mosaic-tile.park { background: linear-gradient(180deg, transparent 30%, rgba(7,20,15,.85)), url("../uppvarmning.webp") center/cover; }
.mosaic-tile.beach { background: linear-gradient(180deg, transparent 30%, rgba(7,20,15,.85)), url("../altinha.webp") center/cover; }
.mosaic-tile.table { background: linear-gradient(180deg, transparent 30%, rgba(7,20,15,.85)), url("../futmesa.svg") center/cover; }
.mosaic-tile.community { background: linear-gradient(180deg, transparent 30%, rgba(7,20,15,.85)), url("../teqball.jpg") center/cover; }
.mosaic-caption {
  margin-top: .8rem;
  padding: 1rem;
  border-radius: 24px;
  color: white;
  background: var(--forest);
}

.sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.sport-card { padding: 0; grid-column: span 2; background: rgba(255,255,255,.78); }
.sport-card.feature { grid-column: span 3; }
.sport-card img, .altinha-art { width: 100%; height: 250px; object-fit: cover; }
.sport-card.feature img, .sport-card.feature .altinha-art { height: 320px; }
.compact-hero-card { max-width: 760px; margin-bottom: 1rem; }
.compact-hero-card .hero-photo { min-height: 300px; }
.compact-sports .sport-card img { height: 230px; }
.compact-sports .sport-card.feature img { height: 285px; }
.sports-subhead { margin-top: 2rem; }
.sport-copy { padding: 1.2rem; }
.altinha-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background:
    radial-gradient(circle at 20% 25%, rgba(217,255,81,.9), transparent 10rem),
    radial-gradient(circle at 80% 35%, rgba(255,93,70,.55), transparent 12rem),
    linear-gradient(135deg, var(--sky), var(--mint));
  font-size: clamp(3rem, 8vw, 6rem);
}
.altinha-art span:nth-child(2) { transform: translateY(-1.8rem) rotate(-12deg); font-weight: 900; color: var(--forest); }

.rules-hero h1 { max-width: 8ch; }
.rules-cover-card { min-height: 430px; }
.rules-cover-art {
  min-height: 400px;
  display: grid;
  align-content: end;
  gap: .75rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 18%, rgba(217,255,81,.9), transparent 11rem),
    radial-gradient(circle at 82% 28%, rgba(255,93,70,.58), transparent 12rem),
    linear-gradient(145deg, var(--forest), #07140f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.rules-cover-art span {
  width: fit-content;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: white;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.rules-cover-art span:nth-child(2) { margin-left: auto; background: var(--lime); color: var(--ink); }
.rules-grid ul, .rules-card ul { margin: .8rem 0 0; padding-left: 1.15rem; }
.rules-card li { margin: .45rem 0; font-weight: 700; }

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  background: rgba(18,166,106,.12);
  color: var(--forest);
  margin-bottom: .75rem;
}
.pill.active { background: var(--lime); }
.pill.future { background: rgba(7,20,15,.08); color: var(--muted); }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}
.logo-tile {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 86px;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7,20,15,.07);
}
.logo-tile strong { line-height: 1.15; }
.logo-img {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 18px;
  background: white;
  padding: .25rem;
  box-shadow: 0 8px 18px rgba(7,20,15,.08);
}
.logo-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-family: Oswald, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: white;
}
.logo-mark.pgs { background: linear-gradient(135deg, #009b5a, #111); }
.logo-mark.hrf { background: linear-gradient(135deg, #111, #7a1f1f); }
.logo-mark.gsb { background: linear-gradient(135deg, #ffb000, #ff5d46); color: var(--ink); font-size: 2rem; }
.logo-mark.irw { background: linear-gradient(135deg, #005f73, #12a66a); }

.coach-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
}
.coach-photo, .coach-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(7,20,15,.16);
}
.coach-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--lime));
  color: var(--forest);
  font-family: Oswald, sans-serif;
  font-size: 4rem;
  font-weight: 900;
}

.timeline { display: grid; gap: 1rem; }
.time-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
}
.time { font-family: Oswald, sans-serif; font-size: 1.65rem; color: var(--forest); text-transform: uppercase; }
.time-item p { color: #40524a; line-height: 1.65; margin-bottom: 0; }

.signup-wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}
form { display: grid; gap: .85rem; }
label { display: grid; gap: .42rem; color: var(--forest); font-weight: 900; font-size: .9rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(7,20,15,.18);
  border-radius: 16px;
  padding: .9rem .95rem;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font: inherit;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--grass); box-shadow: 0 0 0 4px rgba(18,166,106,.14); }
textarea { min-height: 100px; resize: vertical; }
.checkline {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  padding: .85rem;
  border-radius: 16px;
  background: rgba(18,166,106,.08);
  color: var(--ink);
}
.checkline input { width: auto; margin-top: .25rem; }

.payment-box {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border-radius: 22px;
  background: #f8fff9;
  border: 1px dashed rgba(18,166,106,.45);
}
.payment-box.inverse { margin-top: 1rem; color: var(--ink); }
.swish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, #7624ff, #11b6ff 52%, #ff43a4);
  box-shadow: 0 18px 45px rgba(118,36,255,.22);
  margin-bottom: 1rem;
}
.swish strong { font-size: 1.25rem; }

.ledger-card { margin-top: 1rem; padding: 0; }
.ledger { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 22px; background: white; }
.ledger th, .ledger td { padding: .9rem; border-bottom: 1px solid rgba(7,20,15,.09); text-align: left; font-size: .94rem; }
.ledger th { background: var(--forest); color: white; }
.ledger tr:last-child td { border-bottom: 0; }

.cta-band {
  margin: clamp(1rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 16px);
  background:
    radial-gradient(circle at 12% 10%, rgba(217,255,81,.72), transparent 18rem),
    radial-gradient(circle at 90% 20%, rgba(255,93,70,.45), transparent 20rem),
    var(--forest);
  color: white;
  box-shadow: var(--shadow);
}
.cta-band p { color: rgba(255,255,255,.82) !important; }

.small { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.photo-credit { margin: .45rem 0 0; color: var(--muted); font-size: .78rem; font-weight: 800; text-align: center; }
.continent-links { margin-bottom: 1.4rem; }
.place-list { margin: .9rem 0 0; padding-left: 1.1rem; color: #40524a; line-height: 1.7; }
.place-list strong { color: var(--forest); }
.light { color: rgba(255,255,255,.78) !important; }
.source-list { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.source-list a { color: var(--forest); font-weight: 800; }

footer {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem) 3rem;
  color: #d9e1dc;
  background:
    radial-gradient(circle at 12% 0%, rgba(217,255,81,.12), transparent 22rem),
    linear-gradient(180deg, #27312d, #161d1a);
}
footer a { color: white; font-weight: 800; }
.footer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
  gap: 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
footer .source-list { color: #b9c5be; }
.footer-global { padding-top: 1.5rem; }
.footer-global-intro { max-width: 980px; }
.footer-global-intro h2 { color: white; font-size: clamp(2rem, 5vw, 3.8rem); }
.footer-global-intro p:not(.eyebrow) { color: #d9e1dc; line-height: 1.7; }
.region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.region-list details {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.region-list summary {
  cursor: pointer;
  padding: 1rem;
  color: white;
  font-family: Oswald, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}
.region-list .place-list { margin: 0; padding: 0 1.2rem 1rem 2rem; color: #d9e1dc; }
.region-list .place-list strong { color: var(--lime); }
.host-card {
  display: grid;
  gap: .28rem;
  padding: .75rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  list-style-position: inside;
}
.host-card span { display: block; }

@media (max-width: 1040px) {
  .site-header { flex-wrap: wrap; }
  .brand { max-width: calc(100% - 62px); }
  .nav-toggle { display: inline-flex; }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .45rem;
    padding-top: .65rem;
  }
  nav.is-open { display: flex; }
  nav a {
    width: 100%;
    padding: .85rem 1rem;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(7,20,15,.08);
  }
  .hero, .section-split, .signup-wrap, .highlight-card, .footer-head, .region-list { grid-template-columns: 1fr; }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .sport-card, .sport-card.feature { grid-column: span 3; }
}

@media (max-width: 680px) {
  section, .hero { padding-left: 1rem; padding-right: 1rem; }
  .grid.three, .grid.two, .quick-strip { grid-template-columns: 1fr; }
  .sport-grid { grid-template-columns: 1fr; }
  .sport-card, .sport-card.feature { grid-column: auto; }
  h1 { font-size: clamp(3.4rem, 20vw, 6rem); }
  .hero-photo, .concept-card, .concept-mosaic { min-height: 360px; }
  .concept-mosaic { height: auto; grid-template-columns: 1fr; }
  .mosaic-caption { position: static; margin-top: .8rem; background: var(--forest); }
  .floating-score { position: static; width: auto; margin: -2rem 1rem 1rem; }
  .floating-date { position: static; width: auto; margin: 0 1rem 1rem; }
  .time-item, .coach-card { grid-template-columns: 1fr; }
  .coach-photo, .coach-placeholder { width: 100%; height: 240px; }
  .ledger { display: block; overflow-x: auto; }
}

@media print {
  body { background: white; }
  body::before, .site-header, .button-row, form, .floating-score { display: none !important; }
  section, .hero { padding: 1rem 0; min-height: auto; display: block; }
  .card, .hero-card, .cta-band, .sport-card { box-shadow: none; break-inside: avoid; }
  .hero-photo { min-height: 260px; }
  a { text-decoration: none; }
}

/* Host-map region list on a LIGHT section background (names readable in black) */
#host-map .region-list details {
  border-color: var(--line);
  background: rgba(7,20,15,.03);
}
#host-map .region-list summary { color: #000; }
#host-map .region-list .place-list { color: var(--muted); }
#host-map .region-list .place-list strong { color: var(--forest); }
#host-map .host-card { background: rgba(7,20,15,.05); }

/* ===== Find-places map page ===== */
/* Critical Leaflet fallback CSS.
   If the CDN Leaflet stylesheet loads late or is blocked, map tiles otherwise
   appear as loose square cubes. Keep these rules local so Live Server and
   Codeberg Pages render the map correctly every time. */
#mapLeaflet.leaflet-container,
#mapLeaflet .leaflet-container {
  position: relative;
  overflow: hidden;
  background: #d9eadf;
  outline-offset: 1px;
  touch-action: pan-x pan-y;
}
#mapLeaflet .leaflet-pane,
#mapLeaflet .leaflet-tile,
#mapLeaflet .leaflet-marker-icon,
#mapLeaflet .leaflet-marker-shadow,
#mapLeaflet .leaflet-tile-container,
#mapLeaflet .leaflet-pane > svg,
#mapLeaflet .leaflet-pane > canvas,
#mapLeaflet .leaflet-zoom-box,
#mapLeaflet .leaflet-image-layer,
#mapLeaflet .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}
#mapLeaflet .leaflet-pane { z-index: 400; }
#mapLeaflet .leaflet-tile-pane { z-index: 200; }
#mapLeaflet .leaflet-overlay-pane { z-index: 400; }
#mapLeaflet .leaflet-shadow-pane { z-index: 500; }
#mapLeaflet .leaflet-marker-pane { z-index: 600; }
#mapLeaflet .leaflet-tooltip-pane { z-index: 650; }
#mapLeaflet .leaflet-popup-pane { z-index: 700; }
#mapLeaflet .leaflet-map-pane canvas { z-index: 100; }
#mapLeaflet .leaflet-map-pane svg { z-index: 200; }
#mapLeaflet .leaflet-tile,
#mapLeaflet .leaflet-marker-icon,
#mapLeaflet .leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
#mapLeaflet .leaflet-tile { visibility: hidden; }
#mapLeaflet .leaflet-tile-loaded { visibility: inherit; }
#mapLeaflet .leaflet-pane > svg { pointer-events: none; }
#mapLeaflet .leaflet-interactive { pointer-events: auto; cursor: pointer; }
#mapLeaflet .leaflet-control-container .leaflet-top,
#mapLeaflet .leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}
#mapLeaflet .leaflet-top { top: 0; }
#mapLeaflet .leaflet-right { right: 0; }
#mapLeaflet .leaflet-bottom { bottom: 0; }
#mapLeaflet .leaflet-left { left: 0; }
#mapLeaflet .leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
  float: left;
  clear: both;
}
#mapLeaflet .leaflet-right .leaflet-control { float: right; }
#mapLeaflet .leaflet-top .leaflet-control { margin-top: 10px; }
#mapLeaflet .leaflet-bottom .leaflet-control { margin-bottom: 10px; }
#mapLeaflet .leaflet-left .leaflet-control { margin-left: 10px; }
#mapLeaflet .leaflet-right .leaflet-control { margin-right: 10px; }
#mapLeaflet .leaflet-control-zoom a {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #ccc;
}
#mapLeaflet .leaflet-control-zoom a:last-child { border-bottom: 0; }
#mapLeaflet .leaflet-control-attribution {
  margin: 0;
  padding: 2px 6px;
  background: rgba(255,255,255,.82);
  font-size: 11px;
}
.map-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.2rem;
  align-items: start;
}
.map-panel {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
#mapLeaflet { height: 70vh; min-height: 460px; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 0; }
.map-controls .control-row { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .7rem; }
.map-controls label { font-weight: 700; font-size: .85rem; }
.map-controls input, .map-controls select, .map-controls textarea {
  width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: var(--white);
}
.map-controls textarea { min-height: 70px; resize: vertical; }
.spot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; max-height: 240px; overflow:auto; }
.spot-item { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border:1px solid var(--line); border-radius: 14px; background: var(--white); }
.spot-item .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: .35rem; flex: 0 0 auto; }
.spot-item .spot-meta { font-size: .8rem; color: var(--muted); }
.spot-item button { margin-left: auto; background: none; border: none; color: var(--coral); cursor: pointer; font-weight: 700; }
.spot-status { display:inline-block; margin-top:.25rem; padding:.18rem .55rem; border-radius:999px; font-size:.7rem; font-weight:700; line-height:1.4; }
.spot-status.is-reviewed { background: #d9ff51; color: #0b3d2e; }
.spot-status.is-pending { background: #fff3cf; color: #7a5b00; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .78rem; }
.legend span { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .5rem; border-radius: 999px; background: rgba(7,20,15,.05); }
.legend i { width: 12px; height: 12px; border-radius: 50%; display:inline-block; }
@media (max-width: 860px) {
  .map-wrap { grid-template-columns: 1fr; }
  .map-panel { position: static; }
  #mapLeaflet { height: 56vh; min-height: 360px; }
}
