:root {
  /* Farbwelt aus dem G-SPOT-Logo: Pink -> Koralle -> Amber auf warmem Dunkel */
  --bg: #0f0a10;
  --surface: rgba(24, 16, 25, 0.92);
  --surface-2: #211623;
  --surface-3: #2c1e2f;
  --line: rgba(255, 225, 240, 0.08);
  --line-strong: rgba(255, 225, 240, 0.16);
  --text: #f8eef3;
  --muted: #a8939f;
  --accent: #fe2e8c;
  --accent-soft: #ff5fa6;
  --coral: #fe7557;
  --amber: #ffb528;
  --accent-ink: #1b0710;
  --brand-gradient: linear-gradient(135deg, #fe2e8c 0%, #fe7557 55%, #ffb528 100%);
  --danger: #ff5c6c;

  /* Plattformfarben bleiben unterscheidbar (Datenkodierung), PC neutral statt Orange */
  --pc: #e9e1ec;
  --playstation: #4c8dff;
  --xbox: #3ddc84;
  --switch: #ff4d61;
  --mobile: #b98bff;
  --vr: #2fe0e6;

  /* Kräftigere Varianten für die 250-m-Kreise auf der hellen OSM-Karte */
  --pc-map: #4f5568;
  --playstation-map: #2563eb;
  --xbox-map: #15803d;
  --switch-map: #dc2638;
  --mobile-map: #7c3aed;
  --vr-map: #0e8f96;
  --accent-map: #e0167a;

  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button, input { font: inherit; color: inherit; }
button svg, label svg, .privacy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-weight: 400; }

#map { position: fixed; inset: 0; background: #f2efe9; } /* Karte bleibt realistisch: Original-OSM-Farben */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Marke ---------- */
.brand {
  position: fixed; z-index: 500;
  top: calc(16px + var(--safe-top)); left: 16px;
  padding: 14px 16px;
  min-width: 220px;
}
.brand__name { margin: 0; line-height: 0; }
.brand__logo { display: block; width: 188px; height: auto; margin: -4px 0 -2px -4px; }
.brand__claim { margin: 4px 0 0; color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.brand__stats { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.brand__stats strong { color: var(--text); font-family: var(--mono); font-size: 15px; }
.brand__by { margin: 10px 0 0; display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.brand__links { display: flex; gap: 12px; }
.brand__links a { color: var(--muted); text-underline-offset: 2px; }
.brand__links a:hover, .brand__links a:focus-visible { color: var(--text); }
.consent a { color: var(--accent-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; font-weight: 600; white-space: nowrap;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .icon-btn:focus-visible, .chip:focus-within, .panel__handle:focus-visible, .list button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.btn--primary { background: var(--brand-gradient); color: var(--accent-ink); font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.btn--primary:hover { filter: brightness(1.07); }
.btn--primary:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(14px); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--small { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--danger { background: transparent; border-color: rgba(255, 92, 108, .45); color: var(--danger); }
.btn--danger:hover { background: rgba(255, 92, 108, .1); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2);
  display: grid; place-items: center; cursor: pointer;
}

.actions {
  position: fixed; z-index: 500;
  bottom: calc(24px + var(--safe-bottom)); left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}

/* ---------- Panel ---------- */
.panel {
  position: fixed; z-index: 500;
  top: calc(16px + var(--safe-top)); right: 16px;
  width: 340px; max-height: calc(100% - 136px - var(--safe-top) - var(--safe-bottom));
  display: flex; flex-direction: column; overflow: hidden;
}
.panel__handle {
  display: none; width: 100%; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: none; border: 0; cursor: pointer; font-weight: 600;
}
.panel__count { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.panel__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.panel__hint { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.field.field--search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px;
}
.field--search:focus-within { border-color: var(--accent); }
.field--search svg { color: var(--muted); }
.field--search input { flex: 1; height: 40px; background: none; border: 0; outline: none; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip > span {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; font-weight: 600;
  transition: all .15s ease; user-select: none;
}
.chip > span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .5; }
.chip input:checked + span { color: var(--text); border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.chip input:checked + span::before { opacity: 1; }
.chip:hover > span { color: var(--text); }

.list { list-style: none; margin: 0 -6px; padding: 0; overflow-y: auto; min-height: 0; flex: 1; }
.list li + li { border-top: 1px solid var(--line); }
.list button {
  width: 100%; display: flex; gap: 12px; align-items: center; text-align: left;
  background: none; border: 0; padding: 10px 6px; border-radius: 10px; cursor: pointer;
}
.list button:hover { background: var(--surface-2); }
.list__name { font-weight: 600; font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list__game { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list__text { min-width: 0; flex: 1; }
.list__time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.list__empty { color: var(--muted); padding: 16px 6px; font-size: 14px; }

/* Plattform-Abzeichen */
.avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: contain;
  background: var(--bg); padding: 3px; box-shadow: 0 0 0 1px var(--line-strong);
}
.list__plat { font: 700 11px var(--mono); color: var(--c); margin-right: 6px; }
.badge {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 18%, var(--surface-2));
  border: 2px solid var(--c); color: var(--c);
  font: 700 11px/1 var(--mono); letter-spacing: -.02em;
}
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}

/* ---------- Kartenmarker ---------- */
.pin { background: none; border: 0; }
.pin__dot {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--c); color: var(--c);
  font: 700 11px/1 var(--mono);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 6px 14px rgba(0,0,0,.5);
  transition: transform .15s ease;
}
.pin:hover .pin__dot { transform: scale(1.1); }
.pin__dot img { width: 24px; height: 24px; display: block; }

/* Online-Status: grüner Punkt mit pulsierendem Ring (eigene, neutrale Gestaltung) */
:root { --online: #22c55e; }
.status-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--online); position: relative; vertical-align: 1px;
}
.status-dot::after, .pin__status::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--online); animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.pin__status { display: none; }
.pin--online .pin__status, .marker-cluster-custom .pin__status {
  display: block; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--online); box-shadow: 0 0 0 2px #fff;
}
.marker-cluster-custom .pin__status { top: 0; right: 0; }
.status-dot--list { margin-right: 7px; }
.status {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; vertical-align: 2px;
  font: 600 11px/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .05em;
}
.status--online { color: var(--online); }
.status-toggle .status-dot { background: var(--muted); }
.status-toggle .status-dot::after { display: none; }
.status-toggle.is-online { border-color: var(--online); }
.status-toggle.is-online .status-dot { background: var(--online); }
.status-toggle.is-online .status-dot::after { display: block; }
.chip--online > span::before { display: none; }
.chip--online > span { --c: var(--online); }
.chip--online { align-self: flex-start; }
@media (prefers-reduced-motion: reduce) {
  .status-dot::after, .pin__status::after { animation: none; display: none; }
}
/* Sprach-Flagge (erste Sprache) immer sichtbar unten rechts am Pin */
.pin__flag {
  position: absolute; right: -6px; bottom: -3px;
  width: 18px; height: 13.5px; border-radius: 2px;
  background-size: cover;
  box-shadow: 0 0 0 1.5px #fff, 0 2px 4px rgba(0, 0, 0, .45);
  pointer-events: none;
}
.flag {
  display: inline-block; width: 18px; height: 13.5px; border-radius: 2px; flex: none;
  background-size: cover; vertical-align: -1px; margin-right: 7px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.lang-tag {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--text);
  padding: 2px 9px 2px 6px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-strong);
}
.lang-tag .flag { margin-right: 6px; }
.pin--mine .pin__dot { outline: 2px dashed var(--accent); outline-offset: 5px; }

.marker-cluster-custom { background: none; position: relative; }
.cluster__flags {
  position: absolute; left: 50%; top: 38px; transform: translateX(-50%);
  display: flex; gap: 2px; align-items: center; pointer-events: none;
}
.cluster__flag {
  width: 16px; height: 12px; border-radius: 2px; background-size: cover;
  box-shadow: 0 0 0 1.5px #fff, 0 2px 4px rgba(0, 0, 0, .4);
}
.cluster__more {
  font: 700 11px/12px var(--font); color: var(--text); background: var(--bg);
  border-radius: 6px; padding: 0 4px; box-shadow: 0 0 0 1.5px #fff;
}
.cluster {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(254, 46, 140, .15); border: 2px solid var(--accent);
  color: var(--accent); font: 700 14px/1 var(--mono);
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
}

/* ---------- Popup ---------- */
.leaflet-popup-content-wrapper {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow);
}
.leaflet-popup-tip { background: var(--surface-2); }
.leaflet-popup-content { margin: 16px; width: 260px !important; font-size: 14px; line-height: 1.4; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); top: 8px; right: 8px; }
.pop__head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.pop__name { font: 700 16px/1.2 var(--mono); word-break: break-word; }
.pop__game { margin: 10px 0 12px; }
.pop__game small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.pop__game strong { font-size: 15px; }
.pop__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pop__contacts li {
  display: flex; align-items: center; gap: 8px; background: var(--surface-3);
  border-radius: 10px; padding: 6px 6px 6px 10px;
}
.pop__contacts .k { color: var(--muted); font-size: 12px; width: 78px; flex: none; display: flex; align-items: center; gap: 5px; }
/* Discord-Symbol: Originaldatei, Seitenverhältnis bleibt (keine Verzerrung, keine Umfärbung) */
.contact-logo { width: 17px; height: auto; flex: none; vertical-align: -2px; margin-right: 5px; }
.pop__contacts .contact-logo { margin-right: 0; }
.contact label { display: flex; align-items: center; }
.pop__contacts .v { font-family: var(--mono); font-size: 13px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy {
  flex: none; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text);
  border-radius: 8px; height: 28px; padding: 0 9px; font-size: 12px; cursor: pointer;
}
.copy:hover { border-color: var(--accent); color: var(--accent); }
.pop__foot { margin-top: 12px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 8px; }
.pop__demo { color: var(--amber); font-weight: 600; }
.pop__contacts .pop__muted { background: none; padding: 4px 0; color: var(--muted); font-size: 13px; }
.pop__report {
  background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.pop__report:hover { color: var(--danger); }
.pop__edit {
  border: 0; cursor: pointer; font: 700 12px/1 var(--font); color: var(--accent-ink);
  background: var(--brand-gradient); border-radius: 999px; padding: 6px 12px;
}

/* Bearbeitungslink */
.editlink { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.editlink__hint, .editlink__warn { margin: 0; font-size: 13px; color: #cdbac5; }
.editlink__warn { color: var(--amber); }
.editlink__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.editlink__input {
  height: 36px; min-width: 0; padding: 0 10px; font: 12px var(--mono); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; outline: none;
}
.editlink__input:focus { border-color: var(--accent); }

/* Dialog nach dem Eintragen */
.modal {
  position: fixed; z-index: 950; inset: 0; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 4, 8, .55);
}
.modal__inner { width: 460px; max-width: 100%; padding: 22px; display: grid; gap: 14px; background: #170f18; }
.modal__inner h2 { margin: 0; font-size: 20px; }
.modal__inner p { margin: 0; color: #cdbac5; font-size: 14px; }
.modal__inner .btn--primary { justify-self: end; }
.pop__report:disabled { text-decoration: none; cursor: default; }

/* ---------- Leaflet-Feinschliff ---------- */
.leaflet-tooltip.preview-tip {
  background: var(--bg); color: var(--text); border: 1.5px solid var(--accent); border-radius: 999px;
  font-weight: 700; font-size: 12px; padding: 4px 11px; box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.leaflet-tooltip-top.preview-tip::before { border-top-color: var(--accent); }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; }
.leaflet-control-zoom a {
  background: var(--surface) !important; color: var(--text) !important; border-color: var(--line) !important;
  width: 38px !important; height: 38px !important; line-height: 38px !important;
}
.leaflet-control-attribution { background: rgba(15, 10, 16, .78) !important; color: var(--muted) !important; font-size: 11px; }
.leaflet-control-attribution a { color: #d2bfca !important; }
.leaflet-container { font-family: var(--font); }

/* ---------- Formular ---------- */
.drawer {
  position: fixed; z-index: 800; inset: 0;
  display: flex; justify-content: flex-end;
  background: rgba(8, 4, 8, .5);
  padding: 16px; padding-top: calc(16px + var(--safe-top)); padding-bottom: calc(16px + var(--safe-bottom));
}
.drawer__inner {
  width: 440px; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; overflow: hidden;
  background: #170f18;
  animation: slide-in .22s ease-out;
}
@keyframes slide-in { from { transform: translateX(24px); opacity: 0; } }
@media (min-width: 761px) {
  .drawer { background: transparent; pointer-events: none; }
  .drawer__inner { pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .drawer__inner { animation: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 18px; }
.drawer__scroll { padding: 18px; overflow-y: auto; display: grid; gap: 18px; }
.drawer__foot {
  padding: 14px 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
}
.drawer__foot .btn--danger { margin-right: auto; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 13px; font-weight: 600; color: #dccbd4; padding: 0; }
.field input:not([type=checkbox]):not([type=search]),
.contacts input {
  height: 42px; padding: 0 12px; width: 100%;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; outline: none;
}
.field input:focus, .contacts input:focus { border-color: var(--accent); }
.field input[aria-invalid=true], .contacts input[aria-invalid=true] { border-color: var(--danger); }

/* Sprach-Chips mit Flagge */
.langs { max-height: 168px; overflow-y: auto; padding: 2px; }
.langs[aria-invalid=true] { outline: 1px solid var(--danger); border-radius: 10px; }
.chip--lang > span::before { display: none; }
.chip--lang > span { --c: var(--accent); padding-left: 8px; }
.chip--lang .flag { margin-right: 0; }
.chip__rank:not(:empty) {
  font: 700 10px/1 var(--font); text-transform: uppercase; letter-spacing: .04em;
  color: var(--accent-ink); background: var(--amber); border-radius: 999px; padding: 3px 6px; margin-left: 2px;
}
/* Eigene Flagge für Kurdisch (nicht in flag-icons) */
.fi.fi-x-ku { background-image: url(/flags/ku.svg); }
.pop__langs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.list__name .flag { margin-right: 4px; }
.list__name .flag:last-of-type { margin-right: 7px; }

/* Spielauswahl */
.gamepick__chosen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gamepick__chosen:empty { display: none; }
.gchip {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  padding: 3px 4px 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid var(--accent);
}
.gchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gchip small { color: var(--muted); font-weight: 400; }
.gchip button {
  width: 22px; height: 22px; border: 0; border-radius: 50%; cursor: pointer; flex: none;
  background: rgba(255, 255, 255, .1); color: var(--text); font-size: 15px; line-height: 1;
}
.gchip button:hover { background: rgba(255, 255, 255, .22); }
.gamepick__search { position: relative; }
.gamepick__search input {
  height: 42px; padding: 0 12px; width: 100%;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--text);
}
.gamepick__search input:focus { border-color: var(--accent); }
.gamepick__search input[aria-invalid=true] { border-color: var(--danger); }
.gamepick__results {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto;
  list-style: none; margin: 0; padding: 4px; background: var(--surface-3); border: 1px solid var(--line-strong);
  border-radius: 10px; box-shadow: var(--shadow);
}
.gamepick__results li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.gamepick__results li small { color: var(--muted); font-size: 12px; }
.gamepick__results li[aria-selected=true], .gamepick__results li:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.gamepick__results .gamepick__empty { cursor: default; color: var(--muted); font-size: 13px; }
.gamepick__hint { margin: 0; font-size: 12px; color: var(--muted); }

/* Hinweis zur 72-Stunden-Regel */
.form-note {
  margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: #cdbac5;
  background: var(--surface-2); border: 1px solid var(--line-strong);
}
.form-note--lock { color: var(--text); border-color: var(--amber); background: color-mix(in srgb, var(--amber) 12%, transparent); }
.form-note--lock strong { color: var(--amber); }
form.is-locked .chip > span, form.is-locked input:disabled:not([type=checkbox]) { opacity: .55; }

/* Spiele im Popup */
.pop__games { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; }
.game-link, .leaflet-container a.game-link { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.game-link:hover, .game-link:focus-visible, .leaflet-container a.game-link:hover { color: var(--accent-soft); border-bottom-color: var(--accent-soft); outline: none; }
.game-link span { font-size: 11px; margin-left: 3px; color: var(--muted); }
.list__more { color: var(--muted); font-size: 12px; }

.contacts { display: grid; gap: 8px; }
.contact { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; }
.contact label { font-size: 13px; color: var(--muted); }

.loc__status { margin: 0; font-size: 13px; color: var(--muted); }
.loc__status.ok { color: var(--amber); }
.loc__status.bad { color: #ffb3bb; }
#loc-gps { justify-self: start; }
.privacy {
  margin: 0; display: flex; gap: 10px; font-size: 13px; color: #cdbac5;
  background: rgba(254, 46, 140, .06); border: 1px solid rgba(254, 46, 140, .2);
  border-radius: 10px; padding: 10px 12px;
}
.privacy svg { color: var(--accent); margin-top: 1px; }

.consent { display: flex; gap: 10px; font-size: 13px; color: #cdbac5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }

.form-error {
  margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: rgba(255, 92, 108, .1); border: 1px solid rgba(255, 92, 108, .35); color: #ffb3bb;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 900; left: 50%; transform: translateX(-50%);
  bottom: calc(84px + var(--safe-bottom));
  background: var(--surface-3); border: 1px solid var(--line-strong);
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); font-size: 14px;
  max-width: calc(100% - 32px); text-align: center;
}

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .brand { left: 12px; top: calc(12px + var(--safe-top)); min-width: 0; padding: 10px 12px; }
  .brand__logo { width: 136px; }
  .brand__stats { display: none; }
  .brand__by { margin-top: 6px; }
  body.form-open .brand { display: none; } /* Platz für die Vorschau über dem Formular */

  .panel {
    top: auto; right: 12px; left: 12px; width: auto;
    bottom: calc(80px + var(--safe-bottom));
    max-height: 52vh;
  }
  .panel__handle { display: flex; }
  .panel__body { padding-top: 0; }
  .panel.is-collapsed .panel__body { display: none; }

  .actions { bottom: calc(16px + var(--safe-bottom)); left: 12px; right: 12px; transform: none; }
  .actions .btn { flex: 1; }

  .drawer { padding: 0; align-items: flex-end; }
  .drawer__inner { width: 100%; max-height: 70%; border-radius: 18px 18px 0 0; animation-name: slide-up; }
  @keyframes slide-up { from { transform: translateY(24px); opacity: 0; } }
  .drawer__foot { padding-bottom: calc(14px + var(--safe-bottom)); }
  .contact { grid-template-columns: 96px 1fr; }
  .leaflet-control-zoom { display: none; }
  .toast { bottom: auto; top: calc(72px + var(--safe-top)); }
}
