/* YEYOU 203: opaque, bounded daylight controls. Watch styling remains independent. */
html[data-yeyou-daylight] body[data-leaf-fusion] #mapWorkspace #fusionShell{
 position:fixed!important;inset:auto!important;
 left:var(--daylight-view-left,0px)!important;top:var(--daylight-view-top,0px)!important;
 width:var(--daylight-view-width,100%)!important;height:var(--daylight-view-height,100dvh)!important;
 min-width:0!important;max-width:100%!important;transform:none!important;
 --daylight-edge-left:max(12px,env(safe-area-inset-left,0px));
 --daylight-edge-right:max(12px,env(safe-area-inset-right,0px));
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-bottom{
 left:var(--daylight-edge-left)!important;right:var(--daylight-edge-right)!important;
 width:auto!important;max-width:560px!important;min-width:0!important;
 margin-left:auto!important;margin-right:auto!important;transform:none!important;
 bottom:calc(38px + env(safe-area-inset-bottom,0px))!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-nav{
 width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-nav button{
 min-width:0!important;max-width:100%!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .map-mode-switch{
 right:var(--daylight-edge-right)!important;left:auto!important;width:48px!important;
 grid-template-columns:48px!important;transform:none!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .map-mode-switch button,
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell #compassButton{
 width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell :is(#daylightBasemapStreet,#daylightBasemapAerial){
 background:#fffef8!important;color:#253b31!important;border:1px solid #53665a!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell :is(#daylightBasemapStreet,#daylightBasemapAerial)[aria-pressed=true]{
 background:#24543e!important;color:#fffef8!important;border-color:#24543e!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell>.map-compass-dock{
 right:var(--daylight-edge-right)!important;top:calc(var(--yau-ui-top) + 124px)!important;
}
html[data-yeyou-daylight] #mapWorkspace #fusionShell .daylight-notebook{
 left:var(--daylight-edge-left)!important;right:auto!important;max-width:calc(100% - 92px)!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-top{
 right:0!important;left:auto!important;max-width:100%!important;transform:none!important;flex-wrap:wrap!important;
}
html[data-yeyou-daylight][data-skin=watch][data-daylight-layout="203"] body[data-leaf-fusion] #mapWorkspace #map .fusion-name,
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-toast:not(:empty){
 color:#253b31!important;background:#fffef8!important;border:1px solid #53665a!important;
 border-radius:8px!important;box-shadow:0 1px 5px #0002!important;text-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important;
 font-family:-apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif!important;
}
html[data-yeyou-daylight] #mapWorkspace #fusionShell .fusion-toast:not(:empty){
 padding:8px 10px!important;font-size:14px!important;line-height:1.5!important;
 overflow-wrap:anywhere!important;max-width:100%!important;
}
html[data-yeyou-daylight] #mapWorkspace #fusionShell .fusion-toast:empty{display:none!important}
.daylight-point-heading,.daylight-point-icon,.daylight-point-label,.daylight-mode-label{display:none}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-point-menu{
 min-width:0!important;color:#253b31!important;font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif!important;
 text-shadow:none!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .leaflet-popup-content-wrapper{
 background:#fffef8!important;color:#253b31!important;border:1px solid #53665a!important;
 border-radius:18px!important;box-shadow:0 4px 18px #0003!important;backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;text-shadow:none!important;
}
html[data-yeyou-daylight] #mapWorkspace .daylight-point-heading{
 display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;
 position:sticky;top:0;background:#fffef8;z-index:1;
}
html[data-yeyou-daylight] #mapWorkspace .daylight-point-heading strong{font-size:16px;font-weight:600}
html[data-yeyou-daylight] #mapWorkspace .daylight-point-heading button{display:grid;place-items:center;width:48px;min-width:48px}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-point-menu button{
 box-sizing:border-box!important;min-height:48px!important;max-height:none!important;height:auto!important;
 border:1px solid #53665a!important;border-radius:12px!important;background:#f0f3e9!important;
 color:#253b31!important;box-shadow:none!important;font-family:inherit!important;
 text-shadow:none!important;touch-action:manipulation;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-point-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-point-actions>button{
 width:100%!important;min-width:0!important;flex:1!important;font-size:0!important;padding:8px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
}
html[data-yeyou-daylight] #mapWorkspace :is(.daylight-point-label,.daylight-point-icon,.daylight-mode-label){display:inline-block}
html[data-yeyou-daylight] #mapWorkspace .daylight-point-label{font-size:14px;line-height:1.4}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-mode-options{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-mode-button{
 position:relative!important;width:100%!important;min-width:0!important;min-height:76px!important;
 padding:10px 4px 8px!important;display:flex!important;flex-direction:column!important;gap:5px!important;
 align-items:center!important;justify-content:center!important;overflow:hidden!important;font-size:13px!important;
}
html[data-yeyou-daylight] #mapWorkspace .daylight-mode-label{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-transport-icon{margin:0!important}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-route-check{
 position:absolute!important;left:auto!important;top:5px!important;right:5px!important;width:17px!important;height:17px!important;
 min-width:0!important;flex:0 0 auto!important;font-size:0!important;background:#fffef8!important;
 border:1px solid #53665a!important;border-radius:4px!important;box-shadow:none!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-mode-button[aria-checked=true],
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) button[aria-pressed=true]{
 background:#24543e!important;color:#fffef8!important;border:2px solid #24543e!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-mode-button[aria-checked=true] .pocket-route-check::after{
 content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #24543e;border-width:0 2px 2px 0;transform:rotate(45deg);
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-point-overview{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
 width:100%!important;min-width:0!important;margin:0!important;padding:8px!important;font-size:14px!important;
}
html[data-yeyou-daylight][data-skin=watch] body[data-leaf-fusion] #mapWorkspace :is(#map,.daylight-docked-popup) .pocket-point-overview>span{display:inline!important}
html[data-yeyou-daylight] #mapWorkspace .daylight-docked-popup{
 position:fixed!important;z-index:905!important;transform:translateX(-50%)!important;inset:auto!important;
 left:calc(var(--daylight-view-left,0px) + var(--daylight-view-width,100vw) / 2)!important;
 right:auto!important;width:min(420px,calc(var(--daylight-view-width,100vw) - max(12px,env(safe-area-inset-left,0px)) - max(12px,env(safe-area-inset-right,0px))))!important;
 bottom:calc(100dvh - var(--daylight-view-top,0px) - var(--daylight-view-height,100dvh) + var(--daylight-command-height,74px) + env(safe-area-inset-bottom,0px) + 102px)!important;
 margin:0!important;pointer-events:auto!important;
}
html[data-yeyou-daylight] #mapWorkspace .daylight-docked-popup .leaflet-popup-content{
 width:auto!important;margin:10px!important;
 max-height:calc(var(--daylight-view-height,100dvh) - var(--yau-ui-top,100px) - var(--daylight-command-height,74px) - env(safe-area-inset-bottom,0px) - 104px)!important;
 overflow:auto!important;overscroll-behavior:contain!important;
}
html[data-yeyou-daylight] #mapWorkspace .daylight-docked-popup .leaflet-popup-tip-container{display:none!important}
@media(max-height:560px){
 html[data-yeyou-daylight] #mapWorkspace .daylight-docked-popup{bottom:calc(var(--daylight-command-height,74px) + env(safe-area-inset-bottom,0px) + 48px)!important}
 html[data-yeyou-daylight] #mapWorkspace .daylight-docked-popup .leaflet-popup-content{max-height:calc(var(--daylight-view-height,100dvh) - var(--daylight-command-height,74px) - 84px)!important}
}
