#board-shell .b-widget.type-weather:has(.weather3){background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.b-widget.type-weather:has(.weather3)>.b-widget-body{display:block!important;width:100%;height:100%;padding:0!important;overflow:visible!important}
.weather3{position:relative!important;isolation:isolate;display:block!important;width:100%!important;height:100%!important;max-width:none!important;box-sizing:border-box;color:var(--weather-ink)!important;background:var(--weather-bg)!important;border-radius:20px;container-type:size;font-family:Inter,ui-sans-serif,system-ui,sans-serif;user-select:none;line-height:1.1}
.weather3-content{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;padding:min(5cqi,5cqb);overflow:hidden;border-radius:inherit;outline-offset:3px}
.weather3-illustration{position:relative;display:flex;justify-content:center;align-items:center;flex:1;min-height:0;min-width:0;width:100%;z-index:1}
.weather3-symbol{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0;overflow:visible}
.weather3-info{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0;min-height:0;flex:0 1 31%;z-index:2}
.weather-fit{display:block;width:100%;height:100%;min-height:0;max-height:100%;font-family:inherit;font-weight:700}
.weather3-label{height:100%;width:100%;min-height:0;flex:1}.weather3-place{height:25%;width:100%;min-height:0;flex:1;font-weight:550}
.weather3-temperature{flex:2;min-height:0;width:100%;height:55%;font-variant-numeric:tabular-nums}.weather3-temperature text{font-weight:800;letter-spacing:-2px}
.weather3:has(.weather3-temperature) .weather3-info{flex-basis:48%}
.weather3-status{font-size:clamp(6px,min(4cqi,5cqb),16px);text-align:center;line-height:1.2;max-width:100%;padding-top:2%;flex:none}
.weather3-source{display:flex;flex-wrap:wrap;justify-content:center;gap:3px 8px;flex:none;width:100%;text-align:center;font-size:clamp(5px,min(3cqi,3.5cqb),12px);line-height:1.2;opacity:.85;padding-top:3%;z-index:2}.weather3-source a{color:inherit}
.weather3-stale{color:inherit;text-decoration:underline dotted;text-underline-offset:3px;opacity:.75}.weather3-metrics{font-size:clamp(6px,min(4cqi,5cqb),18px);padding-top:3%}
.weather3-side .weather3-content,.weather3-compact .weather3-content{display:grid;grid-template-columns:43% 1fr;grid-template-rows:1fr auto;gap:3%;padding:min(4cqi,4cqb)}
.weather3-side .weather3-illustration,.weather3-compact .weather3-illustration{width:100%;height:100%;grid-column:1;grid-row:1}
.weather3-side .weather3-info,.weather3-compact .weather3-info{height:100%;width:100%;grid-column:2;grid-row:1}
.weather3-side .weather3-source,.weather3-compact .weather3-source{grid-column:1/3;grid-row:2}
.weather3-skin-pro-blue{border-left:5px solid #4788d1}.weather3-skin-premium{box-shadow:inset 0 1px 0 #ffffff20;border:1px solid #3b5370}
.weather3-skin-minimal{border-radius:3px}.weather3-skin-panel{border:1px solid #d8cbb9;border-radius:5px}.weather3-panel .weather3-illustration{flex:0 1 48%}.weather3-panel .weather3-info{flex:1}
.weather3-question,.weather3-daily{width:100%;height:16%;flex:none;min-height:0}.weather3-question{text-wrap:balance}.weather3-assembly .weather3-illustration{flex:1}.weather3-assembly .weather3-info{flex:0 1 23%}
.weather3-window .weather3-illustration{border: min(2cqi,8px) solid var(--weather-accent);border-radius:40% 40% 3px 3px;background:linear-gradient(#c4e5f8,#f6fbff);width:85%;margin:0 auto 3%;box-sizing:border-box;overflow:hidden;padding:3%}
.weather3-window .weather3-illustration:after{content:'';position:absolute;inset:0;border-bottom:3px solid var(--weather-accent);background:linear-gradient(90deg,transparent 49%,#ffffff88 49% 51%,transparent 51%);pointer-events:none}
.weather3-landscape .weather3-content:before,.weather3-story .weather3-content:before{content:'';position:absolute;bottom:18%;left:-20%;width:140%;height:25%;border-radius:50%;background:#91b8a33a;z-index:0}
.weather3-story{border:2px solid #b6c69e;border-radius:30px 30px 8px 8px}.weather3-story .weather3-content:before{background:#97bd7155;bottom:22%;transform:rotate(-8deg)}
.weather3-friend{border:3px solid #ffffffaa;border-radius:28% 28% 16% 16%}.weather3-friend .weather3-illustration{padding:3%;box-sizing:border-box}
.weather3-rainbow{background:linear-gradient(130deg,#ffe8db,#f0e4fa 52%,#dff1f6)!important;border:2px solid #fff9}
.weather3-mascot .weather3-illustration{display:grid;grid-template-columns:1fr 1fr;gap:0}.weather-mascot{height:100%;min-height:0;display:flex;align-items:center}.weather-mascot>svg{height:100%;width:100%}
.weather3-ring{border-radius:30%;border:2px solid var(--weather-accent)}.weather3-ring .weather3-illustration{width:80%;margin:0 auto;border:1px dashed var(--weather-accent);border-radius:50%;box-sizing:border-box;padding:3%}
.weather3-skin-chalk{font-family:Georgia,serif;border:5px solid #b59a70;border-radius:4px;box-shadow:inset 0 0 16px #0003}.weather3-skin-observation{border-top:6px solid #94bbd5;border-radius:5px}
.weather3-skin-daily{box-shadow:inset 0 10px 0 #c49a7733;border-radius:4px 4px 25px 4px}
.weather3-motion .live-sun-rays{transform-origin:60px 60px;animation:weather-rays 24s linear infinite}
.weather3-motion .live-rain{animation:weather-rain 1.6s ease-in infinite}.weather3-motion .live-snow{animation:weather-snow 3s ease-in-out infinite}
.weather3-skin-moving-clouds .weather3-symbol,.weather3-skin-animated-sky .weather3-symbol{animation:weather-drift 7s ease-in-out infinite}
@keyframes weather-rays{to{transform:rotate(360deg)}}@keyframes weather-rain{0%{transform:translate(0,-3px);opacity:.35}80%{opacity:1}100%{transform:translate(-3px,6px);opacity:.2}}
@keyframes weather-snow{50%{transform:translate(3px,5px);opacity:.65}}@keyframes weather-drift{50%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){.weather3 *,.weather-mini *{animation:none!important;transition:none!important}}
.weather3 .smart-change-action{position:absolute;right:5px;top:5px;z-index:6}.weather3 .smart-state-menu{z-index:15}.weather-real-menu{display:flex!important;flex-direction:column!important;justify-content:center;gap:8px}.weather-real-menu button:not(.smart-state-close){display:block!important;width:100%!important;height:auto!important;min-height:32px;font-size:clamp(10px,4cqi,18px)!important}
@container(max-height:120px){.weather3-source,.weather3-metrics{display:none}.weather3-status{font-size:7px}.weather3-question{height:18%}.weather3-content{padding:2%}}
#b-dialog.weather-editor-dialog{width:min(1120px,96vw);max-height:92vh;overflow-y:auto}.weather-functional{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.weather-functional label{display:grid;gap:4px;font-size:12px;font-weight:650;min-width:180px}.weather-functional select{padding:7px;border:1px solid #ccd8e5;border-radius:7px}
.weather-location-fields{border:1px solid #dce5ef;background:#f7faff;border-radius:10px;padding:10px;margin:10px 0;font-size:12px}.weather-location-fields[hidden],[data-weather-manual-field][hidden]{display:none!important}.weather-location-fields>strong{display:block;margin-bottom:7px}.weather-search{display:flex;gap:6px;flex-wrap:wrap}.weather-search input{flex:1;min-width:120px;padding:8px}.weather-search button{padding:7px 10px}.weather-location-fields small{display:block;margin-top:7px;color:#586b80}.weather-places-source{font-size:10px;color:#526c87}.weather-location-fields p:empty{display:none}
[data-weather-results]{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}[data-weather-results] button{text-align:left;white-space:normal;max-width:100%;padding:8px;font-size:12px;border:1px solid #ccd8e5;border-radius:7px;background:#fff;color:#274f7b}
.weather-gallery section{margin:12px 0 16px}.weather-gallery h3{font-size:12px!important;margin:0 0 6px!important;font-weight:750!important;letter-spacing:.02em}
.weather-preset-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.weather-preset-choice{position:relative;display:flex!important;flex-direction:column;align-items:stretch;gap:5px;min-width:0;margin:0!important;padding:5px;border:2px solid #e0e7ef;border-radius:9px;cursor:pointer;background:#fff;color:#314761}
.weather-preset-choice:has(input:checked){border-color:#397ad1;background:#f0f6ff}.weather-preset-choice:focus-within{outline:2px solid #397ad1;outline-offset:2px}.weather-preset-choice input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0;z-index:2}.weather-mini{display:block;height:78px;width:100%;overflow:hidden;contain:size layout paint;container-type:size;pointer-events:none}.weather-mini .weather3{border-radius:6px}.weather-mini .weather3-content{padding:3%}.weather-mini .weather3-source,.weather-mini .weather3-status{display:none}.weather-preset-choice>strong{display:block!important;font-size:10px!important;line-height:1.2!important;font-weight:650;text-align:center;overflow-wrap:anywhere}
.weather-legacy{font-size:12px;margin-top:12px}.weather-legacy .weather-mini{width:90px;height:55px;margin-top:8px}
@media(max-width:860px){.weather-preset-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:650px){.weather-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weather-search button{flex:1}.weather-functional label{min-width:130px}}@media(max-width:380px){.weather-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Shared smart-sticker styles must not recolour the prepared dark weather models. */
.b-widget.type-weather .weather3,.weather-mini .weather3{color:var(--weather-ink)!important}
.b-widget.type-weather .weather3 .weather-fit,.weather-mini .weather-fit{color:var(--weather-ink)!important}
.weather3 .weather-fit{height:100%;color:var(--weather-ink)}
