:root{ --ink:#4f6472; --tcl-cbeaf0:#CBEAF0; --split:38%;
  --panel-w:605px; --panel-h:635px; --panel-top:20px; --panel-right:15px; }
*{box-sizing:border-box}
html,body{margin:0;height:100%;font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",Meiryo,sans-serif;color:var(--ink);background:#0a2a55}
#map{position:absolute;inset:0;z-index:1}
.logo{position:absolute;left:20px;top:20px;z-index:8;width:100px;height:93px;object-fit:contain;cursor:pointer;
  filter:drop-shadow(0 4px 4px rgba(0,113,206,.5)) drop-shadow(0 2px 6px rgba(0,0,0,.45))}
.toolbar{position:absolute;left:0;bottom:0;z-index:6;
  padding:10px;display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(to bottom,rgba(205,236,255,.9),rgba(255,255,255,.7));
  border:1px solid var(--tcl-cbeaf0);border-left:none;border-radius:0 16px 16px 0;
  backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:0 6px 16px rgba(49,93,122,.12)}
.grp{display:flex;flex-direction:column;gap:5px}
.tbtn{width:74px;height:74px;border:1px solid rgba(255,255,255,.5);border-radius:14px;
  background:rgba(234,247,255,.5);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 8px;
  color:var(--ink);font-family:"Noto Sans JP";font-weight:600;font-size:15px;line-height:1;
  box-shadow:0 6px 18px rgba(0,125,204,.18), inset 0 1px 2px rgba(255,255,255,.18);transition:transform .08s ease}
.tbtn:hover{transform:translateY(-1px)}
.tbtn .ic{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:3px 6px}
.tbtn .ic img{width:20px;height:20px;display:block}
.ic.flow{background:linear-gradient(to bottom,#54c2ff,#2d9cff)}
.ic.temp{background:linear-gradient(to bottom,#167bff,#43b8ff)}
.ic.salt{background:linear-gradient(to bottom,#5f35d8,#9a6bff)}
.ic.sec{background:linear-gradient(to bottom,#009ec2,#1edfd2)}
.ic.tbl{background:linear-gradient(to bottom,#2f9fd0,#1f7bb0)}
.tbtn .ic svg{width:20px;height:20px;display:block}
.tbtn.active{background:linear-gradient(to bottom,#20c9c3,#0ba7a3);border-color:rgba(11,167,163,.5);color:#fff;filter:drop-shadow(0 0 7px rgba(19,193,186,.35))}
.tbtn:disabled{opacity:.4;filter:grayscale(1);cursor:not-allowed;pointer-events:none}
.tbtn:disabled:hover{transform:none}
.dbtn{width:74px;height:40px;border:1px solid rgba(255,255,255,.5);border-radius:14px;
  background:rgba(234,247,255,.5);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);cursor:pointer;
  color:var(--ink);font-family:"Noto Sans JP";font-weight:700;font-size:15px;
  box-shadow:0 6px 18px rgba(0,125,204,.18), inset 0 1px 2px rgba(255,255,255,.18)}
.dbtn.active{background:linear-gradient(to bottom,#5faacb,#2a8eb9);border-color:#2a8eb9;color:#fff;box-shadow:0 0 14px rgba(46,152,244,.3),0 6px 18px rgba(0,125,204,.18)}
.rightcol{position:absolute;top:0;left:var(--split);right:0;bottom:0;z-index:5;display:flex;flex-direction:column;pointer-events:none}
.area-date{pointer-events:auto;flex:0 0 auto;padding:15px 30px 15px 15px;display:flex;flex-direction:column;gap:15px;
  background:linear-gradient(to bottom,rgba(205,236,255,.9),rgba(255,255,255,.7));
  border-bottom:1px solid var(--tcl-cbeaf0);border-left:1px solid var(--tcl-cbeaf0);border-bottom-left-radius:16px;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(10,59,102,.14)}
.area-logo{display:flex;align-items:center;justify-content:space-between}
.furuno{width:120px;height:14px}.furuno img{width:100%;height:100%;display:block;object-fit:contain}
.logo-right{display:flex;align-items:center;gap:14px}
.panel-close{flex:0 0 auto;width:28px;height:28px;border-radius:8px;border:1px solid rgba(10,59,102,.25);background:rgba(255,255,255,.55);color:#4f6472;font-size:18px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;pointer-events:auto}
.panel-close:hover{background:rgba(255,255,255,.9)}
.area-date.closed{display:none}
.date-reopen{position:fixed;top:14px;right:20px;z-index:8;display:none;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:14px;cursor:pointer;pointer-events:auto;
  border:1px solid rgba(255,255,255,.5);background:rgba(6,52,86,.55);color:#fff;font-size:13px;font-weight:700;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 6px 18px rgba(10,59,102,.2)}
.date-reopen.show{display:flex}
.date-reopen svg{width:18px;height:18px}
.cards{display:flex;gap:10px;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}
.card{flex:0 0 auto;width:90px;height:55px;border:1px solid rgba(255,255,255,.5);border-radius:14px;background:rgba(234,247,255,.5);
  display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:0 6px 16px rgba(49,93,122,.1),inset 0 1px 6px rgba(255,255,255,.45)}
.card .d{display:flex;align-items:flex-end;gap:2px;font-family:"Inter";font-weight:600;color:#4f6472}
.card .d .dt{display:inline-flex;align-items:baseline}
.card .d .wd{font-family:"Noto Sans JP";font-weight:600;font-size:12px;margin-left:2px}
.card .d .wd.sun{color:red}
.card.active{background:linear-gradient(to bottom,#4dd0ff,#2ea8ff);border-color:#2ea8ff;box-shadow:0 0 7px rgba(46,168,255,.35),inset 0 1px 2px rgba(255,255,255,.18)}
.card.disabled{opacity:.4;filter:grayscale(1);cursor:not-allowed;pointer-events:none}
.card.partial{box-shadow:inset 0 0 0 1px rgba(224,102,45,.55),0 6px 16px rgba(49,93,122,.1)}
.card.active .d,.card.active .d .wd{color:#fff}
.card.active .d .wd.sun{color:#ffe0e0}
.tl{display:flex;align-items:center;gap:10px;height:30px}
.play{width:30px;height:30px;border-radius:14px;border:1px solid #2ea8ff;background:linear-gradient(to bottom,#4dd0ff,#2ea8ff);cursor:pointer;flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0;box-shadow:0 6px 8px rgba(49,93,122,.1),inset 0 1px 6px rgba(255,255,255,.45)}
.play svg{display:block;fill:#fff}
.play .i-stop{display:none}
.play.playing .i-play{display:none}
.play.playing .i-stop{display:block}
.track{position:relative;flex:1;height:20px;display:flex;align-items:center;touch-action:none;user-select:none;cursor:grab}
.track.scrubbing{cursor:grabbing}
.track .bar{position:absolute;left:0;right:0;height:4px;border-radius:2px;background:#8e8b8b}
.track .hours{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden;pointer-events:none}
.track .hours .h{position:absolute;top:50%;transform:translate(-50%,-50%);font:500 12px "Inter",system-ui,sans-serif;color:#8b9298;white-space:nowrap}
.track .navail{position:absolute;top:50%;transform:translateY(-50%);height:6px;border-radius:3px;width:0;background:repeating-linear-gradient(45deg,#b9c0c7,#b9c0c7 3px,#d9dee3 3px,#d9dee3 6px)}
.track .fill{position:absolute;left:0;height:4px;border-radius:2px;background:#2ea8ff;width:0}
.track .pill{position:absolute;top:-2px;height:20px;padding:0 8px;border-radius:10px;background:#2ea8ff;color:#fff;font-family:"Inter";font-weight:600;font-size:12px;display:flex;align-items:center;transform:translateX(-50%);box-shadow:0 1px 2px rgba(0,43,82,.2);white-space:nowrap}
.track input[type=range]{position:absolute;left:0;right:0;width:100%;height:20px;margin:0;opacity:0;cursor:pointer}
.suninfo{display:none;gap:14px;font-size:12px;font-weight:700;color:#3a6a8c}
.suninfo .si{font-variant-numeric:tabular-nums}
.detailwrap{flex:1;min-height:0;position:relative;pointer-events:none}
.detailview{position:absolute;top:var(--panel-top);right:var(--panel-right);left:auto;bottom:auto;width:var(--panel-w);height:var(--panel-h);max-width:calc(100% - var(--panel-right) - 10px);max-height:calc(100% - var(--panel-top) - 10px);display:none;flex-direction:column;color:#fff;overflow:hidden;pointer-events:auto;
  border:5px solid rgba(255,255,255,.7);border-radius:15px;box-shadow:0 12px 30px rgba(6,34,60,.28);
  background:#ffffff}
.detailview.show{display:flex}
.fishbg{display:none}   
.panel-drag{display:none}   
.dv-body{flex:0 0 auto;overflow-x:auto;overflow-y:hidden;position:relative;z-index:1;margin-left:-1px;cursor:grab}
.dv-body.dv-grabbing{cursor:grabbing;user-select:none;-webkit-user-select:none}
.dv-sky{position:absolute;left:0;top:0;z-index:-1;pointer-events:none}
.dv-loading-tip,.loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:none;
  flex-direction:column;align-items:center;gap:12px;padding:22px 30px;border-radius:16px;
  background:rgba(8,30,58,.62);color:#eaf4ff;font-size:13px;font-weight:600;letter-spacing:.02em;
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  box-shadow:0 8px 28px rgba(0,0,0,.34);pointer-events:none;white-space:nowrap;text-align:center}
.dv-loading-tip{z-index:3}
.detailview.dv-loading .dv-loading-tip{display:flex}
.dv-wave{width:120px;height:26px;overflow:hidden;flex:0 0 auto}
.dv-wave svg{display:block;width:240px;height:26px;animation:dvwave 2.4s linear infinite}
.dv-wave path{fill:none;stroke:#5bb8ff;stroke-width:2;stroke-linecap:round}
@keyframes dvwave{to{transform:translateX(-120px)}}
.dv-sk{display:block;flex:0 0 auto;position:relative;overflow:hidden;background:rgba(255,255,255,.16)}
.dv-sk::after{content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.45) 50%,transparent 65%);
  transform:translateX(-100%);animation:dvsheen 1.8s linear infinite;
  animation-delay:calc(var(--sk-i,0) * -0.1s)}
@keyframes dvsheen{to{transform:translateX(100%)}}
.dv-sk.arw{width:32px;height:32px;border-radius:4.4px}   
.dv-sk.bar{width:60px;height:20px;border-radius:5px}     
.dv-sk.tide{width:44px;height:14px;border-radius:4px}    
.dv-cell.tideval .dv-sk{background:rgba(6,38,60,.13)}
.dv-cell.tideval .dv-sk::after{background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.8) 50%,transparent 65%)}
.dv-cell.tideval.dv-night .dv-sk{background:rgba(255,255,255,.18)}
.dv-cell.tideval.dv-night .dv-sk::after{background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.45) 50%,transparent 65%)}
.dv-row{display:flex;align-items:stretch;width:max-content;min-width:100%}
.dv-row.head{height:60px;position:sticky;top:0;z-index:3;font-weight:600;font-family:"Inter"}
.dv-row.weather{height:69px;margin-top:-1px}   
.dv-row.tide-vals{margin-top:-1px}             
.dv-row.depth{height:145px;margin-top:-1px}    
.dv-cell.dayfirst{box-shadow:inset 2px 0 0 rgba(255,255,255,.55)}
.dv-row .dv-cell.dayfirst:nth-child(2){box-shadow:none}
.dv-date{position:absolute;top:4px;z-index:4;transform:translateX(-50%);height:30px;min-width:70px;
  box-sizing:border-box;padding:0 12px;border-radius:8px;background:rgba(255,255,255,.6);color:#000;
  display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;pointer-events:none}
.dv-date[hidden]{display:none}   
.dv-date b{font-family:"Inter";font-weight:600;font-size:16px;line-height:1}
.dv-date i{font-family:"Inter","Noto Sans JP";font-weight:500;font-size:12px;font-style:normal;line-height:1}
.dv-row.depth:nth-last-child(3){background:linear-gradient(to bottom,#97d7e4,#6dc6d8 50%,#2faec7)}
.dv-row.depth:nth-last-child(2){background:linear-gradient(to bottom,#6eb6c6,#208ea7 50%,#166375)}
.dv-row.depth:nth-last-child(1){background:linear-gradient(to bottom,#106e87,#0c647b 50%,#053e4d)}
.dv-row.depth:nth-last-child(3) .dv-lab{background:linear-gradient(to bottom,#97d7e4,#6dc6d8 50%,#2faec7);color:#fff}
.dv-row.depth:nth-last-child(2) .dv-lab{background:linear-gradient(to bottom,#6eb6c6,#208ea7 50%,#166375);color:#fff}
.dv-row.depth:nth-last-child(1) .dv-lab{background:linear-gradient(to bottom,#106e87,#0c647b 50%,#053e4d);color:#fff}
.dv-row.tide-vals{height:55px}   
.dv-cell.tideval{color:#000;font-weight:700;font-family:"Inter"}
.dv-cell.tideval.dv-night{color:#eaf4ff}   
.dv-cell.tideval small{font-size:9px;font-weight:700;margin-left:1px;opacity:.85}
.dv-lab{position:sticky;left:0;z-index:2;min-width:91px;width:91px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#e8eced;font-family:"Inter";font-size:14px;font-weight:700;color:#1c3a44;border-right:1px solid #fff}
.dv-lab small{font-size:10px;color:#4a7f90;font-weight:600;margin-top:2px}
.dv-row.head .dv-lab{background:#e8eced;color:#1c3a44}
.dv-lab .dv-ico{display:block;flex:0 0 auto}
.dv-lab.wx-lab{flex-direction:column;align-items:center;justify-content:center;gap:0;padding:0 15px}
.dv-lab .dv-lrow{display:flex;align-items:center;gap:5px}
.dv-lab.tide-lab{flex-direction:row;align-items:center;justify-content:center;gap:5px;padding:0 15px}
.dv-lab .dv-ltxt{font-family:"Inter","Noto Sans JP";font-size:12px;font-weight:400;color:#666;
  line-height:1.4;text-align:left;white-space:nowrap;width:var(--dv-ltw,24px)}
.dv-lab .dv-ico.thermo,.dv-lab .dv-ico.air,.dv-lab .dv-ico.wave{width:20px;height:20px}
body.lang-en .dv-lab.wx-lab,body.lang-en .dv-lab.tide-lab{padding:0 2px}
body.lang-en .dv-lab{--dv-ltw:58px}
body.lang-en .dv-lab .dv-ltxt{font-size:10px}
.dv-row.depth .dv-lab{font-size:17px}
.dv-lab small.u{font-size:8px;color:inherit;font-weight:700;margin-top:0;margin-left:1px}
.dv-lab.dv-lab-sel{gap:8px}
.dv-lab .dv-nbgrp{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%}
.dv-lab.dv-lab-sel{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.dv-lab.dv-lab-sel.dragging{cursor:grabbing}
.dv-lab .dv-nb{font-weight:700;line-height:1.05;white-space:nowrap}
.dv-lab .dv-nb:hover{color:rgba(255,255,255,.9)}
.dv-lab .dv-nb.near{font-size:12px;color:rgba(255,255,255,.6)}
.dv-lab .dv-nb.far{font-size:9px;color:rgba(255,255,255,.3)}
.dv-lab .dv-nb.near small.u{font-size:6px}
.dv-lab .dv-nb.far small.u{font-size:4px}
.dv-lab .dv-cur{width:100%;display:flex;align-items:center;justify-content:center;padding:5px 0;color:#fff;
  background:linear-gradient(to bottom,rgba(255,255,255,.5),rgba(168,222,255,.2) 64.9%);
  box-shadow:0 1px 1px rgba(0,0,0,.25),inset 0 -1px 0 rgba(49,84,136,.3),inset 0 1px 0 rgba(255,255,255,.3)}
.dv-cell{min-width:80px;width:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-family:"Inter";font-size:14px}
.dv-row.head .dv-cell{justify-content:flex-end;padding-bottom:8px;background:transparent;color:#06263c}
.dv-row.head .dv-cell.dv-night{color:#eaf4ff}   
.dv-row.depth:nth-last-child(3) .dv-cell.now{background:linear-gradient(to bottom,#6bbcde,#4dadd2 50%,#2198c2)}
.dv-row.depth:nth-last-child(2) .dv-cell.now{background:linear-gradient(to bottom,#4e9fc1,#177ca2 50%,#105772)}
.dv-row.depth:nth-last-child(1) .dv-cell.now{background:linear-gradient(to bottom,#0b6083,#085878 50%,#04364b)}
.dv-cell.navail{opacity:.28;background:repeating-linear-gradient(45deg,rgba(255,255,255,.04),rgba(255,255,255,.04) 4px,transparent 4px,transparent 8px)}
.dv-cell.wx .wx-na{color:#5a7d8c;font-weight:700}
.dv-cell.wx{position:relative;justify-content:flex-end;padding-bottom:12px;gap:10px}
.dv-cell.wx .wx-grp{position:absolute;top:6px;z-index:1;transform:translateX(-50%);height:26px;
  display:flex;align-items:center;justify-content:center;white-space:nowrap}
.dv-cell.wx .wx-pill{gap:15px;padding:6px 15px;border-radius:13px;background:rgba(255,255,255,.5)}
.dv-cell.wx .wx-t,.dv-cell.wx .wx-w{color:#000;font-weight:400;font-size:14px;line-height:1;display:flex;align-items:baseline}
.dv-cell.wx .wx-t small,.dv-cell.wx .wx-w small{font-size:9px;font-weight:400;margin-left:1px;opacity:.85}
.dv-cell.wx .wx-arrow{display:flex;color:#000;line-height:0}
.dv-cell.wx .wx-arrow svg{width:12px;height:8.3px;display:block}
.dv-cell.wx .wx-astro{display:flex;align-items:center;justify-content:center;gap:5px}
.dv-cell.wx .wx-astro-t{font-weight:400;font-size:14px;color:#12455f;white-space:nowrap}
.dv-cell.wx .wx-sun-ic{position:relative;width:16px;height:12px;flex:0 0 auto}
.dv-cell.wx .wx-sun{position:absolute;top:0;left:0;width:16px;height:8.73px;display:block}
.dv-cell.wx .wx-horizon{position:absolute;top:10.5px;left:0;width:16px;height:1.5px;background:#FE8D2B}
.dv-cell.wx .wx-moon{display:block;width:12px;height:12px;flex:0 0 auto;line-height:0}
.dv-cell.wx .wx-moon svg{display:block;width:12px;height:12px}
.dv-cell.wx.dv-night .wx-astro-t{color:#eaf4ff}
.dv-cell.wx.dv-night .wx-na{color:#9db6c4}
.oss-dialog{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:rgba(7,17,31,.45)}
.oss-dialog[hidden]{display:none}
.oss-license-card{background:rgba(23,66,77,.7);backdrop-filter:blur(7.5px);-webkit-backdrop-filter:blur(7.5px);
  color:#fff;width:min(92vw,640px);max-height:82vh;display:flex;flex-direction:column;gap:20px;
  border-radius:10px;padding:25px 25px 0;box-shadow:0 12px 40px rgba(0,0,0,.35);
  font-family:"Inter","Noto Sans JP",system-ui,sans-serif}
.oss-license-head{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto}
.oss-license-head h2{margin:0;font-size:18px;font-weight:600;color:#fff}
.oss-license-close{flex:0 0 auto;width:34px;height:34px;border-radius:25px;border:1px solid #d8dad6;cursor:pointer;
  background:linear-gradient(to bottom,#fff 30%,#d7d9d5);box-shadow:0 2px 2px rgba(0,0,0,.15);
  display:flex;align-items:center;justify-content:center;padding:0}
.oss-license-close img{width:20px;height:20px;display:block}
.oss-license-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:25px;
  display:flex;flex-direction:column;gap:25px}
.oss-license-body section{display:flex;flex-direction:column;gap:8px}
.oss-license-body h3{margin:0;font-size:16px;font-weight:600;color:#fff}
.oss-license-body p{margin:0;font-size:14px;font-weight:400;line-height:1.5;color:#fff;word-break:break-word}
.oss-license-body a{color:#fff;text-decoration:underline}
.about-dialog{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;
  background:rgba(7,17,31,.45);padding:20px}
.about-dialog[hidden]{display:none}
.about-card{position:relative;width:min(599px,100%);box-sizing:border-box;
  display:flex;flex-direction:column;align-items:center;gap:30px;padding:50px;border-radius:20px;
  background:radial-gradient(154.08% 100% at 50% 0%,#ffffff 0%,#c5f4ff 29.634%,#8beaff 59.268%,#57bcff 100%);
  box-shadow:0 12px 40px rgba(0,0,0,.35)}
.about-logo{display:block;width:100px;height:94px;flex:0 0 auto}
.about-desc{width:100%;display:flex;flex-direction:column;align-items:center;gap:30px}
.about-block{display:flex;flex-direction:column;align-items:center;gap:30px;width:100%}
.about-text{margin:0;width:100%;font:500 14px/1.6 "Noto Sans JP",sans-serif;color:#004ea2;word-break:break-word}
.about-link{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 15px;border-radius:20px;
  background:#fff;filter:drop-shadow(0 4px 2px #5bbbf3);text-decoration:none;
  font:500 14px/1 "Noto Sans JP",sans-serif;color:#004ea2;white-space:nowrap}
.about-link img{display:block;width:20px;height:20px;flex:0 0 auto}
.about-furuno{display:block;width:120px;height:9px;flex:0 0 auto}
.about-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border-radius:25px;
  border:1px solid #e5e5e5;background:#fff;cursor:pointer;padding:0;
  display:flex;align-items:center;justify-content:center}
.about-close img{display:block;width:20px;height:20px}
@media (max-width:640px){
  .about-dialog{padding:15px}
  .about-card{gap:20px;padding:30px 20px}
  .about-text{font-size:13px}
  .about-link{font-size:13px;white-space:normal;text-align:center}
}
.dv-cell .arrow{width:32px;height:32px;border-radius:4.4px;background:rgba(22,141,156,.9);display:flex;align-items:center;justify-content:center;color:#fff}
.dv-cell .arrow svg{width:21px;height:21px;display:block}
.dv-badge{height:20px;width:60px;border-radius:5px;font-family:"Inter";font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;color:#fff}
.dv-badge small{font-size:9px;font-weight:700;margin-left:1px;opacity:.9}
.dv-badge.spd{background:#168d9c}.dv-badge.tmp{background:rgba(36,93,212,.9)}.dv-badge.sal{background:rgba(89,87,190,.9)}
.dv-updcol{flex:0 0 auto;width:120px;min-width:120px;display:flex;align-items:center;justify-content:center}
.dv-row.head .dv-updcol{background:transparent}
.upd-ring{position:relative;width:100px;height:100px;display:flex;align-items:center;justify-content:center;color:#fff}
.upd-ring .upd-dots{position:absolute;inset:0;overflow:visible;pointer-events:none}
.upd-ring .upd-dots circle{fill:rgba(255,255,255,.9)}
.upd-ring .upd-dots .upd-circle{fill:none;stroke:rgba(255,255,255,.28);stroke-width:1.3}
.upd-ring .upd-txt{display:flex;flex-direction:column;align-items:center;gap:3px;z-index:1}
.upd-ring .upd-lab{font-family:"Noto Sans JP";font-size:11px;font-weight:600}
.upd-ring .upd-time{font-family:"Inter";font-size:16px;font-weight:700;letter-spacing:.5px}
@keyframes updSpin{to{transform:rotate(360deg)}}
@keyframes updTwinkle{0%,100%{opacity:1}50%{opacity:.15}}
.upd-ring .upd-dots{transform-box:view-box;transform-origin:50% 50%;animation:updSpin 30s linear infinite}
.upd-ring::before{content:"";position:absolute;inset:3.35px;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(255,255,255,0) 0deg,rgba(255,255,255,0) 170deg,
    rgba(255,255,255,.22) 265deg,#fff 350deg,rgba(255,255,255,0) 360deg);
  -webkit-mask:radial-gradient(closest-side,#0000 calc(100% - 1.3px),#000 calc(100% - 1.3px));
          mask:radial-gradient(closest-side,#0000 calc(100% - 1.3px),#000 calc(100% - 1.3px));
  animation:updSpin 4s linear infinite}
.upd-ring .upd-dots circle:not(.upd-circle){animation:updTwinkle 3.2s ease-in-out infinite}
.upd-ring .upd-dots circle:nth-child(4n+3){animation-delay:-.8s}
.upd-ring .upd-dots circle:nth-child(4n+4){animation-delay:-1.6s}
.upd-ring .upd-dots circle:nth-child(4n+5){animation-delay:-2.4s}
.dv-close{position:absolute;right:12px;top:7px;z-index:6;width:30px;height:30px;border-radius:50%;border:none;background:#fff;color:#2a3b44;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(10,59,102,.25)}
.dv-close:hover{background:#eef3f5}
.sectionview{position:absolute;top:var(--panel-top);right:var(--panel-right);left:auto;bottom:auto;width:var(--panel-w);height:var(--panel-h);max-width:calc(100% - var(--panel-right) - 10px);max-height:calc(100% - var(--panel-top) - 10px);z-index:9;display:none;flex-direction:column;overflow:hidden;pointer-events:none;
  border:5px solid rgba(255,255,255,.7);border-radius:15px;box-shadow:0 12px 30px rgba(6,34,60,.28);
  background:linear-gradient(157deg,#2f83b8 0%,#175d89 52%,#0b3a5e 100%)}
.sectionview.show{display:flex;pointer-events:auto}
.svc-main{flex:1 1 auto;min-height:0;position:relative}
.svc-stage{position:absolute;inset:0}
.sv-cyl-viewport{position:absolute;inset:0;border-radius:12px;background:transparent}
.sv-cyl-viewport .cyl-wrap{position:absolute;inset:0}   
.sv-cyl-viewport canvas{display:block;width:100%!important;height:100%!important}
.sv-cyl-viewport .cyl-fail{color:#ffd0d0;font-size:12px;text-align:center;padding:90px 12px;font-family:"Noto Sans JP"}
.svc-cards{position:absolute;left:64.2%;right:0;width:max-content;margin-left:auto;margin-right:auto;
  top:50%;transform:translateY(-50%);z-index:2;display:flex;flex-direction:column;justify-content:center;gap:10px;
  background:rgba(20,49,76,.3);border-radius:5px;padding:10px}
.svc-card{display:flex;align-items:center;gap:8px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.5)}
.svc-card:last-child{border-bottom:0;padding-bottom:0}
.svc-ckeys{display:flex;flex-direction:column;gap:5px}
.svc-ckeys .svc-k{min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;white-space:nowrap;color:#f5f5f5;font-family:"Noto Sans JP";font-weight:700;font-size:10px}
.svc-k .lb-pc,.svc-k .lb-sp{font-weight:inherit}
.svc-k .lb-sp{display:none}
.svc-ckeys .svc-k.dir{height:32px}
.svc-cvals{display:flex;flex-direction:column;align-items:center;gap:5px}
.svc-arw{width:32px;height:32px;border-radius:4.4px;background:rgba(22,141,156,.9);display:flex;align-items:center;justify-content:center}
.svc-arw svg{width:21px;height:21px;display:block}
.svc-arw.none{background:none;color:#f5f5f5;font-weight:700}
.svc-badge{width:70px;height:20px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-family:"Inter";font-weight:700;font-size:14px;color:#fff}
.svc-badge small{font-size:9px;margin-left:1px;opacity:.9}
.svc-badge.dep{background:#0095ff}
.svc-badge.spd{background:#168d9c}.svc-badge.tmp{background:rgba(36,93,212,.9)}.svc-badge.sal{background:rgba(89,87,190,.9)}
.sv-close{position:absolute;right:6px;top:2px;z-index:4;width:32px;height:32px;border-radius:50%;border:none;
  background:#fff;color:#2a3b44;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(6,34,60,.28)}
.sv-close:hover{background:#eef3f5}
.sv-drag{display:none}
.sv-date{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:4;box-sizing:border-box;
  padding:5px 15px;border-radius:5px;background:rgba(20,49,76,.3);color:#fff;
  font-family:"Inter";font-weight:700;font-size:16px;line-height:1;white-space:nowrap;pointer-events:none}
.sv-date:empty{display:none}   
.loading{z-index:20}
body.panel-open .loading{left:calc(var(--split) / 2)}
.loading.show{display:flex}
.loading.ld-fail .dv-wave{display:none}
.toast{position:absolute;left:35%;bottom:28px;transform:translateX(-50%);z-index:20;display:none;padding:9px 16px;border-radius:12px;font-size:12px;font-weight:700;color:#0b3a5b;background:rgba(255,255,255,.92);box-shadow:0 6px 16px rgba(49,93,122,.18)}
.toast.show{display:block}
#splash{position:fixed;inset:0;z-index:9999;display:none;cursor:pointer;color:#004ea2;
  flex-direction:column;align-items:center;justify-content:space-between;
  padding:15vh 0 0;overflow:hidden;
  font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",Meiryo,sans-serif;
  background:linear-gradient(to bottom,#d0e5f8 0%,#dff8ff 50%,#a7d2ff 100%);
  -webkit-tap-highlight-color:transparent;opacity:1;transition:opacity .5s ease}
#splash.hide{opacity:0;pointer-events:none}
#splash .splash-bg{position:absolute;inset:0;z-index:0;pointer-events:none;isolation:isolate;
  background:linear-gradient(to bottom,#d0e5f8 0%,#dff8ff 50%,#a7d2ff 100%)}
#splash .splash-bg-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:50% 0;mix-blend-mode:overlay;opacity:.55}
#splash .splash-bg picture{display:block}
#splash>:not(.splash-bg){position:relative;z-index:1}
#splash .splash-logo,#splash .splash-about,#splash .splash-furuno,#splash .splash-loading{position:relative;z-index:1}
#splash .splash-content,#splash .splash-bottom{display:contents}
#splash .splash-logo{flex:0 0 auto;width:min(195px,52vw);height:auto}
#splash .splash-about{flex:0 0 auto;display:flex;flex-direction:column;gap:15px;align-items:center;
  text-align:center;line-height:1.6;word-break:break-word;padding:0 20px}
#splash .splash-about .splash-jp{margin:0;font-weight:500;font-size:14px}
#splash .splash-jp br.br-pc{display:none}
#splash .splash-about .splash-en{margin:0;font-family:"Noto Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:400;font-size:12px}
#splash .splash-furuno{flex:0 0 auto;width:120px;height:auto;aspect-ratio:120/9.41}
#splash .splash-loading{flex:0 0 auto;width:100%;height:4px;background:rgba(255,255,255,.5)}
#splash .splash-loading-bar{height:4px;width:40%;background:#1a80c7;animation:splashLoad 2.4s ease-out forwards}
@keyframes splashLoad{0%{width:0}100%{width:100%}}
@media (min-width:641px){
  #splash{display:flex;padding:calc(100px * var(--splash-scale,1)) 0 0}
  #splash .splash-bottom{display:flex;flex-direction:column;align-items:center;width:100%;flex:0 0 auto;
    gap:calc(105px * var(--splash-scale,1))}
  #splash .splash-content{display:flex;flex-direction:column;align-items:center;
    gap:calc(60px * var(--splash-scale,1));flex:0 0 auto}
  #splash .splash-logo{width:calc(250px * var(--splash-scale,1))}
  #splash .splash-about{gap:calc(15px * var(--splash-scale,1))}
  #splash .splash-about .splash-jp{font-size:calc(16px * var(--splash-scale,1))}
  #splash .splash-jp br.br-pc{display:inline}
  #splash .splash-jp br.br-sp{display:none}
  #splash .splash-about .splash-en{font-size:calc(14px * var(--splash-scale,1))}
  #splash .splash-furuno{width:calc(153px * var(--splash-scale,1));aspect-ratio:153/12}
  #splash .splash-loading{height:calc(6px * var(--splash-scale,1))}
  #splash .splash-loading-bar{height:calc(6px * var(--splash-scale,1))}
}
#spMenu{position:fixed;left:15px;bottom:150px;z-index:8;display:none;width:44px;height:44px;cursor:pointer;
  filter:drop-shadow(0 4px 10px rgba(0,60,110,.3))}
#spPins{position:fixed;inset:0;z-index:4;display:block;pointer-events:none}
.sp-pin{position:absolute;width:24px;height:36px;transform:translate(-50%,-100%);
  color:#0095FF}   
.sp-pin.sel{color:#ee3a30;z-index:1}   
.sp-pin img,.sp-pin svg{width:100%;height:100%;display:block}
.sp-pin.sp-cluster{width:28px;height:28px;border-radius:50%;background:#0095FF;
  transform:translate(-50%,-50%)}
.sp-pin .sp-cluster-n{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  color:#fff;font:700 12px "Inter",system-ui,sans-serif;line-height:1;pointer-events:none}
.sp-pin .sp-pin-label{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);
  white-space:nowrap;background:rgba(255,255,255,.9);color:#1a2b33;
  font:600 10px "Noto Sans JP",sans-serif;padding:2px 6px;border-radius:6px;
  box-shadow:0 1px 3px rgba(0,0,0,.3);pointer-events:none;display:none}
body.sp-zoomed .sp-pin .sp-pin-label{display:block}
.sp-pin.sel .sp-pin-label{display:block}
@media (min-width:641px){
  .sp-pin .sp-pin-label{display:block;bottom:calc(100% + 6px);
    background:rgba(255,255,255,.8);color:#000;font:500 12px "Noto Sans JP",sans-serif;
    padding:4px 7px;border-radius:8px;box-shadow:none}
  .sp-pin.sp-cluster{width:36px;height:36px}
  .sp-pin .sp-cluster-n{font:700 15px "Inter",system-ui,sans-serif}
}
@media (max-width:640px){
  html,body{overflow-x:hidden}
  .detailwrap,.loading,.toast,.suninfo,.furuno,
  #areaClose{display:none !important}   
  #btnSection,#btnTable{display:none !important}   
  .toolbar{display:flex !important;position:fixed;left:15px;bottom:120px;top:auto;z-index:7;
    width:60px;padding:5px;gap:5px;flex-direction:column;align-items:center;
    background:transparent;border:none;border-radius:30px;box-shadow:none;
    backdrop-filter:none;-webkit-backdrop-filter:none;transition:background .15s}
  body.sp-tools .toolbar{display:flex !important;background:rgba(23,66,77,.7) !important}
  .toolbar>.grp{display:none}
  body.sp-tools .toolbar>.grp{display:flex}
  .toolbar>.grp:first-of-type{gap:5px}
  .tbtn{width:auto;height:auto;min-height:0;padding:0;gap:3px;background:none;border:none;box-shadow:none;
    flex-direction:column;font-size:0;filter:none}
  .tbtn:hover{transform:none}
  .tbtn .ic{width:50px;height:50px;border-radius:50%;padding:0;
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5);border:1px solid #d8dad6;
    box-shadow:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}
  .tbtn .ic img{width:30px;height:30px}
  .tbtn.active{filter:none;background:none !important;border:none;box-shadow:none}
  .tbtn.active .ic img{filter:brightness(0) invert(1)}   
  .toolbar>.grp:last-of-type{gap:2px}
  .dbtn{width:50px;height:50px;border-radius:2px;font-size:14px;font-weight:500;color:#666;
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5);border:1px solid #d8dad6;
    box-shadow:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}
  .toolbar>.grp:last-of-type .dbtn:first-child{border-radius:25px 25px 2px 2px}
  .toolbar>.grp:last-of-type .dbtn:last-child{border-radius:2px 2px 25px 25px}
  .toolbar>.grp:last-of-type .dbtn:last-child:not(.active){color:#4f6472}
  .dbtn.active{background:linear-gradient(to bottom,#55c6da,#55b3cc);border-color:rgba(85,179,204,.5);
    color:#fff;filter:none;
    box-shadow:0 0 14px rgba(56,209,221,.3),0 6px 18px rgba(0,125,204,.18),inset 0 1px 2px rgba(255,255,255,.18)}
  #spMenu{position:static;left:auto;bottom:auto;display:block;width:50px;height:50px;flex:0 0 auto;
    filter:drop-shadow(0 3px 8px rgba(6,52,86,.45))}
  body.sp-tools #spMenu{display:none}
  .logo{display:block;left:16px;top:18px;width:75px;height:92px}
  .oss-credit{display:none;position:fixed;right:0;z-index:45;font:400 11px "Noto Sans JP",sans-serif}
  .rightcol{position:fixed;inset:0;left:0;top:0;width:100%;height:100%;display:block;pointer-events:none}
  .area-logo{position:fixed;top:50px;right:15px;left:auto;width:auto;display:block;z-index:8;pointer-events:auto}
  .area-date{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;
    padding:12px 15px calc(19px + env(safe-area-inset-bottom));gap:6px;
    background:linear-gradient(to bottom,rgba(202,229,245,.9),rgba(255,255,255,.7));
    border-top:1px solid var(--tcl-cbeaf0);border-left:none;border-bottom:none;border-radius:0;
    backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);
    box-shadow:0 -8px 24px rgba(10,59,102,.14);pointer-events:auto;z-index:7}
  .cards{gap:2px;justify-content:center;overflow-x:auto;padding:2px;
    background:rgba(23,66,77,.1);border-radius:10px}
  .card{width:auto;min-width:44px;flex:0 0 auto;height:34px;padding:0 4px;border:none;border-radius:8px;
    background:none;box-shadow:none;gap:0;justify-content:center}
  .card .d{font-family:"Inter";font-size:15px;font-weight:600;color:#000;gap:2px}
  .card .d .dt .mo,.card .d .dt .sep{display:none}
  .card .d .wd{font-family:"Noto Sans JP";font-size:10px;font-weight:500;color:#000}
  .card .d .wd.sun{color:red}
  .card.partial{background:none;box-shadow:none}
  .card.active{background:rgba(255,255,255,.7);border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.15)}
  .card.active .d,.card.active .d .wd{color:#000}
  .card.active .d .wd.sun{color:red}
  .tl{gap:8px;height:34px;padding-left:50px}
  .play{width:34px;height:34px;border-radius:50%;border:1px solid #d8dad6;box-shadow:0 2px 2px rgba(0,0,0,.15);
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5)}
  .play svg{fill:#0095ff}
  .track{height:24px}
  .track .bar{top:50%;transform:translateY(-50%);height:12px;border-radius:0;background:none}   
  .track .fill{display:none}      
  .track .navail{display:none}
  .track .pill{background:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.7);color:#000;
    box-shadow:0 2px 4px rgba(0,0,0,.15);font:600 16px "Inter",system-ui,sans-serif;
    height:30px;border-radius:8px;padding:0 12px;top:50%;transform:translate(-50%,-50%)}
  #splash{display:flex}
  #spMenu{display:block}
  #spPins{display:block;z-index:4}
  body.panel-open .toolbar,
  body.panel-open #spMenu{display:none !important}
  #spTable{display:none;position:fixed;left:0;right:0;top:auto;bottom:calc(105px + env(safe-area-inset-bottom));
    z-index:9;background:rgba(255,255,255,.70);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);
    border-top:1px solid rgba(255,255,255,.60);flex-direction:column;overflow:hidden;
    border-radius:16px 16px 0 0;box-shadow:0 -6px 20px rgba(0,0,0,.16);max-height:52vh}
  #spTable.open{display:flex}
  body.sp-graph-open #spTable{display:none !important}   
  .spt-drag{flex:0 0 auto;width:100%;height:20px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;padding:0;cursor:pointer}
  .spt-drag::before{content:"";width:38px;height:4px;border-radius:2px;background:#d0d6df}
  .spt-drag:active::before{background:#9fb2c0}
  .spt-scroll{flex:1 1 auto;min-height:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
  .spt-grid{display:grid;font-family:"Inter","Noto Sans JP",sans-serif;width:max-content}
  .spt-empty{padding:30px;display:flex;flex-direction:column;align-items:center;gap:10px;
    text-align:center;color:#5a7787;font-size:13px;font-weight:600}
  .spt-empty .dv-wave path{stroke:#0095ff}
  .spt-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:6;display:none;
    flex-direction:column;align-items:center;gap:8px;padding:14px 22px;border-radius:14px;
    background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    box-shadow:0 6px 20px rgba(6,34,60,.18);color:#3f5c6c;font-size:12px;font-weight:600;
    pointer-events:none;white-space:nowrap;text-align:center}
  #spTable.spt-loading-on .spt-loading{display:flex}
  .spt-loading .dv-wave path{stroke:#0095ff}
  .spt-sk{display:block;flex:0 0 auto;position:relative;overflow:hidden;border-radius:3px;
    background:rgba(23,66,77,.13)}
  .spt-sk::after{content:"";position:absolute;inset:0;
    background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.85) 50%,transparent 65%);
    transform:translateX(-100%);animation:dvsheen 1.8s linear infinite;
    animation-delay:calc(var(--sk-i,0) * -0.1s)}
  .spt-sk.bar{width:28px;height:10px}
  .spt-sk.arw{width:12px;height:12px;border-radius:50%}
  .spt-sk.pill{width:90px;height:20px;border-radius:10px;align-self:center;justify-self:center;
    background:rgba(255,255,255,.5);pointer-events:none;z-index:1}
  .spt-th{position:sticky;top:0;z-index:3;background:transparent;color:#4f6472;font-size:11px;font-weight:600;
    display:flex;align-items:center;justify-content:center;border:none}
  .spt-th.na{color:#b9c6cd}
  .spt-corner,.spt-gutter{position:sticky;left:0;z-index:5;background:linear-gradient(rgba(23,66,77,.10),rgba(23,66,77,.10)),#fff;border:none}
  .spt-corner{top:0}
  .spt-tab{position:sticky;left:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
    color:#fff;font-family:"Noto Sans JP";font-weight:700;font-size:11px;line-height:1.1;border-bottom:1px solid rgba(255,255,255,.5)}
  .spt-tab .s{font-family:"Inter";font-weight:600;font-size:9px;opacity:.92}
  .spt-tab.wx{background:linear-gradient(180deg,#4bb6c8,#2f97ab)}
  .spt-tab.dep.d0{background:linear-gradient(180deg,#55c6da,#55b3cc)}
  .spt-tab.dep.d1{background:linear-gradient(180deg,#3f9dc6,#2a8eb9)}
  .spt-tab.dep.d2{background:linear-gradient(180deg,#2b7bb0,#0168a5)}
  .spt-lab{position:sticky;left:36px;z-index:3;background:linear-gradient(rgba(23,66,77,.10),rgba(23,66,77,.10)),#fff;color:#5a7787;font-family:"Noto Sans JP";font-weight:600;font-size:10px;
    display:flex;align-items:center;justify-content:flex-start;padding-left:6px;gap:2px;border:none;white-space:nowrap}
  .spt-lab small{font-family:"Inter";font-size:8px;color:#93a7b1;font-weight:600}
  .spt-lab.head-lab{top:0;z-index:5;color:#4f6472;font-weight:700}
  .spt-tab .dsel{font-size:9px;line-height:1;opacity:.85}
  .spt-tab .dsel.up{margin-bottom:2px}.spt-tab .dsel.dn{margin-top:2px}
  .spt-cell{display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;
    border:none;background:transparent;color:#333}
  .spt-cell.na{background:transparent}
  .spt-th.now,.spt-cell.now{background:#a6c2d9}
  .spt-cell .v-na{color:#b9c6cd;font-weight:600}
  .spt-cell.air{color:#000}
  .spt-cell.wind{color:#12455f}
  .spt-cell.tide{color:#0095ff;font-weight:700}
  .spt-cell.spd{color:#0e7f8d;font-weight:700}
  .spt-cell.tmp{color:#245dd4;font-weight:700}
  .spt-cell.sal{color:#5957be;font-weight:700}
  .spt-arw{display:inline-flex}.spt-arw svg{width:13px;height:13px;display:block}
  .spt-wxpill{align-self:center;justify-self:center;display:flex;align-items:center;justify-content:center;
    gap:3px;height:20px;padding:3px 6px;box-sizing:border-box;border-radius:10px;
    background:rgba(255,255,255,.5);pointer-events:none;z-index:1}
  .spt-wxpill .t,.spt-wxpill .s{width:30px;height:12px;display:flex;align-items:center;justify-content:center;
    font:400 12px/12px Inter,"Noto Sans JP",sans-serif;color:#000;white-space:nowrap}
  .spt-wxpill .a{width:12px;height:12px;display:flex;align-items:center;justify-content:center}
  .spt-wxpill .a .spt-arw svg{width:12px;height:12px}
  .spt-wxna{align-self:center;justify-self:center;color:#b9c6cd;font-size:11px;font-weight:600;pointer-events:none;z-index:1}
  .spt-cell.astro{color:#12455f;font-weight:700;font-size:10px}
  .spt-sun{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
  .spt-sun-ic{width:13px;height:7px;display:block;flex:0 0 auto}
  .spt-sun b{font-weight:700}
  .spt-upd{display:flex;align-items:center;justify-content:center;
    background:linear-gradient(180deg,#3f9dc6,#0b3a5e)}
  body.sp-section .detailwrap{display:block !important;position:fixed;inset:0;z-index:40;pointer-events:none}
  body.sp-section #sectionview{
    top:auto;left:0;right:0;bottom:calc(105px + env(safe-area-inset-bottom));width:auto;
    height:317px;max-width:none;max-height:calc(100vh - 205px);
    border:none;border-top:1px solid rgba(255,255,255,.6);border-radius:16px 16px 0 0;
    background:linear-gradient(180deg,#1090b4 6.5%,#1273a0 48%,#113453 92.9%);
    box-shadow:0 -6px 20px rgba(0,0,0,.18);pointer-events:auto;z-index:41}
  body.sp-section #detailview{display:none !important}
  body.sp-section #spTable{display:none !important}    
  body.sp-section #sectionview .sv-close{display:none}
  body.sp-section #sectionview .sv-drag{display:flex;position:absolute;left:0;right:0;top:0;height:22px;z-index:6;
    align-items:center;justify-content:center;background:none;border:none;padding:0;cursor:pointer}
  body.sp-section #sectionview .sv-drag::before{content:"";width:38px;height:4px;border-radius:2px;background:rgba(255,255,255,.75)}
  body.sp-section .svc-main{position:relative;padding:0;gap:0;align-items:stretch}
  body.sp-section .svc-stage{position:absolute;inset:0}
  body.sp-section .svc-cards{position:absolute;left:auto;right:35px;top:calc(50% - 4.5px);transform:translateY(-50%);align-self:auto;z-index:2;
    background:rgba(255,255,255,.65);border-radius:5px;padding:10px;gap:0}
  body.sp-section.lang-en .svc-cards{left:61.4%;right:0}
  body.sp-section .svc-card{gap:5px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.5)}
  body.sp-section .svc-card:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
  body.sp-section .svc-ckeys{gap:4px}
  body.sp-section .svc-ckeys .svc-k{min-width:20px;height:12px;color:#666;font-size:10px;font-weight:500;justify-content:center}
  body.sp-section .svc-ckeys .svc-k.dir{height:12px}
  body.sp-section .svc-k .lb-pc{display:none}
  body.sp-section .svc-k .lb-sp{display:inline}
  body.sp-section .svc-cvals{gap:4px}
  body.sp-section .svc-arw{width:12px;height:12px;background:none;border-radius:0}
  body.sp-section .svc-arw svg{width:12px;height:12px}
  body.sp-section .svc-arw svg path{fill:#2194a3}
  body.sp-section .svc-badge{min-width:30px;width:auto;height:12px;background:none;border-radius:0;font-size:12px;font-weight:600;white-space:nowrap}
  body.sp-section .svc-badge small{font-size:9px}
  body.sp-section .svc-badge.dep{width:auto;color:#0095ff}
  body.sp-section .svc-badge.spd{color:#168d9c}
  body.sp-section .svc-badge.tmp{color:#2a68d5}
  body.sp-section .svc-badge.sal{color:#5761c0}
  #spTable .spt-th.dayfirst{box-shadow:inset 2px 0 0 rgba(23,66,77,.45)}
  #spTable .spt-th.dayfirst .spt-dl{display:block;font:700 8px "Inter";line-height:1;opacity:.85}
  body.sp-section .rightcol{z-index:7}
}
@media (min-width:641px){
  .area-logo{display:contents}
  .logo{width:92px;height:113px}
  .logo-right{display:none}
  #areaClose{display:none}   
  .area-date{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;top:auto;right:auto;
    width:auto;min-width:520px;max-width:min(1000px,calc(100vw - 40px));gap:12px;padding:8px 10px;
    border:none;border-radius:15px;background:rgba(255,255,255,.72);
    box-shadow:0 8px 24px rgba(10,59,102,.18);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:6;pointer-events:auto}
  .area-date .cards{justify-content:center}
  .legend{position:fixed;right:15px;bottom:31px;z-index:6;pointer-events:none}
  .oss-credit{position:fixed;right:0;bottom:0;z-index:6;border-radius:0}
  .lgk{position:fixed;right:15px;bottom:31px;width:300px;height:24px;z-index:7;pointer-events:none;touch-action:none}
  .lgk .lgk-k{position:absolute;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;padding:0;
    border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.55);cursor:grab;pointer-events:auto}
  .lgk .lgk-k:not(.end){width:12px;height:12px;margin:-6px 0 0 -6px}          
  .legend.has-bar{padding:0 23px}   
  .lgk .lgk-k.end{z-index:1}   
  .lgk .lgk-k.sel{border-color:#35c2ff;box-shadow:0 0 0 2px rgba(53,194,255,.55)}
  .lgk .lgk-k.end.sel{width:22px;height:22px;margin:-11px 0 0 -11px}
  .lgk .lgk-k:not(.end).sel{width:16px;height:16px;margin:-8px 0 0 -8px}
  .lgk .lgk-pal{position:absolute;left:0;bottom:30px;display:none;grid-template-columns:repeat(8,22px);gap:4px;
    padding:6px;border-radius:10px;background:rgba(8,30,58,.9);box-shadow:0 4px 14px rgba(0,0,0,.45);pointer-events:auto}
  .lgk.pal-on .lgk-pal{display:grid}
  .lgk .lgk-pal i{display:block;width:22px;height:22px;border-radius:6px;border:1px solid rgba(255,255,255,.35);cursor:pointer}
  .lgk .lgk-pal i:hover{transform:scale(1.12)}
  :root{ --panel-scale:1 }
  .detailview,.sectionview{
    top:calc(var(--panel-top) * var(--panel-scale));
    right:calc(var(--panel-right) * var(--panel-scale));
    width:var(--panel-w);height:var(--panel-h);
    max-width:none;max-height:none;                       
    transform:translate(var(--panel-dx,0px),var(--panel-dy,0px)) scale(var(--panel-scale));
    transform-origin:top right}
  .panel-drag{display:block;position:absolute;left:0;right:0;top:0;height:22px;z-index:3;cursor:move;
    background:transparent;touch-action:none}
  .toolbar{left:15px;bottom:73px;top:auto;width:60px;padding:5px;gap:5px;align-items:center;
    background:rgba(23,66,77,.7);border:none;border-radius:30px;
    backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
  .toolbar>.grp{gap:5px;align-items:center}
  #spMenu{display:none;position:static;left:auto;bottom:auto;width:50px;height:50px;flex:0 0 auto;cursor:pointer;filter:none}
  body.pc-min .toolbar{background:none;border:none;box-shadow:none;padding:5px}
  body.pc-min .toolbar>.grp,
  body.pc-min .toolbar>#btnTable,
  body.pc-min .toolbar>#btnSection{display:none}
  body.pc-min #spMenu{display:block;filter:drop-shadow(0 3px 8px rgba(6,52,86,.45))}
  .tbtn{width:auto;height:auto;min-height:0;padding:0;gap:3px;background:none;border:none;box-shadow:none;
    flex-direction:column;color:#fff;filter:none}
  .tbtn:hover{transform:none}
  .tbtn .ic{width:50px;height:50px;border-radius:50%;padding:0;
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5);border:1px solid #d8dad6;
    box-shadow:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}
  .tbtn .ic img,.tbtn .ic svg{width:30px;height:30px}
  .tbtn.active{background:none;border:none;box-shadow:none;filter:none}
  #btnTable.active .ic,#btnSection.active .ic{background:linear-gradient(to bottom,#00c8ff 31%,#0095ff);
    border-color:rgba(0,174,255,.5);box-shadow:0 0 1.5px #00c8ff}
  .tbtn.active .ic img{filter:brightness(0) invert(1)}
  #btnTable.active .ic svg{filter:brightness(0) invert(1)}
  .tbtn:disabled{opacity:1;filter:none}
  .tbtn,.tbtn:hover,.tbtn:focus,.tbtn:focus-visible,.tbtn:active,.tbtn.active{
    background:none !important;border:0 !important;box-shadow:none !important;outline:none !important;filter:none !important}
  .toolbar>.grp:last-of-type{gap:2px}
  .dbtn{width:50px;height:50px;border-radius:2px;font-family:"Noto Sans JP";font-weight:500;font-size:12px;color:#666;
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5);border:1px solid #d8dad6;box-shadow:none;
    filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}
  .toolbar>.grp:last-of-type .dbtn:first-child{border-radius:25px 25px 2px 2px}
  .toolbar>.grp:last-of-type .dbtn:last-child{border-radius:2px 2px 25px 25px}
  .toolbar>.grp:last-of-type .dbtn:last-child:not(.active){color:#4f6472}
  .dbtn.active{background:linear-gradient(to bottom,#55c6da,#55b3cc);border-color:rgba(85,179,204,.5);
    color:#fff;filter:none;
    box-shadow:0 0 14px rgba(56,209,221,.3),0 6px 18px rgba(0,125,204,.18),
    inset 0 1px 2px rgba(255,255,255,.18)}
  .area-date .cards{gap:2px;justify-content:center;overflow-x:visible;padding:2px;
    background:rgba(23,66,77,.06);border-radius:10px}
  .card{width:auto;min-width:64px;flex:0 0 auto;height:34px;padding:0 10px;border:none;border-radius:8px;
    background:none;box-shadow:none;gap:0;justify-content:center}
  .card .d{font-family:"Inter";font-size:16px;font-weight:600;color:#000;gap:2px}
  .card .d .wd{font-family:"Noto Sans JP";font-size:12px;font-weight:500;color:#000}
  .card .d .wd.sun{color:red}
  .card.active{background:rgba(255,255,255,.7);box-shadow:0 2px 4px rgba(0,0,0,.15)}
  .card.active .d,.card.active .d .wd{color:#000}
  .card.active .d .wd.sun{color:#e00}
  .card.partial{box-shadow:none}
  .tl{gap:8px;height:34px}
  .play{width:34px;height:34px;border-radius:50%;border:1px solid #d8dad6;
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5);box-shadow:0 2px 2px rgba(0,0,0,.15)}
  .play svg{fill:#0095ff}   
  .track{height:24px}
  .track .bar{top:50%;transform:translateY(-50%);height:12px;border-radius:0;background:none}   
  .track .fill{display:none}      
  .track .navail{display:none}    
  .track .pill{background:rgba(255,255,255,.75);border:1px solid rgba(255,255,255,.7);color:#000;
    box-shadow:0 2px 4px rgba(0,0,0,.15);font:600 16px "Inter",system-ui,sans-serif;
    height:30px;border-radius:8px;padding:0 12px;top:50%;transform:translate(-50%,-50%)}
}
@media (max-width:640px){ .legend,.lgk{display:none} }
#spViews{display:none}
#spGraph{display:none}
@media (max-width:640px){
  #spViews{display:none;flex-direction:column;align-items:center;gap:5px;
    position:fixed;right:10px;top:50px;bottom:auto;z-index:8;width:60px;padding:5px;
    background:rgba(23,66,77,.7);border-radius:30px}
  body.sp-tools #spViews,body.panel-open #spViews,body.sp-graph-open #spViews{display:flex}
  #spViews .spv-btn{width:50px;height:50px;border-radius:50%;border:1px solid #d8dad6;padding:0;cursor:pointer;
    background:linear-gradient(to bottom,#fff 30%,#d7d9d5);box-shadow:0 2px 2px rgba(0,0,0,.15);
    display:flex;align-items:center;justify-content:center}
  #spViews .spv-btn img{width:30px;height:30px;display:block}
  #spViews .spv-btn.active{border-color:rgba(0,174,255,.5);box-shadow:0 0 1.5px #00c8ff;
    background:linear-gradient(to bottom,#00c8ff 31%,#0095ff)}
  #spViews .spv-btn.active img{filter:brightness(0) invert(1)}
  body:not(.sp-selected) #spViews .spv-btn{pointer-events:none;cursor:default}
  #spGraph{position:fixed;left:0;right:0;bottom:calc(110px + env(safe-area-inset-bottom));z-index:25;background:#fff;
    flex-direction:column;overflow:hidden;border-radius:16px 16px 0 0;
    box-shadow:0 -4px 20px rgba(0,0,0,.12)}
  #spGraph.open{display:flex}
  .sg-drag{flex-shrink:0;width:100%;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;border:none;padding:0}
  .sg-drag::before{content:"";width:38px;height:4px;background:#d0d6df;border-radius:2px}
  .sg-drag:active::before{background:#9fb2c0}
  .sg-weather{flex-shrink:0;display:flex;align-items:center;height:40px;width:100%;background:#fff}
  .sg-witem{flex:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 8px}
  .sg-witem.bd{border-left:1px solid #dadada;border-right:1px solid #dadada}
  .sg-wicon{width:22px;height:22px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:16px;transition:transform .3s ease}
  .sg-wtext{display:flex;flex-direction:column;min-width:0}
  .sg-wlabel{font-family:"Noto Sans JP",sans-serif;font-weight:400;font-size:9px;line-height:1;color:#636363;white-space:nowrap}
  .sg-wval{font-family:"Inter",sans-serif;font-weight:600;font-size:14px;color:#000;white-space:nowrap}
  .sg-wval small{font-size:10px;font-weight:500}
  .sg-graphs{position:relative;flex-shrink:0;width:100%;height:160px;overflow:hidden;touch-action:pan-y}
  .sg-track{position:absolute;top:0;left:0;display:flex;flex-direction:column;height:100%;will-change:transform}
  .sg-row{height:40px;width:calc(68.5333vw * 7)}
  .sg-row svg{display:block;width:100%;height:100%}
  .sg-ovl{position:absolute;left:0;width:100%;height:40px;display:flex;align-items:center;pointer-events:none}
  .sg-olabel{position:absolute;left:10px;font-family:"Noto Sans JP",sans-serif;font-weight:400;font-size:11px;color:#000;white-space:nowrap;
    text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff}
  .sg-olabel b{font-family:"Inter",sans-serif;font-weight:600;font-size:14px}
  .sg-olabel .u{font-family:"Inter",sans-serif;font-weight:600;font-size:10px}
  .sg-oval{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:4px;
    font-family:"Inter",sans-serif;font-weight:700;color:#0095ff;white-space:nowrap;
    text-shadow:-1.5px -1.5px 0 #fff,1.5px -1.5px 0 #fff,-1.5px 1.5px 0 #fff,1.5px 1.5px 0 #fff,0 -1.5px 0 #fff,0 1.5px 0 #fff,-1.5px 0 0 #fff,1.5px 0 0 #fff}
  .sg-oval .sg-v{font-size:18px}.sg-oval .sg-u{font-size:10px}
  .sg-oval .sg-a{display:inline-block;font-size:18px;line-height:1;transition:transform .3s ease}
  .sg-nowline{position:absolute;left:50%;top:0;width:1px;height:100%;background:#0095ff;transform:translateX(-50%);z-index:2;pointer-events:none}
}
.legend{display:flex;align-items:center;justify-content:space-between;
  width:300px;height:24px;box-sizing:border-box;padding:0 12px;
  border:1px solid rgba(255,255,255,.85);border-radius:10px;
  box-shadow:0 2px 8px rgba(10,59,102,.2);font-family:"Inter",system-ui,sans-serif}
.legend .lg-tick{font-size:13px;font-weight:600;color:#fff;line-height:1;white-space:nowrap;
  text-shadow:0 0 3px rgba(0,0,0,.7),0 1px 1px rgba(0,0,0,.6)}
.legend .lg-u{font-size:10px;margin-left:1px}
.oss-credit{background:rgba(23,66,77,.4);border:none;color:#fff;font:400 9px "Noto Sans JP",sans-serif;
  text-decoration:underline;padding:3px 6px;cursor:pointer;border-radius:0}   
.tbtn.active[data-var="speed"] .ic{background:linear-gradient(to bottom,#20c9c3,#0ba7a3);
  border-color:rgba(11,167,163,.5);filter:none;
  box-shadow:0 0 7px rgba(19,193,186,.35),inset 0 1px 2px rgba(255,255,255,.18)}
.tbtn.active[data-var="temperature"] .ic{background:linear-gradient(to bottom,#2ea8ff,#1976e8);
  border-color:rgba(25,118,232,.5);filter:none;
  box-shadow:0 0 7px rgba(46,168,255,.35),inset 0 1px 2px rgba(255,255,255,.18)}
.tbtn.active[data-var="salinity"] .ic{background:linear-gradient(to bottom,#8e67f3,#5957be);
  border-color:#6d45dd;filter:none;
  box-shadow:0 0 7px rgba(125,85,234,.35),inset 0 1px 2px rgba(255,255,255,.18)}
body.lang-en .card{min-width:74px;padding:0 7px}   
@media (max-width:640px){
  body.lang-en .card{min-width:44px;padding:0 4px}   
  body.lang-en .card .d{flex-direction:column;gap:0}
  body.lang-en .card .d .wd{order:-1;font-family:"Inter",sans-serif;font-weight:600;font-size:8px;
    margin-left:0;color:#000}
  body.lang-en .card .d .wd.sun,body.lang-en .card.active .d .wd.sun{color:red}
  body.lang-en .card .d .dt{font-size:15px}
}
.tbtn .ic .vname{display:block;font-family:"Noto Sans JP",system-ui,sans-serif;font-weight:700;
  font-size:14px;line-height:1;text-align:center;white-space:nowrap}
.tbtn[data-var="speed"] .ic .vname{color:#0eaba7}
.tbtn[data-var="temperature"] .ic .vname{color:#1c7deb}
.tbtn[data-var="salinity"] .ic .vname{color:#615ac6}
.tbtn.active .ic .vname{color:#fff}
.dbtn[data-layer="10"].active{background:linear-gradient(to bottom,#5faacb,#2a8eb9);border-color:#2a8eb9;
  box-shadow:0 0 14px rgba(46,152,244,.3),0 6px 18px rgba(0,125,204,.18),inset 0 1px 2px rgba(255,255,255,.18)}
.dbtn[data-layer="19"].active{background:linear-gradient(to bottom,#418ebb,#0168a5);border-color:#0168a5;
  box-shadow:0 0 14px rgba(35,105,208,.3),0 6px 18px rgba(0,125,204,.18),inset 0 1px 2px rgba(255,255,255,.18)}
body.lang-en .tbtn .ic .vname{font-size:11px}
body.lang-en .dbtn{font-size:12px;font-weight:700;line-height:1.15;padding:0}
#detailview{--dvfs:var(--panel-scale,1)}
#detailview .dv-cell{font-size:calc(14px / var(--dvfs))}
#detailview .dv-date b{font-size:calc(16px / var(--dvfs))}
#detailview .dv-date i{font-size:calc(12px / var(--dvfs))}
#detailview .dv-lab .dv-ltxt{font-size:calc(12px / var(--dvfs))}
body.lang-en #detailview .dv-lab .dv-ltxt{font-size:calc(10px / var(--dvfs))}
#detailview .dv-cell.tideval small{font-size:calc(9px / var(--dvfs))}
#detailview .dv-lab{font-size:calc(14px / var(--dvfs))}
#detailview .dv-lab small{font-size:calc(10px / var(--dvfs))}
#detailview .dv-lab small.u{font-size:calc(8px / var(--dvfs))}
#detailview .dv-row.depth .dv-lab{font-size:calc(17px / var(--dvfs))}
#detailview .dv-lab .dv-nb.near{font-size:calc(12px / var(--dvfs))}
#detailview .dv-lab .dv-nb.far{font-size:calc(9px / var(--dvfs))}
#detailview .dv-lab .dv-nb.near small.u{font-size:calc(6px / var(--dvfs))}
#detailview .dv-lab .dv-nb.far small.u{font-size:calc(4px / var(--dvfs))}
#detailview .dv-badge{font-size:calc(14px / var(--dvfs))}
#detailview .dv-badge small{font-size:calc(9px / var(--dvfs))}
#detailview .dv-cell.wx .wx-t,#detailview .dv-cell.wx .wx-w{font-size:calc(14px / var(--dvfs))}
#detailview .dv-cell.wx .wx-t small,#detailview .dv-cell.wx .wx-w small{font-size:calc(9px / var(--dvfs))}
#detailview .dv-cell.wx .wx-astro-t{font-size:calc(14px / var(--dvfs))}
#detailview .upd-ring .upd-lab{font-size:calc(11px / var(--dvfs))}
#detailview .upd-ring .upd-time{font-size:calc(16px / var(--dvfs))}
.gd-help{position:fixed;right:15px;bottom:65px;z-index:103;width:34px;height:34px;padding:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #d8dad6;border-radius:25px;
  background:linear-gradient(to bottom,#fff 30%,#d7d9d5);
  box-shadow:0 2px 2px rgba(0,0,0,.15)}
.gd-help img{width:30px;height:30px;display:block}
.gd{display:contents}
.gd[hidden]{display:none}
.gd-dim{position:fixed;inset:0;width:100%;height:100%;z-index:100;display:block;pointer-events:none}
body.gd-raise-pins #spPins{z-index:101}
.gd-pop{position:fixed;z-index:102;pointer-events:none}
.gd-bubble{position:relative;pointer-events:auto;box-sizing:border-box;
  display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  padding:20px 40px;border-radius:15px;background:#fff;
  filter:drop-shadow(0 4px 2px rgba(0,78,162,.3))}
.gd-title{margin:0;font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:20px;line-height:1;
  color:#004ea2;white-space:nowrap}
.gd-text{margin:0;font-family:"Noto Sans JP",sans-serif;font-weight:500;font-size:14px;line-height:1.6;
  color:#000;white-space:nowrap}
.gd-bubble button{position:absolute;padding:0;border:none;background:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center}
.gd-bubble .gd-close{top:-17px;right:-17px;width:34px;height:34px;
  border:1px solid #e5e5e5;border-radius:25px;background:#fff}
.gd-close img{width:20px;height:20px;display:block}
.gd-prev,.gd-next{top:50%;transform:translateY(-50%);width:34px;height:34px}
.gd-prev{left:0}
.gd-next{right:0}
.gd-prev img,.gd-next img{width:34px;height:34px;display:block}
.gd-prev[hidden],.gd-next[hidden]{display:none}
.gd-tail{position:absolute;top:100%;margin-top:-1px;width:38px;height:33px;display:block}
.gd-tail.flip{transform:scaleX(-1)}
.gd-tail.front{z-index:1}
.gd-char{position:absolute;display:block;pointer-events:none}
@media (max-width:640px){ .gd-help,.gd{display:none !important} }
@media (prefers-reduced-motion:reduce){
  .dv-sk::after,.spt-sk::after,.dv-wave svg{animation:none !important}
  .dv-sk::after,.spt-sk::after{opacity:.35}
  .upd-ring .upd-dots,.upd-ring .upd-dots circle{animation:none !important}
  .upd-ring::before{display:none}
  .upd-ring .upd-dots .upd-circle{stroke:rgba(255,255,255,.9)}
}
