/**
 * Mobile Bauprojekte (under-construction) visual skin (html[data-shell="mobile"]).
 * Edit freely in mobile-optics chats. Shared markup/JS stays untouched.
 */

html[data-shell="mobile"] .uc-hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-shell="mobile"] .uc-year-filter {
  margin-left: 0;
  width: 100%;
}

html[data-shell="mobile"] .uc-year-filter input[type="range"] {
  flex: 1;
  width: auto;
  min-width: 8rem;
}

html[data-shell="mobile"] .uc-meta-chip,
html[data-shell="mobile"] .uc-opening-chip {
  text-align: left;
}

html[data-shell="mobile"] .uc-geo-filters.tracker-form--filters {
  width: 100%;
}

html[data-shell="mobile"] .uc-geo-filters.tracker-form--filters > label.uc-geo-filter,
html[data-shell="mobile"] .uc-geo-filters.tracker-form--filters > label.uc-geo-filter:first-child,
html[data-shell="mobile"] .uc-geo-filters.tracker-form--filters > label.uc-geo-filter:last-child {
  flex: 1 1 100%;
  min-width: 0;
  width: 100%;
}

html[data-shell="mobile"] .uc-filter-row {
  flex-direction: column;
  align-items: stretch;
}

html[data-shell="mobile"] .uc-dossier-chips-row {
  align-items: flex-start;
}

/* =====================================================================
   Handy-Umbau: Hero, Suche, Dossiers 1-spaltig
   ===================================================================== */

html[data-shell="mobile"] .uc-page {
  padding-left: max(0.9rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.9rem, env(safe-area-inset-right, 0px));
}

html[data-shell="mobile"] .uc-hero {
  margin: 0 -0.9rem 1.5rem;
  padding: 1.6rem 0.9rem 1.5rem;
}

html[data-shell="mobile"] .uc-hero-title {
  font-size: clamp(1.9rem, 9vw, 2.6rem);
}

html[data-shell="mobile"] .uc-hero-tagline {
  font-size: 0.95rem;
  margin-top: 0.7rem;
}

html[data-shell="mobile"] .uc-hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
  margin-top: 1.1rem;
}

html[data-shell="mobile"] .uc-hero-metrics dd {
  font-size: 1.05rem;
}

html[data-shell="mobile"] .uc-page-edit {
  min-height: 2.5rem;
}

html[data-shell="mobile"] .uc-browse-head {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

html[data-shell="mobile"] .uc-search,
html[data-shell="mobile"] .uc-search input {
  width: 100%;
  max-width: none;
}

html[data-shell="mobile"] .uc-search input {
  min-height: 2.75rem;
  font-size: 1rem;
}

html[data-shell="mobile"] .uc-geo-filter select,
html[data-shell="mobile"] .uc-geo-filters.tracker-form--filters select {
  min-height: 2.75rem;
  font-size: 1rem;
}

html[data-shell="mobile"] .uc-year-filter input[type="range"] {
  min-height: 2.5rem;
}

html[data-shell="mobile"] .uc-filter-bar .btn {
  min-height: 2.75rem;
}

/* Park-Banner + Dossiers */
html[data-shell="mobile"] .uc-park-banner {
  min-height: 7rem;
}

html[data-shell="mobile"] .uc-park-banner-copy {
  padding: 0.9rem 0.95rem 1rem;
  padding-right: 1rem;
}

html[data-shell="mobile"] .uc-park-banner-title {
  font-size: clamp(1.25rem, 5.5vw, 1.55rem);
}

html[data-shell="mobile"] .uc-park-banner-link {
  min-height: 2.5rem;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
}

html[data-shell="mobile"] .uc-dossier-stack {
  padding: 0.65rem 0.6rem 0.75rem;
}

html[data-shell="mobile"] .uc-dossier-head {
  padding: 0.85rem 0.85rem 0.8rem;
}

html[data-shell="mobile"] .uc-dossier-mfr {
  padding-right: 0;
}

html[data-shell="mobile"] .uc-dossier-title {
  font-size: clamp(1.15rem, 5vw, 1.4rem);
}

html[data-shell="mobile"] .uc-dossier-facts {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

html[data-shell="mobile"] .uc-dossier-timeline-wrap {
  padding: 0.85rem 0.85rem 0.75rem;
}

html[data-shell="mobile"] .uc-dossier-edit {
  min-height: 2.5rem;
}

html[data-shell="mobile"] .uc-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.25rem;
  font-size: 0.8rem;
}

html[data-shell="mobile"] .uc-dossier-sources {
  padding: 0.5rem 0.85rem 0.7rem;
}
