/* PureSurfers 1.10.8 — one compact hierarchy, lighter actual contour mapping. */
.ps193-edition .time-strip{padding:6px 10px 5px;bottom:8px}
.ps193-edition .time-strip-head{gap:10px;letter-spacing:.02em;min-height:28px}
.ps193-edition .ps118-time-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.ps193-edition #timeModeLabel{white-space:nowrap;font-size:9px}
.ps193-edition #timelineStatus{font:9px/1.35 Arial,Helvetica,sans-serif;letter-spacing:0;color:#a8b3ae}
.ps193-edition .time-strip-head>div{flex-shrink:0;gap:5px}
.ps193-edition .time-strip-head :is(select,button){min-height:28px;padding:3px 6px}
.ps193-edition .time-strip .day-bar{margin:3px 0;gap:4px}
.ps193-edition .time-strip .day-btn{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:28px;padding:4px 7px}
.ps193-edition .time-strip .day-btn span{font-size:11px;line-height:1.2}
.ps193-edition .time-strip .day-btn small{display:inline;margin:0;white-space:nowrap;font-size:9px;line-height:1.2}
.ps193-edition .time-strip .hour-scrubber{padding:0;min-height:25px}
.ps193-edition .time-strip-foot[hidden]{display:none!important}
.ps193-edition .layer-switch,.ps193-edition .map-legend{bottom:calc(var(--ps118-time-height,100px) + 18px)}
.ps193-edition .scale{bottom:calc(var(--ps118-time-height,100px) + 57px)}
.ps193-edition .attrib{bottom:calc(var(--ps118-time-height,100px) + 19px)}
/* Lift the black point; retain contour/road detail instead of clipping it away. */
html[data-theme=topo] .ps193-edition #map.topo .tile{filter:grayscale(1) invert(1) brightness(1.64) contrast(.75)}
html[data-atlas-theme=safari] .ps193-edition #timelineStatus{color:#64563d}
@media(max-width:1100px){
 .ps193-edition .time-strip-head label{display:none}
 .ps193-edition .time-strip-head{gap:6px}
 .ps193-edition .time-strip .day-btn{padding:4px;gap:3px}
}
@media(max-width:600px){
 .ps193-edition .time-strip{padding:5px 7px}
 .ps193-edition .time-strip-head{align-items:center}
 .ps193-edition .ps118-time-summary{gap:3px 5px}
 .ps193-edition #timelineStatus{font-size:9px}
 .ps193-edition .time-strip .day-bar{display:flex;overflow-x:auto;scrollbar-width:thin;gap:4px;padding-bottom:2px}
 .ps193-edition .time-strip .day-btn{flex:1 0 80px;justify-content:center;min-height:36px;padding:5px;gap:5px}
 .ps193-edition .time-strip-head :is(select,button){min-height:32px}
 .ps193-edition .time-strip-head #hourSelect{width:82px;max-width:82px;font-size:16px}
 .ps193-edition .attrib{max-width:calc(100% - 20px);bottom:calc(var(--ps118-time-height,140px) + 55px);right:10px;text-align:right}
}
@media(pointer:coarse){
 .ps193-edition .time-strip .day-btn,.ps193-edition .time-strip-head :is(select,button),.ps193-edition .hour-presets button{min-height:44px}
 .ps193-edition .hour-scrubber input{height:32px}
}

/* 1.10.9: compact provenance immediately before the hourly forecast table. */
.ps193-edition #detail .ps119-model-context{margin:10px 0 12px;padding:10px 0;border-top:1px solid var(--line,#ffffff20)}
.ps193-edition #detail .ps119-model-context .live-meta{margin:0}
.ps193-edition #detail .ps119-model-context .size-link{margin-top:7px}

/* 1.10.11: reclaim the old forecast-strip gap; keep credits with map controls. */
.ps193-edition #detail:not(.expanded){bottom:calc(var(--ps118-time-height,100px) + 16px);max-height:none}
.ps193-edition .ps1111-map-footer{position:absolute;z-index:22;left:18px;bottom:calc(var(--ps118-time-height,100px) + 18px);display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;box-sizing:border-box;max-width:calc(100% - 36px)}
.ps193-edition .ps1111-map-footer .layer-switch{position:static;flex:none}
.ps193-edition .ps1111-map-footer .map-legend{position:relative;inset:auto;flex:none;max-width:100%}
.ps193-edition .ps1111-map-footer .map-legend-body{position:absolute;bottom:100%;left:0;width:280px;max-width:calc(100vw - 220px);box-sizing:border-box;background:inherit;background-color:var(--panel,#0b1010);border:1px solid var(--line2);border-radius:6px}
.ps193-edition .ps1111-map-footer .attrib{position:static;inset:auto;flex:1 1 140px;min-width:120px;max-width:100%;text-align:left;white-space:normal;margin:0}
.ps193-edition .scale{bottom:calc(var(--ps118-time-height,100px) + var(--ps1111-footer-height,32px) + 28px)}
.ps193-edition .ps1111-footer-stacked #detail:not(.expanded){bottom:calc(var(--ps118-time-height,100px) + var(--ps1111-footer-height,50px) + 26px)}
@media(max-width:930px){
 .ps193-edition .ps1111-map-footer{left:10px;max-width:calc(100% - 20px);column-gap:6px}
 .ps193-edition #detail:not(.expanded){bottom:calc(var(--ps118-time-height,140px) + var(--ps1111-footer-height,50px) + 26px)}
 .ps193-edition .ps1111-map-footer .map-legend-body{left:auto;right:0;max-width:calc(100vw - 36px)}
}
