/* Stil fürs Schnee-Widget mit Ski-Signalen (v1.1.0) */
.dreisam-snow { background:#f8f9fb; border:1px solid #e3e6ee; border-radius:14px; padding:14px; text-align:center; }

.dreisam-snow__head h3 { margin:0; font-size:1.08rem; }
.dreisam-snow__error { color:#b91c1c; }

.dreisam-snow__grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
@media (max-width: 1200px) { .dreisam-snow__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .dreisam-snow__grid { grid-template-columns: repeat(2, 1fr); } }

.dreisam-snow__card { background:white; border:1px solid #e5e7eb; border-radius:12px; padding:10px; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.dreisam-snow__day { color:#dc2626; font-weight:700; text-align:center; margin-bottom:8px; }
.dreisam-snow__row { display:grid; grid-template-columns: 20px 1fr auto; gap:1px; align-items:center; padding:4px 0; border-top:1px dashed #bbb; justify-items:center; }
.dreisam-snow__row:first-of-type { border-top:none; }
.dreisam-snow__icon { width:16px; height:16px; color:#2563eb; line-height:0; }
.dreisam-snow__icon svg { width:16px; height:16px; display:block; }
.dreisam-snow__label { color:#475569; font-size:0.9rem; }
.dreisam-snow__value { color:#111827; font-weight:700; font-size:0.92rem; }

/* NOW card */
.dreisam-snow__now { background:linear-gradient(180deg,#eef6ff,#ffffff); border:1px solid #cfe1ff; border-radius:12px; padding:12px; margin-bottom:12px; }
.dreisam-snow__now-title { font-weight:700; color:#0f172a; margin-bottom:8px; }
.dreisam-snow__now-grid { display:grid; grid-template-columns: 1fr 1fr; gap:8px 14px; }
@media (max-width: 620px) { .dreisam-snow__now-grid { grid-template-columns: 1fr 1fr; } }
.dreisam-snow__now-row { display:grid; grid-template-columns: 20px 1fr auto; gap:8px; align-items:center; padding:4px 0; border-top:1px dashed #dbe7ff; justify-items:center; }
.dreisam-snow__now-row:first-of-type { border-top:none; }
.dreisam-snow__now-time { margin-top:6px; color:#475569; }

/* Badges */
.dreisam-snow__badges { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:6px; }
.dreisam-snow__badge { display:inline-block; padding:4px 8px; border-radius:999px; font-size:0.82rem; font-weight:700; background:#e5e7eb; color:#111827; border:1px solid rgba(0,0,0,0.06); }
.dreisam-snow__badge.badge--snow { background:#dcfce7; color:#166534; border-color:#22c55e; }
.dreisam-snow__badge.badge--rain { background:#e0f2fe; color:#075985; border-color:#38bdf8; }
.dreisam-snow__badge.badge--good { background:#bbf7d0; color:#14532d; border-color:#22c55e; }  /* >=10 cm */
.dreisam-snow__badge.badge--mid  { background:#fef08a; color:#92400e; border-color:#f59e0b; }  /* 5-9.9 */
.dreisam-snow__badge.badge--low  { background:#e5e7eb; color:#374151; border-color:#d1d5db; }   /* <5 */
.dreisam-snow__badge.badge--ok   { background:#e5e7eb; color:#374151; border-color:#d1d5db; }
.dreisam-snow__badge.badge--warn { background:#fde68a; color:#92400e; border-color:#f59e0b; }   /* gusts >=50 */
.dreisam-snow__badge.badge--crit { background:#fecaca; color:#7f1d1d; border-color:#ef4444; }   /* gusts >=70 */

/* Hide any >4 cards (safety) */
.dreisam-snow .dreisam-snow__grid > .dreisam-snow__card:nth-child(n+5) { display:none; }
