/* Page styles for tide_report.html (merged in original order from the former inline <style> blocks) */
/* ===== base ===== */
:root{--ink:#07111c;--blue:#1267df;--orange:#ff7417;--green:#5a8f24;--gold:#f2d99b;--paper:#ffffff;--muted:rgba(7,17,28,.62);--shadow:0 24px 70px rgba(7,23,45,.15)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;color:var(--ink);font-family:Inter,system-ui,"Segoe UI",Arial,sans-serif;background:radial-gradient(circle at 18% 18%,rgba(18,103,223,.13),transparent 32%), radial-gradient(circle at 82% 20%,rgba(242,217,155,.16),transparent 34%), radial-gradient(circle at 50% 92%,rgba(90,143,36,.09),transparent 35%), linear-gradient(180deg,#fff,#f8fafc 56%,#edf3f8 100%);overflow-x:hidden}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(7,17,28,.022) 1px,transparent 1px), linear-gradient(180deg,rgba(7,17,28,.018) 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(circle at 50% 24%,#000 0%,rgba(0,0,0,.55) 45%,transparent 82%)}
@property --tide-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes angleFlow{to{--tide-angle:360deg}}
@keyframes floatCompass{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-7px) rotate(.8deg)}}
@keyframes compassNeedle{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@keyframes pulseLight{0%,100%{opacity:.72;transform:scale(.96)}50%{opacity:1;transform:scale(1.06)}}
@keyframes sweepCard{0%{left:-130%;opacity:.12}30%{opacity:.58}60%{left:100%;opacity:.35}100%{left:-130%;opacity:.12}}
@keyframes waveMoveLeft{0%,100%{transform:translateX(0)}50%{transform:translateX(-28px)}}
@keyframes waveMoveRight{0%,100%{transform:translateX(0)}50%{transform:translateX(28px)}}
@keyframes dotBreath{0%,100%{opacity:.62;transform:scale(.86)}35%{opacity:1;transform:scale(1.08)}68%{opacity:.78;transform:scale(.94)}}
.main{min-height:calc(100vh - 64px);display:grid;place-items:center;padding:18px 20px 4px}
.kicker{margin:0 0 4px;color:rgba(7,17,28,.44);font-size:11px;font-weight:950;letter-spacing:.22em;text-transform:uppercase}
h1{margin:0;font-family:"Harbour Serif",Georgia,"Times New Roman",serif;font-size:clamp(42px,7vw,90px);font-weight:400;font-style:italic;line-height:.86;color:#07172d;letter-spacing:.03em}
h2{margin:8px auto 10px;font-family:"Harbour Serif",Georgia,"Times New Roman",serif;font-size:clamp(20px,2.6vw,32px);font-weight:400;font-style:italic;line-height:1.14;color:#07172d}
.lead{max-width:760px;margin:0 auto 16px;color:rgba(8,21,40,.68);font-size:clamp(13px,1.3vw,16px);line-height:1.5}
.conditions{position:relative;z-index:1;display:grid;gap:8px}
.routes-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.actions{margin-top:16px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.footer{padding:2px 20px 8px;text-align:center;overflow:hidden}
.footer-wave{width:100%;max-width:1000px;margin:0 auto 4px}
.footer-wave svg{width:116%;height:32px;margin-left:-8%;display:block;overflow:visible}
.wave{fill:none;stroke-linecap:round;transform-box:fill-box;transform-origin:center}
.wave-1{stroke:url(#footerGradientFlow);stroke-width:2.1;opacity:.78;animation:waveMoveLeft 24s ease-in-out infinite}
.wave-2{stroke:url(#footerGradientFlowSoft);stroke-width:1.2;opacity:.42;animation:waveMoveRight 32s ease-in-out infinite}
.wave-dot circle{r:4.8;stroke:#fff;stroke-width:1.2;opacity:.88;animation:dotBreath 7s ease-in-out infinite}
.dot-blue circle{fill:var(--blue);filter:drop-shadow(0 0 6px rgba(18,103,223,.52))}
.dot-orange circle{fill:var(--orange);filter:drop-shadow(0 0 7px rgba(255,116,23,.58));animation-delay:-2.3s}
.dot-green circle{fill:var(--green);filter:drop-shadow(0 0 6px rgba(90,143,36,.52));animation-delay:-4.6s}
.footer-copy{margin:0;color:rgba(7,17,28,.60);font-size:11px;line-height:1.2;font-weight:500;text-transform:uppercase;letter-spacing:.14em}
.footer-tagline{margin:2px 0 0;color:rgba(7,17,28,.34);font-size:11px;line-height:1.2;font-weight:500;text-transform:uppercase;letter-spacing:.14em}
@media(max-width:850px){
  .routes-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}
}
@media(max-width:640px){
  .main{padding:12px 10px 2px}
  h1{font-size:clamp(36px,13vw,62px)}
  .lead{font-size:13px;line-height:1.4}
  .routes-grid{grid-template-columns:1fr}
  .footer-wave svg{height:26px}
}
/* ===== tide-reading-motion-fix-css ===== */
/* Motion fix: combine horizontal and vertical tide movement without transform conflicts. */
@property --tide-x{syntax:'<length>'; initial-value:0px; inherits:false;}
@property --tide-y{syntax:'<length>'; initial-value:0px; inherits:false;}
@keyframes tideVerticalMotion{0%,100%{--tide-y:14px;} 50%{--tide-y:-12px;}}
@keyframes tideHorizontalMotion{0%,100%{--tide-x:-18px;} 50%{--tide-x:18px;}}
@keyframes tideMarkerBob{0%,100%{transform:translate(-50%,-50%) translateY(3px);} 50%{transform:translate(-50%,-50%) translateY(-4px);}}
