/* Original style block 1 */
:root{
  font-family:"Source Han Sans SC","Source Han Sans CN","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --accent:#3fc1e6;
  --accent-deep:#1d8fd6;
  --panel-bg:rgba(13,23,36,0.62);
  --panel-bg2:rgba(13,23,36,0.78);
  --panel-border:rgba(130,190,225,0.28);
  --panel-radius:14px;
  --txt-main:#eaf5fb;
  --txt-dim:#a3c0d4;
  --warmC:#ff6a4d;
  --coldC:#4da3ff;
  --fs-title:26px;
  --fs-h2:18px;
  --btn-h:44px;
  --menu-w:252px;
  /* BEGIN JW_COPYRIGHT_CSS */
  --copyright-owner: "动见地理";
  --copyright-work-id: "OAI-JW-20261119-A001";
  --copyright-work-name: "Ocean–Atmosphere Interaction";
  --copyright-year: "2026";
  --copyright-version: "v1.2.3";
  --copyright-license-id: "OAI-JW-20261119-A001-ONLINE";
  /* © 2026 动见地理. All rights reserved. | Ocean–Atmosphere Interaction | OAI-JW-20261119-A001 */
  /* END JW_COPYRIGHT_CSS */
}
*{margin:0;padding:0;box-sizing:border-box;}
html,body{width:100%;height:100%;overflow:hidden;background:#081019;}
body{
  font-weight:400;color:var(--txt-main);
  text-rendering:geometricPrecision;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  touch-action:none;overscroll-behavior:none;
  -webkit-user-select:none;user-select:none;
}
/* 英文：去掉中文排版用的字距，字号略收，长词才放得下 */
html[lang="en"] #stage,html[lang="en"] #stage *{letter-spacing:0;}
html[lang="en"] #topTitle small{letter-spacing:2px;}
html[lang="en"] #modeMenu button{font-size:15px;}
html[lang="en"] .surfToggle button{font-size:15px;}
html[lang="en"] .tlStop .cap{font-size:13.5px;}
html[lang="en"] .liveRow{font-size:13.5px;}
html[lang="en"] .lpRow em{font-size:12px;}
html[lang="en"] .lgRow{font-size:13.5px;}
html[lang="en"]{--menu-w:300px;}                                  /* 英文句子长：左右两栏与随堂检测同宽，少折行 */
html[lang="en"] .odClimText{font-size:14px;line-height:1.42;}
html[lang="en"] .lbl:not(.geo):not(.title) b{width:max-content;max-width:210px;white-space:normal;text-align:center;margin:0 auto;}
html[lang="en"] .lbl i{display:block;width:max-content;max-width:180px;font-size:11.5px;line-height:1.25;white-space:normal;text-align:center;margin-left:auto;margin-right:auto;}
html[lang="en"] .lbl.title i{max-width:none;}
html[lang="en"]{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;}
button,input,select,textarea{font:inherit;}

/* ---------- 固定舞台 ---------- */
#stageWrap{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#081019;}
#stage{position:relative;width:1920px;height:1080px;flex:none;transform-origin:center center;overflow:hidden;background:#081019;}
#canvasHost{position:absolute;inset:0;}
#canvasHost canvas{display:block;filter:saturate(1.07) contrast(1.045);}
/* 屏幕空间暗角：四角压暗、中间留亮，视线收拢到沙盘上（承自锋与天气 ★4） */
#vignette{
  position:absolute;inset:0;z-index:5;pointer-events:none;
  background:
    radial-gradient(ellipse 78% 68% at 50% 46%,
      rgba(0,0,0,0) 42%, rgba(3,9,18,.30) 76%, rgba(2,7,14,.62) 100%),
    linear-gradient(180deg, rgba(5,11,20,.34) 0%, rgba(0,0,0,0) 26%,
      rgba(0,0,0,0) 74%, rgba(3,8,16,.44) 100%);
}

/* 竖屏提示 */
#rotateHint{position:fixed;inset:0;z-index:400;display:none;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#081019;color:var(--txt-main);text-align:center;}
#rotateHint .ph{font-size:64px;animation:rot 2s ease-in-out infinite;}
@keyframes rot{0%,20%{transform:rotate(0)}55%,100%{transform:rotate(90deg)}}
@media (orientation:portrait){#rotateHint{display:flex;}#stageWrap{visibility:hidden;}}

/* ---------- 顶部 ---------- */
#topTitle{position:absolute;left:28px;top:20px;z-index:30;font-size:var(--fs-title);font-weight:600;letter-spacing:2px;text-shadow:0 2px 12px rgba(0,0,0,.6);}
#topTitle small{display:block;font-size:12px;font-weight:400;color:var(--txt-dim);letter-spacing:4px;margin-top:3px;}
#viewBar{position:absolute;left:50%;top:22px;transform:translateX(-50%);z-index:30;display:flex;align-items:center;gap:10px;}
#viewBar button.off{opacity:.36;cursor:not-allowed;}
#toolBar{position:absolute;right:24px;top:22px;z-index:30;display:flex;align-items:center;gap:10px;}
#camHint{
  position:absolute;right:318px;top:22px;height:46px;z-index:29;
  display:flex;align-items:center;gap:14px;
  font-size:12.5px;letter-spacing:.6px;color:#7f96b0;white-space:nowrap;
  pointer-events:none;text-shadow:0 1px 6px rgba(0,0,0,.55);
}
#camHint b{font-weight:500;color:#a3c0d4;margin-right:5px;}
.pillGroup{display:flex;background:var(--panel-bg2);border:1px solid var(--panel-border);border-radius:12px;padding:5px;backdrop-filter:blur(10px);}
.pillGroup button{
  height:40px;padding:0 22px;border:none;background:transparent;color:var(--txt-dim);
  font-size:15px;border-radius:9px;cursor:pointer;transition:all .22s;white-space:nowrap;
}
.pillGroup button:hover{color:var(--txt-main);}
@keyframes sectPulse{0%,100%{box-shadow:0 0 0 0 rgba(90,200,245,0);color:var(--txt-dim);}50%{box-shadow:0 0 0 3px rgba(90,200,245,.55),0 0 18px rgba(90,200,245,.6);color:#fff;}}
.pillGroup button.hint{animation:sectPulse 1.2s ease-in-out 2;}   /* 闪两次后自动剖开 */
.pillGroup button.on{background:linear-gradient(180deg,#33a8d8,#1c7ec2);color:#fff;box-shadow:0 2px 10px rgba(40,150,210,.45);}
.iconBtn{
  width:46px;height:46px;border-radius:50%;border:1px solid var(--panel-border);
  background:var(--panel-bg2);color:var(--txt-main);cursor:pointer;
  display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px);transition:all .2s;
}
.iconBtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .3s;}
.iconBtn:hover{border-color:var(--accent);color:var(--accent);}
#btnReset:hover svg{transform:rotate(-150deg);}
#btnLang{font-size:14px;font-weight:600;letter-spacing:.3px;}
.iconBtn.on{border-color:#4fc0e8;background:linear-gradient(180deg,rgba(40,140,200,.6),rgba(20,90,150,.6));color:#fff;}
/* ---------- 画质面板 ---------- */
#qualityPop{position:absolute;right:24px;top:80px;z-index:40;width:310px;padding:14px 16px 13px;display:none;
  background:var(--panel-bg2);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  backdrop-filter:blur(12px);color:var(--txt-main);box-shadow:0 12px 32px rgba(0,0,0,.38);}
#qualityPop.open{display:block;}
#qualityPop .qpHead{font-size:15px;font-weight:600;letter-spacing:.5px;margin-bottom:10px;}
#qualityPop .qpSeg{display:flex;gap:4px;padding:4px;border-radius:11px;background:rgba(255,255,255,.05);border:1px solid var(--panel-border);}
#qualityPop .qpSeg button{flex:1;border:0;background:transparent;color:var(--txt-dim);font:inherit;font-size:14px;
  padding:7px 2px;border-radius:8px;cursor:pointer;white-space:nowrap;transition:all .2s;}
#qualityPop .qpSeg button:hover{color:var(--txt-main);}
#qualityPop .qpSeg button.on{background:linear-gradient(180deg,#33a8d8,#1c7ec2);color:#fff;box-shadow:0 2px 10px rgba(40,150,210,.45);}
#qualityPop .qpStat{margin-top:11px;font-size:13.5px;font-variant-numeric:tabular-nums;}
#qualityPop .qpNote{margin-top:4px;font-size:12.5px;line-height:1.6;color:var(--txt-dim);}
html[lang="en"] #qualityPop{width:380px;}
html[lang="en"] #qualityPop .qpSeg button{font-size:13px;}

/* ---------- 左侧模式菜单 ---------- */
#modeMenu{position:absolute;left:24px;top:96px;z-index:30;width:var(--menu-w);display:flex;flex-direction:column;gap:11px;}
#modeMenu button{
  height:var(--btn-h);border-radius:10px;border:1px solid var(--panel-border);
  background:var(--panel-bg);color:var(--txt-main);font-size:16px;letter-spacing:1px;
  cursor:pointer;backdrop-filter:blur(8px);transition:all .22s;text-align:center;
}
#modeMenu button:hover{border-color:var(--accent);transform:translateX(3px);}
#modeMenu button.on{background:linear-gradient(90deg,#1e86b8,#2fa6d6);border-color:#4fc0e8;box-shadow:0 3px 14px rgba(35,150,200,.5);font-weight:500;}

/* ---------- 方位锚点 ---------- */
#orientationHud{
  position:absolute;left:24px;top:330px;z-index:30;width:var(--menu-w);
  display:flex;gap:10px;align-items:center;
  background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  padding:11px 12px;backdrop-filter:blur(8px);
}
/* 罗盘（沿用锋与天气的做法）：圆盘平放在地图上，随视角一起转、斜视时压扁成椭圆；
   四个方位字落在椭圆外沿、字本身保持正立；指北端用红色。镜头怎么转，读到的都是地图上的真方位。 */
#orientationHud .compass{position:relative;flex:none;width:60px;height:60px;}
#orientationHud .compass svg{display:block;width:60px;height:60px;overflow:visible;}
.cmpRing{fill:rgba(120,170,220,.10);stroke:rgba(184,216,246,.55);stroke-width:1;vector-effect:non-scaling-stroke;}
.cmpEW{stroke:rgba(184,216,246,.45);stroke-width:1;vector-effect:non-scaling-stroke;}
.cmpN{fill:#ff6b5b;} .cmpS{fill:rgba(190,206,222,.55);} .cmpHub{fill:#e2edf7;}
.cmpLbl{font-size:10.5px;fill:rgba(207,225,243,.78);text-anchor:middle;dominant-baseline:central;}
.cmpLblN{font-size:12.5px;font-weight:700;fill:#ff8a7c;}
#orientationHud .orientText{display:flex;flex-direction:column;gap:2px;font-size:12.5px;line-height:1.5;color:var(--txt-dim);}
#orientationHud .orientText strong{font-size:13.5px;color:#cfe8f8;font-weight:500;}

/* ---------- 模块要点（右上角「要点」按钮打开） ----------
   原来常驻左下角，现在左下角让给分段讲解的正文；要点按需打开，盖在右栏上方，读完关掉。 */
#infoCard{
  position:absolute;right:24px;top:96px;z-index:40;width:580px;max-height:860px;
  display:none;flex-direction:column;
  background:rgba(9,19,32,.95);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  padding:18px 24px 20px;box-shadow:0 12px 40px rgba(0,0,0,.45);backdrop-filter:blur(12px);
}
#infoCard.open{display:flex;animation:infoIn .28s ease-out;}
@keyframes infoIn{from{opacity:0;transform:translateY(-8px);}to{opacity:1;transform:none;}}
#infoHead{display:flex;align-items:center;justify-content:space-between;gap:10px;}
#infoCard .kicker{font-size:14px;letter-spacing:2px;color:#7fa2bd;}
#infoCard h3{font-size:25px;color:#b9e2f5;letter-spacing:1px;margin-top:2px;}
#infoClose{flex:none;width:36px;height:36px;border-radius:50%;border:1px solid var(--panel-border);background:transparent;color:var(--txt-dim);cursor:pointer;font-size:15px;}
#infoClose:hover{color:#fff;border-color:var(--accent);}
#infoBrief{font-size:17.5px;line-height:1.7;color:#a3c0d4;margin-top:9px;padding-bottom:10px;border-bottom:1px dashed rgba(140,190,225,.25);}
#infoCard .body{font-size:17.5px;line-height:1.8;color:#d5e8f2;margin-top:10px;overflow-y:auto;padding-right:6px;}
#infoCard .body p{margin-bottom:8px;}
#infoCard .body b{color:#ffd9a8;font-weight:600;}
#infoCard .body svg{display:block;margin:10px auto 6px;}
/* 要点末尾：本模块全部配图，图按面板宽度缩放 */
#infoCard .infoFigs{margin-top:14px;padding-top:12px;border-top:1px dashed rgba(140,190,225,.3);}
#infoCard .infoFigs h5{font-size:16px;color:#8fd4f0;letter-spacing:2px;margin-bottom:8px;}
#infoCard .infoFig{margin-bottom:14px;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.035);border:1px solid rgba(130,190,225,.18);}
#infoCard .infoFig .ft{font-size:16.5px;font-weight:600;color:#bfe8fa;margin-bottom:6px;}
#infoCard .infoFig svg{width:100%;height:auto;}
#infoCard .infoFig ul{padding-left:20px;}

/* ---------- 图层与标注（左栏，方位罗盘下方） ----------
   标注、洋流、等温线三个独立开关；「大气」是总开关，其下的云层、气流两个子开关在大气关闭时变灰。
   放在罗盘下方：罗盘是读地图方位的锚点，要紧贴模式菜单；这块是偶尔才动的开关，往下放。点标题栏可折叠 */
#layerPanel{
  position:absolute;left:24px;top:478px;z-index:30;width:var(--menu-w);
  background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  padding:9px 12px 8px;backdrop-filter:blur(8px);
}
#layerPanel .lpHead{display:flex;align-items:center;justify-content:space-between;cursor:pointer;
  font-size:13.5px;letter-spacing:2px;color:#9fbad0;margin:0 2px 4px;}
#layerPanel .lpHead .arr{font-size:12px;color:var(--txt-dim);transition:transform .25s;}
#layerPanel.folded .lpHead{margin-bottom:0;}
#layerPanel.folded .lpHead .arr{transform:rotate(-90deg);}
#layerPanel.folded .lpRow{display:none;}
.lpRow{display:flex;align-items:center;gap:10px;width:100%;padding:5px 4px;border:none;border-radius:7px;
  background:transparent;color:#d6e7f2;cursor:pointer;text-align:left;transition:background .15s;}
.lpRow:hover{background:rgba(120,190,235,.10);}
.lpRow b{font-size:15px;font-weight:500;}
.lpRow em{margin-left:auto;font-style:normal;font-size:12.5px;color:#7f96ad;white-space:nowrap;}
.lpRow.sub{padding-left:18px;}
.lpRow.dis{opacity:.4;cursor:not-allowed;}
.lpSw{flex:none;position:relative;width:34px;height:19px;border-radius:10px;background:rgba(140,170,200,.28);transition:background .2s;}
.lpSw::after{content:"";position:absolute;left:3px;top:3px;width:13px;height:13px;border-radius:50%;background:#cfdbe6;transition:left .2s,background .2s;}
.lpRow.on .lpSw{background:linear-gradient(180deg,#33a8d8,#1c7ec2);}
.lpRow.on .lpSw::after{left:18px;background:#fff;}
.lpRow:not(.on) b{color:#8aa0b4;}

/* ---------- 左下：分段讲解卡（沿用三圈环流的信息卡） ----------
   平时收起，只显示本段大标题；点一下展开，显示段号、模块标签与分条讲解，再点收起。展开 / 收起状态在翻页时保留。 */
#stepCard{
  position:absolute;left:24px;bottom:120px;z-index:30;
  width:auto;min-width:var(--menu-w);max-width:460px;
  padding:12px 16px;border:1px solid rgba(72,204,255,.48);border-radius:12px;
  background:rgba(6,22,39,.72);backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:0 20px 60px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.07);
  cursor:pointer;transition:padding .18s ease,border-color .18s ease,background .18s ease;
}
#stepCard h2{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0;
  font-size:19px;font-weight:700;color:#fff;letter-spacing:0;line-height:1.35;}
#stepCard h2::after{content:"收起";flex:none;font-size:13px;font-weight:600;color:#8ab4f8;}
#stepCard.collapsed h2::after{content:"展开";}
html[lang="en"] #stepCard h2::after{content:"Hide";}
html[lang="en"] #stepCard.collapsed h2::after{content:"Show";}
#stepCard:not(.collapsed){width:460px;padding:18px 20px;border-color:rgba(132,184,244,.2);
  background:linear-gradient(180deg,rgba(22,40,66,.86),rgba(9,19,37,.8));}
#stepCard:not(.collapsed) h2{font-size:21px;margin-bottom:8px;}
#stepCard:not(.collapsed) h2::after{font-size:14px;}
#stepCard .meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;}
#stepCard .meta span{padding:3px 8px;border:1px solid rgba(117,194,255,.22);border-radius:999px;
  color:#9fc8e9;background:rgba(14,44,74,.55);font-size:14px;}
#stepCard ul{margin:0;padding:0 0 0 18px;color:#b8cede;font-size:16px;line-height:1.55;}
#stepCard li+li{margin-top:4px;}
#stepCard.collapsed .meta,#stepCard.collapsed ul{display:none;}
/* 当前段有配图时，标题行多一个「配图」按钮：配图关掉后随时能再打开 */
#insetBtn{flex:none;margin-left:auto;height:26px;padding:0 10px;border-radius:13px;cursor:pointer;
  border:1px solid rgba(255,210,150,.55);background:rgba(255,190,110,.14);color:#ffd9a8;font-size:13.5px;font-weight:600;letter-spacing:1px;}
#insetBtn:hover{background:rgba(255,190,110,.28);color:#fff;}
#stepCard h2 #subTitle{min-width:0;}

/* ---------- 右侧图例 ----------
   字号对齐锋与天气的右栏（图例行 13.5px、标题 15px）：投影到教室后排也读得清。
   宽度与左栏 --menu-w 一致，放大后长行不折。 */
#legend{
  position:absolute;right:24px;top:96px;z-index:30;width:var(--menu-w);
  background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  padding:11px 16px;backdrop-filter:blur(8px);font-size:14.5px;
}
#legend.flash{animation:legFlash 1.6s ease-out;}
@keyframes legFlash{0%,40%{border-color:#7fdcff;box-shadow:0 0 0 2px rgba(127,220,255,.35),0 0 22px rgba(127,220,255,.45);}100%{box-shadow:none;}}
#legend h4{font-size:16px;color:#b9e2f5;letter-spacing:3px;margin-bottom:9px;}
#legend .sub{margin:10px 0 6px;font-size:13.5px;letter-spacing:1.5px;color:#8fb0c8;border-top:1px dashed rgba(140,190,225,.25);padding-top:9px;}
.lgRow{display:flex;align-items:center;gap:9px;margin:3.5px 0;color:#d6e7f2;}
.lgRow svg{flex:none;}
.lgSwatch{flex:none;width:26px;height:10px;border-radius:3px;}
#sstBar{display:block;width:100%;height:12px;border-radius:4px;
  background:#073a65;}
#sstTicks{display:flex;justify-content:space-between;font-size:12.5px;color:#9db6cb;margin-top:3px;}
#sstNote,#tempNote{font-size:13px;color:#8fb0c8;text-align:center;margin-top:2px;letter-spacing:.3px;}
/* 海面显示切换：图例面板的第一行、通栏大按钮——它决定了下面这条色标是什么意思，所以和色标放在一起 */
#legend .lgHead{margin-bottom:9px;}
#legend .lgHead .lgCap{font-size:12.5px;letter-spacing:2px;color:#8fb0c8;margin:0 2px 5px;}
.surfToggle{display:flex;gap:3px;background:rgba(8,18,30,.65);border:1px solid rgba(120,190,235,.35);border-radius:10px;padding:3px;}
.surfToggle button{flex:1;height:38px;border:none;background:transparent;color:#a9c3d8;font-size:16.5px;font-weight:600;letter-spacing:2px;
  border-radius:7px;cursor:pointer;transition:all .2s;}
.surfToggle button:hover{color:#fff;background:rgba(120,190,235,.12);}
.surfToggle button.on{background:linear-gradient(180deg,#38b2e2,#1c7ec2);color:#fff;box-shadow:0 2px 10px rgba(40,150,210,.45);}
/* 切换海面显示时的醒目提示：画面上方居中的大字卡片，附当前色标，约 3 秒后淡出 */
#surfBanner{position:absolute;left:50%;top:104px;transform:translateX(-50%);z-index:85;min-width:440px;
  padding:14px 26px 14px;border-radius:14px;text-align:center;pointer-events:none;opacity:0;
  background:rgba(8,20,34,.9);border:1.5px solid rgba(127,220,255,.6);box-shadow:0 12px 40px rgba(0,0,0,.5),0 0 26px rgba(127,220,255,.25);}
#surfBanner.show{animation:sbShow 3.2s ease-out forwards;}
@keyframes sbShow{0%{opacity:0;transform:translate(-50%,-10px);}8%{opacity:1;transform:translate(-50%,0);}78%{opacity:1;}100%{opacity:0;}}
#surfBanner .k{font-size:14px;letter-spacing:3px;color:#8fd4f0;}
#surfBanner .t{font-size:30px;font-weight:700;color:#fff;letter-spacing:3px;margin:2px 0 4px;}
#surfBanner .x{font-size:16.5px;color:#d6e7f2;}
#surfBanner canvas{display:block;width:380px;height:12px;border-radius:4px;margin:10px auto 0;}
#tempBar{display:block;width:100%;height:12px;border-radius:4px;background:#073a65;}
#tempTicks{position:relative;height:15px;font-size:12.5px;color:#9db6cb;margin-top:3px;}
#tempTicks span{position:absolute;transform:translateX(-50%);}
#tempTicks span:first-child{transform:none;}
#legend .lgMoreBtn{margin-top:9px;padding-top:8px;border-top:1px dashed rgba(140,190,225,.25);font-size:14px;color:#8fd4f0;cursor:pointer;letter-spacing:.5px;}
#legend .lgMoreBtn:hover{color:#fff;}
#stage.legendOpen #chartCard{opacity:0;pointer-events:none;}
#scaleNote{font-size:13px;color:#8fb0c8;line-height:1.6;margin-top:8px;border-top:1px dashed rgba(140,190,225,.25);padding-top:8px;}

/* ---------- 右侧观测卡 ---------- */
#chartCard{
  position:absolute;right:24px;top:470px;z-index:30;width:var(--menu-w);
  background:var(--panel-bg2);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  padding:10px 14px;backdrop-filter:blur(10px);
}
#chartCard .ccTitle{font-size:15.5px;color:#b9e2f5;letter-spacing:2px;margin-bottom:7px;}
.liveRow{display:flex;justify-content:space-between;gap:8px;font-size:14.5px;line-height:1.5;}
.liveRow .k{flex:none;white-space:nowrap;color:var(--txt-dim);}
.liveRow .v{text-align:right;font-weight:500;color:#fff;}
.liveRow .v.warm{color:#ff8d6b;} .liveRow .v.cold{color:#6bd0ff;} .liveRow .v.ok{color:#7ee0a1;}
#miniChart{margin-top:5px;border-top:1px dashed rgba(140,190,225,.25);padding-top:5px;}
#miniChart .msHead{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px;color:#a9c3d8;margin-bottom:4px;}
#miniChart .msNote{font-size:12px;color:#8aa5bd;}
#miniChart .msWrap{position:relative;width:224px;height:79px;border-radius:5px;overflow:hidden;border:1px solid rgba(140,190,225,.22);}
#miniChart canvas{position:absolute;inset:0;width:224px;height:79px;}
#miniChart svg{position:absolute;inset:0;width:224px;height:79px;}
#miniChart .msTag{position:absolute;font-size:11.5px;color:#eaf6ff;text-shadow:0 1px 2px rgba(0,0,0,.9);pointer-events:none;}
#miniChart .msAxis{display:flex;justify-content:space-between;font-size:11.5px;color:#8ea4b8;margin-top:3px;}


/* 观测卡可点击放大（沃克、厄尔尼诺、拉尼娜）：标题右侧放大提示 */
#chartCard.zoomable{cursor:zoom-in;transition:border-color .2s,background .2s;}
#chartCard.zoomable:hover{border-color:rgba(120,200,240,.6);}
#chartCard .ccZoom{display:none;float:right;width:15px;height:15px;margin-top:2px;opacity:.55;transition:opacity .2s;}
#chartCard.zoomable .ccZoom{display:block;}
#chartCard.zoomable:hover .ccZoom{opacity:1;}
#chartCard.on{border-color:rgba(120,200,240,.7);box-shadow:inset 0 0 0 1px rgba(120,200,240,.25);}
/* ---------- 观测放大：停靠在沙盘下方（沿用锋与天气的放大面板） ----------
   不用遮罩弹窗：放大看剖面与读数时，沙盘上的海洋、环流仍在动。
   位置：左下讲解卡展开后的右缘(484)与右下「随堂检测」左缘(1596)之间，底栏顶(976)之上。
   随堂检测展开后会变宽，这时放大面板让位（做题时用不到它）。 */
#obsDock{
  position:absolute;left:500px;right:336px;top:752px;height:214px;z-index:31;display:none;
  background:rgba(9,19,32,.9);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  backdrop-filter:blur(10px);padding:14px 18px;gap:28px;
}
#obsDock.show{display:flex;}
#odClose{position:absolute;right:10px;top:8px;width:26px;height:26px;border-radius:7px;cursor:pointer;
  border:1px solid transparent;background:none;color:var(--txt-dim);font-size:15px;line-height:24px;}
#odClose:hover{border-color:var(--panel-border);color:var(--accent);}
.odSec{flex:none;width:740px;display:flex;flex-direction:column;}
.odHead{display:flex;align-items:baseline;gap:18px;font-size:16px;color:#cfe3ff;letter-spacing:1px;margin-bottom:6px;}
.odHead span{font-size:13.5px;color:#a9c3d8;letter-spacing:.3px;display:inline-flex;align-items:center;gap:6px;}
.odHead i{display:inline-block;width:22px;height:0;border-top:2px solid #8ff7ee;}
.odHead i.norm{border-top:1.5px dashed #cfe0ee;}
.odWrap{position:relative;width:740px;height:136px;border-radius:6px;overflow:hidden;border:1px solid rgba(140,190,225,.22);}
.odWrap canvas,.odWrap svg{position:absolute;inset:0;width:740px;height:136px;}
.odTag{position:absolute;font-size:13.5px;color:#eaf6ff;text-shadow:0 1px 3px rgba(0,0,0,.95);pointer-events:none;}
.odAxis{position:relative;height:18px;font-size:12.5px;color:#8ea4b8;}
.odAxis span{position:absolute;top:3px;transform:translateX(-50%);white-space:nowrap;}
.odRead{flex:1;min-width:0;padding-top:2px;padding-right:26px;}
.odRead .liveRow{font-size:15.5px;line-height:20px;}
/* 模式一第 5 段：同一块面板换成「海陆气温对比」放大图 */
.odClim{display:none;}
#obsDock.clim .odSec,#obsDock.clim .odRead{display:none;}
#obsDock.clim .odClim{display:block;}
.odClimChart{flex:none;width:640px;}
.odClimChart svg{display:block;width:640px;height:186px;}
.odClimText{flex:1;min-width:0;padding:4px 26px 0 0;font-size:15.5px;line-height:1.7;color:#d6e7f2;}
.odClimText .h{font-size:16px;color:#cfe3ff;letter-spacing:1px;margin-bottom:4px;}
.odClimText b.w{color:#ffb08a;font-weight:600;} .odClimText b.c{color:#8fd4ff;font-weight:600;}
.odClimText .n{font-size:13.5px;color:#8fa9c0;margin-top:4px;}

/* ---------- 三维标注（HTML，屏幕固定大小） ---------- */
#labelLayer{position:absolute;inset:0;z-index:20;pointer-events:none;overflow:hidden;}
.lbl{position:absolute;left:0;top:0;padding:3px 9px 4px;border-radius:7px;
  background:rgba(7,16,28,.66);border:1px solid var(--bd);color:var(--fg);
  text-align:center;white-space:nowrap;box-shadow:0 2px 10px rgba(0,0,0,.35);
  visibility:hidden;opacity:0;will-change:transform,opacity;}
.lbl b{display:block;font-size:var(--fs);font-weight:600;letter-spacing:1px;line-height:1.35;}
.lbl i{display:block;font-style:normal;font-size:12px;color:rgba(190,212,228,.88);letter-spacing:.3px;line-height:1.35;}
.lbl.geo{background:none;border:none;box-shadow:none;padding:0;}
.lbl.geo b{font-weight:500;letter-spacing:3px;text-shadow:0 1px 3px rgba(0,0,0,.95),0 0 6px rgba(0,0,0,.7);}
.lbl.title{padding:4px 14px 5px;border-color:rgba(120,210,245,.38);}
.lbl.title b{letter-spacing:6px;}
/* ---------- 悬浮讲解卡（点击热点） ---------- */
#hsCard{
  position:absolute;z-index:60;width:300px;display:none;
  background:linear-gradient(180deg,rgba(14,24,38,.97),rgba(17,28,44,.95));
  border:1px solid rgba(120,190,230,.4);border-radius:14px;padding:14px 16px;
  box-shadow:0 14px 40px rgba(0,0,0,.55);
}
#hsCard.show{display:block;}
#hsCard .kicker{font-size:11.5px;letter-spacing:.16em;color:rgba(120,210,240,.85);text-transform:uppercase;}
#hsCard h4{font-size:17px;color:#dff2ff;margin:4px 0 7px;}
#hsCard .body{font-size:13.8px;line-height:1.7;color:#cfe2ef;}
#hsCard .close{position:absolute;right:9px;top:8px;width:24px;height:24px;border:none;background:transparent;color:#7fa2bd;cursor:pointer;font-size:14px;}
#hsCard .close:hover{color:#fff;}

/* ---------- 随堂检测 ---------- */
#quiz{
  position:absolute;right:24px;bottom:120px;z-index:30;width:300px;
  background:var(--panel-bg2);border:1px solid var(--panel-border);border-radius:var(--panel-radius);
  padding:12px 15px;backdrop-filter:blur(10px);
}
#quiz .qHead{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:15px;color:#ffd9a8;letter-spacing:1px;}
#quiz .qHead .arr{font-size:15px;color:var(--txt-dim);transition:transform .3s;}
#quiz.folded .qHead .arr{transform:rotate(-90deg);}
#quiz .qBody{margin-top:9px;}
#quiz.folded .qBody{display:none;}
#quiz .qText{font-size:16px;line-height:1.65;color:#e6f1f9;margin-bottom:8px;}
#quiz .qOpt{
  display:block;width:100%;text-align:left;margin:5px 0;padding:8px 11px;border-radius:9px;
  border:1px solid rgba(130,190,225,.25);background:rgba(255,255,255,.04);color:#d5e8f2;
  font-size:15.8px;line-height:1.5;cursor:pointer;transition:all .18s;
}
#quiz .qOpt:hover{border-color:var(--accent);}
#quiz .qOpt.right{border-color:#43c988;background:rgba(50,190,120,.18);color:#c9f5dd;}
#quiz .qOpt.wrong{border-color:#e86054;background:rgba(230,90,80,.15);color:#ffd9d4;}
#quiz .qFb{font-size:15.3px;line-height:1.6;color:#a3c0d4;margin-top:7px;min-height:16px;}
#quiz .qNav{display:flex;justify-content:space-between;align-items:center;margin-top:8px;}
#quiz .qNav button{height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--panel-border);
  background:transparent;color:var(--txt-dim);font-size:15px;cursor:pointer;}
#quiz .qNav button:hover{color:var(--accent);border-color:var(--accent);}
#quiz .qNav span{font-size:14.5px;color:#7fa2bd;}
#quiz .qFig svg{display:block;margin:0 auto 6px;}
#quiz .qGrid{display:grid;grid-template-columns:1fr 1fr;gap:6px;}
#quiz .qGrid .qOpt{margin:0;padding:5px 6px;text-align:center;}
#quiz .qGrid .qOpt svg{display:block;margin:2px auto 0;}
/* 展开后加宽：字号比收起时大两号，题干和选项需要更宽的版面 */
#quiz:not(.folded){width:380px;padding:14px 17px;}
#quiz:not(.folded) .qHead{font-size:17px;}
/* 随堂检测展开时，让出右侧观测卡的位置 */
#stage.quizOpen #chartCard,#stage.quizOpen #legend,#stage.quizOpen #obsDock{opacity:0;pointer-events:none;}   /* 随堂检测放大后最高到图例下沿，做题时右栏整列让位 */
#chartCard{transition:opacity .3s;}

/* ---------- 分段讲解配图（浮动） ---------- */
#insetCard{
  position:absolute;left:50%;top:84px;transform:translateX(-50%);z-index:32;width:640px;display:none;
  background:linear-gradient(180deg,rgba(12,22,36,.94),rgba(14,26,42,.9));
  border:1px solid rgba(120,190,230,.38);border-radius:14px;padding:13px 18px 12px;
  box-shadow:0 14px 40px rgba(0,0,0,.5);backdrop-filter:blur(10px);
}
#insetCard.show{display:block;animation:insetIn .45s ease-out;}
@keyframes insetIn{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
#insetCard h4{font-size:16px;color:#bfe8fa;letter-spacing:1.5px;margin-bottom:6px;}
#insetCard .ib{font-size:13.8px;line-height:1.7;color:#d5e8f2;}
#insetCard .ib b{color:#ffd9a8;font-weight:600;}
#insetCard .ib ul{padding-left:18px;margin-top:4px;}
#insetCard svg{display:block;margin:4px auto 6px;}
#insetCard .close{position:absolute;right:9px;top:8px;width:24px;height:24px;border:none;background:transparent;color:#7fa2bd;cursor:pointer;font-size:14px;}
#insetCard .close:hover{color:#fff;}

/* ---------- 底部控制条：播放键 · 分段时间轴 · 实验滑杆（沿用锋与天气的底栏） ----------
   每一段是时间轴上的一个节点：节点上方是本段短标题，下方是段号；点节点跳到该段。
   亮条从当前节点向下一节点生长，表示本段的播放进度。 */
#bottomBar{
  position:absolute;left:0;right:0;bottom:0;z-index:30;height:104px;
  display:flex;align-items:center;gap:22px;padding:0 24px;
  background:linear-gradient(180deg,rgba(8,14,24,0),rgba(8,14,24,.84) 42%);
}
#playCtrls{display:flex;align-items:center;gap:10px;flex:none;}
.iconBtn.big{width:58px;height:58px;font-size:20px;border-width:2px;}
#btnPlay,#btnStep,#btnSpeed{font-size:15px;color:var(--txt-main);}
#timeline{flex:1;min-width:0;position:relative;display:flex;align-items:flex-start;margin-top:4px;}
#tlTrack{position:absolute;top:31px;height:4px;border-radius:2px;background:rgba(160,195,225,.25);}
#tlFill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:2px;
  background:linear-gradient(90deg,#2fa6d6,#6fd7f2);box-shadow:0 0 8px rgba(80,190,235,.55);}
.tlStop{position:relative;z-index:2;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;}
.tlStop .cap{height:20px;line-height:20px;font-size:15px;color:#b4c9dc;letter-spacing:.5px;white-space:nowrap;transition:color .2s;}
.tlStop .dot{width:16px;height:16px;border-radius:50%;background:#0f1a28;border:3px solid #7d93ad;transition:all .25s;}
.tlStop .sub{font-size:12.5px;color:#7f96ad;}
.tlStop:hover .cap{color:#fff;}
.tlStop.passed .dot{border-color:#2f8fc0;background:#2f8fc0;}
/* 网站免费版里带锁的分段、题目 */
.tlStop.locked .cap{color:#7f8fa0;}
.tlStop.locked .dot{display:flex;align-items:center;justify-content:center;border-color:#c9a45c;background:#1b1a14;}
.tlStop.locked .dot svg{width:9px;height:9px;fill:none;stroke:#ffd27a;stroke-width:2.6;}
#quiz .qOpt.qPro{display:flex;align-items:center;gap:8px;border-color:#c9a45c;color:#ffd27a;}
#quiz .qOpt.qPro svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;}
#windCtl.pro .wGauge{cursor:pointer;}
.tlStop.on .cap{color:#6fd7f2;font-weight:600;}
.tlStop.on .dot{border-color:#5fd0f2;background:#0f1a28;box-shadow:0 0 0 5px rgba(80,200,240,.22),0 0 14px rgba(80,200,240,.75);}
/* 右端实验滑杆位：沃克、厄尔尼诺、拉尼娜放信风强度；模式一只在第 2、10 段放水温 / 气温，其余段显示提示，宽度不变，时间轴不跳动 */
#ctlSlot{flex:none;width:420px;display:flex;align-items:center;gap:16px;}
#ctlHint{display:none;flex:1;text-align:center;font-size:13.5px;color:#7f96ad;letter-spacing:.5px;}
/* 信风强度滑杆 */
#windCtl{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;}
#windCtl .wHead{display:flex;justify-content:space-between;font-size:13.5px;color:var(--txt-dim);}
#windCtl .wHead b{color:#ffd9a8;font-weight:600;}
#windCtl input[type=range]{width:100%;accent-color:var(--accent);height:22px;cursor:pointer;}
#windCtl .wZones{display:flex;justify-content:space-between;font-size:11.5px;color:#7fa2bd;letter-spacing:.5px;}
#windCtl .wZones i{font-style:normal;}
#windCtl .wZones .zEl{color:#ff9a80;} #windCtl .wZones .zLa{color:#7cc8ff;}
/* 只读刻度表：厄尔尼诺、拉尼娜全程，沃克第 1～3 段。三个色区 + 随讲解平滑移动的指针，没有拖柄 */
#windCtl .wGauge{display:none;position:relative;height:10px;margin:6px 0;border-radius:5px;cursor:default;
  background:linear-gradient(90deg,rgba(255,140,100,.55) 0%,rgba(255,140,100,.22) 32%,rgba(150,175,200,.22) 44%,rgba(150,175,200,.22) 56%,rgba(110,190,255,.22) 68%,rgba(110,190,255,.55) 100%);}
#windCtl .wGauge::after{content:"";position:absolute;left:50%;top:-3px;width:1px;height:16px;background:rgba(200,220,240,.45);}
#windCtl .wGauge b{position:absolute;top:-5px;width:4px;height:20px;border-radius:2px;transform:translateX(-50%);
  background:#ffd9a8;box-shadow:0 0 8px rgba(255,210,150,.85);}
#windCtl.ro .wGauge,#windCtl.lock .wGauge{display:block;}
#windCtl.ro input[type=range],#windCtl.lock input[type=range]{display:none;}
/* 水温滑杆（模式一） */
#sstCtl{display:none;flex-direction:column;gap:3px;flex:1;min-width:0;}
#sstCtl .wHead{display:flex;justify-content:space-between;font-size:13.5px;color:var(--txt-dim);}
#sstCtl .wHead b{color:#ffd9a8;font-weight:600;}
#sstCtl input[type=range]{width:100%;accent-color:#ff9a60;height:22px;cursor:pointer;}
#sstCtl .wZones{display:flex;justify-content:space-between;font-size:11.5px;color:#7fa2bd;}
/* 气温滑杆（模式一：与水温配合，演示海气温差） */
#airCtl{display:none;flex-direction:column;gap:3px;flex:1;min-width:0;}
#airCtl .wHead{display:flex;justify-content:space-between;font-size:13.5px;color:var(--txt-dim);}
#airCtl .wHead b{color:#bfe8ff;font-weight:600;}
#airCtl input[type=range]{width:100%;accent-color:#6fc8ff;height:22px;cursor:pointer;}
#airCtl .wZones{display:flex;justify-content:space-between;font-size:11.5px;color:#7fa2bd;}

/* ---------- 提示浮层 ---------- */
#toast{
  position:absolute;left:50%;top:92px;transform:translateX(-50%);z-index:80;
  padding:9px 20px;border-radius:12px;background:rgba(10,22,36,.9);border:1px solid rgba(120,190,230,.4);
  font-size:14.5px;color:#dff2ff;letter-spacing:.5px;opacity:0;pointer-events:none;transition:opacity .35s;
}
#toast.show{opacity:1;}

/* ---------- 关于弹窗 ---------- */
.modal{
  position:absolute;inset:0;z-index:200;display:none;align-items:center;justify-content:center;
  padding:40px;background:rgba(2,8,20,.72);backdrop-filter:blur(14px);
}
.modal.open{display:flex;}
.modalCard{
  width:min(860px,100%);max-height:860px;overflow:auto;padding:24px 26px;
  border-radius:var(--panel-radius);border:1px solid var(--panel-border);
  background:linear-gradient(180deg,rgba(12,19,30,.98),rgba(16,26,40,.96));
  box-shadow:0 24px 70px rgba(0,0,0,.6);
}
.modalHead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px;}
.modalHead h2{font-size:24px;font-weight:700;color:#cfeaff;letter-spacing:1px;}
.modalHead .sub{font-size:14px;color:var(--txt-dim);margin-top:5px;letter-spacing:.6px;}
.modalClose{
  height:38px;padding:0 18px;border-radius:10px;border:1px solid var(--panel-border);
  background:var(--panel-bg2);color:var(--txt-main);font-size:15px;cursor:pointer;flex:none;transition:all .2s;
}
.modalClose:hover{border-color:var(--accent);color:var(--accent);}
.aboutBody{display:grid;gap:15px;color:#e2f0f7;line-height:1.8;}
.aboutBody h3,.aboutBody h4,.aboutBody p,.aboutBody ul{margin:0;}
.aboutBody h3{font-size:18px;font-weight:700;color:#dff4ff;letter-spacing:.8px;}
.aboutBody p,.aboutBody li{font-size:14.5px;color:#d5e6f0;}
.aboutBody a{color:#8fd4ff;text-decoration:underline;text-underline-offset:.18em;}
.aboutBody ul{padding-left:20px;display:grid;gap:6px;}
.aboutCard{
  padding:16px 18px;border-radius:14px;border:1px solid rgba(130,190,225,.16);
  background:linear-gradient(155deg,rgba(80,160,220,.10),rgba(6,12,24,.22));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);display:grid;gap:10px;
}
.aboutCard .kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:rgba(130,210,245,.75);}
.aboutBody h4{font-size:16px;font-weight:700;color:#f2f8ff;margin:4px 0 0;}
.aboutCard .summary{color:rgba(213,230,240,.86);}
.aboutNav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.aboutNav a{display:grid;gap:3px;padding:12px 14px;border-radius:12px;text-decoration:none;color:#e7f4ff;
  border:1px solid rgba(90,180,235,.28);background:rgba(63,193,230,.08);transition:all .2s;}
.aboutNav a:hover{border-color:var(--accent);background:rgba(63,193,230,.16);}
.aboutNav small{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:rgba(130,210,245,.8);}
.aboutNav span{font-size:15px;}
.aboutRule{height:1px;background:rgba(140,190,225,.18);margin:4px 0;}
/* 可见版权声明：右下角已有随堂检测与观测卡，按说明文档 §12 放进「关于」面板 */
.copyright-notice{display:flex;flex-direction:column;gap:3px;user-select:text;}
.copyright-notice .aboutFoot{margin:0;}
.aboutFoot{font-size:13.5px;color:var(--txt-dim);letter-spacing:.4px;}

/* 舞台外版权条 */
#copyRight{
  position:fixed;left:0;right:0;bottom:0;height:16px;z-index:50;display:none;
  text-align:center;font-size:10.5px;letter-spacing:1px;color:#5f7890;line-height:16px;
}
