/* One watch finish for journey overlays; map content and other skins stay independent. */
html[data-skin=watch]{--journey-watch-glass:rgba(200,205,178,.3);--journey-watch-key:rgba(215,221,195,.5);--journey-watch-ink:#111;--journey-watch-rim:#6d7b60;--journey-watch-shine:#edf0dd;--journey-watch-depth:#46513c}
html[data-skin=watch][data-backlight-preview=all]:has(.watch-lcd.is-touch-lit){--journey-watch-glass:rgba(239,180,90,.3);--journey-watch-key:rgba(255,215,151,.5);--journey-watch-rim:#95682f;--journey-watch-shine:#ffe7bb;--journey-watch-depth:#735022}
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #map .fusion-name,
html[data-skin=watch] body[data-leaf-fusion] #fusionShell #fusionTripCue,
html[data-skin=watch] #map .pocket-point-popup .leaflet-popup-content-wrapper,
html[data-skin=watch] .fusion-dialog,
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-sheet{
 background:var(--journey-watch-glass)!important;color:var(--journey-watch-ink)!important;border:2px solid var(--journey-watch-rim)!important;border-radius:6px!important;
 box-shadow:inset 1px 1px 0 var(--journey-watch-shine),inset -1px -1px 0 var(--journey-watch-depth),0 2px 0 var(--journey-watch-depth)!important;
 backdrop-filter:blur(4px);text-shadow:0 0 2px var(--journey-watch-shine),0 1px 1px var(--journey-watch-shine)
}
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #map .fusion-name{background:var(--journey-watch-key)!important;padding:4px 7px;font-family:ui-monospace,"PingFang TC",monospace;font-weight:600;line-height:1.4}
html[data-skin=watch] #map .fusion-name:before{color:var(--journey-watch-ink)!important}
html[data-skin=watch] #fusionTripCue :is(small,strong,button),html[data-skin=watch] .fusion-dialog :is(h2,p,small,label){color:var(--journey-watch-ink)!important}
html[data-skin=watch] #map .pocket-point-popup .leaflet-popup-tip{background:var(--journey-watch-rim)}
html[data-skin=watch] #map .pocket-point-popup .leaflet-popup-content{margin:10px}
html[data-skin=watch] #map .pocket-point-menu button,
html[data-skin=watch] .fusion-dialog button,
html[data-skin=watch] #fusionShell .fusion-sheet .fusion-mini-actions>button{
 background:var(--journey-watch-key)!important;color:var(--journey-watch-ink)!important;border:2px solid var(--journey-watch-rim)!important;border-radius:6px!important;
 box-shadow:inset 1px 1px 0 var(--journey-watch-shine),inset -1px -1px 0 var(--journey-watch-depth),0 2px 0 var(--journey-watch-depth)!important;text-shadow:0 0 2px var(--journey-watch-shine)
}
html[data-skin=watch] #map .pocket-point-menu button[aria-pressed=true]{border-color:#25332c!important;box-shadow:inset 0 2px 3px #25332c80!important}
html[data-skin=watch] #fusionShell .fusion-sheet .sheet-close{background:transparent!important;color:#111!important;border:0!important;box-shadow:none!important}
/* Popup and drawer actions use the same solid keys as A / B / C. */
html[data-skin=watch] #map .pocket-point-menu button,
html[data-skin=watch] .fusion-dialog button,
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-sheet button:not(.fusion-place-name):not(.sheet-close){
 background:var(--watch-key)!important;color:var(--leaf-ink)!important;border:1px solid var(--watch-rim)!important;border-radius:5px!important;
 box-shadow:inset 0 1px 0 #f5f7e9,0 2px 0 var(--watch-rim)!important;min-height:44px!important;text-shadow:none;transition:transform .08s,box-shadow .08s
}
html[data-skin=watch] #map .pocket-point-menu button[aria-pressed=true],
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-sheet button[aria-pressed=true]{
 background:linear-gradient(#465e43,#2e462f)!important;color:#eff3df!important;box-shadow:inset 0 2px 4px #142b2366,0 2px 0 var(--watch-rim)!important
}
html[data-skin=watch] #map .pocket-point-menu button:active,
html[data-skin=watch] .fusion-dialog button:active,
html[data-skin=watch] #fusionShell .fusion-sheet button:not(.fusion-place-name):not(.sheet-close):active{transform:translateY(2px);box-shadow:inset 0 2px 4px #34422b33!important}
@media(prefers-reduced-motion:reduce){html[data-skin=watch] #map .pocket-point-menu button,html[data-skin=watch] .fusion-dialog button,html[data-skin=watch] #fusionShell .fusion-sheet button{transition:none}}
/* Keep journey text crisp; depth belongs to frames, not glyphs. */
html[data-skin=watch] #fusionShell .fusion-sheet,
html[data-skin=watch] #fusionShell .fusion-sheet *,
html[data-skin=watch] #fusionShell #fusionTripCue,
html[data-skin=watch] #fusionShell #fusionTripCue *,
html[data-skin=watch] #map .fusion-name,
html[data-skin=watch] #map .pocket-point-popup,
html[data-skin=watch] #map .pocket-point-popup *,
html[data-skin=watch] .fusion-dialog,
html[data-skin=watch] .fusion-dialog *{text-shadow:none!important}
html[data-skin=watch] #fusionShell .fusion-sheet :is(p,summary,small),
html[data-skin=watch] #fusionShell #fusionEmpty{color:#111!important}
/* Drawers grow with content, then scroll within the available screen. */
html[data-skin=watch] #fusionShell .fusion-sheet,
html[data-skin=watch] .fusion-dialog,
html[data-skin=watch] .vector-dialog{height:auto!important;min-height:0!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--watch-rim) rgba(200,205,178,.25)}
html[data-skin=watch] :is(.fusion-sheet,.fusion-dialog,.vector-dialog)::-webkit-scrollbar{width:8px;height:8px}
html[data-skin=watch] :is(.fusion-sheet,.fusion-dialog,.vector-dialog)::-webkit-scrollbar-track{background:rgba(200,205,178,.25);border-left:1px solid var(--watch-rim);border-radius:0}
html[data-skin=watch] :is(.fusion-sheet,.fusion-dialog,.vector-dialog)::-webkit-scrollbar-thumb{background:var(--watch-rim);border:2px solid var(--watch-metal);border-radius:0;box-shadow:inset 1px 1px 0 var(--watch-highlight)}

html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell #fusionPocketPanel{position:absolute!important;top:auto!important;bottom:var(--pocket-anchor-bottom,80px)!important;left:0!important;right:auto!important;width:100%!important;box-sizing:border-box;margin:0!important;max-height:var(--pocket-available-height,35dvh)!important;z-index:3}
/* Main keys carry the same border thickness as the current LCD size. */
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-nav button{border-width:3px!important;border-color:#505b4c!important}
html[data-skin=watch]:has(.watch-face.is-compact) body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-nav button{border-width:2px!important}

html[data-skin=watch] #map .pocket-point-menu .pocket-route-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px!important}
html[data-skin=watch] #map .pocket-route-check{display:inline-block;flex:0 0 34px;font:34px/1 system-ui,sans-serif;text-align:center}

.pocket-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}
html[data-skin=watch] #map .pocket-point-menu .pocket-mode-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:84px!important;padding:6px 2px;touch-action:manipulation}
html[data-skin=watch] #map .pocket-mode-button .pocket-route-check{flex:0 0 auto;height:34px}
.pocket-mode-button svg{flex-shrink:0;pointer-events:none}

html[data-skin=watch] #map .pocket-point-menu .pocket-point-overview{display:flex;align-items:center;justify-content:center;gap:8px}
.pocket-fit-icon{flex:0 0 24px;pointer-events:none}

.pocket-transport-icon{display:flex;align-items:center;justify-content:center;width:40px;height:32px}
.pocket-transport-icon .ticket-icon{display:block;width:32px;height:32px;max-width:none}
.pocket-transport-icon .ticket-icon[data-ticket-icon=youbike]{width:40px;height:27px}

/* Pocket list: one visibility check, place name, view route, remove. */
#fusionPocketPanel .sheet-head>small,#fusionPocketPanel #fusionJourneySummary,#fusionPocketPanel #fusionEmpty{display:none!important}
#fusionPocketPanel .fusion-place-row{grid-template-columns:32px minmax(0,1fr) 44px 40px;gap:4px}
#fusionPocketPanel .fusion-place-check{width:30px;height:30px;margin:0;accent-color:#334b35;cursor:pointer;touch-action:manipulation}

html[data-skin=watch] #fusionPocketPanel .fusion-place-check{appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;width:30px;height:30px;border:2px solid var(--watch-rim);border-radius:2px;background:var(--watch-key);box-shadow:inset 1px 1px 0 var(--watch-highlight),0 2px 0 var(--watch-rim)}
html[data-skin=watch] #fusionPocketPanel .fusion-place-check:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12 5 5L20 6' fill='none' stroke='%2325332c' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E"),var(--watch-key);background-size:24px 24px,100% 100%;background-position:center;background-repeat:no-repeat}
html[data-skin=watch] #fusionPocketPanel .fusion-place-check:focus-visible{outline:2px solid var(--leaf-ink);outline-offset:3px}

/* Drawer comparison A: leave room for the right control rail. */
html[data-skin=watch][data-drawer-preview=side] body[data-leaf-fusion] #mapWorkspace #fusionShell #fusionPocketPanel{width:calc(100% - 64px)!important}
/* Drawer comparison B: keep navigation and report, restore other controls on close. */
html[data-skin=watch][data-drawer-preview=focus]:has(#fusionPocketPanel:not([hidden])) #fusionShell :is(.watch-face,.map-mode-switch,.fusion-top),
html[data-skin=watch][data-drawer-preview=focus]:has(#fusionPocketPanel:not([hidden])) #yauAdRemove{visibility:hidden!important;pointer-events:none!important}
/* Compact trip cue needs only the place name. */
html[data-skin=watch] #fusionShell #fusionTripCue #fusionCueLabel{display:none!important}

.pocket-transport-icon .ticket-icon[data-ticket-icon=cycling]{width:32px;height:32px}
.pocket-transport-icon .ticket-icon[data-ticket-icon=youbiketravel]{width:48px;height:24px}

/* UI10-38: C is a compact query drawer, sized by its fields. */
body[data-skin="watch"] #fusionLocationDialog,
#fusionLocationDialog{height:auto!important;min-height:0!important;top:auto!important;bottom:96px!important;margin:16px!important;max-height:calc(100dvh - 128px);}
#fusionLocationDialog .fusion-county-entry{margin:10px 0;padding:0;border:0;}
#fusionLocationDialog .fusion-county-entry label{margin:12px 0 6px;}
#fusionLocationDialog h2{font-size:clamp(18px,4.5vw,24px);margin:0 0 12px;}
#fusionLocationDialog #fusionCountyNote{font-size:14px;line-height:1.5;}
#fusionLocationDialog #fusionCountyOfficial{display:none;}

/* UI10-39: round watch push-buttons; square status checks remain distinct. */
html[data-skin=watch] #map .pocket-mode-options{grid-template-columns:repeat(3,64px);gap:8px;justify-content:space-between;margin-top:14px;margin-bottom:12px;}
html[data-skin=watch] #map .pocket-point-menu .pocket-mode-button{position:relative;box-sizing:border-box;width:64px;height:64px;min-height:64px!important;max-height:64px;border-radius:50%!important;border-width:2px!important;padding:0;overflow:visible;}
html[data-skin=watch] #map .pocket-mode-button .pocket-route-check{position:absolute;left:-3px;top:-5px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:30px;line-height:1;background:var(--watch-key);border-radius:2px;color:var(--leaf-ink);}
html[data-skin=watch] #map .pocket-mode-button .pocket-transport-icon{margin-top:6px;}

html[data-skin=watch] #map .pocket-mode-button .pocket-route-check{box-sizing:border-box;border:2px solid var(--watch-rim);border-radius:50%;font-size:0;box-shadow:inset 0 1px 0 var(--watch-highlight);}
html[data-skin=watch] #map .pocket-mode-button[aria-checked=true] .pocket-route-check::after{content:"";width:8px;height:14px;border:solid #25332c;border-width:0 3px 3px 0;transform:translateY(-2px) rotate(45deg);}

html[data-skin=watch] #map .pocket-point-menu .pocket-point-overview{box-sizing:border-box;width:64px;height:64px;min-height:64px!important;border-radius:50%!important;border-width:2px!important;margin:8px auto 0;padding:0;}
html[data-skin=watch] #map .pocket-point-overview>span{display:none;}
html[data-skin=watch] #map .pocket-point-overview .pocket-fit-icon{width:32px;height:32px;flex-basis:32px;}

/* UI10-40: road reports have a visible watch key; debug feedback has one entry. */
#fusionRoadReport{display:none;}
html[data-skin=watch] #fusionToolsDialog [data-tool=roadReport]{display:none!important;}
html[data-skin=watch] body[data-leaf-fusion] #mapWorkspace #fusionShell .fusion-top #fusionRoadReport{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px!important;padding:0!important;border-radius:50%!important;background:var(--small-key-fill)!important;color:#000!important;border:2px solid var(--small-key-rim)!important;box-shadow:var(--small-key-shadow)!important;pointer-events:auto;}
#fusionRoadReport svg{flex-shrink:0;pointer-events:none;}

/* UI10-41: pocket add/remove share the round watch keys. */
html[data-skin=watch] #map .pocket-point-actions{justify-content:center;gap:16px;}
html[data-skin=watch] #map .pocket-point-menu .pocket-point-actions>button{box-sizing:border-box;flex:0 0 64px;width:64px;height:64px;min-height:64px!important;padding:0;border-radius:50%!important;border-width:2px!important;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1;}

/* UI10-42: major transport hubs remain prominent at a quieter 32px. */
html[data-skin=watch] .nation-mobility-icon.nation-mobility-hub{border-radius:8px;box-shadow:0 1px 3px #0006,0 0 0 1px var(--marker-ink);}
html[data-skin=watch] .nation-mobility-icon.nation-mobility-hub .ticket-icon{width:22px;height:22px;}
html[data-skin=watch] .nation-mobility-icon.nation-mobility-hub b{right:-3px;bottom:-4px;font-size:9px;}
