#wx-lunar-tide-section{--lt-bg:#11283b;--lt-card:#102437;--lt-deep:#06111d;--lt-line:rgba(135,190,220,.22);--lt-text:#eef7ff;--lt-muted:#fff;--lt-cyan:#27baf4;--lt-gold:#ffc400;box-sizing:border-box;margin:24px 0;padding:28px 24px 32px;border:1px solid rgba(147,205,235,.4);border-radius:8px;background:linear-gradient(180deg,rgba(35,111,153,.84),rgba(10,29,51,.97));color:var(--lt-text);font-family:var(--wx-font-ui);--lt-font:var(--wx-font-ui);--lt-mono:var(--wx-font-mono);overflow:hidden}
#wx-lunar-tide-section *{box-sizing:border-box;letter-spacing:0}
#wx-lunar-tide-section .wx-lt-container{width:100%;max-width:1400px;margin:auto}
#wx-lunar-tide-section .wx-lt-header{display:flex;justify-content:space-between;gap:20px;padding:0 0 20px;margin-bottom:22px;border-bottom:1px solid rgba(180,220,240,.2)}
#wx-lunar-tide-section .wx-lt-title{margin:0;color:#fff!important;font-size:22px;line-height:1.3}
#wx-lunar-tide-section .wx-lt-title small{margin-left:8px;color:#7794a9;font:700 10px/1 var(--lt-mono);letter-spacing:3px}
#wx-lunar-tide-section .wx-lt-subtitle{margin:8px 0 0;color:#aac4d5!important;font-size:13px}
#wx-lunar-tide-section .wx-lt-main-grid{display:grid;grid-template-columns:minmax(360px,38%) minmax(0,1fr);gap:18px;margin-bottom:18px}
#wx-lunar-tide-section .wx-lt-card,#wx-lunar-tide-section .wx-lt-tide-workbench{min-width:0;border:1px solid var(--lt-line);border-radius:7px;background:rgba(13,34,51,.92);box-shadow:inset 0 1px rgba(255,255,255,.04)}
#wx-lunar-tide-section .wx-lt-card{padding:18px 20px}
#wx-lunar-tide-section .wx-lt-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#wx-lunar-tide-section .wx-lt-card-head h3{margin:0;color:#f5fbff!important;font-size:15px;line-height:1.3}
#wx-lunar-tide-section .wx-lt-card-head>span{color:#6f8799;font:600 11px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-moon-viewport{position:relative;display:flex;align-items:center;justify-content:center;height:320px;border-radius:9px;background:radial-gradient(circle at 50% 45%,#12283d 0,#07131f 60%,#030a11 100%);overflow:hidden}
#wx-lunar-tide-section .wx-lt-moon-3d,#wx-lunar-tide-section #wx-lt-moon-2d{width:250px;height:250px;filter:drop-shadow(0 12px 28px rgba(0,0,0,.65))}
#wx-lunar-tide-section .wx-lt-moon-3d{display:none;position:relative;z-index:2;border-radius:50%;overflow:hidden}
#wx-lunar-tide-section .wx-lt-moon-viewport.is-moon-3d .wx-lt-moon-3d{display:block}
#wx-lunar-tide-section .wx-lt-moon-viewport.is-moon-3d #wx-lt-moon-2d{display:none!important}
#wx-lunar-tide-section .wx-lt-phase{display:flex;flex-direction:column;align-items:center;padding:16px 0;border-bottom:1px solid var(--lt-line)}
#wx-lunar-tide-section .wx-lt-phase strong{font-size:26px}.wx-lt-phase span{margin-top:5px;color:#b8c9d5;font:500 12px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-moon-details-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding-top:12px}
#wx-lunar-tide-section .wx-lt-moon-details-grid>div{display:flex;min-height:58px;flex-direction:column;justify-content:center;padding:9px 12px;border:1px solid rgba(160,200,225,.16);border-radius:6px;background:rgba(255,255,255,.035)}
#wx-lunar-tide-section .wx-lt-moon-details-grid>div:nth-child(-n+2){grid-column:span 3}#wx-lunar-tide-section .wx-lt-moon-details-grid>div:nth-child(n+3){grid-column:span 2}.wx-lt-moon-details-grid span{color:#b7c9d6;font-size:12px;font-weight:500}.wx-lt-moon-details-grid b{margin-top:5px;color:#f2f8fd;font:700 15px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-selected{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;min-height:64px;padding:8px 12px;border:1px solid rgba(38,184,244,.35);border-radius:7px;background:rgba(20,67,91,.25)}
#wx-lunar-tide-section .wx-lt-selected div{display:flex;flex-direction:column}.wx-lt-selected b{font-size:14px;font-weight:700;color:#f5fbff}.wx-lt-selected span{margin-top:4px;color:#d2e2ed;font-size:12px;font-weight:500;line-height:1.4}.wx-lt-selected p{margin:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;color:#d2e2ed;font-size:12px;font-weight:500;line-height:1.4;text-align:right}.wx-lt-selected p .wx-lt-sum-range{color:#d2e2ed}.wx-lt-selected p .wx-lt-sum-range b,.wx-lt-selected p b{color:#6fd8ff;font-weight:700}.wx-lt-selected p .wx-lt-sum-extremes{color:#c8d9e6;font-size:12px;font-weight:500}
#wx-lunar-tide-section .wx-lt-calendar-hint{margin:10px 0 2px;color:#8aa0b0;font-size:11px}
#wx-lunar-tide-section .wx-lt-weekdays,#wx-lunar-tide-section .wx-lt-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
#wx-lunar-tide-section .wx-lt-weekdays span{text-align:center;color:#8aa0b0;font:600 11px/28px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-day-cell{appearance:none;position:relative;display:flex;min-width:0;height:76px;margin:0;padding:5px 3px 4px;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid transparent;border-radius:7px;background:rgba(255,255,255,.035);color:#d6e4ed;box-shadow:none;font:inherit;cursor:pointer}
#wx-lunar-tide-section .wx-lt-day-cell.empty{visibility:hidden}.wx-lt-day-cell.active{border-color:#2ec7ff;background:rgba(28,130,174,.2)}.wx-lt-day-cell.is-today:after{display:none!important;content:none}.wx-lt-day-num{position:absolute;left:5px;top:4px;color:#eef6fb;font-size:11px;font-weight:700;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.45)}.wx-lt-day-canvas{width:34px;height:34px;flex:0 0 auto}.wx-lt-day-range{color:#b7e9ff;font:600 11px/1.2 var(--lt-mono);letter-spacing:0;white-space:nowrap}
#wx-lunar-tide-section .wx-lt-key-phases-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;padding-top:10px;border-top:1px solid var(--lt-line)}
#wx-lunar-tide-section .wx-lt-key-phase-item{appearance:none;display:flex;align-items:center;gap:5px;margin:0;padding:4px 9px;border:1px solid rgba(150,190,215,.22);border-radius:5px;background:rgba(255,255,255,.03);color:#dbe8f0;font:inherit}.wx-lt-key-phase-left{display:flex;align-items:center;gap:4px}.wx-lt-key-phase-canvas{width:24px;height:24px}.wx-lt-key-phase-name,.wx-lt-key-phase-date{font-size:11px}.wx-lt-key-phase-date{margin-left:4px;color:#a8bcc9;font-family:var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-tide-workbench{padding:18px 20px;margin-bottom:18px}
#wx-lunar-tide-section .wx-lt-cycle-card{padding:18px 20px;border:1px solid #1a3851;border-radius:7px;background:rgba(2,10,19,.96)}.wx-lt-cycle-svg-box{position:relative;height:420px}.wx-lt-cycle-card>p{margin:0;padding-top:12px;border-top:1px solid rgba(145,190,215,.15);text-align:center;color:#657b8b;font-size:10px}
#wx-lunar-tide-section .wx-lt-inland-observation:empty,#wx-lunar-tide-section .wx-lt-data-footer:empty{display:none}
#wx-lunar-tide-section.is-inland .wx-lt-tide-workbench,#wx-lunar-tide-section.is-inland .wx-lt-cycle-card,#wx-lunar-tide-section.is-inland .wx-lt-wave-map-card{display:none!important}
@media(max-width:900px){#wx-lunar-tide-section{padding:20px 14px}.wx-lt-main-grid,.wx-lt-tide-layout{grid-template-columns:1fr!important}.wx-lt-tide-summary{padding-right:0!important;border-right:0!important;border-bottom:1px solid var(--lt-line);padding-bottom:16px}.wx-lt-cycle-svg-box{height:300px!important}}
@media(max-width:520px){#wx-lunar-tide-section .wx-lt-header{flex-direction:column}.wx-lt-moon-viewport{height:260px!important}.wx-lt-moon-3d,#wx-lt-moon-2d{width:210px!important;height:210px!important}.wx-lt-selected{grid-template-columns:38px 1fr}.wx-lt-selected p{grid-column:1/-1}.wx-lt-day-cell{height:68px!important;padding:4px 2px!important}.wx-lt-day-canvas{width:28px!important;height:28px!important}.wx-lt-day-num{font-size:10px!important}.wx-lt-day-range,.wx-lt-day-range b,.wx-lt-cell-phase{font-size:10px!important}.wx-lt-moon-details-grid{grid-template-columns:1fr 1fr!important}.wx-lt-cycle-svg-box{height:250px!important}}
#wx-lunar-tide-section .wx-lt-phase em{display:block;margin-top:3px;color:#637c90;font:700 10px/1.2 var(--lt-mono);font-style:normal;letter-spacing:2px}
#wx-lunar-tide-section .wx-lt-phase span{margin-top:9px!important;color:#eef6fb;font-size:14px!important;font-weight:500!important}
#wx-lunar-tide-section .wx-lt-phase span b{color:#fff;font-weight:700}

#wx-lunar-tide-section .wx-lt-chart-grid line{stroke:rgba(112,166,198,.28);stroke-width:.8;stroke-dasharray:3 3}
#wx-lunar-tide-section .wx-lt-night-band{fill:rgba(2,8,18,.28)}
#wx-lunar-tide-section .wx-lt-now-line{stroke:#ffc400;stroke-width:1.2;stroke-dasharray:4 3}
#wx-lunar-tide-section .wx-lt-now-label{fill:#ffc400;font:700 8px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-cycle-svg-box{overflow:hidden}
#wx-lunar-tide-section .wx-lt-cycle-moons{position:absolute;inset:0;pointer-events:none}
#wx-lunar-tide-section .wx-lt-cycle-moons canvas{position:absolute;width:50px;height:50px;filter:drop-shadow(0 4px 10px #000)}
#wx-lunar-tide-section .wx-lt-phase-line{stroke:rgba(255,196,0,.24);stroke-width:1;stroke-dasharray:3 4}
#wx-lunar-tide-section .wx-lt-phase-label{fill:#ffd24d;font:700 12px sans-serif}
#wx-lunar-tide-section .wx-lt-phase-date{fill:#a8bcc9;font:600 10px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-cycle-legend{position:absolute;left:0;right:0;bottom:4px;text-align:center;color:#c3d3dd;font-size:10px}
#wx-lunar-tide-section .wx-lt-cycle-legend span{color:#f59e0b}#wx-lunar-tide-section .wx-lt-cycle-legend b{color:#ffc400}
#wx-lunar-tide-section .wx-lt-key-phase-item{cursor:pointer}#wx-lunar-tide-section .wx-lt-key-phase-item:hover{border-color:rgba(255,196,0,.55);background:rgba(255,196,0,.06)}
#wx-lunar-tide-section .wx-lt-day-cell.is-key-phase{border-color:rgba(255,196,0,.55);background:rgba(89,73,18,.12)}
#wx-lunar-tide-section .wx-lt-cell-phase{position:absolute;right:4px;top:4px;color:#ffd24d;font:700 11px/1 var(--lt-mono);text-shadow:0 1px 2px rgba(0,0,0,.5)}
#wx-lunar-tide-section .wx-lt-day-range{color:#cfe3ef!important;font-size:11px!important;font-weight:600}#wx-lunar-tide-section .wx-lt-day-range b{color:#ffd24d;font:700 11px/1.2 var(--lt-mono)}
/* 中窄屏：日历列变窄时仍保证格内可读 */
@media(max-width:1100px) and (min-width:901px){
  #wx-lunar-tide-section .wx-lt-day-cell{height:84px;padding:6px 2px 5px}
  #wx-lunar-tide-section .wx-lt-day-canvas{width:36px;height:36px}
  #wx-lunar-tide-section .wx-lt-day-num{font-size:12px}
  #wx-lunar-tide-section .wx-lt-day-range,#wx-lunar-tide-section .wx-lt-day-range b,#wx-lunar-tide-section .wx-lt-cell-phase{font-size:12px!important}
}
@media(max-width:900px){
  #wx-lunar-tide-section .wx-lt-day-cell{height:80px}
  #wx-lunar-tide-section .wx-lt-day-num{font-size:12px}
  #wx-lunar-tide-section .wx-lt-day-range,#wx-lunar-tide-section .wx-lt-day-range b,#wx-lunar-tide-section .wx-lt-cell-phase{font-size:12px!important}
  #wx-lunar-tide-section .wx-lt-day-canvas{width:36px;height:36px}
}
#wx-lunar-tide-section .wx-lt-day-cell.active{border-color:#2ec7ff!important;box-shadow:inset 0 0 0 1px rgba(46,199,255,.18)}
#wx-lunar-tide-section .wx-lt-calendar-hint:before{content:"□ 关键相位　";color:#b59200}
#wx-lunar-tide-section.is-inland .wx-lt-selected p{display:none}
#wx-lunar-tide-section.is-inland .wx-lt-selected{grid-template-columns:44px 1fr}
#wx-lunar-tide-section .wx-lt-inland-observation{display:grid;gap:18px;margin-top:18px}
#wx-lunar-tide-section .wx-lt-inland-observation>section{padding:20px 24px;border:1px solid var(--lt-line);border-radius:7px;background:rgba(12,29,48,.92)}
#wx-lunar-tide-section .wx-lt-inland-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
#wx-lunar-tide-section .wx-lt-inland-head h3{margin:0;color:#f3f8fb!important;font-size:15px}
#wx-lunar-tide-section .wx-lt-inland-head span{color:#72899a;font:600 10px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-inland-window-body{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.6fr);align-items:center;gap:36px}
#wx-lunar-tide-section .wx-lt-inland-condition label{display:block;color:#68d4ff;font:700 9px var(--lt-mono);letter-spacing:2px}
#wx-lunar-tide-section .wx-lt-inland-condition strong{display:block;margin-top:12px;color:#eef8ff;font-size:20px}
#wx-lunar-tide-section .wx-lt-inland-condition p{margin:10px 0 14px;color:#9fb1bf;font-size:12px}
#wx-lunar-tide-section .wx-lt-inland-condition>div{display:flex;flex-wrap:wrap;gap:18px;color:#647b8d;font-size:10px}
#wx-lunar-tide-section .wx-lt-inland-condition>div b{margin-left:5px;color:#d9e8f1;font:700 11px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-inland-timeline{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:center}
#wx-lunar-tide-section .wx-lt-inland-timeline:before{content:"";position:absolute;left:12%;right:12%;top:14px;height:1px;background:#3c647d}
#wx-lunar-tide-section .wx-lt-inland-timeline>div{position:relative;display:flex;flex-direction:column;align-items:center}
#wx-lunar-tide-section .wx-lt-inland-timeline i{z-index:1;width:12px;height:12px;margin:8px 0 7px;border:3px solid #071624;border-radius:50%;background:#69d3ff;box-shadow:0 0 0 3px rgba(105,211,255,.14)}
#wx-lunar-tide-section .wx-lt-inland-timeline .peak i{width:15px;height:15px;margin-top:6px;background:#ffc400;box-shadow:0 0 0 4px rgba(255,196,0,.14)}
#wx-lunar-tide-section .wx-lt-inland-timeline span{color:#71899a;font-size:9px}.wx-lt-inland-timeline b{margin-top:4px;color:#f3f8fb;font:700 16px var(--lt-mono)}.wx-lt-inland-timeline small{margin-top:4px;color:#8da1b0;font-size:9px}
#wx-lunar-tide-section .wx-lt-inland-height svg{display:block;width:100%;height:360px;max-height:none;background:#0b1b2d}
#wx-lunar-tide-section .wx-lt-inland-height svg text{fill:#9db0bd;font:9px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-alt-night{fill:rgba(2,7,18,.34)}#wx-lunar-tide-section .wx-lt-alt-dusk{fill:rgba(245,158,11,.08)}
#wx-lunar-tide-section .wx-lt-horizon{stroke:rgba(235,245,252,.72);stroke-width:1;stroke-dasharray:4 3}
#wx-lunar-tide-section .wx-lt-alt-path{fill:none;stroke:#79d5ff;stroke-width:2.5;filter:drop-shadow(0 0 5px rgba(121,213,255,.25))}
#wx-lunar-tide-section .wx-lt-inland-height svg circle{fill:#70d6ff}
#wx-lunar-tide-section .wx-lt-alt-legend{display:flex;justify-content:center;gap:22px;margin-top:10px;color:#a7bac7;font-size:10px}.wx-lt-alt-legend b{color:#ffc400;font-weight:500}
#wx-lunar-tide-section .wx-lt-inland-height{position:relative}
/* tooltip 结构见 live-data-panel-shared.css */
#wx-lunar-tide-section .wx-lt-chart-tooltip{z-index:8;min-width:148px;padding:10px 12px;border:1px solid rgba(91,202,248,.48);background:rgba(4,15,27,.97);box-shadow:0 8px 22px rgba(0,0,0,.42);color:#e8f3fa;font:12px/1.45 var(--lt-font)}
#wx-lunar-tide-section .wx-lt-chart-tooltip b{display:block;margin-bottom:3px;color:#fff;font-size:14px;font-weight:700}#wx-lunar-tide-section .wx-lt-chart-tooltip span,#wx-lunar-tide-section .wx-lt-chart-tooltip small{display:block;color:#c5d7e4;font-size:12px;font-weight:500}#wx-lunar-tide-section .wx-lt-chart-tooltip strong{color:#6fd8ff;font-size:13px;font-weight:700}
#wx-lunar-tide-section .wx-lt-curve-overlays{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:visible}
#wx-lunar-tide-section .wx-lt-curve-mark{position:absolute;transform:translate(-50%,-120%);padding:2px 6px;border-radius:4px;background:rgba(6,18,31,.82);font:700 12px/1.2 var(--lt-font);letter-spacing:.2px;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.55)}
#wx-lunar-tide-section .wx-lt-curve-mark.is-high{color:#ffc2bf;border:1px solid rgba(255,120,117,.35)}
#wx-lunar-tide-section .wx-lt-curve-mark.is-low{color:#9ed4ff;border:1px solid rgba(64,169,255,.35);transform:translate(-50%,35%)}
#wx-lunar-tide-section .wx-lt-curve-mark.is-high.is-flip{transform:translate(-50%,35%)}
#wx-lunar-tide-section .wx-lt-now-badge{position:absolute;top:4px;transform:translateX(-50%);padding:3px 8px;border-radius:4px;background:#ffc400;color:#0a1826;font:800 11px/1 var(--lt-mono);white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.35)}
#wx-lunar-tide-section .wx-lt-hover-line{stroke:rgba(255,255,255,.72);stroke-width:1;stroke-dasharray:4 4;pointer-events:none}
@media(max-width:760px){#wx-lunar-tide-section .wx-lt-inland-window-body{grid-template-columns:1fr;gap:22px}#wx-lunar-tide-section .wx-lt-inland-observation>section{padding:16px}#wx-lunar-tide-section .wx-lt-inland-head{align-items:flex-start;flex-direction:column;margin-bottom:16px}}
#wx-lunar-tide-section .wx-lt-cycle-svg-box{height:460px}
#wx-lunar-tide-section .wx-lt-cycle-moons canvas{width:44px;height:44px}
@media(max-width:900px){#wx-lunar-tide-section .wx-lt-cycle-svg-box{height:380px!important}}
@media(max-width:520px){#wx-lunar-tide-section .wx-lt-cycle-svg-box{height:310px!important}#wx-lunar-tide-section .wx-lt-curve-wrap{height:250px}}
#wx-lunar-tide-section .wx-lt-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
#wx-lunar-tide-section .wx-lt-tide-head-left{display:inline-flex;align-items:center;gap:10px}
#wx-lunar-tide-section .wx-lt-card-head h3{margin:0;font-size:16px;font-weight:700}
#wx-lunar-tide-section .wx-lt-card-head>span{font-size:12px;font-weight:500;color:#8196a5}
#wx-lunar-tide-section .wx-lt-day-tabs-wrap{position:relative;display:flex;align-items:center;gap:8px;margin:0 0 16px}
#wx-lunar-tide-section .wx-lt-day-tabs{display:flex;flex:1 1 auto;flex-wrap:nowrap;gap:6px;margin:0;padding:2px 0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;cursor:grab;touch-action:pan-x}
#wx-lunar-tide-section .wx-lt-day-tabs::-webkit-scrollbar{display:none;width:0;height:0}
#wx-lunar-tide-section .wx-lt-day-tabs.is-dragging{cursor:grabbing;user-select:none}
#wx-lunar-tide-section .wx-lt-day-tabs:empty{display:none}
#wx-lunar-tide-section .wx-lt-day-tabs-wrap:has(.wx-lt-day-tabs:empty){display:none}
#wx-lunar-tide-section .wx-lt-day-tab{appearance:none;display:inline-flex;flex:0 0 auto;min-width:72px;margin:0;padding:8px 10px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(135,190,220,.28);border-radius:8px;background:rgba(255,255,255,.035);color:#d6e6f0;cursor:pointer;font:inherit;transition:border-color .15s,background .15s,color .15s}
#wx-lunar-tide-section .wx-lt-day-tab:hover{border-color:rgba(46,199,255,.55);background:rgba(28,130,174,.14)}
#wx-lunar-tide-section .wx-lt-day-tab.active{border-color:#2ec7ff;background:rgba(28,130,174,.28);box-shadow:inset 0 0 0 1px rgba(46,199,255,.18)}
#wx-lunar-tide-section .wx-lt-day-tab .wx-lt-day-tab-date{color:#eef7ff;font:700 12px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-day-tab .wx-lt-day-tab-week{color:#7f97a8;font:600 10px/1 sans-serif}
#wx-lunar-tide-section .wx-lt-day-tab.active .wx-lt-day-tab-week{color:#9fdfff}
#wx-lunar-tide-section .wx-lt-day-tab.is-today .wx-lt-day-tab-week{color:#ffc400}
#wx-lunar-tide-section .wx-lt-day-tabs-btn{appearance:none;flex:0 0 auto;width:32px;height:48px;margin:0;padding:0;border:1px solid rgba(135,190,220,.28);border-radius:8px;background:rgba(255,255,255,.06);color:#d6e6f0;font-size:22px;line-height:1;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .15s,border-color .15s,background .15s}
#wx-lunar-tide-section .wx-lt-day-tabs-wrap.is-scrollable:not(.is-at-start) .wx-lt-day-tabs-btn--left,
#wx-lunar-tide-section .wx-lt-day-tabs-wrap.is-scrollable:not(.is-at-end) .wx-lt-day-tabs-btn--right{opacity:1;pointer-events:auto}
#wx-lunar-tide-section .wx-lt-day-tabs-btn:hover{border-color:rgba(46,199,255,.55);background:rgba(28,130,174,.18);color:#fff}
@media(max-width:900px){
  #wx-lunar-tide-section .wx-lt-day-tabs-wrap{gap:6px}
  #wx-lunar-tide-section .wx-lt-day-tabs-btn{width:28px;height:44px;font-size:20px}
  #wx-lunar-tide-section .wx-lt-day-tab{min-width:66px;padding:7px 8px}
}
@media(max-width:520px){
  #wx-lunar-tide-section .wx-lt-day-tab{min-width:60px;padding:7px 4px}
  #wx-lunar-tide-section .wx-lt-day-tab .wx-lt-day-tab-date{font-size:11px}
}
#wx-lunar-tide-section .wx-lt-regime-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:12px;font-size:10px;font-style:normal;font-weight:600;letter-spacing:.4px}
#wx-lunar-tide-section .wx-lt-regime-spring{border:1px solid rgba(39,186,244,.5);background:rgba(39,186,244,.12);color:#38d1ff}
#wx-lunar-tide-section .wx-lt-regime-neap{border:1px solid rgba(115,209,61,.45);background:rgba(82,196,26,.1);color:#95de64}
#wx-lunar-tide-section .wx-lt-regime-mid{border:1px solid rgba(250,173,20,.5);background:rgba(250,173,20,.12);color:#ffd026}

#wx-lunar-tide-section .wx-lt-tide-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}
#wx-lunar-tide-section .wx-lt-tide-summary{display:flex;flex-direction:column;gap:12px;padding-right:20px;border-right:1px solid rgba(140,190,220,.12)}
#wx-lunar-tide-section .wx-lt-station-row{display:inline-flex;align-items:center;gap:6px;color:#7b93a4;font-size:11px}
#wx-lunar-tide-section .wx-lt-pin-icon{color:var(--lt-cyan);flex-shrink:0}

#wx-lunar-tide-section .wx-lt-hero-section{padding:4px 0 2px}
#wx-lunar-tide-section .wx-lt-hero-section label{display:block;margin-bottom:6px;color:#a8bcc9;font-size:12px;font-weight:500;letter-spacing:.4px}
#wx-lunar-tide-section .wx-lt-hero-val{display:flex;align-items:baseline;gap:4px;margin-bottom:10px}
#wx-lunar-tide-section .wx-lt-hero-val strong{color:#27c3ff;font-family:var(--lt-mono);font-size:42px;font-weight:700;line-height:1;letter-spacing:-.5px}
#wx-lunar-tide-section .wx-lt-hero-val small{color:#7ca5bb;font-size:15px;font-weight:500}
#wx-lunar-tide-section .wx-lt-trend-row{display:flex;align-items:center;gap:8px}
#wx-lunar-tide-section .wx-lt-trend-row[hidden]{display:none!important}
#wx-lunar-tide-section .wx-lt-trend{display:inline-flex;padding:2px 8px;border:1px solid rgba(39,186,244,.4);border-radius:12px;background:rgba(39,186,244,.1);color:#2dc3ff;font-size:10.5px;font-weight:600}
#wx-lunar-tide-section .wx-lt-trend[hidden]{display:none!important}
#wx-lunar-tide-section .wx-lt-current-speed{color:#8ea6b6;font-size:11px;font-family:var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-current-speed[hidden]{display:none!important}

#wx-lunar-tide-section .wx-lt-sep{height:1px;background:rgba(140,190,220,.12);margin:6px 0}

#wx-lunar-tide-section .wx-lt-next-section{padding:2px 0}
#wx-lunar-tide-section .wx-lt-next-section span{display:block;margin-bottom:5px;color:#a8bcc9;font-size:12px;font-weight:500}
#wx-lunar-tide-section .wx-lt-next-val{color:#e2eff8;font-family:var(--lt-mono);font-size:15px;font-weight:700}
#wx-lunar-tide-section .wx-lt-next-val strong{color:#27c3ff;font-weight:700}

#wx-lunar-tide-section .wx-lt-tide-metrics-list{display:flex;flex-direction:column;gap:10px;padding-top:4px}
#wx-lunar-tide-section .wx-lt-metric-line{display:flex;justify-content:space-between;align-items:baseline;padding:2px 0;font-size:11px}
#wx-lunar-tide-section .wx-lt-metric-line span{color:#a8bcc9;font-weight:500}
#wx-lunar-tide-section .wx-lt-metric-line b{color:#e2eff8;font:700 13px var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-metric-line b.is-high{color:#ff7875}
#wx-lunar-tide-section .wx-lt-metric-line b.is-low{color:#40a9ff}

#wx-lunar-tide-section .wx-lt-chart-side{display:flex;flex-direction:column;min-width:0;padding-top:0}
#wx-lunar-tide-section .wx-lt-celestial-rail{position:relative;display:block;height:42px;margin-bottom:6px;padding:0}
#wx-lunar-tide-section .wx-lt-celestial-rail span{position:absolute;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:12px;border:1px solid rgba(145,190,220,.28);background:rgba(6,18,31,.92);backdrop-filter:blur(4px);transform:translateX(-50%);color:#c5d7e4;font-size:11px;font-weight:500;white-space:nowrap;z-index:2}
#wx-lunar-tide-section .wx-lt-celestial-rail span.moon{top:0}
#wx-lunar-tide-section .wx-lt-celestial-rail span.sun{top:19px}
#wx-lunar-tide-section .wx-lt-celestial-rail span:after{content:"";position:absolute;left:50%;top:100%;width:1px;background:rgba(145,194,218,.35);z-index:1}
#wx-lunar-tide-section .wx-lt-celestial-rail span.moon:after{height:26px}
#wx-lunar-tide-section .wx-lt-celestial-rail span.sun:after{height:7px}
#wx-lunar-tide-section .wx-lt-celestial-rail .sun i{color:#ffc928;font-style:normal;font-size:12px}
#wx-lunar-tide-section .wx-lt-celestial-rail .moon i{color:#9ddfff;font-style:normal;font-size:12px}
#wx-lunar-tide-section .wx-lt-celestial-rail b{color:#dbe8f0;font-weight:600}
#wx-lunar-tide-section .wx-lt-celestial-rail time{color:#ffc928;font-family:var(--lt-mono)}
#wx-lunar-tide-section .wx-lt-celestial-rail .moon time{color:#9ddfff}

#wx-lunar-tide-section .wx-lt-curve-wrap{position:relative;height:205px;min-height:205px;border-radius:6px;background:#0b1c2c;overflow:visible}
#wx-lunar-tide-section .wx-lt-curve-wrap svg{display:block;width:100%;height:100%}
#wx-lunar-tide-section .wx-lt-curve-axis{position:relative;display:block;height:22px;margin-top:4px;padding:0;color:#a8bcc9;font-family:var(--lt-mono);font-size:11px;font-weight:600;line-height:1;overflow:visible}
#wx-lunar-tide-section .wx-lt-curve-axis span{position:absolute;top:0;left:0;transform:translateX(-50%);white-space:nowrap;line-height:1;font-variant-numeric:tabular-nums}
#wx-lunar-tide-section .wx-lt-curve-axis span.is-start{transform:translateX(0)}
#wx-lunar-tide-section .wx-lt-curve-axis span.is-end{transform:translateX(-100%)}

#wx-lunar-tide-section .wx-lt-extremes-section{margin-top:14px;padding-top:12px;border-top:1px solid var(--lt-line)}
#wx-lunar-tide-section .wx-lt-extremes-section .wx-lt-events-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#c5d7e4;font-size:12px;font-weight:600}
#wx-lunar-tide-section .wx-lt-extremes-section .wx-lt-datum-hint{color:#9eb2c1;font-size:11px;font-weight:500}

#wx-lunar-tide-section #wx-lt-tide-events,
#wx-lunar-tide-section .wx-lt-timeline-deck{
  position:relative;
  display:flex!important;
  align-items:stretch;
  justify-content:space-between;
  gap:0;
  padding:12px 16px;
  border-radius:6px;
  background:rgba(255,255,255,.018);
  border:1px solid rgba(140,190,220,.12);
}
#wx-lunar-tide-section .wx-lt-tl-item{
  flex:1 1 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
  padding:4px 6px;
  cursor:default;
}
#wx-lunar-tide-section .wx-lt-tl-time{
  font-family:var(--lt-mono);
  font-size:13px;
  font-weight:700;
  color:#dbe8f0;
  margin-bottom:6px;
  line-height:1;
}
#wx-lunar-tide-section .wx-lt-tl-track{
  position:relative;
  width:100%;
  height:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:6px;
}
#wx-lunar-tide-section .wx-lt-tl-track:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:rgba(140,190,220,.2);
}
#wx-lunar-tide-section .wx-lt-tl-item:first-child .wx-lt-tl-track:before{
  left:50%;
}
#wx-lunar-tide-section .wx-lt-tl-item:last-child .wx-lt-tl-track:before{
  right:50%;
}
#wx-lunar-tide-section .wx-lt-tl-dot{
  position:relative;
  z-index:2;
  width:10px;
  height:10px;
  border-radius:50%;
  border:2px solid #081726;
  transition:transform .2s ease,box-shadow .2s ease;
}
#wx-lunar-tide-section .wx-lt-tl-item:hover .wx-lt-tl-dot{
  transform:scale(1.35);
}
#wx-lunar-tide-section .wx-lt-tl-item.is-high .wx-lt-tl-dot{
  background:#ff4d4f;
  box-shadow:0 0 8px rgba(255,77,79,.7);
}
#wx-lunar-tide-section .wx-lt-tl-item.is-low .wx-lt-tl-dot{
  background:#1890ff;
  box-shadow:0 0 8px rgba(24,144,255,.7);
}
#wx-lunar-tide-section .wx-lt-tl-type{
  font-size:10.5px;
  font-weight:600;
  margin-bottom:2px;
  line-height:1.2;
}
#wx-lunar-tide-section .wx-lt-tl-item.is-high .wx-lt-tl-type{color:#ff7875}
#wx-lunar-tide-section .wx-lt-tl-item.is-low .wx-lt-tl-type{color:#40a9ff}
#wx-lunar-tide-section .wx-lt-tl-val{
  font-family:var(--lt-mono);
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}
#wx-lunar-tide-section .wx-lt-tl-item.is-high .wx-lt-tl-val{color:#ff8583}
#wx-lunar-tide-section .wx-lt-tl-item.is-low .wx-lt-tl-val{color:#62d8ff}
#wx-lunar-tide-section .wx-lt-chart-grid text{fill:#b7c9d6;font-family:var(--lt-font);font-size:11px;font-weight:600}
#wx-lunar-tide-section .wx-lt-today-line{stroke:#f5a900;stroke-width:1.2;stroke-dasharray:4 4}
#wx-lunar-tide-section .wx-lt-today-badge{fill:rgba(245,169,0,.16);stroke:rgba(245,169,0,.6)}
#wx-lunar-tide-section .wx-lt-today-text{fill:#ffc11a;font-family:var(--lt-font);font-size:9px;font-weight:700}
@media(max-width:900px){#wx-lunar-tide-section .wx-lt-tide-layout{grid-template-columns:1fr}#wx-lunar-tide-section .wx-lt-tide-summary{border-right:0}}

/* === 全球海洋气象与浪高流场展示卡片 (Wave Map Card & Frosted Glass Gate) === */
#wx-lunar-tide-section .wx-lt-wave-map-card{margin-top:18px;padding:18px 20px 22px;border:1px solid #1a3851;border-radius:7px;background:rgba(2,10,19,.96);box-shadow:inset 0 1px rgba(255,255,255,.04)}
#wx-lunar-tide-section .wx-lt-wave-head-left{display:flex;flex-direction:column;gap:4px}
#wx-lunar-tide-section .wx-lt-wave-head-left h3{margin:0;color:#f5fbff!important;font-size:16px;font-weight:700;line-height:1.3}
#wx-lunar-tide-section .wx-lt-wave-head-left span{color:#8196a5;font-size:12px;font-weight:500}
#wx-lunar-tide-section .wx-lt-wave-viewport{position:relative;width:100%;height:440px;margin-top:14px;border:1px solid rgba(80,150,190,.28);border-radius:7px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#061522}
#wx-lunar-tide-section .wx-lt-wave-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 32%;filter:brightness(.92) contrast(1.05);transition:transform .6s ease}
#wx-lunar-tide-section .wx-lt-wave-viewport:hover .wx-lt-wave-bg{transform:scale(1.015)}
#wx-lunar-tide-section .wx-lt-wave-legend{position:absolute;left:16px;bottom:16px;z-index:2;padding:8px 12px;border:1px solid rgba(130,190,220,.25);border-radius:6px;background:rgba(4,14,24,.78);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none}
#wx-lunar-tide-section .wx-lt-wave-legend-bar{width:180px;height:6px;border-radius:3px;background:linear-gradient(90deg,#1864ab 0%,#228be6 20%,#40c057 40%,#fab005 65%,#fa5252 85%,#be4bdb 100%);margin-bottom:5px}
#wx-lunar-tide-section .wx-lt-wave-legend-labels{display:flex;justify-content:space-between;width:180px;color:#9cb1c0;font:500 9px var(--lt-mono)}
/* gate 结构见 live-data-panel-shared.css */
#wx-lunar-tide-section .wx-lt-wave-gate{padding:28px 32px;border:1px solid rgba(80,195,255,.38);background:rgba(6,18,31,.76);box-shadow:0 12px 36px rgba(0,0,0,.55),0 0 24px rgba(45,195,255,.12),inset 0 1px 1px rgba(255,255,255,.15)}
#wx-lunar-tide-section .wx-lt-gate-badge{border:1px solid rgba(255,196,0,.45);background:rgba(255,196,0,.12);color:#ffca28}
#wx-lunar-tide-section .wx-lt-gate-badge svg{stroke:#ffca28}
#wx-lunar-tide-section .wx-lt-gate-desc{max-width:440px;color:#a4bece}
#wx-lunar-tide-section .wx-lt-gate-btn-primary{background:linear-gradient(135deg,#1890ff 0%,#096dd9 100%);box-shadow:0 4px 14px rgba(24,144,255,.35)}
#wx-lunar-tide-section .wx-lt-gate-btn-primary:hover{background:linear-gradient(135deg,#40a9ff 0%,#1890ff 100%);box-shadow:0 6px 18px rgba(24,144,255,.45);transform:translateY(-1px)}
#wx-lunar-tide-section .wx-lt-gate-btn-secondary{border:1px solid rgba(130,195,230,.35);background:rgba(255,255,255,.05);color:#d2e4f0!important}
#wx-lunar-tide-section .wx-lt-gate-btn-secondary:hover{background:rgba(255,255,255,.1);border-color:rgba(130,195,230,.6);color:#fff!important}
@media(max-width:900px){
  #wx-lunar-tide-section .wx-lt-wave-viewport{height:380px}
}
@media(max-width:520px){
  #wx-lunar-tide-section .wx-lt-wave-viewport{height:320px}
  #wx-lunar-tide-section .wx-lt-wave-legend{display:none}
}

/* === readability: muted gray text → white === */
#wx-lunar-tide-section{
  --lt-muted:#fff;
  --lt-text:#fff;
}
#wx-lunar-tide-section .wx-lt-title small,
#wx-lunar-tide-section .wx-lt-subtitle,
#wx-lunar-tide-section .wx-lt-card-head>span,
#wx-lunar-tide-section .wx-lt-phase em,
#wx-lunar-tide-section .wx-lt-phase span,
#wx-lunar-tide-section .wx-lt-moon-details-grid span,
#wx-lunar-tide-section .wx-lt-selected span,
#wx-lunar-tide-section .wx-lt-selected p,
#wx-lunar-tide-section .wx-lt-selected p .wx-lt-sum-range,
#wx-lunar-tide-section .wx-lt-selected p .wx-lt-sum-extremes,
#wx-lunar-tide-section .wx-lt-calendar-hint,
#wx-lunar-tide-section .wx-lt-weekdays span,
#wx-lunar-tide-section .wx-lt-key-phase-date,
#wx-lunar-tide-section .wx-lt-cycle-card>p,
#wx-lunar-tide-section .wx-lt-cycle-legend,
#wx-lunar-tide-section .wx-lt-inland-head span,
#wx-lunar-tide-section .wx-lt-inland-condition p,
#wx-lunar-tide-section .wx-lt-inland-condition>div,
#wx-lunar-tide-section .wx-lt-inland-timeline span,
#wx-lunar-tide-section .wx-lt-inland-timeline small,
#wx-lunar-tide-section .wx-lt-alt-legend,
#wx-lunar-tide-section .wx-lt-chart-tooltip span,
#wx-lunar-tide-section .wx-lt-chart-tooltip small,
#wx-lunar-tide-section .wx-lt-day-tab .wx-lt-day-tab-week,
#wx-lunar-tide-section .wx-lt-station-row,
#wx-lunar-tide-section .wx-lt-hero-section label,
#wx-lunar-tide-section .wx-lt-hero-val small,
#wx-lunar-tide-section .wx-lt-current-speed,
#wx-lunar-tide-section .wx-lt-next-section span,
#wx-lunar-tide-section .wx-lt-metric-line span,
#wx-lunar-tide-section .wx-lt-celestial-rail span,
#wx-lunar-tide-section .wx-lt-celestial-rail b,
#wx-lunar-tide-section .wx-lt-curve-axis,
#wx-lunar-tide-section .wx-lt-extremes-section .wx-lt-events-head,
#wx-lunar-tide-section .wx-lt-extremes-section .wx-lt-datum-hint,
#wx-lunar-tide-section .wx-lt-wave-head-left span,
#wx-lunar-tide-section .wx-lt-wave-legend-labels,
#wx-lunar-tide-section .wx-lt-gate-desc,
#wx-lunar-tide-section .wx-lt-day-range,
#wx-lunar-tide-section .wx-lt-tl-time{
  color:#fff !important;
}
#wx-lunar-tide-section .wx-lt-phase-date,
#wx-lunar-tide-section .wx-lt-inland-height svg text,
#wx-lunar-tide-section .wx-lt-chart-grid text{
  fill:#fff !important;
}
#wx-lunar-tide-section .wx-lt-day-tab.active .wx-lt-day-tab-week{
  color:#9fdfff !important;
}
#wx-lunar-tide-section .wx-lt-day-tab.is-today .wx-lt-day-tab-week{
  color:#ffc400 !important;
}
#wx-lunar-tide-section .wx-lt-celestial-rail .sun time,
#wx-lunar-tide-section .wx-lt-celestial-rail .sun i{
  color:#ffc928 !important;
}
#wx-lunar-tide-section .wx-lt-celestial-rail .moon time,
#wx-lunar-tide-section .wx-lt-celestial-rail .moon i{
  color:#9ddfff !important;
}
