/* Feinschliff 02.10.2026 (Metis) – bewusst eigene Datei, wird nach app.css geladen */

/* Zeitraum-Chips: weiches Auslaufen statt hartem Abschnitt, kein Scrollbalken */
@media (max-width: 899px) {
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
    scrollbar-width: none; padding-right: 24px; }
  .chips::-webkit-scrollbar { display: none; }
}

/* Live-Zeile ruhiger: Hinweis einzeilig, kleiner */
.live-hint { font-size: 12.5px; line-height: 1.3; color: var(--muted); }

/* Datumsfeld im Chip: kein US-Platzhalter, kompakt */
.chip-date input[type="date"] { min-width: 0; width: 7.4em; font: inherit; color: inherit; background: none; border: 0; padding: 0; }
.chip-date input[type="date"]:invalid::-webkit-datetime-edit, .chip-date input[type="date"]:not(:valid)::-webkit-datetime-edit { color: var(--muted); }

/* Kartenknoepfe: klare Druckflaeche, ruhiger Fokus */
.tool { transition: transform .12s, background-color .2s, color .2s; }
@media (hover: hover) { .tool:hover { background: color-mix(in srgb, var(--surface) 70%, var(--moss) 8%); } }

/* Heim-Marker nicht von Katzen verdeckt wirken lassen */
.home-mk { opacity: .9; }

/* Katzenkarten: etwas mehr Luft, klare Trennung */
.cat:last-child { border-bottom: 0; }
.cat-id { opacity: .75; }

/* Desktop: Seitenleiste mit sanftem Scrollschatten */
@media (min-width: 900px) {
  .views { scrollbar-gutter: stable; }
  .panel { box-shadow: 8px 0 30px -20px rgba(0,0,0,.45); }
}

/* Sanfte Wechsel zwischen Ansichten */
.views > * { animation: fade-in .22s ease-out; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .views > *, .seek-arrow, .me-dot { animation: none !important; transition: none !important; } }

/* Suchkarte auf Desktop nicht ueber der Seitenleiste */
@media (min-width: 900px) { .seek { left: 436px; right: 16px; } }

/* Revier-Karte: Beschriftung der Zonen (02.10.) */
.terr-lbl { display: inline-block; transform: translate(-50%, 4px); white-space: nowrap; padding: 3px 9px; border-radius: 999px;
  font: 600 12px/1.2 var(--sans); color: #fff; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.3); }
.terr-lbl.range { background: #fff; color: var(--c); box-shadow: 0 0 0 2px var(--c), 0 2px 8px rgba(0,0,0,.25); }
