/* Agentic Engineering — lesson stage + scene templates. Stage is 1920x1080 (landscape) or 1080x1920 (portrait). */
:root {
  --paper: #F6F3EC; --paper2: #ECE7DC; --paper3: #E2DCCD; --ink: #16161A; --ink2: #55555F; --ink3: #8B8B95; --line: #D8D1C2;
  --agent: #FF5A1F; --agent-soft: #FFD9C7; --agent-deep: #C23D0C; --human: #2E5BFF; --human-soft: #D8E1FF;
  --good: #0F9D58; --good-soft: #D3F2E1; --warn: #F2A20C; --warn-soft: #FFEDC4; --bad: #E5484D; --bad-soft: #FFDCDC;
  --term: #111216; --term2: #1C1E24; --term-fg: #ECECEF; --term-dim: #8C919C;
  --f-display: "Space Grotesk", system-ui, sans-serif; --f-body: "Inter", system-ui, sans-serif; --f-mono: "JetBrains Mono", ui-monospace, monospace; --f-hand: "Caveat", cursive;
}
.stage { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--paper); color: var(--ink); font-family: var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
.stage.portrait { width: 1080px; height: 1920px; }
.stage * { box-sizing: border-box; }
.stage .scenes, .stage .scene { position: absolute; inset: 0; }
.stage .scene { visibility: hidden; }
.stage .scene.bg-grid::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--line) 1.5px, transparent 1.5px); background-size: 60px 60px; opacity: .45; }
.stage .scene.bg-ink { background: var(--ink); color: var(--paper); --line: #2c2c34; }
.stage .scene.bg-ink .side-h, .stage .scene.bg-ink .side-p { color: var(--paper); }
.stage .scene.bg-agent { background: var(--agent); color: #fff; }
.stage .cam { position: absolute; inset: 0; padding: 120px 150px 170px; display: flex; flex-direction: column; justify-content: center; transform-origin: 50% 50%; }
.stage.portrait .cam { padding: 220px 80px 330px; }
.stage .err { color: var(--bad); font: 600 40px var(--f-mono); }

/* chrome: kicker, brand, captions, progress */
.stage .kicker { position: absolute; left: 150px; top: 54px; display: flex; gap: 16px; align-items: center; font: 500 26px var(--f-display); color: var(--ink3); letter-spacing: .01em; z-index: 3; }
.stage .kicker b { font: 700 22px var(--f-mono); color: var(--paper); background: var(--ink); border-radius: 8px; padding: 4px 10px; }
.stage .bg-ink .kicker b { background: var(--agent); }
.stage.portrait .kicker { left: 80px; top: 110px; font-size: 30px; }
.stage .brand { position: absolute; right: 56px; top: 50px; font: 600 24px var(--f-display); color: var(--ink3); display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; z-index: 3; }
.stage .brand-dot { width: 20px; height: 20px; border-radius: 6px; background: var(--agent); border: 3px solid var(--ink); }
.stage.portrait .brand { right: 80px; top: 112px; font-size: 26px; }
.stage.mode-web .brand { display: none; }
.stage .cap { position: absolute; left: 0; right: 0; bottom: 56px; display: flex; justify-content: center; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .15s; }
.stage .cap.on { opacity: 1; }
.stage .cap-in { max-width: 1500px; padding: 14px 28px; border-radius: 16px; background: rgba(22, 22, 26, .88); color: #fff; font: 600 42px/1.25 var(--f-body); text-align: center; letter-spacing: -.005em; }
.stage .cap-in span { color: rgba(255,255,255,.62); transition: color .08s; }
.stage .cap-in span.said { color: #fff; }
.stage .cap-in span.now { color: #FFB089; }
.stage.portrait .cap { bottom: 200px; }
.stage.portrait .cap-in { max-width: 940px; font-size: 50px; }
.stage.no-caps .cap { display: none; }
.stage-progress { position: absolute; left: 0; right: 0; top: 0; height: 8px; background: transparent; z-index: 6; }
.stage-progress i { display: block; height: 100%; background: var(--agent); transform-origin: left; transform: scaleX(0); }
.stage.mode-web .stage-progress { display: none; }

/* shared */
.stage .chip { display: inline-block; font: 700 26px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 10px; }
.stage .eyebrow { font: 700 26px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--agent-deep); margin-bottom: 26px; }
.stage .bg-ink .eyebrow { color: var(--agent); }
.stage .side-h { font: 700 64px/1.06 var(--f-display); letter-spacing: -.025em; margin: 0 0 36px; }
.stage .side-p { font: 400 36px/1.4 var(--f-body); color: var(--ink2); margin: 0; }
.stage.portrait .side-h { font-size: 64px; }
.stage .mk { background-image: linear-gradient(transparent 58%, var(--agent-soft) 58%, var(--agent-soft) 92%, transparent 92%); background-repeat: no-repeat; background-size: calc(var(--sw, 1) * 100%) 100%; padding: 0 .06em; }
.stage .bg-ink .mk { background-image: linear-gradient(transparent 58%, rgba(255, 90, 31, .55) 58%, rgba(255, 90, 31, .55) 92%, transparent 92%); }
.stage .ul { background-image: linear-gradient(var(--human), var(--human)); background-repeat: no-repeat; background-position: 0 92%; background-size: calc(var(--sw, 1) * 100%) .09em; }
.stage .st { background-image: linear-gradient(var(--bad), var(--bad)); background-repeat: no-repeat; background-position: 0 55%; background-size: calc(var(--sw, 1) * 100%) .08em; color: var(--ink3); }
.stage code.ic { font-family: var(--f-mono); font-size: .86em; background: var(--paper2); border: 2px solid var(--line); border-radius: 10px; padding: .02em .28em; }
.stage .bg-ink code.ic { background: #26262d; border-color: #3a3a44; }
.stage .src { margin-top: 30px; font: 500 24px var(--f-mono); color: var(--ink3); }
.stage .hnote { position: absolute; z-index: 4; transform: translate(-50%, -50%) rotate(var(--rot, -4deg)); font: 700 50px/1.05 var(--f-hand); color: var(--agent-deep); max-width: 520px; text-align: center; }
.stage .bg-ink .hnote { color: var(--agent); }
.stage .punch { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%); pointer-events: none; }
.stage .punch span { display: inline-block; font: 700 120px var(--f-display); color: var(--paper); background: var(--agent); border: 6px solid var(--ink); padding: 10px 40px; border-radius: 22px; box-shadow: 12px 12px 0 var(--ink); white-space: nowrap; }
.stage .w { display: inline-block; }

/* title */
.stage .ti { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.stage .ti-text { flex: 1; min-width: 0; }
.stage .ti-kick { display: flex; gap: 22px; align-items: center; margin-bottom: 40px; }
.stage .ti-mod { font: 500 28px var(--f-display); color: var(--ink2); }
.stage .ti-h { font: 700 128px/.98 var(--f-display); letter-spacing: -.04em; margin: 0; max-width: 1150px; }
.stage .ti-sub { font: 400 42px/1.35 var(--f-body); color: var(--ink2); margin: 40px 0 0; max-width: 1000px; }
.stage .ti-art { position: relative; width: 480px; display: flex; justify-content: center; align-items: flex-end; flex: none; }
.stage .ti-human { margin-right: -30px; }
.stage .bubble { position: absolute; top: -70px; right: -20px; background: #fff; border: 4px solid var(--ink); border-radius: 26px; padding: 18px 26px; font: 600 32px/1.2 var(--f-body); max-width: 380px; box-shadow: 8px 8px 0 var(--ink); }
.stage.portrait .ti { flex-direction: column-reverse; align-items: flex-start; gap: 70px; }
.stage.portrait .ti-h { font-size: 112px; }
.stage.portrait .ti-art { width: 100%; justify-content: flex-start; }
.stage.portrait .bubble { left: 300px; right: auto; top: -40px; }

/* statement */
.stage .stm { display: flex; align-items: center; gap: 80px; }
.stage .stm-text { flex: 1; min-width: 0; }
.stage .stm.align-center { text-align: center; justify-content: center; }
.stage .stm.align-center .stm-text { max-width: 1500px; margin: 0 auto; }
.stage .stm-h { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; }
.stage .stm-h.size-xl { font-size: 150px; line-height: .98; }
.stage .stm-h.size-l { font-size: 112px; line-height: 1.02; }
.stage .stm-h.size-m { font-size: 86px; line-height: 1.08; }
.stage .stm-h.size-s { font-size: 66px; line-height: 1.14; letter-spacing: -.025em; }
.stage .stm-sub { font: 400 40px/1.4 var(--f-body); color: var(--ink2); margin: 44px 0 0; max-width: 1300px; }
.stage .bg-ink .stm-sub { color: #b9b9c2; }
.stage .stm-art { flex: none; display: flex; justify-content: center; }
.stage .stm-art.tone-agent .st-ico { color: var(--agent); } .stage .stm-art.tone-human .st-ico { color: var(--human); } .stage .stm-art.tone-bad .st-ico { color: var(--bad); } .stage .stm-art.tone-good .st-ico { color: var(--good); }
.stage .st-ico svg { stroke-width: 1.6; }
.stage.portrait .stm { flex-direction: column-reverse; align-items: flex-start; gap: 60px; }
.stage.portrait .stm-h.size-xl { font-size: 128px; } .stage.portrait .stm-h.size-l { font-size: 96px; } .stage.portrait .stm-h.size-m { font-size: 76px; } .stage.portrait .stm-h.size-s { font-size: 60px; }
.stage.portrait .stm-sub { font-size: 42px; }

/* quote */
.stage .qt { margin: 0; position: relative; padding-left: 10px; }
.stage .qt-mark { font: 700 260px/0.6 var(--f-display); color: var(--agent); height: 130px; }
.stage .qt-text { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; max-width: 1560px; }
.stage .qt-text.size-l { font-size: 86px; line-height: 1.08; } .stage .qt-text.size-m { font-size: 68px; line-height: 1.14; } .stage .qt-text.size-s { font-size: 54px; line-height: 1.2; }
.stage .qt-cap { display: flex; align-items: center; gap: 22px; margin-top: 54px; flex-wrap: wrap; }
.stage .qt-av { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 30px var(--f-display); flex: none; }
.stage .bg-ink .qt-av { background: var(--agent); }
.stage .qt-who { display: flex; flex-direction: column; } .stage .qt-who b { font: 700 36px var(--f-display); } .stage .qt-who i { font: 400 italic 28px var(--f-body); color: var(--ink2); font-style: normal; }
.stage .qt-src { display: flex; align-items: center; gap: 10px; margin-left: 20px; font: 500 24px var(--f-mono); color: var(--ink3); border-left: 3px solid var(--line); padding-left: 24px; max-width: 760px; }
.stage.portrait .qt-text.size-l { font-size: 76px; } .stage.portrait .qt-text.size-m { font-size: 62px; } .stage.portrait .qt-text.size-s { font-size: 50px; }
.stage.portrait .qt-src { margin-left: 0; border-left: 0; padding-left: 0; width: 100%; }

/* terminal */
.stage .term { background: var(--term); border-radius: 26px; border: 4px solid var(--ink); box-shadow: 16px 16px 0 rgba(22, 22, 26, .16); overflow: hidden; max-width: 1560px; width: 100%; align-self: center; }
.stage .term-bar { height: 64px; background: var(--term2); display: flex; align-items: center; gap: 12px; padding: 0 24px; }
.stage .term-bar i { width: 18px; height: 18px; border-radius: 50%; background: #3a3d46; } .stage .term-bar i:first-child { background: #FF5F57; } .stage .term-bar i:nth-child(2) { background: #FEBC2E; } .stage .term-bar i:nth-child(3) { background: #28C840; }
.stage .term-bar span { margin-left: 18px; font: 500 24px var(--f-mono); color: var(--term-dim); }
.stage .term-body { height: 680px; overflow: hidden; padding: 26px 36px; }
.stage .term-scroll { will-change: transform; }
.stage .tl { display: flex; gap: 18px; height: 56px; align-items: center; font: 400 31px var(--f-mono); color: var(--term-fg); white-space: pre; overflow: hidden; }
.stage .tl .pfx { width: 28px; flex: none; text-align: center; color: var(--term-dim); }
.stage .tl .tx { overflow: hidden; text-overflow: ellipsis; }
.stage .k-cmd .pfx { color: #4ADE80; } .stage .k-cmd .tx { color: #fff; font-weight: 500; }
.stage .k-you .pfx { color: #8FB0FF; } .stage .k-you .tx { color: #C9D6FF; font-weight: 500; }
.stage .k-agent .pfx { color: var(--agent); } .stage .k-agent .tx { color: #fff; font-family: var(--f-body); font-size: 31px; }
.stage .k-tool .tx { color: var(--term-dim); } .stage .k-tool .pfx { color: #67E8F9; }
.stage .k-ok .pfx, .stage .k-ok .tx { color: #4ADE80; } .stage .k-err .pfx, .stage .k-err .tx { color: #FF7A7A; } .stage .k-warn .pfx, .stage .k-warn .tx { color: #FDE047; }
.stage .k-add { background: rgba(74, 222, 128, .12); } .stage .k-add .pfx, .stage .k-add .tx { color: #86EFAC; }
.stage .k-del { background: rgba(255, 122, 122, .12); } .stage .k-del .pfx, .stage .k-del .tx { color: #FCA5A5; }
.stage .k-dim .tx { color: #5f636c; }
.stage .tl code.ic, .stage .tl .mk { background: none; border: 0; padding: 0; color: #FFB089; }
.stage .term-cap { margin-top: 36px; font: 500 36px/1.35 var(--f-body); color: var(--ink2); text-align: center; }
.stage.portrait .term-body { height: 940px; padding: 24px 26px; }
.stage.portrait .tl { height: 50px; font-size: 26px; gap: 12px; } .stage.portrait .k-agent .tx { font-size: 27px; }

/* code */
.stage .code { background: #FFFDF8; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 16px 16px 0 rgba(22, 22, 26, .14); overflow: hidden; max-width: 1500px; width: 100%; align-self: center; }
.stage .code-bar { height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 26px; background: var(--paper2); border-bottom: 3px solid var(--ink); }
.stage .fname { font: 600 26px var(--f-mono); }
.stage .badge { margin-left: auto; font: 700 20px var(--f-mono); background: var(--agent); color: #fff; padding: 4px 12px; border-radius: 8px; letter-spacing: .04em; text-transform: uppercase; }
.stage .code-body { position: relative; padding: 14px 0 22px; }
.stage .code-hls { position: absolute; inset: 0; pointer-events: none; }
.stage .hlb { position: absolute; left: 0; right: 0; transform-origin: left; }
.stage .hlb.tone-agent { background: rgba(255, 90, 31, .16); border-left: 8px solid var(--agent); }
.stage .hlb.tone-human { background: rgba(46, 91, 255, .12); border-left: 8px solid var(--human); }
.stage .hlb.tone-bad { background: rgba(229, 72, 77, .14); border-left: 8px solid var(--bad); }
.stage .hlb.tone-good { background: rgba(15, 157, 88, .14); border-left: 8px solid var(--good); }
.stage .hlb-l { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(-2deg); font: 700 40px var(--f-hand); color: var(--agent-deep); }
.stage .cl { position: relative; display: flex; height: 50px; align-items: center; font: 400 30px var(--f-mono); white-space: pre; }
.stage .cl .ln { width: 86px; flex: none; text-align: right; padding-right: 26px; color: var(--ink3); font-size: 24px; }
.stage .cl .cx { color: var(--ink); overflow: hidden; }
.stage .cl.d-add { background: rgba(15, 157, 88, .12); } .stage .cl.d-add .ln { color: var(--good); font-weight: 700; }
.stage .cl.d-del { background: rgba(229, 72, 77, .12); } .stage .cl.d-del .ln { color: var(--bad); font-weight: 700; } .stage .cl.d-del .cx { color: #8a3a3c; }
.stage .c-k { color: #B4361F; font-weight: 500; } .stage .c-s { color: #0B7A4A; } .stage .c-n { color: #2E5BFF; } .stage .c-c { color: var(--ink3); font-style: italic; } .stage .c-h { color: var(--agent-deep); font-weight: 700; }
.stage.portrait .cl { height: 46px; font-size: 25px; } .stage.portrait .cl .ln { width: 60px; padding-right: 16px; font-size: 20px; }

/* chat */
.stage .chat { max-width: 1440px; width: 100%; align-self: center; }
.stage .chat-h { font: 700 54px var(--f-display); letter-spacing: -.02em; margin-bottom: 34px; }
.stage .chat-list { display: flex; flex-direction: column; gap: 28px; }
.stage .msg { display: flex; align-items: flex-end; gap: 22px; }
.stage .msg .av { flex: none; width: 80px; display: flex; justify-content: center; }
.stage .msg .bub { padding: 24px 32px; border-radius: 30px; font: 400 38px/1.38 var(--f-body); border: 4px solid var(--ink); max-width: 1180px; }
.stage .msg.from-you { flex-direction: row-reverse; }
.stage .msg.from-you .bub { background: var(--human); color: #fff; border-bottom-right-radius: 8px; }
.stage .msg.from-agent .bub { background: #fff; border-bottom-left-radius: 8px; box-shadow: 8px 8px 0 rgba(22,22,26,.1); }
.stage .msg.tone-bad .bub { border-color: var(--bad); box-shadow: 8px 8px 0 var(--bad-soft); } .stage .msg.tone-good .bub { border-color: var(--good); box-shadow: 8px 8px 0 var(--good-soft); }
.stage .bub-l { display: block; font: 700 22px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.stage .msg.typing .bub { display: flex; gap: 10px; padding: 26px 30px; }
.stage .msg.typing .bub i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink3); animation: aeDot 1s infinite; }
.stage .msg.typing .bub i:nth-child(2) { animation-delay: .15s; } .stage .msg.typing .bub i:nth-child(3) { animation-delay: .3s; }
@keyframes aeDot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.stage.portrait .msg .bub { font-size: 36px; max-width: 840px; }

/* loop */
.stage .lp { display: flex; align-items: center; justify-content: center; gap: 70px; }
.stage .lp-side { flex: 1; max-width: 700px; }
.stage .lp-box { position: relative; flex: none; }
.stage .lp-svg { position: absolute; inset: 0; }
.stage .lp-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.stage .lp-c { width: 140px; height: 140px; border-radius: 50%; background: var(--paper); border: 5px solid var(--ink); display: grid; place-items: center; color: var(--ink); transition: none; }
.stage .lp-node.hot .lp-c { box-shadow: 0 0 0 12px rgba(255, 90, 31, .22); }
.stage .lp-l { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; width: 340px; display: flex; flex-direction: column; gap: 4px; }
.stage .lp-l.below { top: 152px; } .stage .lp-l.above { bottom: 152px; }
.stage .lp-l.left { right: 160px; left: auto; top: 50%; transform: translateY(-50%); text-align: right; width: 300px; align-items: flex-end; }
.stage .lp-l.right { left: 160px; top: 50%; transform: translateY(-50%); text-align: left; width: 300px; align-items: flex-start; }
.stage .lp-l b { font: 700 40px var(--f-display); letter-spacing: -.02em; } .stage .lp-l i { font: 400 26px var(--f-body); color: var(--ink2); font-style: normal; }
.stage .lp-center { position: absolute; transform: translate(-50%, -50%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 280px; }
.stage .lp-center b { font: 700 40px var(--f-display); } .stage .lp-center i { font: 400 26px var(--f-body); color: var(--ink2); font-style: normal; }
.stage .lp-dot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--agent); border: 5px solid var(--ink); z-index: 3; opacity: 0; }
.stage.portrait .lp { flex-direction: column; gap: 40px; }
.stage.portrait .lp-side { max-width: none; width: 100%; }
.stage .bg-ink .lp-c { background: var(--ink); color: var(--paper); border-color: var(--paper); }
.stage .bg-ink .arcs { stroke: var(--paper); }

/* flow */
.stage .fl { display: flex; flex-direction: column; align-items: center; gap: 46px; }
.stage .fl-title { align-self: flex-start; }
.stage .fl-row { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: nowrap; }
.stage .fl-node { width: 260px; min-height: 250px; padding: 26px 18px; background: #fff; border: 4px solid var(--ink); border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; box-shadow: 10px 10px 0 rgba(22, 22, 26, .12); }
.stage .fl-node b { font: 700 34px/1.12 var(--f-display); letter-spacing: -.02em; } .stage .fl-node i { font: 400 24px/1.3 var(--f-body); color: var(--ink2); font-style: normal; }
.stage .fl-art { height: 96px; display: grid; place-items: center; color: var(--ink); }
.stage .fl-node.kind-agent { background: var(--agent-soft); } .stage .fl-node.kind-human { background: var(--human-soft); }
.stage .fl-node.kind-tool, .stage .fl-node.kind-code { background: var(--ink); color: var(--paper); } .stage .fl-node.kind-tool i, .stage .fl-node.kind-code i { color: #b9b9c2; } .stage .fl-node.kind-tool .fl-art, .stage .fl-node.kind-code .fl-art { color: var(--paper); }
.stage .fl-node.kind-test, .stage .fl-node.kind-check { background: var(--good-soft); } .stage .fl-node.kind-test .fl-art, .stage .fl-node.kind-check .fl-art { color: var(--good); }
.stage .fl-node.kind-warn { background: var(--bad-soft); } .stage .fl-node.kind-warn .fl-art { color: var(--bad); }
.stage .fl-node.kind-doc { background: #FFFDF5; } .stage .fl-node.kind-doc .fl-art { color: var(--agent-deep); }
.stage .fl-arrow { position: relative; flex: none; display: grid; place-items: center; }
.stage .fl-arrow svg { overflow: visible; } .stage .fl-arrow path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.stage .fl-edge { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 34px var(--f-hand); color: var(--agent-deep); }
.stage .fl-cap { font: 500 36px/1.4 var(--f-body); color: var(--ink2); text-align: center; max-width: 1400px; margin: 0; }
.stage .fl.vert .fl-row { flex-direction: column; gap: 4px; }
.stage .fl.vert .fl-node { width: 760px; min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 20px 28px; gap: 26px; }
.stage .fl.vert .fl-node > b { flex: 1; }
.stage .fl.vert .fl-node i { display: none; }
.stage .fl.vert .fl-art { height: auto; }
.stage .fl.vert .fl-edge { top: 50%; left: 70px; transform: translateY(-50%); }
.stage .bg-ink .fl-node { color: var(--ink); }

/* context window */
.stage .ctx { width: 100%; max-width: 1620px; align-self: center; }
.stage .ctx-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; }
.stage .ctx-title { font: 700 58px var(--f-display); letter-spacing: -.02em; } .stage .ctx-cap { font: 600 32px var(--f-mono); color: var(--ink2); }
.stage .ctx-bar { position: relative; height: 190px; border: 5px solid var(--ink); border-radius: 26px; background: repeating-linear-gradient(-45deg, #fff, #fff 14px, #F3EFE6 14px, #F3EFE6 28px); display: flex; overflow: hidden; padding: 10px; gap: 8px; }
.stage .cb { height: 100%; border-radius: 14px; display: flex; align-items: flex-end; padding: 14px 16px; overflow: hidden; flex: none; border: 3px solid rgba(22,22,26,.85); }
.stage .cb span { font: 600 24px/1.15 var(--f-body); white-space: normal; }
.stage .cb.kind-sys { background: #2B2B33; color: #fff; } .stage .cb.kind-mem { background: var(--warn); } .stage .cb.kind-you { background: var(--human); color: #fff; } .stage .cb.kind-file { background: var(--human-soft); }
.stage .cb.kind-tool { background: var(--agent-soft); } .stage .cb.kind-out { background: var(--agent); color: #fff; } .stage .cb.kind-junk { background: #C9C2B3; color: #57534a; } .stage .cb.kind-sum { background: var(--good); color: #fff; } .stage .cb.kind-plan { background: var(--good-soft); }
.stage .ctx-zones { position: relative; height: 92px; margin-top: 12px; }
.stage .zone { position: absolute; top: 0; height: 100%; border-top: 6px solid; display: flex; justify-content: center; padding-top: 12px; }
.stage .zone span { font: 700 40px var(--f-hand); }
.stage .zone.tone-good { border-color: var(--good); color: var(--good); } .stage .zone.tone-bad { border-color: var(--bad); color: var(--bad); } .stage .zone.tone-warn { border-color: var(--warn); color: #b07400; }
.stage .ctx-foot { display: flex; align-items: center; gap: 40px; margin-top: 18px; }
.stage .ctx-pct { font: 600 34px var(--f-mono); } .stage .ctx-pct b { font-size: 46px; color: var(--agent-deep); }
.stage .ctx-note { font: 500 34px/1.35 var(--f-body); color: var(--ink2); }
.stage.portrait .ctx-bar { height: 260px; } .stage.portrait .ctx-title { font-size: 54px; } .stage.portrait .ctx-foot { flex-direction: column; align-items: flex-start; gap: 20px; }

/* compare */
.stage .cmp { width: 100%; }
.stage .cmp-cols { display: flex; align-items: stretch; gap: 30px; }
.stage .cmp-col { flex: 1; border: 4px solid var(--ink); border-radius: 30px; padding: 40px 44px; background: #fff; box-shadow: 10px 10px 0 rgba(22, 22, 26, .12); }
.stage .cmp-h { display: flex; align-items: center; gap: 18px; font: 700 50px/1.1 var(--f-display); letter-spacing: -.02em; margin-bottom: 30px; }
.stage .cmp-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.stage .cmp-col li { display: flex; gap: 18px; align-items: flex-start; font: 400 36px/1.32 var(--f-body); }
.stage .mk-i { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-top: 0; }
.stage .cmp-col.tone-bad { background: #FBF8F2; } .stage .cmp-col.tone-bad .cmp-h { color: var(--bad); } .stage .cmp-col.tone-bad .mk-i { background: var(--bad-soft); color: var(--bad); } .stage .cmp-col.tone-bad li { color: var(--ink2); }
.stage .cmp-col.tone-good { background: #fff; border-color: var(--ink); } .stage .cmp-col.tone-good .cmp-h { color: var(--good); } .stage .cmp-col.tone-good .mk-i { background: var(--good-soft); color: var(--good); }
.stage .cmp-col.tone-human .cmp-h { color: var(--human); } .stage .cmp-col.tone-human .mk-i { background: var(--human-soft); color: var(--human); } .stage .cmp-col.tone-human { background: #F7F9FF; }
.stage .cmp-col.tone-agent .cmp-h { color: var(--agent-deep); } .stage .cmp-col.tone-agent .mk-i { background: var(--agent-soft); color: var(--agent-deep); } .stage .cmp-col.tone-agent { background: #FFF8F4; }
.stage .cmp-col.tone-neutral .mk-i { background: var(--paper2); color: var(--ink2); }
.stage .cmp-vs { align-self: center; font: 700 36px var(--f-mono); color: var(--ink3); background: var(--paper); border: 4px solid var(--ink); border-radius: 50%; width: 90px; height: 90px; display: grid; place-items: center; flex: none; margin: 0 -60px; z-index: 2; }
.stage.portrait .cmp-cols { flex-direction: column; gap: 10px; }
.stage.portrait .cmp-vs { margin: -40px auto; }
.stage.portrait .cmp-col { padding: 34px 36px; } .stage.portrait .cmp-col li { font-size: 34px; } .stage.portrait .cmp-h { font-size: 46px; }

/* list */
.stage .lst { max-width: 1500px; }
.stage .lst ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 34px; }
.stage .lst li { display: flex; gap: 30px; align-items: flex-start; }
.stage .li-t { font: 500 46px/1.25 var(--f-body); letter-spacing: -.01em; padding-top: 4px; }
.stage .li-t small { display: block; font: 400 32px/1.35 var(--f-body); color: var(--ink2); margin-top: 8px; letter-spacing: 0; }
.stage .lst.dense ul { gap: 24px; } .stage .lst.dense .li-t { font-size: 40px; }
.stage.landscape .lst.cols2 ul { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 70px; }
.stage .bul { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; border: 4px solid var(--ink); background: #fff; }
.stage .bul.num { font: 700 34px var(--f-mono); background: var(--ink); color: var(--paper); }
.stage .bul.dot { width: 26px; height: 26px; border-radius: 50%; background: var(--agent); margin: 18px 19px; }
.stage .bul.ico.tone-good { background: var(--good-soft); color: var(--good); } .stage .bul.ico.tone-bad { background: var(--bad-soft); color: var(--bad); }
.stage .bg-ink .li-t small { color: #b9b9c2; } .stage .bg-ink .bul { border-color: var(--paper); }
.stage.portrait .li-t { font-size: 44px; } .stage.portrait .lst.dense .li-t { font-size: 38px; }

/* stat */
.stage .stat { width: 100%; }
.stage .stat-row { display: flex; gap: 60px; align-items: flex-start; }
.stage .stat-i { flex: 1; }
.stage .stat-v { font: 700 220px/1 var(--f-display); letter-spacing: -.05em; }
.stage .stat.n2 .stat-v, .stage .stat.n3 .stat-v { font-size: 170px; }
.stage .stat-i.tone-agent .stat-v { color: var(--agent); } .stage .stat-i.tone-human .stat-v { color: var(--human); } .stage .stat-i.tone-bad .stat-v { color: var(--bad); } .stage .stat-i.tone-good .stat-v { color: var(--good); } .stage .stat-i.tone-ink .stat-v { color: var(--ink); }
.stage .stat-l { font: 600 46px/1.22 var(--f-display); letter-spacing: -.015em; margin-top: 18px; max-width: 900px; }
.stage .stat-s { font: 400 32px/1.4 var(--f-body); color: var(--ink2); margin-top: 14px; max-width: 900px; }
.stage.portrait .stat-row { flex-direction: column; gap: 70px; } .stage.portrait .stat-v { font-size: 190px; }

/* parallel agents */
.stage .lanes-wrap { width: 100%; max-width: 1560px; align-self: center; }
.stage .lanes { display: flex; flex-direction: column; gap: 24px; }
.stage .lane { display: flex; align-items: center; gap: 28px; background: #fff; border: 4px solid var(--ink); border-radius: 24px; padding: 14px 30px 14px 20px; box-shadow: 8px 8px 0 rgba(22, 22, 26, .1); }
.stage .lane-main { flex: 1; }
.stage .lane-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.stage .lane-top b { font: 700 36px var(--f-display); letter-spacing: -.015em; } .stage .lane-st { font: 500 26px var(--f-mono); color: var(--ink2); font-style: normal; }
.stage .lane-bar { height: 20px; border-radius: 10px; background: var(--paper2); overflow: hidden; }
.stage .lane-bar i { display: block; height: 100%; background: var(--agent); transform-origin: left; transform: scaleX(0); border-radius: 10px; }
.stage .lane.is-done .lane-bar i { background: var(--good); }
.stage .lane.tone-bad .lane-bar i { background: var(--bad); }
.stage .lane-done { width: 56px; height: 56px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; flex: none; opacity: 0; }
.stage .lane.tone-bad .lane-done { background: var(--bad); }
.stage .merge { display: flex; align-items: center; gap: 18px; margin-top: 30px; font: 700 40px var(--f-display); color: var(--good); justify-content: center; }
.stage.portrait .lane { padding: 12px 22px 12px 14px; gap: 18px; } .stage.portrait .lane-top b { font-size: 32px; } .stage.portrait .lane-st { font-size: 22px; }

/* stack */
.stage .stk-wrap { display: flex; align-items: center; gap: 80px; }
.stage .stk-side { flex: 1; }
.stage .stk { flex: none; width: 900px; display: flex; flex-direction: column-reverse; gap: 16px; }
.stage .layer { border: 4px solid var(--ink); border-radius: 24px; padding: 26px 36px; display: flex; align-items: center; gap: 22px; box-shadow: 8px 8px 0 rgba(22, 22, 26, .12); }
.stage .layer b { font: 700 42px var(--f-display); letter-spacing: -.02em; } .stage .layer i { margin-left: auto; font: 400 28px var(--f-body); font-style: normal; opacity: .85; text-align: right; }
.stage .layer.tone-ink { background: var(--ink); color: var(--paper); } .stage .layer.tone-agent { background: var(--agent); color: #fff; } .stage .layer.tone-human { background: var(--human); color: #fff; }
.stage .layer.tone-paper { background: #fff; } .stage .layer.tone-good { background: var(--good-soft); } .stage .layer.tone-warn { background: var(--warn-soft); } .stage .layer.tone-soft { background: var(--agent-soft); }
.stage.portrait .stk-wrap { flex-direction: column; align-items: stretch; gap: 50px; } .stage.portrait .stk { width: 100%; }

/* timeline */
.stage .tln { width: 100%; }
.stage .tln-track { position: relative; height: 560px; }
.stage .tln-line { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: var(--ink); border-radius: 3px; }
.stage .ev { position: absolute; top: 50%; }
.stage .ev-dot { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--paper); border: 6px solid var(--ink); }
.stage .ev.now .ev-dot { background: var(--agent); }
.stage .ev-box { position: absolute; left: 0; bottom: 44px; transform: translateX(-50%); width: 320px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stage .ev.alt .ev-box { bottom: auto; top: 44px; }
.stage .ev-when { font: 700 28px var(--f-mono); color: var(--agent-deep); } .stage .ev-box b { font: 700 36px/1.12 var(--f-display); letter-spacing: -.015em; } .stage .ev-box i { font: 400 26px/1.3 var(--f-body); color: var(--ink2); font-style: normal; }
.stage .tln.vert .tln-track { height: 1240px; }
.stage .tln.vert .tln-line { left: 70px; right: auto; top: 0; bottom: 0; width: 6px; height: 100%; margin: 0 0 0 -3px; }
.stage .tln.vert .ev { left: 73px !important; }
.stage .tln.vert .ev-box, .stage .tln.vert .ev.alt .ev-box { left: 50px; top: 0; bottom: auto; transform: translateY(-50%); text-align: left; width: 780px; }

/* spectrum */
.stage .spc { width: 100%; max-width: 1600px; align-self: center; }
.stage .spc-ends { display: flex; justify-content: space-between; margin-bottom: 40px; }
.stage .spc-end { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.stage .spc-end.r { align-items: flex-end; text-align: right; }
.stage .spc-end b { font: 700 42px var(--f-display); letter-spacing: -.02em; } .stage .spc-end i { font: 400 28px var(--f-body); color: var(--ink2); font-style: normal; }
.stage .spc-track { position: relative; height: 34px; border-radius: 17px; background: linear-gradient(90deg, var(--human), #9C6BD9, var(--agent)); border: 4px solid var(--ink); margin: 60px 0 220px; }
.stage .spc-mark { position: absolute; top: 0; transform: translateX(-50%); }
.stage .spc-mark .tick { position: absolute; left: -3px; top: 30px; width: 6px; height: 40px; background: var(--ink); border-radius: 3px; }
.stage .spc-mark .lab { position: absolute; top: 84px; left: 0; transform: translateX(-50%); width: 300px; text-align: center; font: 600 32px/1.2 var(--f-body); }
.stage .spc-knob { position: absolute; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #fff; border: 6px solid var(--ink); box-shadow: 0 6px 0 rgba(22,22,26,.2); }
.stage.portrait .spc-ends { margin-bottom: 20px; } .stage.portrait .spc-track { margin: 40px 0 300px; } .stage.portrait .spc-mark .lab { width: 230px; font-size: 28px; } .stage.portrait .spc-mark:nth-child(even) .lab { top: 180px; }

/* venn */
.stage .venn-wrap { display: flex; align-items: center; gap: 70px; justify-content: center; }
.stage .venn-side { flex: 1; max-width: 640px; }
.stage .venn { position: relative; flex: none; }
.stage .venn svg { position: absolute; inset: 0; overflow: visible; }
.stage .vc { opacity: .5; mix-blend-mode: screen; stroke: rgba(255,255,255,.9); stroke-width: 4; }
.stage .vcore { fill: var(--bad); stroke: #fff; stroke-width: 5; }
.stage .vl { position: absolute; transform: translate(-50%, -50%); text-align: center; width: 300px; display: flex; flex-direction: column; gap: 4px; }
.stage .vl b { font: 700 38px/1.1 var(--f-display); } .stage .vl i { font: 400 25px/1.3 var(--f-body); opacity: .8; font-style: normal; }
.stage .vcenter { position: absolute; transform: translate(-50%, -50%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; width: 300px; }
.stage .vcenter b { font: 700 34px var(--f-display); background: var(--bad); padding: 6px 16px; border-radius: 10px; }
.stage .bg-paper .vc { mix-blend-mode: multiply; stroke: var(--ink); opacity: .35; }
.stage.portrait .venn-wrap { flex-direction: column; gap: 20px; } .stage.portrait .venn-side { max-width: none; }

/* file tree */
.stage .tree-wrap { display: flex; align-items: center; gap: 80px; }
.stage .tree-side { flex: 1; }
.stage .tree { flex: none; width: 960px; background: #fff; border: 4px solid var(--ink); border-radius: 26px; padding: 30px 40px; box-shadow: 12px 12px 0 rgba(22,22,26,.12); }
.stage .tr-row { display: flex; align-items: center; gap: 16px; height: 66px; font: 500 32px var(--f-mono); }
.stage .tr-row.root { font-weight: 700; }
.stage .tr-row.hl .tr-name { background: var(--agent-soft); padding: 2px 10px; border-radius: 8px; font-weight: 700; }
.stage .tr-note { font: 700 38px var(--f-hand); color: var(--agent-deep); margin-left: 10px; white-space: nowrap; }
.stage.portrait .tree-wrap { flex-direction: column; align-items: stretch; gap: 40px; } .stage.portrait .tree { width: 100%; } .stage.portrait .tr-row { font-size: 28px; }

/* chart */
.stage .chart-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; }
.stage .chart-wrap .side-h { align-self: flex-start; }
.stage .chart .axis { stroke: var(--ink); stroke-width: 5; }
.stage .chart .bar { fill: var(--paper3); stroke: var(--ink); stroke-width: 4; } .stage .chart .bar.hl { fill: var(--agent); }
.stage .chart .ln { fill: none; stroke: var(--agent); stroke-width: 8; stroke-linejoin: round; stroke-linecap: round; }
.stage .chart .pt { fill: #fff; stroke: var(--ink); stroke-width: 5; } .stage .chart .pt.hl { fill: var(--agent); }
.stage .chart .ch-x { font: 600 28px var(--f-mono); fill: var(--ink2); } .stage .chart .ch-v { font: 700 32px var(--f-display); fill: var(--ink); } .stage .chart .ch-y { font: 600 24px var(--f-mono); fill: var(--ink3); }

/* formula */
.stage .fml { width: 100%; }
.stage .fml-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.stage .fml-t { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 40px; border: 4px solid var(--ink); border-radius: 28px; background: #fff; min-width: 260px; box-shadow: 10px 10px 0 rgba(22,22,26,.12); }
.stage .fml-t b { font: 700 50px var(--f-display); letter-spacing: -.02em; } .stage .fml-t i { font: 400 26px/1.3 var(--f-body); color: var(--ink2); font-style: normal; text-align: center; max-width: 280px; }
.stage .fml-t.tone-agent { background: var(--agent); color: #fff; } .stage .fml-t.tone-agent i { color: #fff; opacity: .85; }
.stage .fml-t.tone-human { background: var(--human); color: #fff; } .stage .fml-t.tone-human i { color: #fff; opacity: .85; }
.stage .fml-t.tone-soft { background: var(--agent-soft); } .stage .fml-t.tone-good { background: var(--good-soft); } .stage .fml-t.tone-ink { background: var(--ink); color: var(--paper); } .stage .fml-t.tone-ink i { color: #c8c8d0; } .stage .fml-t.tone-paper { background: #fff; }
.stage .fml-op { font: 700 90px var(--f-display); color: var(--ink3); }
.stage .fml-cap { font: 500 38px/1.4 var(--f-body); color: var(--ink2); text-align: center; margin: 50px auto 0; max-width: 1400px; }
.stage.portrait .fml-row { flex-direction: column; gap: 10px; } .stage.portrait .fml-t { width: 760px; flex-direction: row; justify-content: flex-start; padding: 24px 30px; } .stage.portrait .fml-t i { text-align: left; max-width: none; margin-left: auto; } .stage.portrait .fml-op { font-size: 64px; line-height: .8; }

/* quiz */
.stage .quiz { width: 100%; max-width: 1560px; align-self: center; }
.stage .qz-kick { display: flex; align-items: center; gap: 14px; font: 700 28px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--agent-deep); margin-bottom: 26px; }
.stage .qz-q { font: 700 70px/1.1 var(--f-display); letter-spacing: -.025em; margin: 0 0 48px; }
.stage .qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stage .qz-o { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 24px; padding: 26px 30px; background: #fff; border: 4px solid var(--ink); border-radius: 24px; font: 500 36px/1.25 var(--f-body); color: var(--ink); cursor: pointer; box-shadow: 8px 8px 0 rgba(22,22,26,.12); position: relative; transition: background .2s, opacity .2s, transform .1s; }
.stage.mode-web .qz-o:hover { background: var(--agent-soft); }
.stage .qz-l { flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 30px var(--f-mono); }
.stage .qz-mark { margin-left: auto; font: 700 44px var(--f-display); }
.stage .qz-o.right { background: var(--good-soft); border-color: var(--good); } .stage .qz-o.right .qz-l { background: var(--good); } .stage .qz-o.right .qz-mark::after { content: "\2713"; color: var(--good); }
.stage .qz-o.wrong { background: var(--bad-soft); border-color: var(--bad); } .stage .qz-o.wrong .qz-l { background: var(--bad); } .stage .qz-o.wrong .qz-mark::after { content: "\2717"; color: var(--bad); }
.stage .qz-o.dim { opacity: .45; }
.stage .qz-explain { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; font: 500 36px/1.4 var(--f-body); color: var(--ink); opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s; }
.stage .qz-explain svg { color: var(--agent); flex: none; margin-top: 4px; }
.stage .quiz.revealed .qz-explain { opacity: 1; transform: none; }
.stage .quiz.revealed .qz-timer { opacity: 0 !important; }
.stage .qz-timer { position: absolute; right: 150px; bottom: 170px; display: flex; align-items: center; gap: 16px; font: 600 28px var(--f-mono); color: var(--ink2); }
.stage .qz-timer svg { width: 64px; height: 64px; transform: rotate(-90deg); } .stage .qz-timer circle { fill: none; stroke: var(--agent); stroke-width: 6; stroke-dasharray: 100.5; stroke-dashoffset: 0; }
.stage.mode-web .qz-timer { display: none; }
.stage.portrait .qz-opts { grid-template-columns: 1fr; } .stage.portrait .qz-q { font-size: 64px; } .stage.portrait .qz-timer { right: 80px; bottom: 330px; }

/* recap */
.stage .rc { display: flex; align-items: center; gap: 60px; }
.stage .rc-main { flex: 1; }
.stage .rc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 26px; }
.stage .rc li { display: flex; gap: 26px; align-items: flex-start; font: 500 42px/1.28 var(--f-body); letter-spacing: -.01em; }
.stage .rc-next { display: inline-flex; align-items: center; gap: 20px; margin-top: 50px; padding: 18px 28px; background: var(--ink); color: var(--paper); border-radius: 20px; font: 500 34px var(--f-body); }
.stage .rc-next span { font: 700 24px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--agent); }
.stage .rc-next b { font: 700 36px var(--f-display); }
.stage .rc-art { flex: none; }
.stage.portrait .rc { flex-direction: column-reverse; align-items: flex-start; gap: 40px; } .stage.portrait .rc li { font-size: 40px; }

/* exercise */
.stage .ex { width: 100%; max-width: 1560px; align-self: center; }
.stage .ex-h { display: flex; align-items: center; gap: 18px; font: 700 60px var(--f-display); letter-spacing: -.02em; margin-bottom: 24px; }
.stage .ex-h svg { color: var(--agent); }
.stage .ex-intro { font: 400 38px/1.4 var(--f-body); color: var(--ink2); margin: 0 0 34px; max-width: 1400px; }
.stage .ex-card { background: var(--term); border: 4px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 14px 14px 0 rgba(22,22,26,.15); }
.stage .ex-bar { height: 62px; background: var(--term2); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font: 500 22px var(--f-mono); color: var(--term-dim); }
.stage .ex-copy { all: unset; cursor: pointer; font: 700 22px var(--f-mono); color: var(--ink); background: var(--agent); padding: 8px 18px; border-radius: 10px; }
.stage.mode-capture .ex-copy { visibility: hidden; }
.stage .ex-prompt { margin: 0; padding: 30px 36px; min-height: 260px; color: #fff; font: 400 32px/1.5 var(--f-mono); white-space: pre-wrap; }
.stage.portrait .ex-prompt { font-size: 29px; }

/* wall */
.stage .wall { width: 100%; }
.stage .wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 30px; }
.stage .wall-i { display: flex; align-items: center; gap: 16px; }
.stage .wall-i b { display: block; font: 700 30px/1.15 var(--f-display); } .stage .wall-i i { display: block; font: 400 22px/1.25 var(--f-body); color: var(--ink2); font-style: normal; }
.stage .wall-i .qt-av { width: 62px; height: 62px; font-size: 24px; }
.stage .wall-count { display: flex; align-items: baseline; gap: 20px; margin-top: 46px; }
.stage .wall-count b { font: 700 120px var(--f-display); color: var(--agent); letter-spacing: -.04em; } .stage .wall-count span { font: 600 40px var(--f-display); }
.stage.portrait .wall-grid { grid-template-columns: repeat(2, 1fr); }

.stage.mode-capture, .stage.mode-capture * { transition: none !important; animation: none !important; }

.stage .stat-i.is-text .stat-v { font-size: 120px; letter-spacing: -.03em; }
.stage.portrait .stat-i.is-text .stat-v { font-size: 130px; }
.stage.landscape .lp.has-title { padding-right: 230px; }
.stage .lp-l.left, .stage .lp-l.right { width: 250px; }
.stage.landscape .lp-c { width: 124px; height: 124px; }
.stage.landscape .lp-l.below { top: 132px; } .stage.landscape .lp-l.above { bottom: 132px; }
.stage.landscape .lp-l.left { right: 140px; } .stage.landscape .lp-l.right { left: 140px; }
.stage .msg.from-you .bub code.ic { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); color: #fff; }
.stage .fl-node i { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.stage.landscape .lp.has-title { padding-right: 200px; }
.stage.landscape .lp.has-title .lp-box { margin-left: 240px; }
.stage.landscape .lp.has-title .side-h { font-size: 56px; }

/* portrait code: fit long lines, labels as a legend under the card; long kickers truncate before the brand */
.stage.portrait .cl { font-size: var(--code-fs, 25px); }
.stage .hl-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-top: 30px; }
.stage .hl-chip { display: inline-flex; align-items: center; gap: 12px; font: 700 40px var(--f-hand); color: var(--agent-deep); }
.stage .hl-chip::before { content: ""; width: 24px; height: 24px; border-radius: 7px; background: var(--agent); border: 3px solid var(--ink); }
.stage .hl-chip.tone-human::before { background: var(--human); } .stage .hl-chip.tone-bad::before { background: var(--bad); } .stage .hl-chip.tone-good::before { background: var(--good); }
.stage.portrait .kicker { max-width: 600px; }
.stage.portrait .kicker .kt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
