#shared-tide-station{position:fixed;inset:0;z-index:10;pointer-events:none;color:#2e424b}
#shared-tide-station[hidden]{display:none}
.shared-tide-heading{position:absolute;top:76px;left:50%;width:max-content;max-width:90vw;transform:translateX(-50%);text-align:center;text-shadow:0 1px 12px rgba(255,255,255,.75)}
.shared-tide-heading>span{font-size:9px;letter-spacing:.24em;opacity:.72}
.shared-tide-heading h2{margin:6px 0;font:400 30px Georgia,"Songti SC","STSong",serif;letter-spacing:.35em;text-indent:.35em}
.shared-tide-heading p{margin:0;font:400 13px Georgia,"Songti SC","STSong",serif;letter-spacing:.18em}
.shared-tide-actions{position:absolute;bottom:max(34px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:380px;max-width:calc(100vw - 32px);text-align:center;zoom:var(--access-scale,.85)}
.shared-tide-actions>p{margin:0 0 15px;font-size:11px;letter-spacing:.07em;color:#f4f7f9;text-shadow:0 1px 4px rgba(0,12,24,.9)}
.shared-tide-dock{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:44px 1fr;align-items:center;gap:4px 8px;pointer-events:auto;box-sizing:border-box;height:var(--tour-dock-height);padding:12px 16px;border-radius:16px;border:1px solid var(--tour-morph-border);background:var(--tour-morph-surface);color:var(--tour-morph-ink);box-shadow:var(--tour-morph-shadow);-webkit-backdrop-filter:blur(34px) saturate(1.18);backdrop-filter:blur(34px) saturate(1.18)}
.shared-tide-actions button{display:grid;place-items:center;height:44px;padding:0;border:1px solid transparent;cursor:pointer;font:300 12px "PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;letter-spacing:0;transition:background-color .16s ease,border-color .16s ease}
#shared-tide-back,#shared-tide-continue{width:44px;border-radius:50%;color:rgba(244,247,250,.78);background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(50px);backdrop-filter:blur(50px)}
.shared-tide-dock .tour-arrow{display:block;width:14.4px;height:14.4px;fill:none;stroke:rgba(244,247,250,.68);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:stroke .16s ease}
.shared-tide-dock .tour-arrow-prev{transform:rotate(180deg)}
#shared-tide-toggle{min-width:0;border-radius:8px;background:transparent;color:inherit;line-height:1.4}
#shared-tide-toggle:disabled{cursor:default}
.shared-tide-dock>small{grid-column:1/-1;font-size:9px;line-height:1.4;letter-spacing:.1em;color:var(--muted)}
.shared-tide-actions button:focus-visible{outline:3px solid rgba(0,113,227,.42);outline-offset:2px}
.layout-map-confluence:focus-visible{outline:2px solid #548ba2;outline-offset:4px}
body:not(.ui-dark) #shared-tide-back,body:not(.ui-dark) #shared-tide-continue{color:#242422;background:rgba(255,255,255,.5);border-color:transparent}
body:not(.ui-dark) .shared-tide-dock .tour-arrow{stroke:#777}
body:not(.ui-dark) .shared-tide-dock>small{color:#626267}
@media(hover:hover) and (pointer:fine){
  #shared-tide-back:hover,#shared-tide-toggle:hover,#shared-tide-continue:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.14)}
  .shared-tide-dock button:hover .tour-arrow{stroke:#fff}
  body:not(.ui-dark) #shared-tide-back:hover,body:not(.ui-dark) #shared-tide-toggle:hover,body:not(.ui-dark) #shared-tide-continue:hover{background:rgba(0,0,0,.065);border-color:rgba(0,0,0,.14)}
  body:not(.ui-dark) .shared-tide-dock button:hover .tour-arrow{stroke:#1d1d1f}
}
#shared-tide-back:active,#shared-tide-toggle:active,#shared-tide-continue:active{background:rgba(0,0,0,.12);border-color:rgba(0,0,0,.18);transition-duration:.06s}
body.shared-tide-active #tour-status{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.ui-dark #shared-tide-station{color:#f2f6f7}
.ui-dark .shared-tide-heading,.ui-dark .shared-tide-actions>p{text-shadow:0 1px 8px rgba(12,25,35,.7)}
body .layout-map-item.layout-map-confluence circle{fill:#527f91;stroke:#f3fafb;stroke-width:2}
body .layout-map-item.layout-map-confluence>text{fill:#fff}
body .layout-map-item.layout-map-confluence>text:last-child{fill:#416a7d;font-weight:600}
#catalog-shared-tide{margin-bottom:12px}
#catalog-shared-tide[hidden]{display:none}
@media(max-width:760px){
  .shared-tide-actions{width:min(340px,calc(100vw - 32px));bottom:max(124px,env(safe-area-inset-bottom))}
}
@media(max-width:700px){
  .shared-tide-heading{top:85px}
  .shared-tide-heading h2{font-size:28px}
  .shared-tide-heading>span{font-size:8px}
  .shared-tide-heading p{font-size:11px}
  .shared-tide-actions>p{font-size:10px;line-height:1.7;margin-bottom:10px}
  body.shared-tide-active .mobile-pad{opacity:0;pointer-events:none}
}
@media(max-width:700px),(pointer:coarse){.shared-tide-dock{padding-top:6px;padding-bottom:6px}}
@media(max-height:650px){.shared-tide-heading{top:67px;display:flex;align-items:center;gap:12px}.shared-tide-heading>span{display:none}.shared-tide-heading h2{font-size:24px;margin:0}.shared-tide-heading p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.shared-tide-actions button,.shared-tide-dock .tour-arrow{transition:none}}
