/* 注意力演示 · 样式。1920×1080 设计稿，整体按窗口等比缩放。配色与课件模板一致。 */
:root {
  --navy: #092D5A;
  --blue: #0096DC;
  --bg: #F0F6FC;
  --pale: #DCEBF8;
  --line: #B7D3EC;
  --soft: #7FC3EA;
  --orange: #E8892B;
  --green: #23A26D;
  --paper: #FFF3C4;
}
html, body { margin: 0; height: 100%; background: var(--bg); overflow: hidden; }
body, #stage { font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif; color: var(--navy); }
#viewport { position: fixed; inset: 0; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; background: var(--bg); overflow: hidden; user-select: none; }
#gl { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; opacity: 0; transition: opacity .5s; }
#gl.on { opacity: 1; }
#labels3d { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; z-index: 1; }
#labels3d > div { pointer-events: none; }
#scenes { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.scene.on { opacity: 1; visibility: visible; }
.notr, .notr * { transition: none !important; animation: none !important; }

/* ---------- 页眉、标题、进度条、讲稿 ---------- */
#hdr { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 56px; pointer-events: none; }
#partLabel { font-size: 30px; font-weight: 700; color: var(--blue); min-width: 620px; }
#counter { font-size: 30px; font-weight: 700; color: var(--navy); min-width: 620px; text-align: right; }
#phase { display: flex; align-items: center; gap: 16px; font-size: 30px; font-weight: 700; opacity: 0; transition: opacity .4s; }
#phase.on { opacity: 1; }
.ph { padding: 6px 22px; border-radius: 999px; border: 3px solid var(--line); color: var(--navy); background: #fff; transition: all .4s; }
.ph.act { background: var(--blue); border-color: var(--blue); color: #fff; }
.ph-arrow { color: var(--blue); }
#headline { position: absolute; z-index: 3; top: 96px; left: 80px; right: 80px; margin: 0; text-align: center; font-size: 58px; font-weight: 700; line-height: 1.25; color: var(--navy); pointer-events: none; }
#headline.anim { animation: hin .5s ease both; }
@keyframes hin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#subline { position: absolute; z-index: 3; top: 180px; left: 80px; right: 80px; text-align: center; font-size: 42px; font-weight: 700; color: var(--blue); opacity: 0; transition: opacity .6s; pointer-events: none; }
#subline.on { opacity: 1; }
#progress { position: absolute; z-index: 4; left: 56px; right: 56px; bottom: 10px; height: 32px; display: flex; gap: 16px; }
.pg-part { display: flex; gap: 4px; }
.pg-n { flex: 1; height: 32px; position: relative; cursor: pointer; }
.pg-n::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 12px; border-radius: 6px; background: var(--pale); transition: background .3s, transform .15s; }
.pg-n.done::after { background: var(--line); }
.pg-n.cur::after { background: var(--blue); }
.pg-n:hover::after { transform: scaleY(1.6); background: var(--soft); }
#notes { position: absolute; left: 0; right: 0; bottom: 0; max-height: 54%; overflow: auto; background: rgba(9, 45, 90, .96); color: #fff; font-size: 30px; line-height: 1.65; padding: 24px 64px 40px; z-index: 50; box-sizing: border-box; }
#notes .nk { font-size: 22px; color: #9FD8F8; margin-bottom: 8px; }
#notes .nh { font-size: 30px; font-weight: 700; color: #7FD0FF; margin-bottom: 6px; }
#notes .ns { font-size: 25px; color: #CDE6F7; margin-top: 12px; }

/* ---------- 通用元素 ---------- */
.chip { position: absolute; display: flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 14px; background: #fff; border: 3px solid var(--line); color: var(--navy); font-weight: 700; white-space: nowrap;
  transition: left .6s, top .6s, width .6s, height .6s, font-size .6s, background .3s, border-color .3s, color .3s, opacity .4s, transform .4s, box-shadow .3s; }
.chip.todo { opacity: .35; }
.chip.cur { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-8px); box-shadow: 0 10px 24px rgba(0, 150, 220, .35); }
.chip.flat { transform: none; }
.chip.done { background: var(--pale); border-color: var(--line); }
.chip.warn { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip.hot { border-color: var(--blue); border-width: 6px; background: #E3F3FC; }
.chip.hotw { border-color: var(--orange); border-width: 6px; background: #FDF0E3; }
.chip.end { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.new { border-color: var(--blue); }
.chip.hide { opacity: 0; }
.chip.plain { border-color: transparent; background: transparent; }
svg.arcs { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.arc { fill: none; stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .3; stroke-width: 2.5;
  transition: stroke-dashoffset 1s ease, opacity .5s, stroke-width .5s, stroke .4s; }
.arc.on { stroke-dashoffset: 0; }
.arc.fast { transition: stroke-dashoffset .45s ease, opacity .3s, stroke-width .3s; }
.arc.veclink { stroke-width: 5; opacity: .9; transition: stroke-dashoffset .9s ease; }
.pill { display: inline-block; padding: 8px 26px; border: 3px solid var(--blue); border-radius: 999px; color: var(--blue); background: #fff; font-size: 28px; font-weight: 700; white-space: nowrap; }
.badge { position: absolute; transform: translateX(-50%); opacity: 0; transition: opacity .5s; }
.badge.on { opacity: 1; }
.caret { display: inline-block; width: 3px; height: 1.1em; background: var(--navy); vertical-align: middle; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* 一串数字（向量）的小横条 */
.vrow { position: relative; height: 17px; }
.vrow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.vbar { position: absolute; top: 0; height: 17px; border-radius: 4px; transform: scaleX(0); transition: transform .45s; }
.vbar.pos { left: 50%; background: var(--blue); transform-origin: 0 50%; }
.vbar.neg { right: 50%; background: var(--orange); transform-origin: 100% 50%; }

/* ---------- 标题页 ---------- */
.ttl { position: absolute; top: 330px; left: 0; right: 0; text-align: center; font-size: 84px; font-weight: 700; color: var(--navy); }
.ttl-list { position: absolute; top: 540px; left: 0; right: 0; display: flex; justify-content: center; gap: 24px; }
.tl { font-size: 38px; font-weight: 700; color: var(--navy); background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 18px 28px; text-align: center; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.tl.on { opacity: 1; transform: none; }
.tl b { display: block; color: var(--blue); font-size: 30px; margin-bottom: 6px; }

/* ---------- 逐字读、往前看 ---------- */
.paper { position: absolute; width: 600px; height: 116px; background: #FFFDF4; border: 3px solid #E9D9A0; border-radius: 6px; box-shadow: 0 10px 24px rgba(9, 45, 90, .14); transform: rotate(-1.2deg); transform-origin: 50% 0;
  transition: left .35s, top .5s, opacity .4s, transform .5s; display: flex; align-items: center; padding: 0 22px; box-sizing: border-box; opacity: 0; }
.paper.on { opacity: 1; }
.paper.big { transform: rotate(-1.2deg) scale(1.18); }
.paper.small { transform: rotate(-1.2deg) scale(.78); }
.paper-t { position: absolute; left: -4px; top: -46px; font-size: 30px; font-weight: 700; color: #B08A1E; }
.paper-in { width: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap; }
.pw { font-weight: 700; flex: none; }
.pw.lost { outline: 4px dashed var(--orange); outline-offset: 6px; border-radius: 6px; }
.qbubble { position: absolute; padding: 12px 28px; background: var(--orange); color: #fff; font-size: 38px; font-weight: 700; border-radius: 18px; white-space: nowrap; opacity: 0; transform: translate(-50%, 12px) scale(.9); transition: opacity .4s, transform .4s; }
.qbubble.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.qbubble::after { content: ""; position: absolute; left: 50%; bottom: -16px; margin-left: -14px; border: 14px solid transparent; border-bottom: 0; border-top-color: var(--orange); }
.chev { position: absolute; width: 24px; text-align: center; font-size: 44px; font-weight: 700; color: var(--line); opacity: 0; transition: opacity .3s, color .2s; transform: translateX(-50%); }
.chev.on { opacity: 1; }
.chev.lit { color: var(--orange); }
.gpu { position: absolute; left: 1440px; top: 290px; width: 420px; opacity: 0; transition: opacity .5s; }
.gpu.on { opacity: 1; }
.gpu-t { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.gpu-grid { display: grid; grid-template-columns: repeat(8, 40px); gap: 8px; padding: 18px; background: #fff; border: 4px solid var(--navy); border-radius: 18px; width: fit-content; margin: 0 auto; }
.cell { width: 40px; height: 40px; border-radius: 8px; background: var(--pale); transition: background .15s, box-shadow .15s; }
.cell.lit { background: var(--blue); box-shadow: 0 0 12px rgba(0, 150, 220, .6); }
.counter-box { position: absolute; text-align: center; opacity: 0; transition: opacity .4s; }
.counter-box.on { opacity: 1; }
.cb-t { font-size: 32px; font-weight: 700; color: var(--navy); }
.cb-n { font-size: 100px; font-weight: 700; color: var(--blue); line-height: 1.05; }

/* ---------- 发消息、切 token、向量 ---------- */
.chatcard { position: absolute; left: 360px; top: 270px; width: 1200px; height: 560px; background: #fff; border-radius: 28px; box-shadow: 0 18px 50px rgba(9, 45, 90, .12); transition: opacity .5s, transform .6s; }
.chatcard.away { opacity: 0; transform: translateY(-60px) scale(.95); }
.inbar { position: absolute; left: 40px; right: 40px; bottom: 36px; height: 96px; display: flex; gap: 20px; }
.inbox { flex: 1; border: 3px solid var(--line); border-radius: 18px; font-size: 40px; display: flex; align-items: center; padding: 0 26px; overflow: hidden; white-space: nowrap; }
.sendbtn { width: 170px; background: var(--blue); color: #fff; border-radius: 18px; font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.sendbtn.press { transform: scale(.88); }
.ububble { position: absolute; right: 40px; top: 44px; max-width: 1040px; background: var(--blue); color: #fff; font-size: 42px; line-height: 1.4; padding: 22px 32px; border-radius: 26px 26px 6px 26px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .5s; overflow: hidden; }
.ububble.on { opacity: 1; transform: none; }
.scanbar { position: absolute; top: 0; bottom: 0; width: 220px; left: -260px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.65), rgba(255,255,255,0)); }
.readtag { position: absolute; right: 40px; top: 190px; opacity: 0; transition: opacity .4s; }
.readtag.on { opacity: 1; }
.tid { position: absolute; font-size: 30px; font-weight: 700; color: var(--blue); text-align: center; opacity: 0; transition: opacity .5s; }
.tid.on { opacity: 1; }
.vcol { position: absolute; width: 120px; display: flex; flex-direction: column; gap: 7px; opacity: 0; transition: opacity .3s; }
.vcol.on { opacity: 1; }
.vcol.on .vbar { transform: scaleX(1); }

/* ---------- 三维语义空间上的覆盖层 ---------- */
.lab3d { font-size: 34px; font-weight: 700; white-space: nowrap; text-shadow: 0 0 6px #F0F6FC, 0 0 10px #F0F6FC, 0 0 14px #F0F6FC; transition: opacity .4s; }
.lab3d.mid { font-size: 30px; }
.lab3d.small { font-size: 24px; }
.lab3d.tag { font-size: 32px; color: #fff; background: var(--navy); padding: 2px 14px; border-radius: 10px; text-shadow: none; }
.lab3d.tag.big { font-size: 38px; background: var(--blue); }
.lab3d.big { font-size: 46px; }
.semtag { position: absolute; left: 50px; top: 196px; width: 400px; background: #fff; border: 3px solid var(--line); border-radius: 16px; padding: 12px 20px 14px; box-sizing: border-box; }
.semtag b { display: block; font-size: 32px; margin-bottom: 2px; }
.semtag span { font-size: 22px; font-weight: 700; line-height: 1.45; }
.sentences { position: absolute; top: 928px; left: 0; right: 0; text-align: center; font-size: 32px; font-weight: 700; line-height: 1.45; opacity: 0; transition: opacity .5s; }
.sentences.on { opacity: 1; }
.sentences .ka { color: var(--blue); }
.sentences .kb { color: var(--orange); }
.readline { position: absolute; top: 950px; left: 0; right: 0; text-align: center; font-size: 40px; font-weight: 700; opacity: 0; transition: opacity .5s; }
.readline.on { opacity: 1; }
.rw { color: var(--line); transition: color .25s; }
.rw.rd { color: var(--navy); }
.slab { position: absolute; display: flex; border-radius: 12px; overflow: hidden; border: 3px solid var(--navy); background: #fff; opacity: 0; box-sizing: border-box;
  transition: left .8s, top .8s, width .8s, height .8s, font-size .8s, opacity .4s; }
.slab.on { opacity: 1; }
.slab .half { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); background: var(--pale); transition: background .3s, color .3s; white-space: nowrap; }
.slab .half + .half { border-left: 3px solid var(--navy); }
.slab.h1 .half:first-child, .slab.lit .half { background: var(--blue); color: #fff; }
.slab.lit .half + .half { background: var(--navy); }
.layerpill { position: absolute; left: 70px; top: 410px; opacity: 0; transition: opacity .5s; }
.layerpill.on { opacity: 1; }

/* ---------- 写 ---------- */
.wchat { position: absolute; left: 80px; top: 250px; width: 760px; height: 400px; background: #fff; border-radius: 26px; box-shadow: 0 14px 40px rgba(9, 45, 90, .1); }
.wub { position: absolute; right: 30px; top: 30px; max-width: 680px; background: var(--blue); color: #fff; font-size: 34px; line-height: 1.45; padding: 18px 26px; border-radius: 24px 24px 6px 24px; }
.wub .hl, .wab .hl { color: #fff; background: var(--orange); border-radius: 6px; padding: 0 4px; }
.wab { position: absolute; left: 30px; top: 230px; min-width: 120px; min-height: 64px; font-size: 44px; font-weight: 700; color: var(--navy); background: var(--bg); border: 3px solid var(--line); padding: 16px 28px; border-radius: 24px 24px 24px 6px; opacity: 0; transition: opacity .4s; }
.wab.on { opacity: 1; }
.wpanel { position: absolute; left: 880px; top: 250px; width: 960px; height: 400px; background: #fff; border-radius: 26px; box-shadow: 0 14px 40px rgba(9, 45, 90, .1); padding: 26px 36px; box-sizing: border-box; opacity: 0; transition: opacity .4s; }
.wpanel.on { opacity: 1; }
.wp-t { font-size: 32px; font-weight: 700; margin-bottom: 14px; }
.brow { display: flex; align-items: center; height: 46px; gap: 16px; font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.bl { text-align: right; flex: none; }
.bb { height: 30px; background: var(--soft); border-radius: 6px; width: 0; transition: width .6s; flex: none; }
.brow.top .bb { background: var(--blue); }
.brow.pick { color: var(--blue); }
.bp { width: 90px; flex: none; }
.wl-badge { position: absolute; right: 30px; top: 22px; font-size: 24px; }
.vecbox { position: absolute; left: 36px; top: 26px; width: 150px; text-align: center; transition: opacity .6s; }
.vecbox.hid { opacity: 0; }
.vb-t { font-size: 32px; font-weight: 700; color: var(--blue); }
.vb-s { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.vmini { display: flex; flex-direction: column; gap: 5px; width: 130px; margin: 0 auto; }
.vmini .vrow, .vmini .vbar { height: 14px; }
.vmini .vbar { transform: scaleX(1); }
.varrow { position: absolute; left: 200px; top: 150px; font-size: 32px; font-weight: 700; color: var(--blue); text-align: center; line-height: 1.3; }
.wbars { position: absolute; left: 290px; top: 26px; right: 30px; }
.wheelwrap { position: absolute; left: 40px; top: 20px; width: 360px; height: 360px; }
.wheel-ptr { position: absolute; left: 180px; top: -6px; margin-left: -18px; border: 18px solid transparent; border-bottom: 0; border-top: 30px solid var(--navy); }
.wlegend { position: absolute; left: 460px; top: 78px; display: flex; flex-direction: column; gap: 4px; font-size: 30px; font-weight: 700; }
.wlegend div { display: flex; align-items: center; gap: 12px; transition: color .3s; }
.wlegend i { width: 26px; height: 26px; border-radius: 6px; display: inline-block; }
.wlegend .pick { color: var(--blue); }
.mslab { position: absolute; left: 150px; width: 360px; height: 28px; border-radius: 8px; background: var(--pale); border: 2px solid var(--line); box-sizing: border-box; transition: background .2s, border-color .2s; }
.mslab.lit { background: var(--blue); border-color: var(--blue); }
.mlab { position: absolute; left: 20px; width: 115px; text-align: right; font-size: 24px; font-weight: 700; color: var(--blue); }
.chip.mover { left: 288px; width: 84px; height: 40px; font-size: 24px; z-index: 2; transition: background .3s, border-color .3s; }
.mtext { position: absolute; left: 560px; top: 100px; width: 360px; }
.mtext p { font-size: 32px; font-weight: 700; margin: 0 0 22px; line-height: 1.4; }
.mtext p.b { color: var(--blue); }
.flychip { z-index: 5; }
.linkcap { position: absolute; transform: translateX(-50%); font-size: 36px; font-weight: 700; color: var(--orange); white-space: nowrap; opacity: 0; transition: opacity .5s; }
.linkcap.on { opacity: 1; }

/* ---------- 便利贴墙 ---------- */
.wall { position: absolute; left: 100px; top: 240px; width: 1720px; height: 560px; background: #E6F0F9; border-radius: 24px; border: 3px solid var(--line); transition: opacity .5s; }
.note { position: absolute; width: 220px; height: 150px; perspective: 900px; transition: opacity .35s, transform .35s; }
.note.hid { opacity: 0; transform: scale(.6); }
.flip { position: relative; width: 100%; height: 100%; transition: transform .8s; transform-style: preserve-3d; }
.note.flipped .flip { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 10px; box-shadow: 0 6px 14px rgba(9, 45, 90, .15); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--navy); background: var(--paper); transition: box-shadow .3s; padding: 0 10px; box-sizing: border-box; text-align: center; }
.face.back { transform: rotateY(180deg); background: #FFE7A3; }
.face .tg { position: absolute; top: 8px; left: 10px; font-size: 22px; font-weight: 700; color: #fff; padding: 0 10px; border-radius: 6px; background: var(--blue); }
.face.back .tg { background: var(--orange); }
.fw { font-size: 40px; font-weight: 700; }
.fw2 { font-size: 22px; font-weight: 700; }
.fk { font-size: 20px; font-weight: 700; line-height: 1.3; }
.face.back .fk { font-size: 25px; }
.note .stamp { position: absolute; right: 10px; bottom: 6px; font-size: 22px; font-weight: 700; color: var(--green); opacity: 0; transition: opacity .3s; }
.note.newn .stamp { opacity: 1; }
.kvnote { position: absolute; left: 1336px; top: 680px; font-size: 24px; transition: opacity .5s; }
.kvlegend { position: absolute; top: 836px; left: 0; right: 0; display: flex; justify-content: center; gap: 28px; transition: opacity .5s; }
.lg { font-size: 32px; font-weight: 700; background: #fff; border-radius: 14px; padding: 14px 24px; border: 3px solid var(--line); opacity: 0; transition: opacity .5s; }
.lg.on { opacity: 1; }
.lg b { color: #fff; padding: 0 12px; border-radius: 6px; margin-right: 12px; }
.qcard { position: absolute; width: 96px; height: 70px; background: var(--navy); color: #fff; font-size: 38px; font-weight: 700; border-radius: 12px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: left .22s, top .22s, opacity .3s; z-index: 3; box-shadow: 0 8px 20px rgba(9, 45, 90, .3); }
.qcard.on { opacity: 1; }
.rwpanels { position: absolute; top: 290px; left: 0; right: 0; display: flex; justify-content: center; gap: 60px; }
.rwp { width: 760px; background: #fff; border-radius: 26px; padding: 38px 44px; border: 5px solid var(--line); box-sizing: border-box; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .5s; }
.rwp.on { opacity: 1; transform: none; }
.rwp.w { border-color: var(--blue); }
.rwp h3 { font-size: 50px; color: var(--blue); margin: 0 0 22px; }
.rwp p { font-size: 40px; font-weight: 700; margin: 16px 0; }

/* ---------- 以前 vs 现在 ---------- */
.vs-card { position: absolute; top: 240px; width: 860px; height: 700px; background: #fff; border-radius: 26px; border: 5px solid var(--line); box-sizing: border-box; }
.vs-card.good { border-color: var(--blue); }
.vs-h { position: absolute; top: 24px; left: 0; right: 0; text-align: center; font-size: 46px; font-weight: 700; }
.vs-card.good .vs-h { color: var(--blue); }
.vs-paper { position: absolute; top: 320px; width: 320px; height: 56px; background: #FFFDF4; border: 3px solid #E9D9A0; border-radius: 6px; display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 0 12px; box-sizing: border-box; overflow: hidden; white-space: nowrap; font-weight: 700; transition: left .25s, opacity .3s; }
.vs-gt { position: absolute; left: 60px; top: 410px; font-size: 30px; font-weight: 700; }
.vs-grid { position: absolute; left: 60px; top: 455px; display: grid; grid-template-columns: repeat(8, 18px); gap: 5px; padding: 10px; border: 3px solid var(--navy); border-radius: 12px; }
.mcell { width: 18px; height: 18px; border-radius: 4px; background: var(--pale); transition: background .15s; }
.mcell.lit { background: var(--blue); }
.vs-bl { position: absolute; left: 320px; top: 450px; right: 30px; }
.vs-bl p { font-size: 36px; font-weight: 700; margin: 0 0 34px; padding-left: 22px; border-left: 8px solid var(--orange); line-height: 1.35; }
.vs-card.good .vs-bl p { border-left-color: var(--blue); }
