/* A playful, reversible colour layer on the shared Delano streetscape. */
#contact .footer-street{position:relative}
#contact .footer-light-dock{position:relative;flex:none}
#contact .footer-light-dock>#footer-paint-toggle{position:absolute;left:calc(76.2% - 22px);top:calc(61.4% + 10px);z-index:5}
#contact .streetscape-toolbar{display:flex;position:absolute;right:96px;bottom:0;gap:0;margin:0;z-index:5}
#contact .streetscape-toolbar>p{display:none}
#contact .streetscape-controls{display:flex;align-items:center;gap:5px}
#contact :is(#streetscape-previous,#streetscape-next){display:none}
#footer-paint-toggle,#footer-paint-clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:10px;appearance:none;border:1px solid #4b453b;background:transparent;color:var(--cream)}
/* Keep painting controls out of both layouts while the feature is paused. */
#footer-paint-toggle,#footer-paint-clear{display:none!important}
#footer-paint-toggle svg,#footer-paint-clear svg{width:22px;height:22px;overflow:visible}
#footer-paint-toggle:hover,#footer-paint-clear:hover{color:#dfc99a;border-color:#aa9063}
#footer-paint-toggle[aria-pressed="true"]{color:#f3d49a;background:#6f523329;border-color:#c2a372}
#footer-paint-clear[hidden]{display:none!important}
#footer-paint-toggle:focus-visible,#footer-paint-clear:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
#footer-paint-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#contact .footer-street:has(.footer-paint-mode) .streetscape-toolbar>p{display:block;position:absolute;right:0;bottom:calc(100% + 8px);padding:5px 8px;color:#d8c49f;background:#100e0dea;font:11px/1.4 var(--sans);white-space:nowrap;pointer-events:none}
#contact .footer-skyline-stage>.footer-paint-layer{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
#contact .footer-skyline-stage>.halloween-street-scene{z-index:2}
#contact .footer-skyline-stage>:is(.footer-pet-layer,#footer-go-button){z-index:3}
.footer-paint-hit{fill:transparent;stroke:transparent;stroke-width:2;pointer-events:none}
.footer-paint-mode .footer-paint-hit{pointer-events:all;cursor:url('assets/footer-paint-cursor.svg?v=paint-03') 10 7,crosshair}
.footer-paint-mode .footer-paint-hit:hover,.footer-paint-mode .footer-paint-hit:focus-visible{fill:#dfc79609;stroke:#d9bd83;stroke-dasharray:5 6;outline:none}
.footer-paint-brush{pointer-events:none;filter:drop-shadow(0 2px 2px #0009)}
.paint-bolduc-roof-lights{display:none}
#contact:has(#footer-light-switch[aria-checked="true"]) .paint-bolduc-roof-lights{display:inline;filter:drop-shadow(0 0 3px #fff9)}
.footer-paint-cursor{display:none!important}
@media(max-width:700px){
  #contact .streetscape-toolbar{position:static;justify-content:space-between;gap:10px;margin:6px 0 0;order:1}
  #contact .streetscape-toolbar>p{display:block;flex:1;min-width:0;font-size:11px!important;line-height:1.4}
  #contact :is(#streetscape-previous,#streetscape-next){display:inline-flex;align-items:center;justify-content:center}
  #contact .streetscape-controls{gap:4px}
  #contact .footer-street:has(.footer-paint-mode) .streetscape-toolbar>p{position:static;display:block;padding:0;background:none;white-space:normal;font-size:11px}
  #footer-paint-toggle,#footer-paint-clear{touch-action:manipulation}
}
@media(prefers-reduced-motion:reduce){
  .footer-paint-brush{filter:none}
}

#footer-paint-toggle{padding:7px}
#footer-paint-toggle svg{width:28px;height:28px;flex:none}

/* Only the icon colours on hover. Paint mode is activated by the button click. */
#footer-paint-toggle :is(.paint-brush-handle,.paint-brush-ferrule,.paint-brush-bristles){fill-opacity:0;transition:fill-opacity .24s ease}
#footer-paint-toggle .paint-brush-handle{fill:#74323b}
#footer-paint-toggle .paint-brush-ferrule{fill:#b9a37d}
#footer-paint-toggle .paint-brush-bristles{fill:#f2e7d0}
#footer-paint-toggle:is(:hover,:focus-visible,[aria-pressed="true"]) :is(.paint-brush-handle,.paint-brush-ferrule,.paint-brush-bristles){fill-opacity:1}
#footer-paint-toggle:is(:hover,:focus-visible,[aria-pressed="true"]) .paint-brush-bristle-detail{stroke:#a89575}
#footer-paint-toggle:is(:hover,:focus-visible,[aria-pressed="true"]) .paint-brush-ferrule-detail{stroke:#74614a}
#footer-paint-toggle:is(:hover,:focus-visible,[aria-pressed="true"]) .paint-brush-handle-detail{stroke:#bf847c}
#footer-paint-toggle:is(:hover,:focus-visible,[aria-pressed="true"]) .paint-brush-hole{fill:#1d1715}
@media(prefers-reduced-motion:reduce){#footer-paint-toggle :is(.paint-brush-handle,.paint-brush-ferrule,.paint-brush-bristles){transition:none}}
