/* V25: Full-size resize, precision alignment and live inclusive typography.
   Intentional override of earlier CSS. Preserve every visual theme. */
#home .content{
 box-sizing:border-box!important;
 align-items:stretch!important;
}
#home .content>.mast{
 /* Old V20 rule margin:0 -14px caused the 14 px horizontal misalignment. */
 margin-left:0!important;margin-right:0!important;
 margin-inline:0!important;
 left:0!important;right:auto!important;
 width:var(--wa-free-width,100%)!important;
 max-width:100%!important;
 align-self:flex-start!important;
 transform:none!important;
 box-sizing:border-box!important;
}
/* Every card in the measurement tray is a freely sized flex item. */
#home #cards.tile-grid,#home #waLateCards.tile-grid{
 width:100%!important;display:flex!important;flex-wrap:wrap!important;
 gap:10px!important;justify-content:flex-start!important;
 align-items:flex-start!important;align-content:flex-start!important;
 min-width:0!important;
}
#home #cards>.tile,#home #waLateCards>.tile{
 flex:0 0 var(--wa-free-width,calc((100% - 10px)/2))!important;
 width:var(--wa-free-width,calc((100% - 10px)/2))!important;
 max-width:100%!important;min-width:0!important;
 min-height:var(--wa-free-min-height,129px)!important;
 height:auto!important;box-sizing:border-box!important;
 overflow:visible!important;
 margin-left:0!important;margin-right:0!important;
 align-self:flex-start!important;
 padding:clamp(10px,calc(14px * var(--wa-free-scale,1)),30px)!important;
}
#home #cards>.tile .tile-head,
#home #waLateCards>.tile .tile-head{
 font-size:clamp(10px,calc(12px * var(--wa-free-scale,1)),27px)!important;
 line-height:1.3!important;white-space:normal!important;
}
#home #cards>.tile .tile-emoji,#home #waLateCards>.tile .tile-emoji{
 font-size:clamp(17px,calc(21px * var(--wa-free-scale,1)),45px)!important;
 line-height:1.25!important;
}
#home #cards>.tile .tile-value,#home #waLateCards>.tile .tile-value{
 font-size:clamp(19px,calc(30px * var(--wa-free-scale,1)),64px)!important;
 line-height:1.12!important;white-space:normal!important;
 overflow-wrap:anywhere!important;
}
#home #cards>.tile .tile-desc,#home #waLateCards>.tile .tile-desc{
 font-size:clamp(10px,calc(12px * var(--wa-free-scale,1)),26px)!important;
 line-height:1.42!important;white-space:normal!important;
 overflow-wrap:anywhere!important;
}
/* Scale weather pictograms and panels with content, not just the container. */
#home .content>[data-wa-block] .weather-icon{
 font-size:clamp(20px,calc(25px * var(--wa-free-scale,1)),54px)!important
}
#home .content>[data-wa-block] .hour b{
 font-size:clamp(16px,calc(19px * var(--wa-free-scale,1)),39px)!important
}
#home .content>[data-wa-block] .hour small{
 font-size:clamp(10px,calc(12px * var(--wa-free-scale,1)),24px)!important
}
#home .content>[data-wa-block] :is(.fact-number,.wa-atmos-value,.sun-fact b,.wa-three-reading b,.wa-tomorrow-metrics b){
 font-size:clamp(16px,calc(22px * var(--wa-free-scale,1)),49px)!important;
 line-height:1.24!important
}
#home .content>[data-wa-block] :is(.fact-label,.fact-desc,.wa-three-reading span,.sun-fact span,.wa-tomorrow-metrics small){
 font-size:clamp(10px,calc(12px * var(--wa-free-scale,1)),24px)!important;
 line-height:1.4!important
}
#home .content>[data-wa-block] :is(.wa-tomorrow-symbol,.wa-wind-illustration){
 font-size:clamp(39px,calc(55px * var(--wa-free-scale,1)),116px)!important
}
#home .content>.mast :is(.brand,.location,.condition,.range,.source){
 max-width:100%!important;overflow-wrap:anywhere!important;
}
/* Readability, especially at high zoom or on narrow phones. */
#home #cards>.tile :is(.tile-head,.tile-value,.tile-desc),
#home #waLateCards>.tile :is(.tile-head,.tile-value,.tile-desc){
 overflow-wrap:anywhere!important;min-width:0!important;
}
#home .content .wa-free-grip{
 -webkit-tap-highlight-color:transparent;
}
/* Corner control and magnetic alignment feedback. */
body.wa-edit-mode #home .content .wa-free-grip.resizing,
#home .content.editing .wa-free-grip.resizing{
 box-shadow:0 0 0 5px rgba(77,196,255,.33),0 7px 20px rgba(2,34,76,.43)!important;
}
#home .content .wa-resize-tooltip{
 display:none!important;position:absolute!important;
 right:6px!important;bottom:56px!important;z-index:280!important;
 background:#082b54!important;color:#fff!important;
 border:1px solid #abdfff!important;border-radius:11px!important;
 padding:6px 9px!important;line-height:1.2!important;
 font-size:12px!important;font-weight:700!important;
 font-variant-numeric:tabular-nums!important;
 white-space:nowrap!important;pointer-events:none!important;
 box-shadow:0 7px 22px #001c3c65!important;
}
#home .content .wa-resizing>.wa-resize-tooltip{display:block!important}
#home .content .wa-magnet-near{
 outline:2px solid rgba(115,220,255,.78)!important;
 outline-offset:2px!important;
}
@media(prefers-reduced-motion:reduce){
 #home .content .wa-magnet-near{animation:none!important}
 #home #cards>.tile,#home #waLateCards>.tile{transition:none!important}
}

/* iOS-native finger resize: large, unmistakable, non-scrolling hit target. */
body.wa-edit-mode #home .content .wa-free-grip,
#home .content.editing .wa-free-grip{
 width:58px!important;height:55px!important;
 min-width:58px!important;min-height:55px!important;
 display:grid!important;
 grid-template-rows:26px 12px!important;
 align-content:center!important;
 justify-items:center!important;
 gap:1px!important;
 -webkit-touch-callout:none!important;
 -webkit-user-select:none!important;user-select:none!important;
 touch-action:none!important;
 overscroll-behavior:contain!important;
 border-radius:16px!important;
 background:linear-gradient(145deg,#1374bc,#07345d)!important;
 box-shadow:0 0 0 3px #5acbff3b,0 4px 16px #00182ba1!important;
}
body.wa-edit-mode #home .content .wa-free-grip svg,
#home .content.editing .wa-free-grip svg{
 width:25px!important;height:25px!important;
 grid-row:1!important;
}
body.wa-edit-mode #home .content .wa-free-grip::after,
#home .content.editing .wa-free-grip::after{
 content:"ZIEHEN"!important;
 display:block!important;
 grid-row:2!important;
 font:800 9px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
 letter-spacing:.04em!important;
 color:#ffffff!important;
 pointer-events:none!important;
}
body.wa-edit-mode #home .content>.mast>.wa-free-grip{right:10px!important;bottom:10px!important}
