/* Website-Adapter für den kompakten App-Kopf. Keine Umbenennung der öffentlichen Marke. */
.web-uebersicht .topbar {
  --logo: 48px;
  position: sticky;
  top: 8px;
  z-index: 50;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 8px 28px rgba(63,43,48,.12);
}
.web-uebersicht .topbar::before { display: none; }
.web-uebersicht .brand { position: static; flex: 0 0 48px; transform: none; }
.web-uebersicht .brand-logo { width: 48px; height: 48px; }
.web-uebersicht .web-marke { flex: 0 0 auto; }
.web-uebersicht .topbar .title { margin: 0; font-size: 28px; line-height: 1.15; white-space: nowrap; }
.web-uebersicht .web-origin { display: block; margin-top: 3px; font-size: 11px; line-height: 1.3; color: #725364; text-decoration: none; }
.web-uebersicht .web-origin:hover { text-decoration: underline; }
.web-uebersicht .topbar .finder-search { flex: 1 1 240px; min-width: 100px; max-width: none; margin: 0 4px; min-height: 44px; }
.web-uebersicht .finder-q { min-height: 44px; border: 1px solid rgba(63,43,48,.22); border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: none; padding-block: 9px; }
.web-uebersicht .finder-search:focus-within .finder-q { outline: 2px solid #9b4a68; outline-offset: 2px; box-shadow: none; }
.web-uebersicht .finder-clear { width: 34px; height: 34px; }
.web-uebersicht .web-filter { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(63,43,48,.22); border-radius: 50%; background: rgba(255,255,255,.7); color: #3f2b30; cursor: pointer; }
.web-uebersicht .web-filter[aria-expanded="true"] { background: #9b4a68; border-color: #9b4a68; color: white; }
.web-uebersicht .web-filter:focus-visible { outline: 2px solid #9b4a68; outline-offset: 3px; }
.web-uebersicht .topbar .topbar-actions { flex: 0 0 auto; margin-left: 0; gap: 8px; }
.web-uebersicht .topbar-actions .chip-btn { min-height: 44px; border-width: 1px; font-size: 13px; padding: 8px 12px; box-shadow: none; }
.web-uebersicht .topbar-actions .feedback-link { min-height: 44px; border-width: 1px; box-shadow: none; }
.web-uebersicht .konto-icon { width: 44px; height: 44px; border: 1px solid rgba(63,43,48,.22); background: rgba(255,255,255,.7); }
.web-uebersicht .web-filter-panel[hidden] { display: none; }
.web-uebersicht .web-filter-panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px; border: 1px solid rgba(63,43,48,.12); border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(63,43,48,.16); max-height: calc(100dvh - 150px); overflow-y: auto; }
.web-uebersicht .topbar > .finder { display: contents; }
.web-uebersicht .web-filter-panel .finder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: 1 1 360px; padding: 0; margin: 0; }
.web-uebersicht .web-filter-panel .seg { background: #fbf7f9; border: 1px solid rgba(63,43,48,.18); flex: 0 1 auto; }
.web-uebersicht .web-filter-panel .seg-btn { min-height: 44px; min-width: 44px; }
.web-uebersicht .web-filter-panel .start-entry-code { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0; font-size: 14px; }
.web-uebersicht .web-filter-panel .start-entry-code a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #9b4a68; color: #fff; text-decoration: none; }
.web-uebersicht .start-search-label,.web-uebersicht .start-entry,.web-uebersicht .start-intro { display: none; }
.web-uebersicht .web-search-status { margin: 8px 4px; min-height: 0; font-size: 13px; }
.web-uebersicht .web-search-status:empty { display: none; }
.web-uebersicht .meine-favoriten { margin: 12px 0 16px; }
.web-uebersicht .meine-favoriten h2 { margin: 0 0 6px; font-size: 20px; }
.web-uebersicht .meine-favoriten p { margin: 4px 0; }
.web-uebersicht .shelf { margin-top: 16px; }
@media (max-width: 1050px) {
  .web-uebersicht .topbar { gap: 8px; padding: 10px; }
  .web-uebersicht .topbar .title { font-size: 23px; }
  .web-uebersicht .topbar-actions .chip-btn { width: 44px; padding: 8px; justify-content: center; }
  .web-uebersicht .topbar-actions .chip-label { display: none; }
  .web-uebersicht .feedback-link { font-size: 0; width: 44px; padding: 8px; }
}
@media (max-width: 620px) {
  .web-uebersicht .topbar { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 8px; border-radius: 18px; }
  .web-uebersicht .brand,.web-uebersicht .brand-logo { width: 40px; height: 40px; }
  .web-uebersicht .brand { grid-row: 1; grid-column: 1; }
  .web-uebersicht .web-marke { grid-row: 1; grid-column: 2; }
  .web-uebersicht .topbar .title { font-size: 23px; }
  .web-uebersicht .topbar .finder-search { grid-row: 2; grid-column: 1 / 3; width: 100%; margin: 0; min-width: 0; }
  .web-uebersicht .web-filter { grid-row: 2; grid-column: 3; justify-self: end; }
  .web-uebersicht .topbar .topbar-actions { grid-row: 1; grid-column: 3; gap: 4px; }
  .web-uebersicht .topbar-actions .chip-btn { display: none; }
  .web-uebersicht .web-filter-panel { max-height: calc(100dvh - 180px); padding: 12px; }
}

/* Alex’ Kartenvorlage: große Szene, Glaszeile unten, Bewertung darüber. */
html.web-uebersicht .shelf .tile,
html.web-uebersicht .favoriten-raster .tile {
  display: block; position: relative; height: auto !important;
  aspect-ratio: auto; padding: 0 !important; overflow: hidden;
  border: 0; border-image: none; border-radius: 28px;
  background: #f0ebee; box-shadow: 0 10px 24px rgba(63,43,48,.10);
}
html.web-uebersicht .tile::after { display: none; }
html.web-uebersicht .tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(63,43,48,.16); }
html.web-uebersicht .tile:active { transform: translateY(-1px); }
html.web-uebersicht .tile:focus-visible { outline: 3px solid var(--sh-action); outline-offset: 4px; }
html.web-uebersicht .shelf .tile .stage,
html.web-uebersicht .favoriten-raster .tile .stage {
  position: relative; inset: auto; width: 100%; height: auto !important;
  aspect-ratio: 4 / 3 !important; border-radius: 0; background: transparent;
  filter: none; opacity: 1;
}
html.web-uebersicht .tile.is-locked .stage::after { display: none; }
html.web-uebersicht .tile.is-locked .scene { filter: none; opacity: 1; }
html.web-uebersicht .tile .tile-body {
  position: relative; z-index: 2; inset: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 54px; padding: 12px 16px; box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,.90);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}
html.web-uebersicht .tile .tile-title {
  min-width: 0; margin: 0; padding: 0; color: #3f2b30;
  font-family: var(--sh-text); font-size: 19px; font-weight: 750; line-height: 1.2;
  overflow-wrap: anywhere;
}
html.web-uebersicht .web-tile-access {
  flex: 0 0 auto; font: 600 13px/1.25 var(--sh-text); color: #725364;
}
html.web-uebersicht .tile .tile-text,
html.web-uebersicht .tile .tile-tags,
html.web-uebersicht .tile .tile-go,
html.web-uebersicht .tile .tile-title .tile-lock {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
html.web-uebersicht .favoriten-stern {
  top: 60px; right: 12px; bottom: auto; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.90); border-radius: 50%;
  background: rgba(255,255,255,.80); color: #3f2b30; box-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
html.web-uebersicht .favoriten-stern[aria-pressed="true"] { background: #f8e8ed; color: var(--sh-action); }
html.web-uebersicht .favoriten-kachel, html.web-uebersicht .kachel-bewertung { padding-top: 48px; }
html.web-uebersicht .favoriten-kachel > .kachel-bewertung,
html.web-uebersicht .kachel-bewertung > .favoriten-kachel { padding-top: 0; }
html.web-uebersicht .kachel-bewertung > .favoriten-kachel > .favoriten-stern { top: 12px; }
html.web-uebersicht .favoriten-kachel > .kachel-bewertung > .kachel-bewertung-fuss { top: -48px; }
html.web-uebersicht .kachel-bewertung-fuss {
  top: 0; height: 44px; padding: 0 8px; max-width: 100%; color: #3f2b30;
}
html.web-uebersicht .kachel-bewertung-fuss::before { display: none; }
html.web-uebersicht .bw-open { gap: 8px; }
html.web-uebersicht .bw-rating-kachel .bw-rating-reihe svg { --art-color: #e4dde0; }
html.web-uebersicht .bw-rating-kachel .bw-rating-voll svg { --art-color: #fbbf24; }
html.web-uebersicht .favoriten-kachel:has(> .kachel-bewertung) > .favoriten-stern { top: 60px; }
@media (prefers-reduced-transparency: reduce) {
  html.web-uebersicht .tile .tile-body, html.web-uebersicht .favoriten-stern { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Suche blendet auch beide möglichen Favoriten-/Bewertungsrahmen aus. */
html.web-uebersicht .kachel-bewertung:has(.tile.is-out),
html.web-uebersicht .kachel-bewertung:has(.tile[hidden]),
html.web-uebersicht .favoriten-kachel:has(.tile.is-out),
html.web-uebersicht .favoriten-kachel:has(.tile[hidden]) { display: none; }

/* Bild und Glaszeile folgen aufeinander; Beta bleibt ein einzelnes Badge. */
html.web-uebersicht .tile .gsr-zug-beta-zeichen {
  position: absolute; z-index: 4; top: 12px; left: 12px;
  display: inline-flex; width: auto; max-width: calc(100% - 80px);
  padding: 5px 10px; border-radius: 999px;
  background: #f8e8ed; color: #703b50; font: 700 12px/1.3 var(--sh-text);
}
html.web-uebersicht .tile .gsr-zug-beta-hinweis { display: none; }
