/* Kleine Suchkarte, große Fingerziele. Die Karte bleibt außerhalb der Suchkarte frei bedienbar. */
#detektiv, #landinfo { position: fixed; z-index: 75; left: 110px; top: 14px; width: min(420px, calc(100vw - 140px));
  max-height: calc(100dvh - 120px); overflow-y: auto; padding: 20px; border-radius: 24px;
  color: var(--tinte); background: var(--papier); box-shadow: var(--schatten); }
#detektiv header { display: flex; gap: 10px; align-items: center; }
#d-titel { margin: 0; font-size: 23px; flex: 1; }
#detektiv .rund { min-width: 56px; min-height: 56px; font-size: 24px; }
.d-schritt { font-size: 17px; font-weight: 750; color: #615970; }
.d-hinweis { font-size: 23px; font-weight: 750; line-height: 1.35; }
.d-status { min-height: 28px; font-size: 18px; line-height: 1.4; }
.d-aktionen { display: grid; gap: 12px; }
#detektiv .knopf, #landinfo .knopf { width: 100%; min-height: 56px; margin-top: 10px; font-size: 20px; }
#detektiv .knopf:disabled { opacity: .55; cursor: default; }
.d-flagge { display: block; width: min(190px, 100%); max-height: 100px; object-fit: contain; margin: 12px auto; }
.land-fakten { display: grid; gap: 6px; margin: 16px 0; text-align: left; font-size: 18px; }
.land-fakten dt { font-weight: 750; }
.land-fakten dd { margin: 0 0 8px; }
.land-quelle { display: block; font-size: 13px; line-height: 1.4; opacity: .8; }
body[data-detektiv="suchen"] #auftrag, body[data-detektiv="suchen"] #btn-namen,
body[data-detektiv="suchen"] #pico { display: none; }
body[data-detektiv="suchen"] #wr-marken, body[data-detektiv="suchen"] #wr-tour,
body[data-detektiv="suchen"] #wr-karte, body[data-detektiv="suchen"] #wr-zeit,
body[data-detektiv="suchen"] #wr-mehr, body[data-detektiv="suchen"] #wr-masstab,
body[data-detektiv="suchen"] #wr-bahnen, body[data-detektiv="suchen"] #wr-sternbilder,
body[data-detektiv="suchen"] #wr-galaxien, body[data-detektiv="suchen"] #wr-muenchen { display: none; }
body[data-detektiv="suchen"] #wr-leiste .wr-haken { display: none; }
body[data-detektiv="fertig"] #auftrag, body[data-detektiv="fertig"] #wr-karte { display: none; }
#u-fakten { margin: 4px 0 14px; }
#u-fakten .land-fakten { grid-template-columns: 1fr 1fr; column-gap: 16px; font-size: 17px; }
#u-fakten .land-fakten dd { margin: 0; }
#landinfo { top: auto; bottom: 88px; left: auto; right: 16px; }
#landinfo h2 { font-size: 24px; margin-top: 0; }
@media (max-width: 900px) {
  #detektiv { left: 92px; width: min(420px, calc(100vw - 108px)); }
}
@media (max-width: 560px) {
  #detektiv { top: auto; left: 8px; right: 8px; bottom: 92px; width: auto; max-height: 52dvh; padding: 14px; }
  #detektiv header { gap: 6px; }
  #d-titel { font-size: 20px; }
  .d-hinweis { font-size: 20px; }
  #landinfo { width: calc(100vw - 24px); right: 12px; }
}

.d-spurbild { display: block; max-width: 100%; width: auto; max-height: 160px; margin: 12px auto; border-radius: 12px; }
.d-mehr summary { min-height: 56px; padding: 16px 8px; cursor: pointer; font-size: 18px; }
.d-mehr p { font-size: 18px; line-height: 1.4; }
#u-beobachtung { text-align: left; }
#u-beobachtung summary { min-height: 56px; padding: 14px; cursor: pointer; font-size: 19px; }
#u-beobachtung .knopf { min-height: 56px; font-size: 18px; }
#u-beobachtung [aria-pressed="true"] { outline: 3px solid #389a8b; }
/* Eine freie Suchfläche und zwei immer erreichbare Aktionen, auch mit Bildhinweisen. */
#detektiv header { position: sticky; top: -20px; z-index: 2; background: var(--papier); padding-bottom: 6px; }
.d-aktionen { position: sticky; bottom: -20px; z-index: 1; grid-template-columns: 1fr 1fr;
  background: var(--papier); padding: 10px 0 20px; }
#detektiv .d-aktionen .knopf { font-size: 18px; padding: 12px 8px; margin-top: 0; }
@media (orientation: portrait) {
  #detektiv { left: 92px; right: 16px; width: auto; top: auto; bottom: 92px; max-height: 42dvh; }
}
@media (max-width: 560px) {
  #detektiv { left: 8px; right: 8px; max-height: 42dvh; }
  #detektiv header { top: -14px; }
  .d-aktionen { bottom: -14px; padding-bottom: 14px; }
  .d-spurbild { max-height: 120px; }
}