:root {
  --nav-h: 74px;
  --bg: #0b0d12;
  --surface: #14171d;
  --surface-2: #1a1e25;
  --surface-glass: rgba(20, 23, 29, .88);
  --text: #f5f6f8;
  --muted: #9da3ae;
  --line: rgba(255,255,255,.10);
  --orange: #f7941d;
  --orange-2: #ffad3d;
  --danger: #ff6b5f;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --font-ui: "Segoe UI Variable Text", "SF Pro Text", "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI Variable Display", "SF Pro Display", "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.crew-dialog-overlay { position:fixed; inset:0; z-index:20000; display:grid; place-items:center; padding:18px; background:rgba(2,4,7,.72); backdrop-filter:blur(10px); }
.crew-dialog { width:min(390px,100%); padding:22px; color:var(--text); text-align:left; background:linear-gradient(155deg,#1b1f27,#111419); border:1px solid rgba(255,255,255,.11); border-radius:20px; box-shadow:0 28px 80px rgba(0,0,0,.58); }
.crew-dialog-mark { color:var(--orange); font-size:12px; }
.crew-dialog h2 { margin:8px 0 6px; font-size:19px; }
.crew-dialog p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; white-space:pre-line; }
.crew-dialog-input { width:100%; margin-top:16px; }
.crew-dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:20px; }
.crew-dialog-actions button { min-width:96px; }
.crew-dialog-actions .ghost { color:#c8cdd4; background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.1); box-shadow:none; }
.crew-dialog-actions .danger { color:#fff; background:linear-gradient(135deg,#d9534f,#a82f2b); border-color:rgba(255,120,110,.4); }

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-ui);
  font-optical-sizing: auto;
  font-variant-numeric: proportional-nums;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  background:
    radial-gradient(circle at 15% -10%, rgba(247,148,29,.18), transparent 32rem),
    radial-gradient(circle at 100% 45%, rgba(247,148,29,.07), transparent 28rem),
    var(--bg);
}

button, input, textarea, select { font: inherit; letter-spacing: inherit; }
h1, h2, h3, .feed-author strong, .feed-restaurant strong, .profile-identity h1, .rank-main h2 { font-family: var(--font-display); letter-spacing: -.025em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.015em; }
.maplibregl-map, .maplibregl-popup, .maplibregl-ctrl, .map-search-box { font-family: var(--font-ui); }

button {
  appearance: none;
  border: 1px solid rgba(247,148,29,.42);
  border-radius: 12px;
  padding: 10px 15px;
  color: #111318;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(247,148,29,.16);
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
  min-height: 44px;
}

button:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 10px 30px rgba(247,148,29,.24); }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(247,148,29,.28); outline-offset: 2px; }
button:disabled { opacity: .48; cursor: not-allowed; transform: none; }

input, textarea, select {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--text);
  background: rgba(255,255,255,.055);
}

label { color: var(--muted); font-size: 13px; font-weight: 600; }
#loginError { color: var(--danger); }
.remember-login { display:flex; align-items:center; gap:10px; width:min(420px,calc(100vw - 32px)); margin:14px auto 2px; padding:10px 11px; color:#c8cdd5; border:1px solid rgba(255,255,255,.075); border-radius:12px; background:rgba(255,255,255,.025); text-align:left; cursor:pointer; }
.remember-login input { appearance:none; flex:0 0 auto; width:19px; height:19px; margin:0; padding:0; border:1px solid rgba(247,148,29,.42); border-radius:6px; background:#0e1116; }
.remember-login input:checked { border-color:var(--orange); background:var(--orange); box-shadow:inset 0 0 0 4px #17120b; }
.remember-login span { display:grid; gap:2px; }
.remember-login strong { font-size:12px; }
.remember-login small { color:#7f8792; font-size:10px; }
.remember-login[hidden] { display:none; }
#reportStatus, #saveStatus { color: var(--muted); }
h1, h2 { letter-spacing: -.035em; }
h1 { margin: 14px 0 12px; font-size: clamp(30px, 6vw, 48px); }
h2 { color: var(--text); }
p { color: var(--muted); }

#app { min-height: calc(100vh - var(--nav-h)); text-align: center; overflow-x: hidden; }
#app > h1, #app > p, #app > label, #app > button { position: relative; z-index: 1; }

.brand-logo {
  display: block;
  width: min(320px, 76vw);
  height: auto;
  margin: 0 auto 22px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8,10,14,.78);
  box-shadow: var(--shadow);
}

.brand-logo:not(.compact) { margin-top: clamp(38px, 9vh, 90px); }
.brand-logo.compact { width: min(230px, 58vw); margin-top: 26px; margin-bottom: 16px; }

/* Zugang */
.auth-page { display:grid; place-items:center; min-height:calc(100vh - var(--nav-h) - 20px); padding:clamp(24px,6vh,64px) 18px calc(var(--nav-h) + 34px); text-align:left; }
.auth-card { display:grid; grid-template-columns:minmax(250px,.86fr) minmax(300px,1.14fr); gap:clamp(34px,6vw,76px); width:min(820px,100%); padding:clamp(26px,4vw,44px); border:1px solid rgba(255,255,255,.105); border-radius:28px; background:linear-gradient(145deg,rgba(27,31,39,.97),rgba(17,20,26,.96)); box-shadow:0 28px 90px rgba(0,0,0,.42); backdrop-filter:blur(18px); }
.auth-intro { display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.auth-logo { width:min(190px,78%); height:auto; margin:0 0 35px; padding:8px 10px; border:1px solid rgba(255,255,255,.07); border-radius:13px; background:#0b0d12; }
.auth-eyebrow { color:var(--orange); font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.auth-intro h1 { margin:7px 0 8px; font-size:clamp(32px,5vw,48px); line-height:1.02; }
.auth-intro p { max-width:290px; margin:0; font-size:13px; line-height:1.55; }
.auth-mode-badge { margin-top:28px; padding:6px 10px; color:var(--orange-2); border:1px solid rgba(247,148,29,.3); border-radius:999px; background:rgba(247,148,29,.08); font-size:9px; font-weight:750; }
.auth-form { display:flex; flex-direction:column; justify-content:center; min-width:0; }
.auth-form > label:not(.remember-login) { display:grid; gap:7px; margin-bottom:15px; color:#c7ccd4; font-size:12px; }
.auth-form input:not([type="checkbox"]) { width:100%; height:48px; background:rgba(5,7,10,.62); border-color:rgba(255,255,255,.12); border-radius:13px; }
.auth-form input:not([type="checkbox"]):focus { border-color:rgba(247,148,29,.62); }
.auth-form .remember-login { width:100%; margin:0 0 4px; padding:8px 4px; border:0; background:transparent; }
.auth-form #loginError { min-height:20px; margin:7px 0; font-size:11px; line-height:1.4; }
.auth-submit { width:100%; margin-top:2px; border-radius:14px; }
.auth-switch { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:20px; color:#858d98; font-size:10px; }
.auth-switch button { min-height:30px; padding:4px 9px; color:#d7dbe1; background:transparent; border-color:rgba(255,255,255,.1); border-radius:999px; box-shadow:none; font-size:10px; }
.auth-switch button:hover { color:var(--orange-2); background:rgba(247,148,29,.055); border-color:rgba(247,148,29,.2); box-shadow:none; transform:none; }

.navbar {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(520px, calc(100% - 24px));
  height: var(--nav-h);
  z-index: 9000;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px;
  color: var(--text);
  background: rgba(11,13,18,.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.navbut {
  width: 100%;
  height: 54px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
}

.navbut:hover, .navbut:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: var(--line);
  box-shadow: none;
}

#map { width: 100%; height: calc(100vh - var(--nav-h) - 12px); }

#mapSearch {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  z-index: 8998;
  width: min(440px, calc(100% - 92px));
  text-align: left;
  transform: translateX(-50%);
}

body.restaurant-popup-open #mapSearch {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.map-search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 8px 0 14px;
  background: rgba(15,18,23,.94);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  box-shadow: 0 14px 40px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}

.map-search-icon { color: var(--orange); font-size: 23px; line-height: 1; }

#mapSearchInput {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
}

#mapSearchInput::placeholder { color: #8f96a1; }
#mapSearchInput::-webkit-search-cancel-button { display: none; }

#mapSearchClear {
  display: none;
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 22px;
}
#mapSearchClear.visible { display: block; }

.map-search-results {
  max-height: 290px;
  margin-top: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(15,18,23,.97);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  box-shadow: 0 18px 50px rgba(0,0,0,.44);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(247,148,29,.5) transparent;
  -webkit-overflow-scrolling: touch;
}

.map-search-result {
  display: block;
  width: 100%;
  height: 58px;
  min-height: 58px;
  padding: 11px 14px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 0;
  box-shadow: none;
}
.map-search-result:last-child { border-bottom: 0; }
.map-search-result:hover, .map-search-result.active { color: var(--text); background: rgba(247,148,29,.12); transform: none; box-shadow: none; }
.map-search-result-main { display: block; overflow: hidden; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.map-search-result-meta { display: block; overflow: hidden; margin-top: 3px; color: #9da3ae; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.map-search-empty { padding: 13px 14px; color: var(--muted); font-size: 13px; }
.search-place-popup strong { display: block; padding-right: 20px; }
.search-place-popup div { margin-top: 5px; color: #b8bec8 !important; font-size: 13px; }
.search-place-popup small { display: block; margin-top: 8px; color: var(--orange); }

.maplibregl-popup { max-width: min(320px, calc(100vw - 24px)) !important; }
.maplibregl-popup.restaurant-review-popup { width:min(420px,calc(100vw - 24px)); max-width:min(420px,calc(100vw - 24px)) !important; }
.maplibregl-popup.restaurant-review-popup { position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; z-index:10; transform: translate(-50%, -50%) !important; }
.restaurant-review-popup .maplibregl-popup-content { width:100%; padding:0 !important; overflow:hidden; border-radius:22px !important; background:linear-gradient(160deg,#1a1e25,#111419) !important; box-shadow:0 30px 90px rgba(0,0,0,.58); }
.restaurant-review-popup .maplibregl-popup-tip { display: none; }
.maplibregl-popup-content {
  min-width: min(260px, calc(100vw - 36px));
  padding: 18px !important;
  color: var(--text);
  background: #171a21 !important;
  border: 1px solid var(--line);
  border-radius: 16px !important;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.maplibregl-popup-content, .maplibregl-popup-content div { color: var(--text); }
.maplibregl-popup-content > div > div:nth-child(2),
.maplibregl-popup-content > div > div:nth-child(3) { color: #b8bec8 !important; opacity: 1 !important; }
.maplibregl-popup-content button:not(.maplibregl-popup-close-button) { min-width: 0; min-height: 42px; padding: 9px 14px; }
.poi-detail-card { display:grid; grid-template-rows:auto minmax(0,1fr) auto; width:100%; height:min(720px,calc(100dvh - 42px)); min-width:0; text-align:left; }
.poi-detail-head { padding:22px 48px 15px 20px; border-bottom:1px solid rgba(255,255,255,.065); }
.poi-detail-type { display:inline-block; margin-bottom:6px; color:#9ba3ae; font-size:9px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.poi-detail-head h2 { margin:0; overflow:hidden; color:#f4f5f7; font-size:22px; line-height:1.15; letter-spacing:-.025em; text-overflow:ellipsis; }
.poi-detail-address { display:flex; align-items:flex-start; gap:6px; margin:8px 0 0; color:#858d98; font-size:10px; line-height:1.4; }
.poi-detail-address svg { flex:0 0 auto; width:13px; height:13px; margin-top:1px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.poi-popup-actions { position:sticky; bottom:0; z-index:2; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; margin:0; padding:12px 14px max(12px,env(safe-area-inset-bottom)); background:rgba(17,20,25,.97); border-top:1px solid rgba(255,255,255,.075); backdrop-filter:blur(18px); }
.maplibregl-popup-content .poi-review-cta { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px !important; color:#171109; background:linear-gradient(135deg,#ffad38,var(--orange)); border:0; border-radius:13px; box-shadow:0 10px 28px rgba(247,148,29,.2); font-size:12px; font-weight:800; }
.maplibregl-popup-content .poi-review-cta svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; }
.maplibregl-popup-content .poi-review-cta:hover { box-shadow:0 13px 33px rgba(247,148,29,.28); }
.maplibregl-popup-content .poi-report-button { min-height: 34px !important; padding: 6px 9px !important; color: #858c97; background: transparent; border-color: transparent; border-radius: 9px; box-shadow: none; font-size: 11px; font-weight: 600; }
.maplibregl-popup-content .poi-report-button { display:grid; grid-template-columns:auto auto; align-items:center; gap:5px; }
.maplibregl-popup-content .poi-report-button svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.maplibregl-popup-content .poi-report-button:hover,
.maplibregl-popup-content .poi-report-button:focus-visible { color: #c6cbd2; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.06); box-shadow: none; transform: none; }
.poi-review-summary { display:grid; grid-template-rows:auto minmax(0,1fr); min-height:0; margin:0; border:0; border-radius:0; background:transparent; overflow:hidden; }
.poi-review-summary-head { display:flex; align-items:center; justify-content:flex-start; gap:12px; padding:13px 18px; color:#929aa5; border-bottom:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.018); }
.poi-review-summary-head > div { display:grid; gap:2px; }
.poi-review-summary summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; padding: 9px 10px; color: #aeb5bf; cursor: pointer; list-style: none; font-size: 10px; }
.poi-review-summary summary::-webkit-details-marker { display: none; }
.poi-review-summary summary b { color: var(--orange-2); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.poi-review-score { color:#f5f6f8; font-size:30px; font-weight:800; line-height:1; letter-spacing:-.04em; }
.poi-review-stars { color:var(--orange); font-size:12px; letter-spacing:1px; }
.poi-review-counts { color:#858d98; font-size:9px; }
.poi-review-list { display:grid; align-content:start; gap:8px; min-height:0; max-height:none; padding:10px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(247,148,29,.38) transparent; }
.poi-review-loading { padding:22px 10px; color:#858c97; font-size:10px; text-align:center; }
.poi-review-empty { display:grid; justify-items:center; gap:4px; padding:24px 14px; color:#858c97; text-align:center; }
.poi-review-empty > span { color:var(--orange); font-size:24px; }
.poi-review-empty strong { color:#d9dde3; font-size:12px; }
.poi-review-empty p { margin:0; font-size:9px; }
.poi-mini-review { padding:11px; border:1px solid rgba(255,255,255,.07); border-radius:13px; background:rgba(255,255,255,.025); }
.poi-review-author { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; }
.poi-review-avatar { display:grid; place-items:center; width:27px; height:27px; color:#19130c; background:linear-gradient(145deg,#ffb44a,var(--orange)); border-radius:9px; font-size:10px; font-weight:850; }
.poi-review-author .account-inline-link { overflow:hidden; color:#e8ebef; font-size:11px; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.maplibregl-popup-content .poi-review-author .account-inline-link { min-height:0 !important; padding:0 !important; }
.poi-mini-stars { color:var(--orange); font-size:9px; letter-spacing:.7px; }
.poi-mini-review p { margin:8px 0 0; color:#c8cdd4; font-size:10px; line-height:1.5; }
.poi-mini-review .poi-review-no-text { color:#6f7782; font-style:italic; }
.poi-mini-photos { display:flex; gap:5px; margin-top:9px; overflow-x:auto; }
.poi-mini-photos img { flex:0 0 auto; width:72px; height:58px; object-fit:cover; border-radius:8px; }
.review-history { margin-top:8px; border-top:1px solid rgba(255,255,255,.065); }
.review-history > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 2px 2px 0; color:#d29a52; cursor:pointer; font-size:9px; font-weight:700; list-style:none; }
.review-history > summary::-webkit-details-marker { display:none; }
.review-history > summary::after { content:""; flex:0 0 auto; width:8px; height:8px; margin-right:2px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .18s ease; }
.review-history[open] > summary::after { transform:rotate(225deg) translate(-1px,-1px); }
.review-history > div { display:grid; gap:5px; margin-top:6px; }
.review-history article { padding:7px; border-radius:8px; background:rgba(255,255,255,.025); }
.review-history article > div { display:flex; justify-content:space-between; gap:8px; color:#8d95a0; font-size:9px; }
.review-history article b { color:var(--orange); letter-spacing:1px; }
.review-history article p { margin:5px 0 0; }
.review-history-full { margin-top:12px; }
.review-history-full > summary { padding:9px 0 3px; font-size:10px; }
.review-history-full article { padding:10px; }
.review-history-full article > div:first-child { font-size:10px; }
.review-history-full article p { color:#bfc5ce; font-size:11px; line-height:1.5; }
.history-photo-row { margin-top:7px; }
.review-history article > .history-photo-row { justify-content:flex-start; }
.private-photo-placeholder { display:flex; align-items:center; gap:8px; min-height:0; margin-top:9px; padding:8px 10px; color:#858d98; border:1px solid rgba(255,255,255,.055); border-radius:10px; background:rgba(255,255,255,.018); }
.private-photo-placeholder > span { display:grid; place-items:center; flex:0 0 auto; width:25px; height:25px; color:#858d98; background:rgba(255,255,255,.035); border-radius:8px; }
.private-photo-placeholder > span svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.private-photo-placeholder > div { display:grid; gap:1px; }
.private-photo-placeholder strong { color:#aeb4bd; font-size:9px; font-weight:650; }
.private-photo-placeholder small { color:#686f79; font-size:8px; line-height:1.35; }
.private-photo-placeholder.compact { min-height:0; margin-top:6px; padding:6px 8px; gap:6px; border-radius:8px; }
.private-photo-placeholder.compact > span { width:21px; height:21px; border-radius:6px; }
.private-photo-placeholder.compact > span svg { width:11px; height:11px; }
.private-photo-placeholder.compact strong { font-size:8px; }
.private-photo-placeholder.compact small { display:none; }

.maplibregl-popup-tip { border-top-color: #171a21 !important; border-bottom-color: #171a21 !important; }
.maplibregl-popup-close-button { width: 34px; min-height: 34px; color: #b8bec8 !important; font-size: 22px; padding: 2px 7px; background: transparent !important; border: 0; box-shadow: none; }
.maplibregl-popup-close-button:hover { color: #fff !important; transform: none; }
.maplibregl-ctrl-top-right { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 0 0 9px; }
.maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px !important;
  background: rgba(15,18,23,.92) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.32) !important;
  backdrop-filter: blur(16px);
}
.maplibregl-ctrl-group button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  color: #c6cbd3;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}
.maplibregl-ctrl-group button + button { border-top: 1px solid rgba(255,255,255,.09); }
.maplibregl-ctrl-group button:hover { color: #fff; background: rgba(255,255,255,.065) !important; box-shadow: none; filter: none; transform: none; }
.maplibregl-ctrl-group button:focus-visible { position: relative; z-index: 1; outline: 2px solid rgba(247,148,29,.72); outline-offset: -3px; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { width: 20px; height: 20px; opacity: .82; filter: invert(92%) sepia(8%) saturate(184%) hue-rotate(178deg) brightness(88%); }
.maplibregl-ctrl-group button:hover .maplibregl-ctrl-icon { opacity: 1; }
.crewbite-location-control button { color: var(--orange-2); }
.crewbite-location-control svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.crewbite-location-control svg circle:first-child { fill: currentColor; stroke: none; }
.crewbite-location-control .crewbite-map-report-control { color:#939ba6; }
.crewbite-location-control .crewbite-map-report-control:hover { color:#d5dae1; }
.crewbite-location-control .crewbite-map-report-control svg { width:18px; height:18px; }

@keyframes bump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.login-bump { animation: bump 200ms ease-out; }

#checkinOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(7px);
}

.checkin-sheet {
  width: min(540px, 100%);
  max-height: min(760px, calc(100vh - 24px));
  overflow: auto;
  padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  color: var(--text);
  background: linear-gradient(160deg, #1b1f27, #11141a);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.checkin-sheet textarea { width: 100%; }
.checkin-sheet .starBtn { color: var(--orange-2); background: transparent; border: 0; box-shadow: none; }
.checkin-sheet .starBtn:hover { transform: scale(1.12); box-shadow: none; }
.checkin-head { display:flex; justify-content:space-between; align-items:center; }
.checkin-head button { padding: 4px 8px; border: 0; color: var(--muted); background: transparent; box-shadow: none; font-size: 24px; line-height: 1; }

.issue-mode-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 9, 13, .58);
}
.issue-mode-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border: 1px solid rgba(255, 151, 31, .42);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 151, 31, .24), rgba(255, 113, 31, .12));
  box-shadow: 0 5px 18px rgba(255, 126, 20, .12);
  transition: transform .22s ease;
}
.issue-mode-switch[data-active-mode="restaurant"] .issue-mode-indicator { transform: translateX(100%); }
.issue-mode-switch button {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 11px 9px;
  border: 0;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  white-space: normal;
  transition: color .18s ease;
}
.issue-mode-switch button:hover { transform: none; box-shadow: none; color: var(--text); }
.issue-mode-switch button.is-active { color: var(--text); }

#poiStatus {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 14px;
  z-index: 8999;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: min(310px, calc(100vw - 28px));
  padding: 8px 11px;
  color: #c4cad2;
  background: rgba(13,16,21,.88);
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}
#poiStatus::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  box-shadow: 5px 5px 0 -4px var(--orange);
}

#myReviewsList article, #feedList > div {
  color: var(--text) !important;
  background: var(--surface-glass) !important;
  border-color: var(--line) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.22) !important;
}

/* Profil */
.profile-page { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 calc(var(--nav-h) + 48px); text-align: left; }
.profile-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
.profile-brand { display: block; width: 154px; height: auto; }
.profile-secondary-actions { display: flex; align-items: center; gap: 10px; }
.profile-secondary-actions > span { width: 1px; height: 14px; background: var(--line); }
.profile-text-action { min-height: 34px; padding: 5px 7px; color: #8f96a1; background: transparent; border: 0; border-radius: 8px; box-shadow: none; font-size: 12px; font-weight: 600; }
.profile-text-action:hover { color: var(--text); background: rgba(255,255,255,.045); box-shadow: none; transform: none; }
.profile-logout:hover { color: #ffaaa3; }
.profile-hero { display: flex; align-items: center; gap: 22px; padding: clamp(34px, 7vw, 64px) 0 34px; }
.profile-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 78px; height: 78px; border: 1px solid rgba(247,148,29,.38); border-radius: 25px; color: #17120b; background: linear-gradient(145deg, #ffb447, var(--orange)); box-shadow: 0 16px 44px rgba(247,148,29,.18); font-size: 32px; font-weight: 800; }
.profile-avatar img,.settings-avatar img,.social-profile-avatar img,.feed-avatar img,.poi-review-avatar img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.profile-bio { max-width:470px; margin:8px 0 0; color:#b8bec7; font-size:12px; line-height:1.5; }
.profile-settings-icon { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.profile-identity h1 { margin: 3px 0 2px; font-size: clamp(34px, 6vw, 52px); line-height: 1.05; }
.profile-identity p { margin: 0; font-size: 14px; }
.profile-identity .profile-rank-label { color:#8e96a2; font-size:11px; font-weight:600; letter-spacing:.025em; }
.profile-friends-link { position: relative; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-height: 41px; padding: 8px 13px; color: #d8dce2; background: rgba(255,255,255,.04); border-color: var(--line); border-radius: 12px; box-shadow: none; font-size: 12px; }
.crew-logo-people { width:25px; height:18px; overflow:visible; fill:currentColor; }
.crew-logo-people .crew-person-main { fill:currentColor; }
.profile-friends-link .crew-button-label { color:inherit; font-size:12px; font-weight:700; line-height:1; }
.profile-friends-link.has-unread { color:#ffd08a; border-color:rgba(247,148,29,.48); background:rgba(247,148,29,.14); }
.crew-unread-dot { top:-7px; right:-7px; }
.profile-friends-link:hover { color:#fff; background:rgba(255,255,255,.075); border-color:rgba(255,255,255,.16); box-shadow:none; }
.profile-primary-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.profile-icon-link { position: relative; display: grid; place-items: center; width: 41px; min-height: 41px; padding: 0; color:#d8dce2; background:rgba(255,255,255,.04); border-color:var(--line); border-radius:12px; box-shadow:none; font-size:20px; }
.profile-icon-link:hover { color:#fff; background:rgba(255,255,255,.075); border-color:rgba(255,255,255,.16); box-shadow:none; }
.profile-crown { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease,filter .2s ease; }
.profile-bell { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.profile-activity-link { color:#d8dce2; }
.profile-activity-link.has-unread .profile-bell { filter:drop-shadow(0 0 7px rgba(247,148,29,.7)); }
.profile-icon-link.has-unread { color: #ffd08a; border-color: rgba(247,148,29,.48); background: rgba(247,148,29,.14); }
.profile-icon-link.has-unread .profile-crown { transform: scale(1.08); filter: drop-shadow(0 0 7px rgba(247,148,29,.68)); }
.profile-unread-dot { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 16px; height: 16px; padding: 0; color: #fff; background: #ff5148; border: 2px solid var(--bg); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,81,72,.15); font: 800 8px/1 var(--font-ui); }
.profile-unread-dot[hidden] { display: none; }
.profile-eyebrow, .profile-kicker { color: var(--orange); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.profile-grid { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); gap: 18px; align-items: start; }
.profile-grid-single { grid-template-columns: minmax(0, 1fr); }
.profile-card { padding: 22px; background: linear-gradient(155deg, rgba(27,31,39,.92), rgba(17,20,26,.9)); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.profile-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.profile-section-heading h2 { margin: 4px 0 0; font-size: 23px; }
.profile-section-copy { margin: 7px 0 18px; font-size: 13px; line-height: 1.5; }
.profile-summary { flex: 0 0 auto; padding: 6px 9px; color: #c2c7cf; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
.profile-search-wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(5,7,10,.28); }
.profile-search-wrap > span { color: var(--orange); font-size: 21px; line-height: 1; }
#friendSearchInput { width: 100%; height: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; outline: 0; }
.friend-search-results { display: grid; gap: 7px; margin-top: 10px; }
.friend-search-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); font-size: 13px; }
.friend-search-result > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.friend-result-avatar, .friend-chip-avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; color: var(--orange-2); background: rgba(247,148,29,.12); font-size: 11px; font-weight: 800; }
.friend-result-avatar img,.friend-chip-avatar img,.activity-avatar img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.activity-avatar { display:grid; place-items:center; width:36px; height:36px; overflow:hidden; color:var(--orange-2); background:rgba(247,148,29,.12); border:1px solid rgba(247,148,29,.17); border-radius:12px; font-size:12px; font-weight:800; }
.friend-add { min-height: 32px; padding: 5px 9px; border-radius: 9px; font-size: 11px; }
.friends-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.friend-chip { display:inline-flex; align-items:center; gap:9px; padding:5px 6px 5px 7px; color:#dce0e6; background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:12px; font-size:12px; }
.friend-remove { min-height:27px; padding:4px 8px; color:#aeb4bd; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.08); border-radius:8px; box-shadow:none; font-size:9px; font-weight:700; }
.friend-remove:hover { color:#fff; background:rgba(255,255,255,.085); border-color:rgba(255,255,255,.15); box-shadow:none; transform:none; }
.account-inline-link, .account-chip-link { min-height:0; padding:0; color:inherit; background:transparent; border:0; border-radius:5px; box-shadow:none; text-align:left; font-weight:inherit; }
.account-inline-link:hover, .account-chip-link:hover { color:var(--orange-2); background:transparent; box-shadow:none; filter:none; transform:none; }
.account-inline-link:focus-visible, .account-chip-link:focus-visible { outline:2px solid rgba(247,148,29,.3); outline-offset:2px; }
.account-chip-link { display:inline-flex; align-items:center; gap:8px; font-size:12px; }
.profile-empty-inline { color: #7f8792; font-size: 12px; }
.profile-reviews-list { display: grid; gap: 10px; margin-top: 16px; }
.profile-loading { color: var(--muted); font-size: 13px; }
.profile-review-card { padding: 16px !important; border-radius: 16px !important; background: rgba(255,255,255,.025) !important; box-shadow: none !important; }
.profile-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.profile-review-head strong { font-size: 14px; }
.profile-review-head time { color: #7f8792; font-size: 11px; white-space: nowrap; }
.profile-review-address { margin-top: 4px; color: #8f96a1; font-size: 12px; }
.profile-review-stars { margin-top: 9px; color: var(--orange); font-size: 18px; letter-spacing: 1px; }
.profile-review-text { margin: 8px 0 0; color: #c5cad2; font-size: 13px; line-height: 1.55; }
.profile-review-empty { color: #747c87; font-style: italic; }
.review-photo-grid, .history-photo-row { display:flex; gap:7px; margin-top:13px; padding-bottom:2px; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:thin; }
.review-photo-thumb { position:relative; flex:0 0 auto; width:112px; height:88px; min-height:0; padding:0; overflow:hidden; background:#0b0d11; border:1px solid rgba(255,255,255,.09); border-radius:11px; box-shadow:none; cursor:zoom-in; }
.review-photo-thumb:hover { border-color:rgba(247,148,29,.45); box-shadow:0 7px 22px rgba(0,0,0,.28); transform:none; }
.review-photo-thumb img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .2s ease; }
.review-photo-thumb:hover img { transform:scale(1.035); }
.history-photo-row .review-photo-thumb { width:68px; height:54px; border-radius:8px; }
.photo-viewer-overlay { position:fixed; inset:0; z-index:14000; display:grid; place-items:center; padding:clamp(12px,3vw,34px); background:rgba(2,4,7,.92); backdrop-filter:blur(10px); }
.photo-viewer { position:relative; display:grid; place-items:center; width:min(1100px,100%); height:min(820px,calc(100dvh - 28px)); }
.photo-viewer img { display:block; max-width:100%; max-height:100%; object-fit:contain; border-radius:13px; box-shadow:0 26px 90px rgba(0,0,0,.55); }
.photo-viewer-close, .photo-viewer-nav { position:absolute; z-index:2; display:grid; place-items:center; padding:0; color:#fff; background:rgba(18,21,27,.78); border:1px solid rgba(255,255,255,.14); border-radius:50%; box-shadow:0 8px 25px rgba(0,0,0,.3); }
.photo-viewer-close { top:0; right:0; width:42px; min-height:42px; color:#e8ebef; background:rgba(18,21,27,.88); border-color:rgba(255,255,255,.12); box-shadow:0 10px 28px rgba(0,0,0,.38); }
.photo-viewer-close svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.photo-viewer-close:hover { color:#fff; background:rgba(35,39,47,.96); border-color:rgba(255,255,255,.2); transform:scale(1.04); }
.poi-mini-photos .review-photo-thumb { width:72px; height:58px; border-radius:8px; }
.poi-mini-review .history-photo-row { margin-top:7px; }
.poi-mini-review .history-photo-row .review-photo-thumb { width:58px; height:46px; }
.photo-viewer-nav { top:50%; width:44px; min-height:44px; font-size:31px; transform:translateY(-50%); }
.photo-viewer-nav svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.photo-viewer-nav:hover { transform:translateY(-50%); }
.photo-viewer-prev { left:8px; }
.photo-viewer-next { right:8px; }
.photo-viewer-count { position:absolute; bottom:10px; left:50%; padding:5px 9px; color:#e9ecf1; background:rgba(10,12,16,.78); border-radius:999px; font-size:10px; transform:translateX(-50%); }
.photo-viewer-nav[hidden], .photo-viewer-count[hidden] { display:none; }
.review-upload-block { margin-top: 13px; text-align: left; }
.review-upload-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #d8dce2; font-size: 13px; font-weight: 650; }
.review-upload-heading small { color: #7f8792; font-size: 10px; font-weight: 500; }
.review-upload-picker { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 11px 13px; border: 1px dashed rgba(247,148,29,.28); border-radius: 13px; background: rgba(247,148,29,.035); cursor: pointer; }
.review-upload-picker > span { grid-row: 1 / 3; color: var(--orange); font-size: 22px; }
.review-upload-picker strong { color: #d9dde3; font-size: 12px; }
.review-upload-picker small { color: #777f8b; font-size: 10px; }
.review-photo-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.review-photo-preview img { width: 100%; height: 74px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; }
.review-photo-local { position: relative; }
.review-photo-local span { position: absolute; right: 4px; bottom: 4px; padding: 2px 5px; color: #17120b; background: var(--orange); border-radius: 999px; font-size: 8px; font-weight: 800; }
.profile-review-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px; }
.profile-review-actions button { min-height: 32px; padding: 5px 9px; color: #aeb4bd; background: transparent; border-color: var(--line); border-radius: 9px; box-shadow: none; font-size: 11px; }
.profile-review-actions button:hover { color: var(--text); background: rgba(255,255,255,.05); box-shadow: none; transform: none; }
.profile-review-actions .review-remove { min-height: 28px; padding: 3px 5px; color: #727985; background: transparent; border-color: transparent; font-size: 10px; font-weight: 600; }
.profile-review-actions .review-remove:hover,
.profile-review-actions .review-remove:focus-visible { color: #ff9d95; border-color: rgba(255,107,95,.2); background: rgba(255,107,95,.06); }
.profile-empty-state { display: grid; justify-items: start; gap: 5px; padding: 22px; color: #c9ced6; border: 1px dashed rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.018); }
.profile-empty-state p { margin: 0; font-size: 12px; }
.profile-empty-icon { margin-bottom: 3px; color: var(--orange); font-size: 24px; }

/* Crew */
.friends-page { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 calc(var(--nav-h) + 48px); text-align: left; }
.friends-back { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:7px 13px 7px 11px; color:#cbd0d7; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.09); border-radius:999px; box-shadow:0 8px 24px rgba(0,0,0,.16); font-size:11px; font-weight:700; }
.friends-back::before { content:""; width:7px; height:7px; border-left:1.7px solid currentColor; border-bottom:1.7px solid currentColor; transform:rotate(45deg); }
.friends-back:hover,.friends-back:focus-visible { color:#fff; background:rgba(255,255,255,.07); border-color:rgba(247,148,29,.26); box-shadow:0 10px 28px rgba(0,0,0,.22); transform:translateY(-1px); }
.friends-back:active { transform:translateY(0) scale(.98); }
.friends-hero { padding: clamp(34px, 7vw, 58px) 0 28px; }
.friends-hero h1 { margin: 5px 0 7px; font-size: clamp(38px, 7vw, 56px); line-height: 1; }
.friends-hero p { max-width: 570px; margin: 0; font-size: 14px; line-height: 1.55; }
.friends-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.friends-current-card { grid-column: 1 / -1; }
.friends-count { display: grid; place-items: center; min-width: 25px; min-height: 25px; padding: 3px 7px; color: var(--orange-2); background: rgba(247,148,29,.09); border: 1px solid rgba(247,148,29,.18); border-radius: 999px; font-size: 10px; font-weight: 750; }
.friends-count:empty { display: none; }
.friend-requests-list { display: grid; gap: 8px; }
.request-group-title { display:flex; align-items:center; justify-content:space-between; margin-top:2px; padding:2px 3px; color:#d7dbe1; font-size:10px; font-weight:750; letter-spacing:.055em; text-transform:uppercase; }
.request-group-title span { color:var(--orange-2); }
.request-group-outgoing { margin-top:12px; padding-top:13px; border-top:1px solid var(--line); color:#8f97a2; }
.friend-request-outgoing { background:rgba(255,255,255,.015); }
.friend-request { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px; }
.friend-request > div:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.friend-request strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.friend-request > div:nth-child(2) span { color: #858c97; font-size: 10px; }
.friend-request-actions { display: flex; gap: 5px; }
.friend-request-actions button { min-height: 31px; padding: 5px 8px; border-radius: 9px; font-size: 10px; }
.friend-request-actions .friend-request-decline { color: #858c97; background: transparent; border-color: transparent; box-shadow: none; }
.friend-request-actions .friend-request-decline:hover { color: #ff9d95; background: rgba(255,107,95,.06); box-shadow: none; }

/* Fortschritt, Achievements und Aktivitäten */
.progress-page { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 calc(var(--nav-h) + 48px); text-align: left; }
.progress-hero { padding: clamp(34px, 7vw, 58px) 0 25px; }
.progress-hero h1 { margin: 5px 0 7px; font-size: clamp(38px, 7vw, 56px); line-height: 1; }
.progress-hero p { margin: 0; font-size: 14px; }
.activity-hero { padding-bottom:22px; }
.activity-page .activity-list { max-width:760px; }
.progress-tabs { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 13px; }
.progress-tab { min-height: 36px; padding: 6px 12px; color: #8f96a1; background: transparent; border: 0; box-shadow: none; font-size: 12px; }
.progress-tab:hover, .progress-tab.active { color: var(--text); background: rgba(255,255,255,.075); box-shadow: none; transform: none; }
.progress-tab span:not(:empty) { margin-left: 5px; padding: 2px 6px; color: #fff; background: #e84d46; border-radius: 999px; font-size: 9px; }
.progress-panel[hidden] { display: none; }
.rank-card { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; padding: 23px; overflow: hidden; background: radial-gradient(circle at 0 0, rgba(247,148,29,.2), transparent 17rem), linear-gradient(145deg,#1d2027,#111419); border: 1px solid rgba(247,148,29,.24); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.rank-card.progress-new-yes { animation: achievementGlow 1.7s ease-in-out 2; }
.rank-crown { display: grid; place-items: center; width: 64px; height: 64px; color: #181109; background: linear-gradient(145deg,#ffc161,var(--orange)); border-radius: 20px; font-size: 32px; box-shadow: 0 14px 35px rgba(247,148,29,.18); }
.rank-main > span { color: var(--orange-2); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.rank-main h2 { margin: 4px 0 2px; font-size: 28px; }
.rank-main p { margin: 0; font-size: 12px; }
.rank-progress { grid-column: 1/-1; }
.rank-progress > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: #969da8; font-size: 10px; }
.rank-progress i { display: block; height: 6px; overflow: hidden; background: rgba(255,255,255,.07); border-radius: 999px; }
.rank-progress b { display: block; height: 100%; background: linear-gradient(90deg,var(--orange),#ffc05b); border-radius: inherit; }
.progress-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin: 12px 0 27px; }
.progress-metrics span { display: grid; gap: 3px; padding: 13px; color: #7f8792; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px; font-size: 10px; }
.progress-metrics strong { color: var(--text); font-size: 18px; }
.progress-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 0 12px; }
.progress-heading h2 { margin: 4px 0 0; font-size: 22px; }
.progress-heading small { color: #858c97; }
.achievement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.achievement-card { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 11px; min-height: 78px; padding: 13px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 16px; }
.achievement-card.locked { opacity: .48; filter: saturate(.25); }
.achievement-card.is-new { border-color: rgba(247,148,29,.48); background: rgba(247,148,29,.075); animation: achievementGlow 1.7s ease-in-out 2; }
.achievement-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--orange-2); background: rgba(247,148,29,.1); border-radius: 13px; font-weight: 800; }
.achievement-card strong { font-size: 12px; }
.achievement-card p { margin: 3px 0 0; font-size: 10px; line-height: 1.4; }
.achievement-card em { position: absolute; top: 7px; right: 7px; padding: 2px 5px; color: #17120b; background: var(--orange); border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.rank-list-heading { margin-top: 28px; }
.rank-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.rank-list > span { display: grid; gap: 2px; padding: 10px; color: #717985; background: rgba(255,255,255,.018); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; font-size: 11px; }
.rank-list > span.reached { color: #c6cbd3; }
.rank-list > span.current { color: var(--orange-2); background: rgba(247,148,29,.07); border-color: rgba(247,148,29,.27); }
.rank-list small { color: #686f79; font-size: 8px; }
.activity-list { display: grid; gap: 8px; }
.activity-item { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 16px; }
.activity-item.is-new { background: rgba(247,148,29,.065); border-color: rgba(247,148,29,.25); }
.activity-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--orange-2); background: rgba(247,148,29,.1); border-radius: 14px; font-size: 18px; }
.activity-item strong { font-size: 12px; }
.activity-item p { margin: 3px 0; font-size: 11px; }
.activity-item time { color: #6f7680; font-size: 9px; }
.activity-item > i { position: absolute; top: 10px; right: 10px; color: #ff766d; font-size: 8px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.activity-review_removed .activity-icon { color: #ff8e86; background: rgba(255,81,72,.1); border-color: rgba(255,81,72,.2); }
.activity-review_removed strong { color: #ffd0cc; }
.achievement-toast { position: fixed; top: max(16px,env(safe-area-inset-top)); left: 50%; z-index: 11000; display: flex; align-items: center; gap: 11px; width: min(360px,calc(100% - 24px)); padding: 13px 15px; color: var(--text); background: rgba(20,23,29,.97); border: 1px solid rgba(247,148,29,.35); border-radius: 16px; box-shadow: 0 18px 55px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%,-18px); transition: opacity .22s ease,transform .22s ease; }
.achievement-toast.visible { opacity: 1; transform: translate(-50%,0); }
.achievement-toast > span { color: var(--orange); font-size: 23px; }
.achievement-toast div { display: grid; gap: 2px; }
.achievement-toast small { color: #8f96a1; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.achievement-toast strong { font-size: 13px; }
.achievement-toast p { margin:2px 0 0; color:#9aa1ac; font-size:10px; line-height:1.35; }
@keyframes achievementGlow { 50% { box-shadow: 0 0 0 2px rgba(247,148,29,.16),0 15px 45px rgba(247,148,29,.12); } }

/* Feed */
.feed-page { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 calc(var(--nav-h) + 48px); text-align: left; }
.feed-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; }
.feed-brand { display: block; width: 154px; height: auto; }
.feed-live-label { display: inline-flex; align-items: center; gap: 7px; color: #8f96a1; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.feed-live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247,148,29,.1); }
.feed-hero { padding: clamp(34px, 7vw, 62px) 0 30px; }
.feed-eyebrow { color: var(--orange); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.feed-hero h1 { margin: 5px 0 7px; font-size: clamp(38px, 7vw, 58px); line-height: 1; }
.feed-hero p { margin: 0; font-size: 14px; }
.feed-list { display: grid; gap: 12px; }
.feed-loading { padding: 18px 0; color: var(--muted); font-size: 13px; }
.feed-friends-hint { display: flex; align-items: center; gap: 13px; padding: 14px 15px; color: #cbd0d7; background: rgba(247,148,29,.055); border: 1px solid rgba(247,148,29,.17); border-radius: 16px; }
.feed-hint-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; color: var(--orange); background: rgba(247,148,29,.11); border-radius: 11px; font-size: 20px; }
.feed-friends-hint strong { font-size: 12px; }
.feed-friends-hint p { margin: 3px 0 0; font-size: 11px; line-height: 1.45; }
#feedList > .feed-card { padding: 19px !important; color: var(--text) !important; background: linear-gradient(155deg, rgba(27,31,39,.94), rgba(17,20,26,.92)) !important; border: 1px solid var(--line) !important; border-radius: 19px; box-shadow: 0 14px 38px rgba(0,0,0,.18) !important; text-align: left; }
#feedList > .feed-card-friend { background: linear-gradient(145deg, rgba(247,148,29,.105), rgba(20,23,29,.96) 58%) !important; border-color: rgba(247,148,29,.33) !important; box-shadow: 0 15px 42px rgba(247,148,29,.07) !important; }
.feed-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.feed-author { display: flex; align-items: center; gap: 9px; min-width: 0; }
.feed-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; color: var(--orange-2); background: rgba(247,148,29,.11); border: 1px solid rgba(247,148,29,.17); border-radius: 13px; font-size: 14px; font-weight: 800; }
.feed-card-friend .feed-avatar { color: #17120b; background: linear-gradient(145deg, #ffb447, var(--orange)); }
.feed-author > div { display: grid; gap: 2px; min-width: 0; }
.feed-author strong { overflow: hidden; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.feed-username { overflow:hidden; max-width:190px; color:var(--text); font-family:var(--font-display); font-size:16px; line-height:1.2; letter-spacing:-.01em; text-overflow:ellipsis; white-space:nowrap; }
.feed-author > div span { color: #7f8792; font-size: 10px; }
.feed-author > div .feed-author-rank { color:#858d98; font-size:9px; font-weight:600; letter-spacing:.02em; }
.feed-card-head time { flex: 0 0 auto; color: #747c87; font-size: 10px; white-space: nowrap; }
.feed-badge { flex: 0 0 auto; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: #aeb4bd; font-size: 9px; font-weight: 700; }
.feed-badge-friend { color: var(--orange-2); border-color: rgba(247,148,29,.3); background: rgba(247,148,29,.07); }
.feed-restaurant { display: grid; gap: 3px; margin-top: 18px; }
.feed-restaurant strong { font-size: 15px; }
.feed-restaurant span { color: #858c97; font-size: 11px; }
.feed-rating { margin-top: 9px; color: var(--orange); font-size: 18px; letter-spacing: 1px; }
.feed-review-text { margin: 10px 0 0; color: #d2d6dc; font-size: 13px; line-height: 1.6; }
.feed-review-empty { color: #747c87; font-style: italic; }
.feed-card-footer { display: flex; justify-content: flex-end; margin-top: 12px; }
.review-like { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:6px 11px; color:#8b929c; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.07); border-radius:999px; box-shadow:none; font-size:12px; transition:color .18s ease,background .18s ease,transform .18s ease,border-color .18s ease; }
.review-like svg { width:18px; height:18px; fill:transparent; stroke:currentColor; stroke-width:1.8; transition:fill .18s ease,transform .2s ease; }
.review-like b { font-size: 10px; }
.review-like:hover { color:#ff8d84; background:rgba(255,107,95,.07); border-color:rgba(255,107,95,.16); box-shadow:none; transform:translateY(-1px); }
.review-like.liked { color:#ff675e; background:rgba(255,103,94,.08); border-color:rgba(255,103,94,.18); }
.review-like.liked svg { fill:currentColor; transform:scale(1.06); }
.review-like:disabled { color: #555c66; background: transparent; opacity: .55; }

/* Öffentliches Crew-Profil */
.social-profile-overlay { position:fixed; inset:0; z-index:12000; display:grid; place-items:center; padding:22px; background:rgba(3,5,8,.72); backdrop-filter:blur(9px); }
.social-profile-card { position:relative; display:grid; grid-template-rows:auto auto minmax(0,1fr); width:min(430px,100%); height:min(680px,calc(100dvh - 44px)); overflow:hidden; color:var(--text); border:1px solid rgba(255,255,255,.11); border-radius:24px; background:linear-gradient(155deg,rgba(25,29,36,.99),rgba(13,16,21,.99)); box-shadow:0 28px 90px rgba(0,0,0,.58); text-align:left; }
.social-profile-close { position:absolute; top:12px; right:12px; z-index:2; width:34px; min-height:34px; padding:0; color:#9ba2ad; background:rgba(255,255,255,.035); border-color:transparent; border-radius:10px; box-shadow:none; font-size:20px; }
.social-profile-close:hover { color:#fff; background:rgba(255,255,255,.07); box-shadow:none; transform:none; }
.social-profile-loading { padding:45px 24px; color:#9299a4; font-size:12px; }
.social-profile-head { display:flex; align-items:center; gap:15px; padding:25px 52px 17px 22px; }
.social-profile-avatar { display:grid; place-items:center; flex:0 0 auto; width:58px; height:58px; color:#17120b; background:linear-gradient(145deg,#ffb447,var(--orange)); border-radius:19px; font-size:23px; font-weight:850; }
.social-profile-bio { color:#c3c8cf !important; line-height:1.45; }
.settings-page { width:min(680px,calc(100% - 32px)); margin:0 auto; padding:24px 0 calc(var(--nav-h) + 46px); text-align:left; }
.settings-hero { padding:34px 2px 24px; }.settings-hero h1 { margin:4px 0 7px; font-size:clamp(32px,6vw,46px); }.settings-hero p { margin:0; color:var(--muted); font-size:12px; }
.settings-card { padding:clamp(18px,4vw,28px); background:rgba(20,23,29,.82); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
.settings-security-card { margin-top:16px; }
.settings-section-head h2 { margin:5px 0 6px; font-size:20px; }.settings-section-head p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.settings-profile-row { display:flex; align-items:center; gap:14px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.settings-profile-row>div { display:grid; gap:3px; }.settings-profile-row span { color:var(--muted); font-size:11px; }
.settings-avatar { display:grid; place-items:center; width:58px; height:58px; overflow:hidden; color:#17120b; background:linear-gradient(145deg,#ffb447,var(--orange)); border-radius:50%; font-size:22px; font-weight:800; }
.settings-field { display:grid; gap:8px; margin-top:22px; color:var(--text); font-weight:700; }.settings-field small { color:var(--muted); font-size:10px; font-weight:500; }.settings-field textarea { width:100%; resize:vertical; }.settings-field input[type=file] { width:100%; padding:12px; color:var(--muted); background:rgba(255,255,255,.025); border:1px solid var(--line); border-radius:12px; }
.settings-card form,.settings-field { min-width:0; }
.settings-field input:not([type="file"]),.settings-field textarea { display:block; width:100%; max-width:100%; min-width:0; }
.settings-status { min-height:20px; margin-top:12px; color:var(--muted); font-size:11px; }.settings-save { width:100%; margin-top:8px; }.settings-remove-photo { width:100%; margin-top:8px; color:#aeb4bd; background:transparent; border-color:transparent; box-shadow:none; }
.social-profile-head h2 { margin:3px 0 2px; font-size:25px; }
.social-profile-head p { margin:0; color:#858d98; font-size:10px; }
.social-profile-head .social-profile-rank { margin:1px 0 4px; color:#b3bac4; font-size:10px; font-weight:650; letter-spacing:.025em; }
.social-profile-action { padding:0 22px 17px; }
.social-relation-action { width:100%; min-height:39px; border-radius:12px; font-size:11px; }
.social-relation-action.secondary { color:#c7ccd4; background:rgba(255,255,255,.045); border-color:var(--line); box-shadow:none; }
.social-profile-reviews { min-height:0; padding:15px 16px 18px; border-top:1px solid rgba(255,255,255,.075); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.social-profile-section-title { display:flex; justify-content:space-between; padding:0 4px 10px; color:#aeb5bf; font-size:11px; }
.social-profile-section-title span { color:var(--orange); }
.social-review-card { position:relative; padding:12px; border:1px solid rgba(255,255,255,.07); border-radius:14px; background:rgba(255,255,255,.025); }
.social-review-card + .social-review-card { margin-top:8px; }
.social-review-card > div:first-child { display:flex; justify-content:space-between; gap:10px; }
.social-review-card > div:first-child strong { font-size:12px; }
.social-review-card > div:first-child span { color:var(--orange); font-size:11px; letter-spacing:1px; }
.social-review-card > small { display:block; margin-top:3px; color:#7e8691; font-size:9px; }
.social-review-card > p { margin:7px 0 0; color:#c3c8d0; font-size:11px; line-height:1.5; }
.social-review-card > em { display:inline-block; margin-top:8px; color:#d09a54; font-size:8px; font-style:normal; font-weight:750; text-transform:uppercase; }
.social-review-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin-top:9px; }
.social-review-photos img { width:100%; height:82px; object-fit:cover; border-radius:8px; }
.social-review-history { margin-top:10px; }
.social-review-history > div > article { padding:9px; }
.social-review-history .social-review-photos { grid-template-columns:repeat(3,minmax(0,1fr)); }
.social-review-history .social-review-photos img { height:58px; }
#feedList > .feed-state { display: grid; justify-items: start; gap: 5px; padding: 24px !important; color: #c9ced6 !important; background: rgba(255,255,255,.02) !important; border: 1px dashed rgba(255,255,255,.14) !important; border-radius: 18px; box-shadow: none !important; }
.feed-state > span { margin-bottom: 3px; color: var(--orange); font-size: 25px; }
.feed-state p { margin: 0; font-size: 12px; }
.feed-state-error strong { color: #ffaaa3; }

@media (max-width: 600px) {
  .maplibregl-popup.restaurant-review-popup { top:calc(env(safe-area-inset-top) + 18px) !important; width:calc(100vw - 24px); max-width:calc(100vw - 24px) !important; transform:translateX(-50%) !important; }
  .restaurant-review-popup .maplibregl-popup-content { border-radius:20px !important; }
  .poi-detail-card { height:calc(100dvh - var(--nav-h) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 30px); }
  .maplibregl-ctrl-attrib { z-index:1; }
  .social-profile-overlay { padding:10px; }
  .social-profile-card { width:100%; height:calc(100dvh - 20px); border-radius:20px; }
  .social-profile-head { padding:20px 48px 14px 16px; }
  .social-profile-action { padding:0 16px 13px; }
  .social-profile-reviews { padding:12px 11px 15px; }
  .poi-detail-head { padding:18px 44px 13px 16px; }
  .poi-detail-head h2 { font-size:20px; }
  .poi-review-summary-head { padding:11px 15px; }
  .poi-review-score { font-size:27px; }
  .poi-review-list { max-height:none; padding:8px; }
  .poi-popup-actions { padding:10px 11px max(10px,env(safe-area-inset-bottom)); }
  .maplibregl-popup-content .poi-review-cta { min-height:45px !important; }
  .maplibregl-popup-content .poi-report-button span { display:none; }
  .maplibregl-popup-content .poi-report-button { display:grid; grid-template-columns:1fr; place-items:center; gap:0; width:43px; min-height:43px !important; padding:0 !important; border:1px solid rgba(255,255,255,.08); }
  .maplibregl-popup-content .poi-report-button svg { width:16px; height:16px; }
  .review-photo-thumb { width:94px; height:74px; border-radius:10px; }
  .history-photo-row .review-photo-thumb { width:62px; height:50px; }
  .photo-viewer-overlay { padding:10px; }
  .photo-viewer { height:calc(100dvh - 20px); }
  .photo-viewer-close { top:6px; right:6px; }
  .photo-viewer-nav { width:38px; min-height:38px; font-size:26px; }
  .photo-viewer-prev { left:2px; }
  .photo-viewer-next { right:2px; }
  .auth-page { place-items:start center; min-height:calc(100vh - var(--nav-h)); padding:calc(env(safe-area-inset-top) + 18px) 12px calc(var(--nav-h) + 28px); }
  .auth-card { grid-template-columns:1fr; gap:25px; padding:22px 19px 20px; border-radius:22px; }
  .auth-logo { width:145px; margin-bottom:24px; }
  .auth-intro h1 { font-size:35px; }
  .auth-intro p { max-width:none; }
  .auth-mode-badge { margin-top:17px; }
  .auth-form > label:not(.remember-login) { margin-bottom:12px; }
  .auth-form input:not([type="checkbox"]) { height:46px; font-size:16px; }
  .auth-page button, .navbar button { touch-action:manipulation; }
  .auth-switch { margin-top:16px; }
  body { text-align: left; }
  #app { text-align: center; }
  .navbar { bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); border-radius: 18px; }
  .navbut { height: 52px; }
  .brand-logo:not(.compact) { margin-top: 28px; }
  #map { height: calc(100dvh - var(--nav-h) - 8px - env(safe-area-inset-bottom)); }
  #mapSearch { top: calc(env(safe-area-inset-top) + 22px); width: calc(100% - 104px); }
  .map-search-box { height: 44px; border-radius: 14px; }
  .maplibregl-ctrl-top-right { top: calc(env(safe-area-inset-top) + 22px); right: 12px; }
  .maplibregl-ctrl-top-right .maplibregl-ctrl { margin-bottom: 10px; }
  .maplibregl-ctrl-group button { width: 38px; height: 38px; min-height: 38px; }
  .crewbite-location-control .crewbite-map-report-control svg { display:block; margin:auto; transform:translateX(2.5px); transform-origin:center; }
  .checkin-sheet { border-radius: 20px; padding-inline: 16px; }
  .maplibregl-popup-content { min-width: min(270px, calc(100vw - 28px)); }
  #myReviewsList article { padding: 14px !important; }
  #myReviewsList article > div:first-child { flex-direction: column; gap: 6px !important; }
  #myReviewsList article time { white-space: normal !important; }
  .profile-page { width: calc(100% - 24px); padding-top: calc(env(safe-area-inset-top) + 18px); }
  .profile-brand { width: 132px; }
  .profile-secondary-actions { gap: 5px; }
  .profile-primary-actions { grid-column:1 / -1; display:grid; grid-template-columns:repeat(4,40px); gap:7px; justify-self:end; margin:-2px 0 0; padding:5px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.07); border-radius:16px; }
  .profile-icon-link { width:40px; height:40px; min-height:40px; border-color:transparent; background:transparent; }
  .settings-page { width:calc(100% - 24px); padding-top:calc(env(safe-area-inset-top) + 18px); }
  .profile-text-action { padding-inline: 5px; font-size: 11px; }
  .profile-hero { display:grid; grid-template-columns:auto minmax(0,1fr); gap:15px; padding:34px 2px 24px; }
  .profile-avatar { width: 62px; height: 62px; border-radius: 20px; font-size: 26px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { padding: 18px; border-radius: 19px; }
  .profile-reviews-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .profile-review-head { flex-direction: column; gap: 5px; }
  .profile-friends-link { width:40px; min-height:40px; margin-left:0; padding:0; justify-content:center; border-color:transparent; background:transparent; }
  .profile-friends-link span { display: none; }
  .friends-page { width: calc(100% - 24px); padding-top: calc(env(safe-area-inset-top) + 18px); }
  .friends-hero { padding: 34px 2px 24px; }
  .friends-page-grid { grid-template-columns: 1fr; }
  .friends-current-card { grid-column: auto; }
  .friend-request { grid-template-columns: auto minmax(0,1fr); }
  .friend-request-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .profile-primary-actions { gap:7px; }
  .progress-page { width: calc(100% - 24px); padding-top: calc(env(safe-area-inset-top) + 18px); }
  .progress-hero { padding: 34px 2px 24px; }
  .achievement-grid { grid-template-columns: 1fr; }
  .progress-metrics { grid-template-columns: repeat(2,1fr); }
  .rank-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rank-card { padding: 18px; }
  .feed-page { width: calc(100% - 24px); padding-top: calc(env(safe-area-inset-top) + 18px); }
  .feed-brand { width: 132px; }
  .feed-hero { padding: 34px 2px 24px; }
  #feedList > .feed-card { padding: 16px !important; border-radius: 17px; }
  .feed-card-head { align-items: flex-start; }
  .feed-author { flex-wrap: wrap; }
  .feed-card-head time { max-width: 84px; white-space: normal; text-align: right; }
  .feed-badge { padding: 2px 6px; }
}

@media (min-width: 601px) and (max-width: 840px) {
  .profile-grid { grid-template-columns: 1fr; }
}

@media (display-mode: standalone) {
  body { padding-top: 0; }
  #poiStatus { top: calc(env(safe-area-inset-top) + 18px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
