/* MyWeatha v31 — fluid, unsnapped resizing; all late tiles behave like normal cards. */
#home #cards>.tile,
#home #waLateCards>.tile{
 transition:background .22s ease,box-shadow .22s ease!important;
}
body.wa-edit-mode #home #cards>.tile,
body.wa-edit-mode #home #waLateCards>.tile,
body.wa-edit-mode #home .content>[data-wa-block]:not(#cards){
 transition:none!important;
}
body.wa-edit-mode #home #waLateCards>.tile{
 animation:wa-wiggle .22s ease-in-out infinite alternate!important;
 touch-action:none!important;
 outline:1px dashed var(--border,#ffffff65)!important;
}
body.wa-edit-mode #home #waLateCards>.tile:nth-child(even){animation-delay:-.11s!important}
body.wa-edit-mode #home #waLateCards>.tile>.wa-remove,
#home .content.editing #waLateCards>.tile>.wa-remove{
 display:flex!important;align-items:center!important;justify-content:center!important;
}
body.wa-edit-mode #home #waLateCards>.tile>.wa-free-grip,
#home .content.editing #waLateCards>.tile>.wa-free-grip{
 display:grid!important;
}
body.wa-edit-mode #home .content .wa-resizing,
#home .content.editing .wa-resizing,
body.wa-edit-mode #home .content .wa-resizing:is(.tile,[data-wa-block]){
 animation:none!important;
 transition:none!important;
 outline:2px solid color-mix(in srgb,var(--wa-p,#4bd0ff) 70%,transparent)!important;
 outline-offset:1px!important;
 transform:none!important;
 will-change:width,min-height!important;
}
/* Do not magnetically nudge cards; the user decides the pixel size. */
#home .content .wa-magnet-near{outline:none!important;box-shadow:inherit!important}
#home .content .wa-resizing .wa-free-grip{
 box-shadow:0 0 0 4px rgba(83,209,255,.30),0 7px 18px rgba(0,30,70,.25)!important;
}
/* Our custom illustrated SVG icons are image elements, not font-dependent emojis. */
.wa-custom-icon{display:block;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
#home .tile-head .tile-emoji{
 display:inline-flex!important;align-items:center;justify-content:center;
 flex:0 0 auto!important;width:auto!important;line-height:1!important;
}
#home .tile-head .tile-emoji .wa-custom-icon{
 width:clamp(24px,calc(29px * var(--wa-free-scale,1)),59px)!important;
 height:clamp(24px,calc(29px * var(--wa-free-scale,1)),59px)!important;
}
#home .hours-card .hour .weather-icon{
 display:grid!important;place-items:center!important;
 min-height:clamp(23px,calc(29px * var(--wa-free-scale,1)),58px)!important;
}
#home .hours-card .hour .weather-icon .wa-custom-icon{
 width:clamp(27px,calc(32px * var(--wa-free-scale,1)),62px)!important;
 height:clamp(27px,calc(32px * var(--wa-free-scale,1)),62px)!important;
 margin:0 auto!important;
}
#home .week-day .week-icon{display:inline-flex!important;align-items:center;justify-content:center}
#home .week-day .week-icon .wa-custom-icon{
 width:clamp(24px,calc(29px * var(--wa-free-scale,1)),46px)!important;
 height:clamp(24px,calc(29px * var(--wa-free-scale,1)),46px)!important;
}
#home .wa-tomorrow-symbol .wa-custom-icon{
 width:clamp(45px,calc(56px * var(--wa-free-scale,1)),112px)!important;
 height:clamp(45px,calc(56px * var(--wa-free-scale,1)),112px)!important;
}
#home .fact-label .wa-custom-icon{
 width:23px!important;height:23px!important;
 display:inline-block!important;vertical-align:middle;margin-right:6px;
}
#home .wa-three-icon .wa-custom-icon{
 width:clamp(30px,calc(39px * var(--wa-free-scale,1)),56px)!important;
 height:clamp(30px,calc(39px * var(--wa-free-scale,1)),56px)!important;
}
#home .wa-three-icon{overflow:visible!important}
#moduleEditor .editor-row>span .wa-custom-icon,
#waBlocksEditor .wa-unified-name .wa-custom-icon{
 width:24px;height:24px;display:inline-block;vertical-align:middle;margin-right:6px;
}
#waSavedPlaces .wa-place-card-icon .wa-custom-icon{
 width:37px;height:37px;
}
#waHomePlaces .wa-home-place-emoji .wa-custom-icon{
 width:28px;height:28px;
}
@media(max-width:355px){
 #home .tile-head .tile-emoji .wa-custom-icon{
  width:clamp(21px,calc(26px * var(--wa-free-scale,1)),46px)!important;
  height:clamp(21px,calc(26px * var(--wa-free-scale,1)),46px)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.wa-edit-mode #home #waLateCards>.tile{animation:none!important}
 body.wa-edit-mode #home .content .wa-resizing{transition:none!important}
}

#home .wa-wind-illustration .wa-custom-icon{width:clamp(40px,calc(56px * var(--wa-free-scale,1)),88px)!important;height:clamp(40px,calc(56px * var(--wa-free-scale,1)),88px)!important}
#home .wa-tomorrow-metrics>div>span .wa-custom-icon{display:inline-block!important;width:24px!important;height:24px!important;vertical-align:middle}
#home .wa-alerts-emblem .wa-custom-icon{width:29px!important;height:29px!important}

/* Winning specificity over the wobble rule: no oscillation while resizing. */
body.wa-edit-mode #home #cards>.tile.wa-resizing,
body.wa-edit-mode #home #waLateCards>.tile.wa-resizing,
body.wa-edit-mode #home #waLateCards>.tile.wa-resizing:nth-child(even),
body.wa-edit-mode #home .content>[data-wa-block].wa-resizing{
 animation:none!important;
 transform:none!important;
 transition:none!important;
}
