:root {
  --bg: #0b1220;
  --bg-soft: #101a2d;
  --panel: #18212f;
  --panel-2: #223147;
  --text: #e8eef7;
  --muted: #9fb0c7;
  --line: rgba(255,255,255,0.08);
  --accent: #73e0a9;
  --accent-2: #67b7ff;
  --danger: #ff6b6b;
  --warning: #ffd76b;
  --shadow: 0 18px 45px rgba(0,0,0,0.25);
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, Arial, sans-serif; background: linear-gradient(180deg, #09111e 0%, #101722 100%); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
body { min-height: 100vh; }
body, input, textarea, select, button { font: inherit; }
.app-shell { max-width: 1200px; margin: 0 auto; padding: 18px; }
.topbar, .card, .flash { backdrop-filter: blur(10px); }
.topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; margin-bottom: 18px; border: 1px solid var(--line);
  background: rgba(24, 33, 47, 0.9); border-radius: 24px; box-shadow: var(--shadow);
}
.topbar h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.topbar nav { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.user-pill { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--muted); }
.eyebrow { margin: 0 0 6px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; }
.card {
  background: linear-gradient(180deg, rgba(24,33,47,0.92), rgba(19,27,39,0.92));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.hero { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 18px; align-items: center; }
.hero h2 { margin-top: 0; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.hero p { color: var(--muted); line-height: 1.55; }
.hero-actions { display: grid; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: transparent; color: var(--text); font-weight: 600; cursor: pointer;
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #071018; border: none; }
.button.ghost { background: rgba(255,255,255,0.03); }
.button.danger { background: rgba(255,107,107,0.12); color: #ffd7d7; }
.button.full { width: 100%; }
.stats-grid, .place-grid, .gallery-grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; margin-bottom: 8px; }
.stat span { color: var(--muted); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head.compact { margin-bottom: 10px; }
.section-head h2, .section-head h3 { margin: 0; }
.map { min-height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map.large { min-height: 420px; }
.place-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.place-card, .photo-card { display: flex; flex-direction: column; gap: 14px; }
.place-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.place-card p, .lead, .helper { color: var(--muted); line-height: 1.55; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.big-gap { gap: 10px; }
.badge { padding: 7px 10px; border-radius: 999px; background: rgba(115,224,169,0.12); border: 1px solid rgba(115,224,169,0.2); }
.badge.outline { background: transparent; border: 1px solid var(--line); }
.badge.muted { opacity: 0.55; }
.badge.status { font-weight: 700; }
.badge.status-neu { background: rgba(103,183,255,0.12); border-color: rgba(103,183,255,0.25); }
.badge.status-interessant { background: rgba(255,215,107,0.12); border-color: rgba(255,215,107,0.25); }
.badge.status-geprueft { background: rgba(115,224,169,0.12); border-color: rgba(115,224,169,0.25); }
.badge.status-ungeeignet { background: rgba(255,107,107,0.12); border-color: rgba(255,107,107,0.25); }
.badge.status-favorit { background: rgba(196,140,255,0.16); border-color: rgba(196,140,255,0.28); }
.rating { color: #ffd76b; letter-spacing: 0.1em; }
.large-rating { font-size: 1.25rem; }
.meta-list { display: grid; gap: 6px; color: var(--muted); font-size: 0.95rem; }
.form-card, .auth-card { max-width: 980px; margin: 0 auto 18px; }
.auth-card { max-width: 560px; }
.place-form { display: grid; gap: 16px; }
.compact-form { gap: 14px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
label { display: grid; gap: 8px; }
label span { font-weight: 600; }
input, textarea, select {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.04); color: var(--text); outline: none;
}
option { color: #111; }
input::placeholder, textarea::placeholder { color: #8192ab; }
.inner-card { background: rgba(255,255,255,0.03); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.check { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); padding: 12px 14px; border-radius: 14px; }
.check input { width: auto; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
.actions-row.align-end { align-items: end; }
.flash { padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; border: 1px solid var(--line); }
.flash.success { background: rgba(115,224,169,0.12); }
.flash.error { background: rgba(255,107,107,0.12); }
.footer { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding: 12px 4px 24px; }
.empty-state { text-align: center; padding: 40px 24px; }
.details { display: grid; gap: 12px; }
.details div { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.detail-grid { align-items: start; }
.spacing-top { margin-top: 16px; }
.spacing-bottom { margin-bottom: 16px; }
.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.photo-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.photo-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.comment-list { display: grid; gap: 12px; }
.comment-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,0.03); }
.comment-card p { margin-bottom: 0; color: var(--text); }
.comment-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero, .stats-grid, .grid.two, .grid.three, .detail-grid, .topbar, .footer { grid-template-columns: 1fr; display: grid; }
  .topbar nav { justify-content: stretch; }
}
@media (max-width: 640px) {
  .app-shell { padding: 12px; }
  .topbar, .card { padding: 16px; border-radius: 20px; }
  .map.large { min-height: 320px; }
  .actions-row > * { width: 100%; }
  .user-pill { text-align: center; }
}

.stats-grid.four { grid-template-columns: repeat(5, 1fr); }
.grid.four { grid-template-columns: repeat(5, 1fr); }
.score-pill { display:inline-flex; align-items:center; justify-content:center; min-width:72px; padding:8px 12px; border-radius:999px; font-weight:800; border:1px solid var(--line); }
.score-pill.large { font-size:1.1rem; padding:10px 14px; }
.score-excellent { background: rgba(115,224,169,0.16); border-color: rgba(115,224,169,0.3); }
.score-good { background: rgba(103,183,255,0.14); border-color: rgba(103,183,255,0.28); }
.score-medium { background: rgba(255,215,107,0.14); border-color: rgba(255,215,107,0.28); }
.score-low { background: rgba(255,107,107,0.14); border-color: rgba(255,107,107,0.28); }
.score-mini-grid, .score-breakdown-grid, .score-form-grid { display:grid; gap:10px; }
.score-mini-grid { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.score-mini-grid div, .score-breakdown-card { background: rgba(255,255,255,0.03); border:1px solid var(--line); border-radius:14px; padding:10px 12px; }
.score-mini-grid span, .score-breakdown-card span { display:block; color:var(--muted); font-size:0.82rem; margin-bottom:6px; }
.score-mini-grid strong, .score-breakdown-card strong { font-size:1.05rem; }
.score-breakdown-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.score-form-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.score-summary { margin-top:14px; color: var(--muted); line-height:1.5; }
.ranking-list { display:grid; gap:10px; }
.ranking-item { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--line); border-radius:16px; background: rgba(255,255,255,0.03); }
.score-stack { display:grid; gap:8px; justify-items:end; }
.fieldday-marker-wrap { background: transparent; border:0; }
.fieldday-marker { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; color:#071018; border:2px solid rgba(255,255,255,0.7); box-shadow: 0 10px 20px rgba(0,0,0,0.25); }
.fieldday-marker.marker-excellent { background:#73e0a9; }
.fieldday-marker.marker-good { background:#67b7ff; }
.fieldday-marker.marker-medium { background:#ffd76b; }
.fieldday-marker.marker-low { background:#ff6b6b; }
@media (max-width: 900px) { .stats-grid.four, .grid.four { grid-template-columns:1fr; } }

html { scroll-behavior: smooth; }
body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
.topbar { position: sticky; top: 0; z-index: 60; }
.topbar nav .button.is-active { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.hero p + .helper { margin-top: 8px; }
.quick-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, 1fr); }
.quick-tile { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); display: grid; gap: 6px; }
.quick-tile strong { font-size: 1rem; }
.quick-tile span { color: var(--muted); font-size: 0.92rem; }
.filter-card { position: relative; }
.filter-toggle { display: none; }
.form-progress { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-bottom: 14px; }
.progress-chip { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.progress-chip strong { display: block; font-size: 0.95rem; }
.progress-chip span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.quick-actions-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.section-accordion { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.03); overflow: hidden; }
.section-accordion + .section-accordion { margin-top: 14px; }
.section-accordion summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-accordion summary::-webkit-details-marker { display: none; }
.section-accordion[open] summary { border-bottom: 1px solid var(--line); }
.section-title-wrap { display: grid; gap: 4px; }
.section-title-wrap h3 { margin: 0; }
.section-title-wrap .helper { margin: 0; }
.section-accordion-content { padding: 16px; }
.step-kicker { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.input-hint { color: var(--muted); font-size: 0.86rem; }
.location-toolbar, .upload-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.upload-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.upload-preview-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.03); }
.upload-preview-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.upload-preview-item span { display: block; padding: 8px 10px; font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-live-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.03); margin-top: 14px; }
.score-live-box strong { font-size: 1.05rem; }
.score-live-box .helper { margin: 0; }
.sticky-submit-bar { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); z-index: 55; display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,18,30,0.92); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.sticky-submit-bar .button { min-height: 52px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter-pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: 0.9rem; }
.mobile-nav { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); z-index: 70; display: none; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px; border-radius: 24px; border: 1px solid var(--line); background: rgba(10,18,30,0.96); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.mobile-nav a { position: relative; min-height: 60px; display: grid; justify-items: center; align-content: center; gap: 4px; padding: 8px 4px 10px; border-radius: 18px; color: var(--muted); font-weight: 700; text-align: center; transition: transform .18s ease, background .18s ease, color .18s ease; }
.mobile-nav a:active { transform: translateY(1px) scale(0.98); }
.mobile-nav-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav-icon svg { width: 22px; height: 22px; }
.mobile-nav-label { display: block; font-size: 0.72rem; line-height: 1; letter-spacing: 0.01em; }
.nav-count { position: absolute; top: 6px; right: 8px; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(103,183,255,0.24); color: var(--text); font-size: 0.72rem; font-weight: 800; }
.mobile-nav a.active { background: rgba(255,255,255,0.08); color: var(--text); }
.mobile-nav a.active::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(115,224,169,0.14); }
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 104px); z-index: 71; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10,18,30,0.96); box-shadow: var(--shadow); }
.install-banner .actions-row { margin-top: 12px; }
.compact-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.list-card-actions { margin-top: auto; }
.helper-list { display: grid; gap: 8px; color: var(--muted); }
.kpi-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.empty-state .button { margin-top: 12px; }
@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 112px); }
  .topbar nav { display: none; }
  .quick-grid, .quick-actions-bar, .sticky-submit-bar { grid-template-columns: 1fr; }
  .mobile-nav { display: grid; }
  .install-banner { bottom: calc(env(safe-area-inset-bottom, 0px) + 114px); }
  .hero h2 { font-size: 1.55rem; line-height: 1.2; }
  .form-progress { grid-template-columns: 1fr 1fr; }
  .filter-form-mobile.collapsed .filter-body { display: none; }
  .filter-toggle { display: inline-flex; }
  .card.place-card { padding-bottom: 16px; }
  .sticky-submit-bar { bottom: calc(env(safe-area-inset-bottom, 0px) + 102px); }
  .location-toolbar .button, .upload-toolbar .button, .sync-dashboard-grid .button { width: 100%; }
}


.card-subtle {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.2rem;
}

.offline-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.offline-inline-message {
  margin-bottom: 1rem;
}

.sync-dashboard-grid { align-items: stretch; }
.sync-list { display: grid; gap: 12px; margin-top: 12px; }
.sync-item { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,0.03); }
.sync-item-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.lead.small { font-size: 1rem; }
.compact-card h3 { margin-bottom: 8px; }
@media (min-width: 901px) {
  .update-banner { display: none !important; }
}

.desktop-nav { display:flex; }
.update-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 158px);
  z-index: 72;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(103,183,255,0.35);
  background: rgba(10,18,30,0.97);
  box-shadow: var(--shadow);
}
.update-banner .actions-row { margin-top: 12px; }
body.is-standalone .topbar { padding-bottom: 12px; }
body.is-standalone .desktop-nav { display: none; }
body.is-standalone .mobile-nav { display: grid; }
body.is-standalone { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 118px); }
@media (max-width: 640px) {
  .update-banner { bottom: calc(env(safe-area-inset-bottom, 0px) + 170px); }
}

.ampel-card { border-left: 6px solid rgba(255,255,255,0.16); }
.badge.ampel { font-weight: 800; }
.ampel-rot, .ampel-card.ampel-rot { background: rgba(255, 104, 104, 0.14); color: #ffd7d7; border-color: rgba(255, 104, 104, 0.42); }
.ampel-gelb, .ampel-card.ampel-gelb { background: rgba(255, 205, 86, 0.14); color: #fff0be; border-color: rgba(255, 205, 86, 0.42); }
.ampel-gruen, .ampel-card.ampel-gruen { background: rgba(104, 214, 126, 0.14); color: #d6ffdf; border-color: rgba(104, 214, 126, 0.42); }
.ampel-inline { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid transparent; font-size: 0.82rem; font-weight: 700; }
.user-list { display: grid; gap: 12px; }
.user-card { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,0.03); }
.stack-right { display: grid; gap: 8px; justify-items: end; }
@media (max-width: 640px) {
  .user-card { flex-direction: column; align-items: stretch; }
  .stack-right { justify-items: start; }
}


.install-gate-card {
  max-width: 760px;
}

.install-steps {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.install-step {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  padding: 1rem 1rem 0.85rem;
}

.install-step strong {
  display: block;
  margin-bottom: 0.35rem;
}

.page-install .footer,
.page-install .mobile-nav,
.page-install .topbar .desktop-nav {
  display: none;
}

.page-install .topbar {
  justify-content: center;
}


.traffic-light-inline { display: inline-flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.traffic-light { display: inline-flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 999px; background: linear-gradient(180deg, #12151b, #202631); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 20px rgba(0,0,0,0.18); }
.traffic-light-lamp { display: block; border-radius: 50%; background: rgba(255,255,255,0.12); box-shadow: inset 0 2px 5px rgba(0,0,0,0.45); opacity: 0.2; }
.traffic-light-sm { padding: 5px; gap: 4px; }
.traffic-light-sm .traffic-light-lamp { width: 10px; height: 10px; }
.traffic-light-md .traffic-light-lamp { width: 13px; height: 13px; }
.traffic-light-lg .traffic-light-lamp { width: 16px; height: 16px; }
.lamp-rot.is-active { opacity: 1; background: radial-gradient(circle at 35% 35%, #ffd3d3 0%, #ff7373 32%, #cf1f1f 68%, #7b0a0a 100%); box-shadow: 0 0 0 1px rgba(255,130,130,0.35), 0 0 10px rgba(255,77,77,0.75), 0 0 20px rgba(255,77,77,0.4); }
.lamp-gelb.is-active { opacity: 1; background: radial-gradient(circle at 35% 35%, #fff6c9 0%, #ffd86a 32%, #c99608 68%, #7a5700 100%); box-shadow: 0 0 0 1px rgba(255,216,106,0.35), 0 0 10px rgba(255,210,82,0.75), 0 0 20px rgba(255,210,82,0.38); }
.lamp-gruen.is-active { opacity: 1; background: radial-gradient(circle at 35% 35%, #dbffe2 0%, #73e0a9 32%, #159354 68%, #08592f 100%); box-shadow: 0 0 0 1px rgba(115,224,169,0.35), 0 0 10px rgba(115,224,169,0.75), 0 0 20px rgba(115,224,169,0.38); }
.traffic-light-text { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border-radius: 999px; border: 1px solid transparent; font-size: 0.82rem; font-weight: 700; }
.ranking-helper .traffic-light-inline { vertical-align: middle; }
@media (max-width: 640px) {
  .traffic-light-inline { gap: 8px; }
  .traffic-light-text { padding: 4px 9px; font-size: 0.78rem; }
}


.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.feature-chip.is-active {
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}
.feature-chip.is-unavailable {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,107,107,0.38);
  background:
    linear-gradient(135deg, transparent 47%, rgba(255,107,107,0.78) 47%, rgba(255,107,107,0.78) 53%, transparent 53%),
    linear-gradient(45deg, transparent 47%, rgba(255,107,107,0.78) 47%, rgba(255,107,107,0.78) 53%, transparent 53%),
    rgba(255,255,255,0.025);
  color: #ffb0b0;
}
.feature-chip.is-unavailable::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,107,107,0.12);
  pointer-events: none;
}
.feature-chip .feature-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-chip .feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}
.feature-label {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}
.feature-critical.is-active {
  background: rgba(255,107,107,0.18);
  border-color: rgba(255,107,107,0.34);
  color: #ffd0d0;
}
.feature-toilets.is-active {
  background: rgba(103,183,255,0.16);
  border-color: rgba(103,183,255,0.34);
  color: #d8ecff;
}
.feature-showers.is-active {
  background: rgba(117,210,255,0.16);
  border-color: rgba(117,210,255,0.34);
  color: #dcf7ff;
}
.feature-power.is-active {
  background: rgba(255,215,107,0.16);
  border-color: rgba(255,215,107,0.34);
  color: #fff1c3;
}
.feature-water.is-active {
  background: rgba(84,195,255,0.16);
  border-color: rgba(84,195,255,0.34);
  color: #d9f2ff;
}
.feature-parking.is-active {
  background: rgba(115,224,169,0.16);
  border-color: rgba(115,224,169,0.34);
  color: #dbffe8;
}
@media (max-width: 640px) {
  .feature-icons { gap: 8px; }
  .feature-chip { padding: 8px 10px; min-height: 36px; }
  .feature-label { font-size: 0.78rem; }
}
