/**
 * Mobile tracker / parks / attractions / wait-times visual skin (html[data-shell="mobile"]).
 * Edit freely in mobile-optics chats. Shared markup/JS stays untouched.
 */

html[data-shell="mobile"] .count-row-fields {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .podium {
  grid-template-columns: 1fr;
  min-height: 0;
}

html[data-shell="mobile"] .podium-slot--1 {
  order: -1;
}

html[data-shell="mobile"] .podium-slot--1 .podium-block,
html[data-shell="mobile"] .podium-slot--2 .podium-block,
html[data-shell="mobile"] .podium-slot--3 .podium-block {
  height: 72px;
}

html[data-shell="mobile"] body[data-page="parks"] .tracker-list.cover-card-grid,
html[data-shell="mobile"] body[data-page="park"] .tracker-list.cover-card-grid,
html[data-shell="mobile"] body[data-page="attractions"] .tracker-list.cover-card-grid {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .tracker-list.att-list-view .attraction-row.att-list-row {
  align-items: flex-start;
}

html[data-shell="mobile"] .tracker-list.att-list-view .attraction-row-stats {
  flex-basis: 100%;
  justify-content: flex-start;
  margin-left: 0;
}

html[data-shell="mobile"] .park-wait-history-months {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 0.85rem;
}

html[data-shell="mobile"] .park-rating-grid,
html[data-shell="mobile"] .profile-rated-grid,
html[data-shell="mobile"] .profile-rated-detail-grid {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .wait-att-list {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .wait-detail-section-head {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

html[data-shell="mobile"] .wait-detail-section-head .wait-detail-view-switch {
  margin-left: 0;
  width: 100%;
  justify-content: space-between;
}

html[data-shell="mobile"] .wait-detail-view-switch .att-unit-switch-btns {
  flex: 1 1 auto;
  justify-content: stretch;
}

html[data-shell="mobile"] .wait-detail-view-switch .att-unit-btn {
  flex: 1 1 0;
}

html[data-shell="mobile"] .tracker-form--filters > label,
html[data-shell="mobile"] .tracker-form--filters .tracker-filter-search,
html[data-shell="mobile"] .tracker-form--filters > .att-multi-filter,
html[data-shell="mobile"] .tracker-filter-tail > label {
  flex: 1 1 calc(50% - 0.5rem);
  width: auto;
  min-width: 8.5rem;
  max-width: none;
}

html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top .tracker-form--filters,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top .tracker-form--filters {
  flex-wrap: wrap;
  overflow: visible;
}

html[data-shell="mobile"] .tracker-filter-tail {
  flex-wrap: wrap;
  width: 100%;
}

html[data-shell="mobile"] .att-spotlight-card .home-fav-spotlight-hit {
  aspect-ratio: 100 / 99;
}

html[data-shell="mobile"] .park-info-card {
  height: min(420px, 52vh);
  max-height: min(420px, 52vh);
}

html[data-shell="mobile"] .profile-stats-block {
  margin: 0.25rem 0 1rem;
}

html[data-shell="mobile"] .profile-stats-shell {
  --home-uc-inset: 1rem;
  gap: 0.85rem;
}

html[data-shell="mobile"] .profile-achievements-shell {
  --home-uc-inset: 1rem;
  gap: 0.85rem;
}

html[data-shell="mobile"] .profile-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

html[data-shell="mobile"] .profile-stat-card {
  min-height: 0;
  padding: 0.55rem 0.6rem 0.5rem 0.7rem;
  gap: 0.25rem;
}

html[data-shell="mobile"] .profile-stat-value {
  font-size: clamp(1.1rem, 5vw, 1.3rem);
}

html[data-shell="mobile"] .profile-stat-label {
  font-size: 0.7rem;
}

html[data-shell="mobile"] .profile-stats-expand-list {
  max-height: min(18rem, 42vh);
}

html[data-shell="mobile"] .profile-highlights-block {
  margin: 0 0 1.1rem;
}

html[data-shell="mobile"] .profile-highlights-shell {
  --home-uc-inset: 1rem;
  gap: 0.85rem;
}

html[data-shell="mobile"] .profile-highlights-grid {
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

html[data-shell="mobile"] .profile-hl-card {
  padding: 0.75rem 0.8rem 0.85rem;
}

@media (max-width: 430px) {
  html[data-shell="mobile"] .profile-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Catalog look demo — mobile */
html[data-shell="mobile"] .catalog-demo-toggle {
  right: 0.75rem;
  bottom: calc(0.75rem + var(--mobile-tabbar-total, 60px));
}

html[data-shell="mobile"] .catalog-demo-toggle-label {
  display: none;
}

html[data-shell="mobile"][data-catalog-demo="1"] .tracker-hero--catalog {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
}

html[data-shell="mobile"][data-catalog-demo="1"] .tracker-hero--catalog h1 {
  font-size: calc(clamp(1.85rem, 8vw, 2.4rem) + 5pt);
}

html[data-shell="mobile"][data-catalog-demo="1"] body[data-page="parks"] .tracker-filter-bar,
html[data-shell="mobile"][data-catalog-demo="1"] body[data-page="attractions"] .tracker-filter-bar {
  border-radius: 12px 4px 12px 4px;
  box-shadow: 0 8px 22px color-mix(in srgb, #000 18%, transparent);
}

/* =====================================================================
   Handy-Umbau: Basis-Layout aller Tracker-Seiten
   ===================================================================== */

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

html[data-shell="mobile"] .tracker-hero {
  margin-bottom: 1rem;
}

html[data-shell="mobile"] .tracker-hero h1 {
  font-size: clamp(1.5rem, 6.5vw, 2rem);
}

html[data-shell="mobile"] .tracker-hero p {
  font-size: 0.95rem;
}

html[data-shell="mobile"] .tracker-hero--profile .tracker-hero-head {
  flex-wrap: wrap;
}

html[data-shell="mobile"] .tracker-grid,
html[data-shell="mobile"] .tracker-grid-2,
html[data-shell="mobile"] .tracker-grid-3 {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .tracker-panel {
  padding: 0.9rem 0.9rem;
}

html[data-shell="mobile"] .tracker-form label {
  font-size: 0.9rem;
}

html[data-shell="mobile"] .tracker-form input,
html[data-shell="mobile"] .tracker-form select,
html[data-shell="mobile"] .tracker-form textarea,
html[data-shell="mobile"] .att-multi-trigger {
  font-size: 1rem;
  min-height: 2.75rem;
}

html[data-shell="mobile"] .tracker-back {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: 0.95rem;
}

/* ---------- Kataloge (Parks / Bahnen): Filterleiste ---------- */

html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar {
  padding: 0.75rem 0.85rem 0.8rem;
}

html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top {
  flex-direction: column;
  align-items: stretch;
  padding-right: 0;
}

html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top > *,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top > * {
  width: 100%;
  max-width: 100%;
}

html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top .tracker-result-count,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top .tracker-result-count {
  position: static;
  order: 10;
  text-align: left;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  transform: none;
}

/* Ausgeklappt: Suche volle Breite, Filter 2-spaltig umbrechend */
html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top .tracker-form--filters,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top .tracker-form--filters {
  flex-wrap: wrap;
  overflow: visible;
  gap: 0.6rem;
  padding-bottom: 0;
}

html[data-shell="mobile"] body[data-page="attractions"] .tracker-form--filters .tracker-filter-search,
html[data-shell="mobile"] body[data-page="parks"] .tracker-form--filters .tracker-filter-search {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
}

html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top .tracker-form--filters > label:not(.tracker-filter-search),
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top .tracker-form--filters > label:not(.tracker-filter-search),
html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top .tracker-form--filters > .att-multi-filter,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top .tracker-form--filters > .att-multi-filter,
html[data-shell="mobile"] .tracker-filter-tail > label {
  flex: 1 1 calc(50% - 0.35rem);
  width: auto;
  min-width: 8rem;
  max-width: none;
}

html[data-shell="mobile"] .tracker-form--filters .tracker-filter-tail > .att-filters-reset,
html[data-shell="mobile"] body[data-page="attractions"] .att-filter-top .tracker-form--filters > .att-filters-reset,
html[data-shell="mobile"] body[data-page="parks"] .att-filter-top .tracker-form--filters > .att-filters-reset {
  flex: 1 1 100%;
  width: 100%;
  min-height: 2.75rem;
}

/* ---------- Eingeklappt: nur Suche + „Filter“-Knopf in einer Zeile ---------- */

/* Basis so groß, dass neben Suche + Knopf nichts anderes in die erste Zeile passt */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-form--filters .tracker-filter-search,
html[data-shell="mobile"] body[data-page="parks"] .tracker-form--filters .tracker-filter-search {
  flex: 1 1 calc(100% - 8rem);
  width: auto;
  min-width: 0;
}

/* Beschriftung „Suche“ nur für Screenreader – Platzhalter übernimmt (filter-sticky.js) */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-form--filters .tracker-filter-search > span,
html[data-shell="mobile"] body[data-page="parks"] .tracker-form--filters .tracker-filter-search > span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html[data-shell="mobile"] .tracker-filter-toggle {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: var(--mobile-tap, 44px);
  padding: 0 0.85rem 0 0.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html[data-shell="mobile"] .tracker-filter-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

html[data-shell="mobile"] .tracker-filter-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
}

/* Punkt, wenn Filter gesetzt sind */
html[data-shell="mobile"] .tracker-filter-toggle.is-active::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--bg-card);
}

/* Alles außer Suche + Knopf bleibt zu, bis geklickt wird */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar:not(.is-filters-open) .att-filter-top .tracker-form--filters > :not(.tracker-filter-search):not(.tracker-filter-toggle),
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar:not(.is-filters-open) .att-filter-top .tracker-form--filters > :not(.tracker-filter-search):not(.tracker-filter-toggle),
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar:not(.is-filters-open) .att-filter-footer,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar:not(.is-filters-open) .att-filter-footer {
  display: none;
}

html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar:not(.is-filters-open) .att-filter-top .tracker-result-count,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar:not(.is-filters-open) .att-filter-top .tracker-result-count {
  margin-top: 0.2rem;
  font-size: 0.74rem;
}

/* Aufgeklappt: Trennlinie unter der Suchzeile */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-filters-open .tracker-filter-toggle,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-filters-open .tracker-filter-toggle {
  margin-bottom: 0.15rem;
}

/* ---------- Angeheftet (beim Scrollen): gleiche Zeile, weniger Polster ---------- */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact {
  padding: 0.45rem 0.65rem 0.45rem;
}

html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact .att-filter-top .tracker-form--filters,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact .att-filter-top .tracker-form--filters {
  gap: 0.5rem;
  padding-bottom: 0;
}

html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact .tracker-filter-toggle,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact .tracker-filter-toggle {
  min-height: 2.6rem;
}

html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact:not(.is-filters-open) .tracker-result-count,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact:not(.is-filters-open) .tracker-result-count {
  display: none;
}

html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact.is-filters-open .tracker-result-count,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact.is-filters-open .tracker-result-count {
  opacity: 1;
  pointer-events: auto;
}

/* Angeheftet & aufgeklappt: Panel darf nicht über den Bildschirm hinaus, scrollt innen */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact.is-filters-open,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact.is-filters-open {
  max-height: calc(100dvh - var(--header-total-height, 56px) - var(--mobile-tabbar-total, 60px) - 0.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Beschriftungen wieder zeigen, die der geteilte Kompakt-Modus einklappt */
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact.is-filters-open .tracker-form label:not(.tracker-filter-search) > span,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact.is-filters-open .tracker-form label:not(.tracker-filter-search) > span,
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact.is-filters-open .att-multi-filter > span,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact.is-filters-open .att-multi-filter > span,
html[data-shell="mobile"] body[data-page="attractions"] .tracker-filter-bar.is-compact.is-filters-open .tracker-filter-sort > span,
html[data-shell="mobile"] body[data-page="parks"] .tracker-filter-bar.is-compact.is-filters-open .tracker-filter-sort > span {
  max-height: none;
  opacity: 1;
}

/* Filter-Footer (Sortierung, Einheiten) */
html[data-shell="mobile"] .att-filter-footer {
  gap: 0.6rem 0.75rem;
  margin-top: 0.7rem;
}

html[data-shell="mobile"] .att-filter-footer .tracker-filter-sort {
  width: 100%;
  min-width: 0;
  flex: 1 1 100%;
}

html[data-shell="mobile"] .att-filter-footer-units {
  margin-left: 0;
  justify-content: flex-start;
  width: 100%;
}

html[data-shell="mobile"] .att-unit-switch-btns button,
html[data-shell="mobile"] .att-unit-switch-btns .btn {
  min-height: 2.5rem;
  min-width: 2.75rem;
}

/* Multi-Select-Panels: breit + Zeilen fingertauglich */
html[data-shell="mobile"] .att-multi-panel {
  min-width: 0;
  max-height: min(50dvh, 22rem);
}

html[data-shell="mobile"] .att-multi-panel label,
html[data-shell="mobile"] .att-multi-panel .att-multi-option {
  min-height: 2.6rem;
}

/* Kachel-Meta lesbar */
html[data-shell="mobile"] .attraction-row-meta {
  font-size: 0.82rem;
}

html[data-shell="mobile"] .attraction-row-title {
  font-size: 1rem;
}

html[data-shell="mobile"] .att-expand-title-text {
  font-size: clamp(1.25rem, 5.5vw, 1.65rem);
}

/* ---------- Park- / Bahn-Detail ---------- */

html[data-shell="mobile"] .park-info-panels__grid,
html[data-shell="mobile"] .park-info-panels__grid--prices-only .park-info-card__scroll-inner,
html[data-shell="mobile"] .park-info-panels__grid:has(> .park-info-card--prices:only-child) .park-info-card__scroll-inner {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .park-info-card {
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 0.9rem 0.9rem;
}

html[data-shell="mobile"] .park-info-card__body--scroll {
  overflow: visible;
}

html[data-shell="mobile"] .park-info-card__scroll {
  flex: 0 0 auto;
  height: auto;
  max-height: 22rem;
  overflow-y: auto;
}

html[data-shell="mobile"] .park-info-card__foot-row {
  flex-wrap: wrap;
}

html[data-shell="mobile"] .park-info-card__meta {
  max-width: none;
  align-items: flex-start;
}

html[data-shell="mobile"] .stat-tiles,
html[data-shell="mobile"] .park-meta-tiles.stat-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

html[data-shell="mobile"] .stat-tile-value {
  font-size: 1.25rem;
}

html[data-shell="mobile"] .att-gallery-nav {
  width: 2.75rem;
  height: 2.75rem;
}

html[data-shell="mobile"] .att-gallery-nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

html[data-shell="mobile"] .att-gallery {
  --gallery-visible: min(var(--gallery-n), 4);
}

html[data-shell="mobile"] .star-btn {
  width: 2rem;
  height: 2rem;
}

html[data-shell="mobile"] .star-btn svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* Count-Karten: 10 Sterne pro Zeile – Breite folgt der Karte, Höhe bleibt tap-fähig */
html[data-shell="mobile"] .count-star-rating .star-btn {
  width: auto;
  min-height: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
}

html[data-shell="mobile"] .park-wait-history-months {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 0.75rem;
}

html[data-shell="mobile"] .wait-plan-hist-hours {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
  gap: 0.35rem;
}

html[data-shell="mobile"] .wait-plan-hist-hour {
  flex: 0 0 auto;
}

html[data-shell="mobile"] .wait-plan-chips--dates {
  margin-inline: -0.15rem;
  padding-inline: 0.15rem;
}

html[data-shell="mobile"] .wait-plan-metric-chips {
  gap: 0.45rem;
}

html[data-shell="mobile"] .wait-plan-hero {
  gap: 0.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

html[data-shell="mobile"] .wait-plan-bars {
  gap: 0.32rem;
}

html[data-shell="mobile"] .wait-att-card .wait-plan-hero .wait-plan-metric .spec-chip-value {
  font-size: 1.2rem;
}

html[data-shell="mobile"] .wait-att-card .wait-plan-hero .wait-plan-metric .spec-chip-label {
  font-size: 0.6rem;
}

html[data-shell="mobile"] .wait-plan-bar-hour {
  font-size: 0.62rem;
}

html[data-shell="mobile"] .wait-plan-bars {
  gap: 0.12rem;
}

html[data-shell="mobile"] .wait-plan-row {
  align-items: flex-start;
}

html[data-shell="mobile"] .wait-plan-row .wait-plan-label {
  width: 100%;
  min-width: 0;
}

@media (max-width: 400px) {
  html[data-shell="mobile"] .park-wait-history-months {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Wartezeiten ---------- */

html[data-shell="mobile"] .wait-att-card {
  min-height: 0;
}

html[data-shell="mobile"] .wait-att-card-top .attraction-row-main strong {
  font-size: 1.1rem;
}

html[data-shell="mobile"] .wait-fav-star,
html[data-shell="mobile"] .wait-fav-star--compact {
  width: 2.5rem;
  height: 2.5rem;
}

html[data-shell="mobile"] .wait-times-park-row {
  flex-wrap: wrap;
}

html[data-shell="mobile"] .wait-times-park-row > a,
html[data-shell="mobile"] .wait-times-park-row > button {
  min-height: 2.75rem;
}

html[data-shell="mobile"] .wait-timeline-head {
  gap: 0.5rem;
}

html[data-shell="mobile"] .wait-timeline-select {
  width: 100%;
}

html[data-shell="mobile"] .wait-fav-bar-chips.home-hero-stats {
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

/* ---------- Count ---------- */

html[data-shell="mobile"] .count-hero {
  grid-template-columns: 1fr;
  gap: 1rem;
}

html[data-shell="mobile"] .count-hero-title {
  font-size: clamp(2rem, 10vw, 2.8rem);
}

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

html[data-shell="mobile"] .count-filter-chip {
  min-height: 2.5rem;
  padding: 0.48rem 1rem;
  font-size: 0.92rem;
}

html[data-shell="mobile"] body[data-page="count"] #count-list.count-grid,
html[data-shell="mobile"] .count-grid {
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

html[data-shell="mobile"] .count-park-spotlight .home-fav-spotlight-frame {
  min-height: 200px;
}

html[data-shell="mobile"] .count-row {
  flex-wrap: wrap;
}

html[data-shell="mobile"] .count-coaster-thumb {
  width: 100%;
  height: 9rem;
  justify-self: stretch;
}

html[data-shell="mobile"] .count-import-toggle {
  min-height: 3rem;
}

/* ---------- Vergleich ---------- */

html[data-shell="mobile"] .cmp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.9rem;
  padding: 0 0.9rem;
}

html[data-shell="mobile"] .cmp-table {
  min-width: 34rem;
  font-size: 0.86rem;
}

html[data-shell="mobile"] .cmp-table th,
html[data-shell="mobile"] .cmp-table td {
  padding: 0.5rem 0.55rem;
}

html[data-shell="mobile"] .cmp-table thead th:first-child,
html[data-shell="mobile"] .cmp-table tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg-card);
  box-shadow: 1px 0 0 var(--border);
  white-space: normal;
  max-width: 7.5rem;
}

/* ---------- Tier-List ---------- */

html[data-shell="mobile"] .tier-row {
  grid-template-columns: 44px 1fr;
  gap: 0.4rem;
  min-height: 56px;
}

html[data-shell="mobile"] .tier-label {
  font-size: 1.1rem;
}

html[data-shell="mobile"] .tier-drop {
  width: 100%;
  min-height: 56px;
  gap: 0.4rem;
}

html[data-shell="mobile"] .tier-chip {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-size: 0.92rem;
}

/* ---------- Profil, Rankings, Rekorde, Bucket, Quiz, Ähnlich ---------- */

html[data-shell="mobile"] .personal-records-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

html[data-shell="mobile"] .completion-grid {
  grid-template-columns: 1fr;
}

html[data-shell="mobile"] .profile-settings-btn {
  min-height: 2.75rem;
}

html[data-shell="mobile"] .profile-settings-modal {
  width: 100%;
  max-height: calc(100dvh - var(--mobile-tabbar-total, 60px) - 1rem);
}

html[data-shell="mobile"] .records-list li,
html[data-shell="mobile"] .records-list a {
  min-height: 2.75rem;
}

html[data-shell="mobile"] .podium-name {
  font-size: 1rem;
}

html[data-shell="mobile"] .quiz-card {
  max-width: none;
}

html[data-shell="mobile"] .quiz-card .btn {
  width: 100%;
  min-height: 2.75rem;
}

html[data-shell="mobile"] .tracker-list .btn,
html[data-shell="mobile"] .tracker-panel .btn,
html[data-shell="mobile"] .tracker-panel .btn-sm,
html[data-shell="mobile"] .tracker-list .btn-sm {
  min-height: 2.75rem;
}

html[data-shell="mobile"] .tracker-panel .tracker-form .btn {
  width: 100%;
}

html[data-shell="mobile"] .trip-stop-images-add,
html[data-shell="mobile"] .trip-stop-images-login-btn,
html[data-shell="mobile"] .trip-stop-images-login-actions .btn {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

html[data-shell="mobile"] .trip-stop-image-item {
  width: 4.25rem;
  height: 4.25rem;
}

html[data-shell="mobile"] .trip-stop-image-btn {
  height: 1.4rem;
  font-size: 0.85rem;
}
