/* Seitenweite Suche (21.11.2026) – Overlay + Seite /suche. Farben aus dem Wald (docs/DESIGN.md). */
.wss { --wss-forest: #2f5d34; --wss-deep: #14291f; --wss-orange: #e3a23c; --wss-paper: #fffdf7; --wss-line: #e5e0d2; --wss-ink: #1f2a22; --wss-soft: #5b675f; }
.wss-ov { position: fixed; inset: 0; z-index: 3000; display: none; background: rgba(20, 41, 31, .55); backdrop-filter: blur(3px); padding: 6vh 16px 16px; overflow-y: auto; }
.wss-ov.is-open { display: block; animation: wssFade .18s ease-out; }
@keyframes wssFade { from { opacity: 0; } to { opacity: 1; } }
.wss-box { max-width: 760px; margin: 0 auto; background: var(--wss-paper); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.wss-page .wss-box { box-shadow: none; border: 1px solid var(--wss-line); }
.wss-head { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-bottom: 1px solid var(--wss-line); }
.wss-lupe { width: 38px; height: 38px; flex: none; }
.wss-lupe .wss-shroom { transform-box: fill-box; transform-origin: 50% 100%; animation: wssPeek 3.2s ease-in-out infinite; }
@keyframes wssPeek { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-2px) rotate(-6deg); } 90% { transform: translateY(0) rotate(4deg); } }
.wss-in { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.15rem; color: var(--wss-ink); padding: .4rem 0; outline: none; }
.wss-in::placeholder { color: #9aa59c; }
.wss-x { border: 0; background: #eef2ec; color: var(--wss-ink); border-radius: 10px; padding: .35rem .6rem; font-size: .85rem; cursor: pointer; }
.wss-chips { display: flex; flex-wrap: wrap; gap: .35rem; padding: .55rem 1rem; border-bottom: 1px solid var(--wss-line); }
.wss-chips::-webkit-scrollbar { display: none; }
.wss-chip { flex: none; border: 1px solid var(--wss-line); background: #fff; color: var(--wss-ink); border-radius: 999px; padding: .2rem .55rem; font-size: .8rem; line-height: 1.3; cursor: pointer; white-space: nowrap; }
.wss-chip b { font-weight: 700; color: var(--wss-forest); margin-left: .2rem; }
.wss-chip[aria-pressed="true"] { background: var(--wss-forest); border-color: var(--wss-forest); color: #fff; }
.wss-chip[aria-pressed="true"] b { color: #ffe3a6; }
.wss-chip[disabled] { opacity: .45; cursor: default; }
.wss-list { list-style: none; margin: 0; padding: .3rem 0; max-height: 62vh; overflow-y: auto; }
.wss-page .wss-list { max-height: none; }
.wss-row a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: 'ic ti live' 'ic sub live'; gap: .2rem .7rem; align-items: center; padding: .55rem 1rem; text-decoration: none; color: var(--wss-ink); }
.wss-row a:hover, .wss-row.is-act a { background: #f1f6ee; }
.wss-ic { grid-area: ic; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--c, #eef2ec); }
.wss-ti { grid-area: ti; font-weight: 650; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wss-ti mark { background: #ffe9b8; color: inherit; border-radius: 3px; padding: 0 1px; }
.wss-sub { grid-area: sub; font-size: .82rem; color: var(--wss-soft); display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center; }
.wss-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--cc, var(--wss-forest)); }
.wss-live { grid-area: live; display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; font-size: .82rem; white-space: nowrap; }
.wss-pct { font-weight: 800; color: #fff; background: var(--pc, var(--wss-forest)); border-radius: 999px; padding: .05rem .5rem; }
.wss-wx { color: var(--wss-ink); }
.wss-season { border-radius: 999px; padding: .05rem .45rem; font-size: .75rem; font-weight: 600; }
.wss-season--in { background: #dcefd8; color: #20512a; } .wss-season--edge { background: #fff0cf; color: #7a5410; } .wss-season--off { background: #eceae4; color: #5b5f57; }
.wss-go a { background: #fff8e8; }
.wss-empty { padding: 1.4rem 1rem 1.6rem; text-align: center; color: var(--wss-soft); }
.wss-empty svg { width: 120px; height: 70px; display: block; margin: 0 auto .4rem; }
.wss-try { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .6rem; }
.wss-try button { border: 1px dashed #c9c3b2; background: #fff; border-radius: 999px; padding: .25rem .7rem; cursor: pointer; color: var(--wss-ink); }
.wss-foot { display: flex; justify-content: space-between; gap: .6rem; padding: .5rem 1rem; border-top: 1px solid var(--wss-line); font-size: .75rem; color: var(--wss-soft); }
.wss-foot kbd { border: 1px solid #d6d0c0; border-bottom-width: 2px; border-radius: 5px; padding: 0 .3rem; font-size: .72rem; background: #fff; }

.wss-trigger { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: inherit; border-radius: 999px; padding: .25rem .65rem; cursor: pointer; font-size: .9rem; }
@media (max-width: 560px) {
  .wss-ov { padding: 0; } .wss-box { border-radius: 0; min-height: 100%; }
  .wss-row a { grid-template-columns: 38px minmax(0, 1fr); grid-template-areas: 'ic ti' 'ic sub' 'ic live'; align-items: start; } .wss-live { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .wss-live:empty { display: none; }
  .wss-ic { width: 36px; height: 36px; } .wss-foot .wss-keys { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wss-lupe .wss-shroom, .wss-load, .wss-ov.is-open { animation: none; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wss { --wss-paper: #17231b; --wss-line: #2c3e31; --wss-ink: #e8efe6; --wss-soft: #a9b7ac; }
  :root:not([data-theme="light"]) .wss-chip, :root:not([data-theme="light"]) .wss-try button { background: #1f2f24; }
  :root:not([data-theme="light"]) .wss-row a:hover, :root:not([data-theme="light"]) .wss-row.is-act a { background: #22362a; }
  :root:not([data-theme="light"]) .wss-go a { background: #2e2716; } :root:not([data-theme="light"]) .wss-x { background: #22362a; }
}
:root[data-theme="dark"] .wss { --wss-paper: #17231b; --wss-line: #2c3e31; --wss-ink: #e8efe6; --wss-soft: #a9b7ac; }
:root[data-theme="dark"] .wss-chip, :root[data-theme="dark"] .wss-try button { background: #1f2f24; }
:root[data-theme="dark"] .wss-row a:hover, :root[data-theme="dark"] .wss-row.is-act a { background: #22362a; }
.wss-in::-webkit-search-cancel-button { display: none; }

.wss-chip .wss-cl { display: inline; } .wss-chip .wss-cs { display: none; }
@media (max-width: 560px) { .wss-chip .wss-cl { display: none; } .wss-chip .wss-cs { display: inline; } .wss-chips { padding: .5rem .75rem; } }

/* Signature: Waldstreifen, wachsende Pilze beim Suchen, Pilzhut am gewählten Filter, Treffer nacheinander */
.wss-scene { display: block; width: 100%; height: 34px; margin-top: -6px; }
.wss-scene .wss-m { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.15, 0); transition: transform .35s ease-out; }
.wss-scene.is-on .wss-m { animation: wssGrow 1.1s cubic-bezier(.2, 1.5, .4, 1) var(--d) infinite alternate; }
.wss-scene.is-done .wss-m { transform: scale(1); }
@keyframes wssGrow { from { transform: scale(.15, 0); } to { transform: scale(1); } }
.wss-deer { animation: wssDeer 9s ease-in-out infinite; } @keyframes wssDeer { 0%, 40%, 100% { transform: translate(540px, 18px); } 55%, 85% { transform: translate(560px, 18px); } }
.wss-chip[aria-pressed="true"]::before { content: ''; display: inline-block; width: 11px; height: 7px; margin-right: .3rem; vertical-align: 1px; border-radius: 11px 11px 2px 2px;
  background: radial-gradient(circle at 35% 45%, #fff 0 1.2px, transparent 1.6px), #e3a23c; animation: wssCap .35s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes wssCap { from { transform: scale(0) translateY(4px); } to { transform: scale(1); } }
.wss-row { animation: wssIn .32s ease-out both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes wssIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wss-ic { box-shadow: inset 0 -3px 0 rgba(47, 93, 52, .12); }
.wss-box { background-image: radial-gradient(120% 60% at 100% 0, rgba(227, 162, 60, .07), transparent 60%); }
@media (prefers-reduced-motion: reduce) { .wss-scene .wss-m, .wss-scene.is-on .wss-m { animation: none; transform: scale(1); } .wss-deer, .wss-row, .wss-chip[aria-pressed="true"]::before { animation: none; } }
