/* ==========================================================================
   Urlaub 2027 – Familien-Abstimmung · Design-System
   ========================================================================== */
:root {
  --bg: #f6f1e7;
  --bg-2: #efe7d6;
  --card: #fffdf8;
  --ink: #20302f;
  --muted: #6d7b78;
  --line: rgba(32, 48, 47, 0.12);
  --teal: #0d6e63;
  --teal-deep: #0a4f47;
  --teal-ink: #0b3b36;
  --coral: #e2725b;
  --coral-deep: #c85a44;
  --gold: #f2b134;
  --gold-soft: #fdeecd;
  --shadow-sm: 0 2px 8px rgba(32, 48, 47, 0.08);
  --shadow-md: 0 12px 32px -8px rgba(32, 48, 47, 0.22);
  --shadow-lg: 0 24px 60px -16px rgba(11, 59, 54, 0.35);
  --radius: 18px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 92px; } /* Platz für die klebende Kopfzeile bei Scroll-into-view */
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(13, 110, 99, 0.08), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(226, 114, 91, 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 18px;
  max-width: 1180px; margin: 0 auto; padding: 12px 22px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: var(--teal-ink); letter-spacing: 0.2px;
}
.brand .logo {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, var(--teal) 0%, #12766a 55%, #0a4f47 100%);
  box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  color: var(--teal-ink); transition: background 0.15s;
}
.nav a:hover { background: rgba(13, 110, 99, 0.1); }
.nav a.active { background: var(--teal-ink); color: #f6f1e7; }
.userchip {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line); background: var(--card);
  padding: 6px 12px 6px 6px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--teal-ink);
  box-shadow: var(--shadow-sm); transition: transform 0.15s, box-shadow 0.15s;
}
.userchip:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px;
}
.userchip .avatar { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #f4efe3;
  background:
    radial-gradient(700px 340px at 12% -10%, rgba(242, 177, 52, 0.25), transparent 55%),
    radial-gradient(900px 500px at 110% 120%, rgba(13, 110, 99, 0.55), transparent 60%),
    linear-gradient(150deg, #0b3b36 0%, #0d5a50 55%, #0a4f47 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 58px 22px 62px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 14px 0 16px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 17px; max-width: 46ch; color: rgba(244, 239, 227, 0.85); margin: 0 0 26px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--gold); background: rgba(242, 177, 52, 0.12);
  border: 1px solid rgba(242, 177, 52, 0.35);
  padding: 7px 14px; border-radius: 999px;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats span {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.hero-fan { position: relative; height: 380px; }
.hero-fan .fanimg {
  position: absolute; width: 300px; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 16px; border: 6px solid rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-lg);
}
.hero-fan .fanimg:nth-child(1) { right: 120px; top: 26px; transform: rotate(-7deg); }
.hero-fan .fanimg:nth-child(2) { right: 8px; top: 84px; transform: rotate(4deg); z-index: 2; }
.hero-fan .fanimg:nth-child(3) { right: 90px; top: 180px; transform: rotate(-2deg); z-index: 3; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* ---------- Filter chips ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 34px 0 22px; }
.toolbar h2 { font-family: var(--font-display); font-size: 26px; margin: 0 14px 0 0; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--teal-ink);
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--teal); }
.chip.active { background: var(--teal-ink); border-color: var(--teal-ink); color: #f6f1e7; }
.toolbar .count { margin-left: auto; color: var(--muted); font-size: 13.5px; font-weight: 500; }

/* ---------- Card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; padding-bottom: 70px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1); }
.card:hover .card-media img { transform: scale(1.055); }
.badge-country {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 253, 248, 0.94); color: var(--teal-ink);
  padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.badge-rank {
  position: absolute; bottom: 12px; left: 12px; z-index: 3;
  background: var(--gold); color: #5c4310;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center; font-weight: 800; font-size: 14.5px;
  box-shadow: var(--shadow-sm);
}
.card-body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--font-display); font-size: 20.5px; line-height: 1.25; margin: 0; font-weight: 650; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--teal); }
.card .region { margin: 0; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.facts span {
  background: var(--bg-2); color: #4b5a57; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; padding: 4px 9px;
}
.card .spacer { flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px; }
.link-more { font-size: 14px; font-weight: 700; color: var(--teal); }
.link-more:hover { color: var(--coral-deep); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 3px; }
.stars button {
  background: none; border: 0; padding: 1px; line-height: 0;
  border-radius: 6px; transition: transform 0.12s;
}
.stars button:hover { transform: scale(1.18); }
.stars svg { width: 26px; height: 26px; }
.stars.small svg { width: 17px; height: 17px; }
.stars .off { fill: #d8d2c4; }
.stars .on { fill: var(--gold); }
.stars.static button { cursor: default; }
.stars.static button:hover { transform: none; }
.vote-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vote-meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.vote-meta b { color: var(--teal-ink); }
.stars-hint { font-size: 12.5px; color: var(--coral-deep); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 22px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.2px;
  background: var(--coral); color: #fff;
  box-shadow: 0 10px 22px -8px rgba(226, 114, 91, 0.65);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); background: var(--coral-deep); box-shadow: 0 14px 26px -8px rgba(226, 114, 91, 0.7); }
.btn.secondary {
  background: var(--card); color: var(--teal-ink); border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn.secondary:hover { border-color: var(--teal); background: #fff; }
.btn.small { padding: 8px 16px; font-size: 13.5px; }

/* ---------- Login modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 59, 54, 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow-lg);
  max-width: 430px; width: 100%; padding: 30px; text-align: center;
  transform: translateY(14px) scale(0.98); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.modal-backdrop.open .modal { transform: none; }
.modal h2 { font-family: var(--font-display); font-size: 26px; margin: 8px 0 6px; }
.modal p { color: var(--muted); margin: 0 0 20px; font-size: 14.5px; }
.usergrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.userpick {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); background: var(--bg); border-radius: 16px;
  padding: 14px 8px 12px; font-weight: 700; font-size: 13.5px; color: var(--teal-ink);
  transition: all 0.15s;
}
.userpick:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); background: #fff; }
.userpick .avatar { width: 44px; height: 44px; font-size: 16px; }
.modal .fineprint { margin: 16px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Detail page ---------- */
.detail-head { padding: 40px 0 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.backlink { font-weight: 700; font-size: 14px; color: var(--teal); }
.detail-head h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); margin: 0; flex: 1 1 300px; line-height: 1.12; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; padding: 22px 0 70px; align-items: start; }
.gallery .main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--bg-2); aspect-ratio: 4/3;
}
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .navbtn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 253, 248, 0.9); color: var(--teal-ink);
  font-size: 20px; font-weight: 800; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform 0.15s;
}
.gallery .navbtn:hover { transform: translateY(-50%) scale(1.1); background: #fff; }
.gallery .prev { left: 14px; } .gallery .next { right: 14px; }
.gallery .counter {
  position: absolute; right: 14px; bottom: 12px;
  background: rgba(11, 59, 54, 0.75); color: #f4efe3;
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button {
  border: 2.5px solid transparent; border-radius: 12px; overflow: hidden; padding: 0;
  background: var(--bg-2); aspect-ratio: 4/3; transition: border-color 0.15s, transform 0.15s;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button.active { border-color: var(--teal); }

.sidebox {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px; position: sticky; top: 84px;
  display: flex; flex-direction: column; gap: 16px;
}
.sidebox .pricebox {
  background: linear-gradient(135deg, rgba(242, 177, 52, 0.16), rgba(242, 177, 52, 0.05));
  border: 1px solid rgba(242, 177, 52, 0.4); border-radius: 14px; padding: 14px 16px;
}
.sidebox .pricebox .label { font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #9a7714; }
.sidebox .pricebox .val { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--teal-ink); }
.sidebox .pricebox .note { font-size: 12px; color: var(--muted); margin-top: 3px; }
.factgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fact {
  background: var(--bg); border-radius: 12px; padding: 10px 12px;
  display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #435350;
}
.fact .ico { font-size: 18px; }
.sidebox .actions { display: grid; gap: 9px; }
.votecard {
  border: 1.5px dashed rgba(13, 110, 99, 0.4); background: rgba(13, 110, 99, 0.05);
  border-radius: 14px; padding: 14px 16px; text-align: center;
}
.votecard .t { font-weight: 700; color: var(--teal-ink); margin-bottom: 6px; font-size: 14.5px; }

.sectiontitle {
  font-family: var(--font-display); font-size: 24px; margin: 34px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.highlights li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 14.5px; display: flex; gap: 10px; align-items: baseline;
}
.highlights li::before { content: "✦"; color: var(--gold); font-size: 15px; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.amenities span {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px; font-size: 13px; font-weight: 600; color: #435350;
}
.description { font-size: 16px; color: #374644; max-width: 75ch; }

/* ---------- Comments ---------- */
.comments { display: grid; gap: 12px; }
.comment {
  display: flex; gap: 13px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
}
.comment .body { flex: 1; }
.comment .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 3px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.comment .meta b { color: var(--teal-ink); font-size: 13.5px; }
.comment .wa { background: #dcf8c6; color: #1d5c2e; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.4px; }
.comment p { margin: 0; font-size: 14.5px; }
.commentform { display: flex; gap: 10px; margin-top: 14px; }
.commentform textarea {
  flex: 1; resize: vertical; min-height: 46px; max-height: 200px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; background: var(--card); color: var(--ink);
}
.commentform textarea:focus { outline: 2px solid rgba(13, 110, 99, 0.35); border-color: var(--teal); }

/* ---------- Results ---------- */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; margin: 30px 0 10px; }
.pod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.2s;
}
.pod:hover { transform: translateY(-4px); }
.pod .pic { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pod .pic img { width: 100%; height: 100%; object-fit: cover; }
.pod .medal {
  position: absolute; top: 10px; left: 10px; font-size: 30px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}
.pod .podbody { padding: 16px 14px 18px; }
.pod h3 { font-family: var(--font-display); font-size: 19px; margin: 2px 0 2px; line-height: 1.2; }
.pod .region { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.pod .points { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1; }
.pod .pointslbl { font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.pod.first { border: 2px solid var(--gold); box-shadow: 0 18px 44px -14px rgba(242, 177, 52, 0.55); order: 0; }
.pod.second { order: 1; } .pod.third { order: 2; }
.pod.second .podbody { padding-bottom: 14px; } .pod.third .podbody { padding-bottom: 10px; }

.rankrow {
  display: grid; grid-template-columns: 52px 92px 1fr 210px; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.rankrow .pos { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--muted); text-align: center; }
.rankrow img { width: 92px; height: 64px; object-fit: cover; border-radius: 10px; }
.rankrow .rname { font-weight: 700; font-size: 15.5px; }
.rankrow .rname a { color: var(--ink); } .rankrow .rname a:hover { color: var(--teal); }
.rankrow .rregion { font-size: 12.5px; color: var(--muted); }
.barwrap { display: flex; align-items: center; gap: 10px; }
.bar { flex: 1; height: 12px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #15998a);
  transition: width 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.bar i.gold { background: linear-gradient(90deg, #e9a91f, var(--gold)); }
.barwrap .pts { font-weight: 800; font-size: 14px; color: var(--teal-ink); min-width: 74px; text-align: right; }

.progressband { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.progressband .pchip {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px 6px 7px; font-size: 13px; font-weight: 700; color: var(--teal-ink);
}
.progressband .pchip .sub { color: var(--muted); font-weight: 600; }

.matrixwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); }
table.matrix { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14px; }
.matrix th, .matrix td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix thead th {
  font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted);
  background: var(--bg); position: sticky; top: 0;
}
.matrix th.house { text-align: left; font-size: 13.5px; color: var(--teal-ink); position: sticky; left: 0; background: var(--card); min-width: 230px; }
.matrix td.star { font-weight: 800; }
.matrix td.star.c5 { background: var(--gold-soft); color: #8a6410; }
.matrix td.star.c4 { background: rgba(242, 177, 52, 0.12); }
.matrix td.total { font-weight: 800; background: var(--bg); color: var(--teal-ink); }
.matrix td.na { color: #c8c1b2; }
.matrix tbody tr:hover { background: rgba(13, 110, 99, 0.04); }
.matrix tfoot td { font-weight: 800; color: var(--teal-ink); background: var(--bg); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 80px);
  background: var(--teal-ink); color: #f4efe3; font-weight: 600; font-size: 14.5px;
  padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 200;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1); pointer-events: none;
  display: flex; gap: 9px; align-items: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Preisniveau / Wetter / Entfernungen ---------- */
.legend-line {
  margin: -8px 0 18px; font-size: 13px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 14px; box-shadow: var(--shadow-sm);
}
.legend-line b { color: var(--teal-ink); }

.badge-price {
  position: absolute; top: 12px; right: 12px; left: auto;
  background: rgba(11, 59, 54, 0.82); backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 999px;
  box-shadow: var(--shadow-sm); letter-spacing: 0.5px;
}
.badge-price .pricelevel b { color: var(--gold); font-weight: 800; font-size: 14px; }
.badge-price .pricelevel i { color: rgba(246, 241, 231, 0.45); font-style: normal; font-weight: 800; font-size: 14px; }

.pricelevel b { color: #9a7714; font-weight: 800; letter-spacing: 0.5px; }
.pricelevel i { color: #d8d2c4; font-style: normal; font-weight: 800; letter-spacing: 0.5px; }

.meta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
}
.meta-row .weather { display: inline-flex; gap: 1px; }
.umb { font-size: 14px; line-height: 1; }
.umb.off { opacity: 0.22; filter: grayscale(1); }
.dist { font-weight: 700; color: #435350; white-space: nowrap; }

.weatherbox {
  border: 1.5px solid rgba(242, 177, 52, 0.45);
  background: linear-gradient(135deg, rgba(242, 177, 52, 0.14), rgba(242, 177, 52, 0.04));
  border-radius: 14px; padding: 14px 16px;
}
.weatherbox .t { font-weight: 700; color: var(--teal-ink); margin-bottom: 6px; font-size: 14.5px; }
.weather-line { display: flex; gap: 3px; }
.weather-line .umb { font-size: 22px; }
.wsub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.wnote { font-size: 13px; color: #435350; margin-top: 8px; line-height: 1.5; }

.distgrid { display: grid; gap: 7px; }
.distgrid .fact { font-weight: 600; }
.distgrid .fact b { color: var(--teal-ink); }


.map-section { padding: 6px 0 70px; }
.map-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: var(--bg-2); min-height: 480px;
}
.map-frame #map { width: 100%; height: 520px; }
.map-frame--detail { min-height: 220px; box-shadow: var(--shadow-sm); }
.map-frame--detail #detail-map { width: 100%; height: 220px; }
.detail-map-block .t { font-weight: 700; color: var(--teal-ink); font-size: 14.5px; margin-bottom: 8px; }
.map-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 30px; color: var(--muted); background:
    radial-gradient(600px 300px at 70% 20%, rgba(13, 110, 99, 0.08), transparent 60%), var(--bg-2);
}
.map-fallback[hidden] { display: none !important; }
.map-fallback code {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 7px; font-size: 13px; color: var(--teal-ink);
}
.gmap-info {
  font-family: var(--font-body); max-width: 250px; line-height: 1.45;
}
.gmap-info img {
  width: 250px; height: 140px; object-fit: cover; border-radius: 10px; margin-bottom: 8px;
}
.gmap-info-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.gmap-info-meta { font-size: 12.5px; color: var(--muted); margin: 2px 0 6px; }
.gmap-info-facts { font-size: 12.5px; margin: 2px 0 6px; }
.gmap-info-facts .dim { color: #c8c1b2; }
.gmap-info-vote { font-size: 12.5px; font-weight: 700; color: var(--teal-deep); }
.gmap-info a {
  display: inline-block; margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--coral);
}
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.map-legend .lg-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--teal-ink);
}
.map-legend .lg-item i {
  width: 14px; height: 14px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: inline-block;
  border: 2px solid var(--card); box-shadow: var(--shadow-sm);
}
.map-missing { font-size: 13px; color: var(--muted); margin-top: 10px; }
.map-missing a { font-weight: 600; }

@media (max-width: 640px) {
  .map-frame #map { height: 380px; }
  .map-frame:not(.map-frame--detail) { min-height: 380px; }
  .map-frame--detail { min-height: 200px; }
  .map-frame--detail #detail-map { height: 200px; }
}

/* ---------- Empty / placeholder ---------- */
.empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
  background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius);
}
.empty .big { font-size: 44px; margin-bottom: 8px; }

footer.sitefoot {
  border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 13px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
footer.sitefoot .dot { opacity: 0.5; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-fan { height: 250px; }
  .hero-fan .fanimg { width: 210px; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebox { position: static; }
  .podium { grid-template-columns: 1fr; }
  .pod.first { order: 0; } .pod.second { order: 1; } .pod.third { order: 2; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .rankrow { grid-template-columns: 40px 72px 1fr; }
  .rankrow .barwrap { grid-column: 1 / -1; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .topbar-inner { padding: 10px 16px; }
  .wrap { padding: 0 16px; }
}
