:root{--ink:#14211e;--muted:#71807a;--paper:#f5f8f5;--line:#d8e2dc;--green:#247b5d;--lime:#d8ef83;--white:#fff;--radius:12px;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);min-height:100vh}button{font:inherit;cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.62}.page-shell{max-width:1180px;margin:0 auto;padding:0 38px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.brand-mark{display:grid;place-items:center;width:34px;height:34px;background:var(--ink);color:var(--lime);font-weight:800;font-size:16px;border-radius:8px}.brand strong{display:block;font-size:14px;font-weight:750;letter-spacing:.04em}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.top-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.live-dot{width:8px;height:8px;border-radius:50%;background:#c8a34b;display:inline-block}.live-dot.online{background:var(--green);box-shadow:0 0 0 4px #247b5d18}main{padding:66px 0 58px}.intro{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:18px;margin-bottom:48px}.kicker{color:var(--green);font-size:13px;font-weight:750;margin:0 0 15px}.intro h1{font-size:clamp(42px,5.6vw,70px);line-height:1.08;letter-spacing:0;margin:0;font-weight:760;min-height:152px;display:flex;align-items:center;justify-content:center}.intro h1 em{color:var(--green);font-style:normal}.hero-title.has-result{min-height:180px}.hero-title #hero-result{display:none;font-family:"Mongolian Baiti",serif;font-size:60px;font-weight:500;line-height:1;writing-mode:vertical-lr;text-orientation:upright;white-space:nowrap;color:var(--ink);height:175px;overflow:hidden}.hero-title.has-result #hero-prompt{display:none}.hero-title.has-result #hero-result{display:block}.intro-note{color:var(--muted);font-size:13px;margin:0;white-space:nowrap}.work-grid{display:block}.writing-column{max-width:900px;margin:0 auto}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-head h2{font-size:16px;margin:0;font-weight:720}.canvas-shell{position:relative;height:min(47vw,430px);min-height:300px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 12px 34px #1a372a0b}.canvas-shell:before{content:"";position:absolute;inset:50% 20px auto;height:1px;background:#d8e2dc80;pointer-events:none}.canvas-shell:after{content:"HUMU";position:absolute;right:17px;bottom:14px;color:#14211e12;font-size:10px;font-weight:800;letter-spacing:.18em;pointer-events:none}.canvas-grid{position:absolute;inset:0;pointer-events:none}.canvas-grid:after{content:"";position:absolute;top:20px;bottom:20px;left:50%;width:1px;background:#d8e2dc80}#pad{position:relative;z-index:1;width:100%;height:100%;touch-action:none;display:block}.canvas-empty{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);color:#a3b0a9;font-size:14px;pointer-events:none;transition:opacity .2s;white-space:nowrap}.canvas-empty.hidden{opacity:0}.toolbar{display:flex;align-items:center;gap:9px;margin-top:14px}.icon-button,.text-button{height:42px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:8px}.icon-button{width:42px;font-size:21px;line-height:1}.text-button{padding:0 17px;font-size:13px}.icon-button:hover,.text-button:hover{border-color:#9bb2a6;background:var(--white)}.recognize-button{height:42px;margin-left:auto;display:flex;align-items:center;gap:20px;padding:0 15px 0 19px;border-radius:8px;background:var(--ink);color:var(--white);font-size:13px;font-weight:700}.recognize-button .arrow{color:var(--lime);font-size:19px;line-height:1}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:19px 0 23px;color:var(--muted);font-size:11px}@media(max-width:820px){.page-shell{padding:0 22px}.topbar{height:70px}main{padding:47px 0 42px}.intro{margin-bottom:36px}.intro h1{font-size:48px}.canvas-shell{height:74vw;min-height:280px;max-height:400px}}@media(max-width:470px){.page-shell{padding:0 16px}.intro h1{font-size:42px;min-height:130px}.hero-title.has-result{min-height:155px}.hero-title #hero-result{height:150px;font-size:52px}.canvas-shell{height:78vw;min-height:260px}.toolbar{gap:7px}.recognize-button{min-width:0}footer{font-size:10px}}
/* Optional recognition preview and proper Mongolian vertical shaping. */
.hero-title #hero-result{writing-mode:vertical-lr;text-orientation:mixed;direction:ltr;unicode-bidi:plaintext;font-feature-settings:"ccmp","locl","calt";max-width:none;min-width:1.35em;padding-inline:.16em;margin-inline:auto;overflow:visible;text-align:center;}
/* Compact writing workspace: the canvas is the only visual guide. */
main{padding:44px 0 42px}.intro{gap:12px;margin-bottom:28px}.canvas-shell{height:min(52vw,500px);min-height:340px}.canvas-shell:before,.canvas-grid:after{display:none}
@media(max-width:820px){main{padding:34px 0 32px}.intro{margin-bottom:24px}.canvas-shell{height:82vw;min-height:300px;max-height:470px}}
@media(max-width:470px){.canvas-shell{height:84vw;min-height:285px;max-height:430px}}
.process-visual{position:absolute;inset:0;z-index:3;display:none;overflow:hidden;background:#f5f9f5e8;pointer-events:none}
.process-visual.running{display:block}
.process-halo{position:absolute;inset:13% 22%;border:1px solid #7bc9a766;border-radius:50%;box-shadow:0 0 35px #6dc59d30,inset 0 0 22px #6dc59d1c;animation:process-breathe 1.8s ease-in-out infinite}
.process-scan{position:absolute;left:7%;right:7%;height:2px;top:10%;background:linear-gradient(90deg,transparent,#85d6ad,transparent);box-shadow:0 0 14px #78cfaa;animation:process-scan-line 1.45s linear infinite}
.process-svg{position:absolute;inset:12%;width:76%;height:76%;filter:drop-shadow(0 0 5px #58b888);opacity:.82}
.process-svg path{fill:none;stroke:#2b9870;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:180;stroke-dashoffset:180;animation:process-draw 1.5s ease-out forwards}
.process-caption{position:absolute;left:50%;bottom:17px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;color:#247b5d;font-size:12px;white-space:nowrap;background:#f5f9f5d9;border:1px solid #9ed9bb99;border-radius:999px;padding:7px 12px;box-shadow:0 5px 18px #247b5d1a}
.process-pulse{width:7px;height:7px;border-radius:50%;background:#55b985;box-shadow:0 0 0 0 #55b98566;animation:process-pulse 1s ease-out infinite}
.process-toggle{display:flex;align-items:center;gap:7px;height:42px;color:var(--muted);font-size:12px;cursor:pointer;user-select:none}
.process-toggle input{position:absolute;opacity:0;pointer-events:none}
.toggle-track{width:30px;height:18px;border:1px solid #b4c7bc;border-radius:999px;padding:2px;background:#edf3ef;transition:.18s}
.toggle-track span{display:block;width:12px;height:12px;background:#8c9d94;border-radius:50%;transition:.18s}
.process-toggle input:checked+.toggle-track{background:#d9f1df;border-color:#65b889}
.process-toggle input:checked+.toggle-track span{transform:translateX(12px);background:#247b5d}
.process-toggle:focus-within .toggle-track{outline:2px solid #247b5d55;outline-offset:2px}
@keyframes process-scan-line{0%{transform:translateY(0);opacity:.15}50%{opacity:1}100%{transform:translateY(330px);opacity:.15}}
@keyframes process-breathe{0%,100%{transform:scale(.94);opacity:.45}50%{transform:scale(1);opacity:.9}}
@keyframes process-draw{to{stroke-dashoffset:0}}
@keyframes process-pulse{70%{box-shadow:0 0 0 7px #55b98500}100%{box-shadow:0 0 0 0 #55b98500}}
@media(max-width:470px){.process-toggle{font-size:11px;gap:5px}.toggle-track{width:28px}.process-toggle input:checked+.toggle-track span{transform:translateX(10px)}}
/* Neural-network style preview inspired by the supplied exhibit video. */
.process-visual{background:#071725ee;color:#c9f2ff}
.process-grid{position:absolute;inset:0;opacity:.28;background-image:linear-gradient(#75c9e31c 1px,transparent 1px),linear-gradient(90deg,#75c9e31c 1px,transparent 1px);background-size:26px 26px;transform:perspective(380px) rotateX(58deg) scale(1.55) translateY(18%);transform-origin:center bottom;animation:process-grid-drift 3.4s linear infinite}
.process-halo{display:none}
.process-scan{left:9%;right:auto;width:1px;height:76%;top:12%;background:#8ee8ff;box-shadow:0 0 16px #64dfff,0 0 34px #2aa9de;animation:process-column-scan 1.8s ease-in-out infinite}
.process-svg{inset:7%;width:86%;height:86%;filter:drop-shadow(0 0 5px #4ed5ff);opacity:.95}
.process-svg path.process-input{stroke:#e1faff;stroke-width:1.35;stroke-dasharray:320;stroke-dashoffset:320;animation:process-input-draw 1.15s ease-out forwards}
.process-link{stroke:#68cdeb;stroke-width:.35;opacity:.3;stroke-dasharray:1.5 1.5;animation:process-link-flow 1.3s linear infinite}
.process-node{fill:#c8f5ff;opacity:.9;filter:drop-shadow(0 0 2px #72dcff);animation:process-node-pulse 1.5s ease-in-out infinite}
.process-node.node-1,.process-node.node-2{fill:#78daf8}
.process-output{stroke:#d5f8ff;stroke-width:.8;opacity:.8;stroke-dasharray:1 1;animation:process-output-flicker 1.1s steps(2,end) infinite}
.process-caption{color:#caf5ff;background:#081d2cd9;border-color:#65d8f899;box-shadow:0 5px 22px #2bbce833}
.process-pulse{background:#72e5ff;box-shadow:0 0 0 0 #72e5ff66}
@keyframes process-grid-drift{from{background-position:0 0,0 0}to{background-position:0 26px,26px 0}}
@keyframes process-column-scan{0%,100%{transform:translateX(0);opacity:.15}50%{transform:translateX(490px);opacity:.95}}
@keyframes process-input-draw{to{stroke-dashoffset:0}}
@keyframes process-link-flow{from{stroke-dashoffset:3}to{stroke-dashoffset:0}}
@keyframes process-node-pulse{0%,100%{transform:scale(.78);opacity:.42}50%{transform:scale(1.2);opacity:1}}
@keyframes process-output-flicker{0%,100%{opacity:.2}50%{opacity:1}}
@media(max-width:470px){@keyframes process-column-scan{0%,100%{transform:translateX(0);opacity:.15}50%{transform:translateX(260px);opacity:.95}}}
/* Local CNN-style layer view: every thumbnail is rendered in the browser. */
.process-visual{background:#071522f2;padding:15px 18px}
.cnn-grid{position:absolute;inset:0;opacity:.3;background-image:linear-gradient(#7bd8f215 1px,transparent 1px),linear-gradient(90deg,#7bd8f215 1px,transparent 1px);background-size:24px 24px;transform:perspective(420px) rotateX(58deg) scale(1.6) translateY(20%);transform-origin:center bottom;animation:cnn-grid-drift 3.8s linear infinite}
.cnn-panel{position:relative;z-index:1;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;gap:14px;color:#d9f7ff}
.cnn-topline{display:flex;justify-content:space-between;align-items:center;color:#a9d9e5;font-size:11px;letter-spacing:.03em}
.cnn-live{display:inline-flex;align-items:center;gap:6px;color:#b8f1ff}.cnn-live i{display:block;width:6px;height:6px;border-radius:50%;background:#6ee4ff;box-shadow:0 0 10px #6ee4ff;animation:cnn-live-pulse 1.2s ease-in-out infinite}
.cnn-pipeline{display:grid;grid-template-columns:auto 18px auto 18px auto 18px auto 18px auto;align-items:center;justify-content:center;gap:7px;min-height:176px}
.cnn-layer{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:52px;min-height:142px;padding:9px 7px;border:1px solid #77cce433;background:#0c2536b8;box-shadow:inset 0 0 22px #53c9e90c,0 8px 26px #00000026;animation:cnn-layer-float 2.6s ease-in-out infinite}
.cnn-layer-title{font-size:12px;color:#e2fbff;font-weight:700}.cnn-layer-note{font-size:10px;color:#80b8c5;white-space:nowrap}.cnn-layer canvas{display:block;image-rendering:auto;border:1px solid #7ad7ef55;background:#071a2a}
.cnn-input-layer{min-width:92px}.cnn-input-layer canvas{width:72px;height:96px;box-shadow:0 0 20px #62dfff20}.cnn-feature-layer{min-width:88px}.cnn-map-grid{display:grid;grid-template-columns:repeat(2,42px);gap:4px}.cnn-map{width:42px;height:42px}.cnn-pool-layer canvas{width:62px;height:62px}.cnn-dense-layer{min-width:82px}.cnn-dense-layer canvas{width:76px;height:96px}.cnn-output-layer{min-width:58px}.cnn-connector{display:grid;place-items:center;color:#70ddf7;font-size:22px;opacity:.55;animation:cnn-arrow-flow 1.2s ease-in-out infinite}.cnn-bars{display:flex;flex-direction:column;gap:7px;width:42px}.cnn-bars b{display:block;width:calc(10px + (var(--score) * 30px));max-width:40px;height:5px;border-radius:2px;background:linear-gradient(90deg,#65dfff,#ddfbff);box-shadow:0 0 7px #65dfff66;animation:cnn-bar-grow 1.1s ease-out both}.cnn-bars b:nth-child(2){animation-delay:.15s}.cnn-bars b:nth-child(3){animation-delay:.3s}.cnn-bars b:nth-child(4){animation-delay:.45s}
.cnn-progress{height:2px;background:#6abed01f;overflow:hidden}.cnn-progress span{display:block;width:18%;height:100%;background:#80ebff;box-shadow:0 0 12px #5ddfff;animation:cnn-progress 2.2s ease-in-out infinite}
.process-visual.stage-1 .cnn-input-layer{border-color:#9cefff99;box-shadow:0 0 24px #62dfff30,inset 0 0 22px #53c9e91c}.process-visual.stage-2 .cnn-feature-layer{border-color:#9cefff99;box-shadow:0 0 24px #62dfff30,inset 0 0 22px #53c9e91c}.process-visual.stage-3 .cnn-pool-layer{border-color:#9cefff99;box-shadow:0 0 24px #62dfff30,inset 0 0 22px #53c9e91c}.process-visual.stage-4 .cnn-dense-layer,.process-visual.stage-4 .cnn-output-layer{border-color:#9cefff99;box-shadow:0 0 24px #62dfff30,inset 0 0 22px #53c9e91c}
@keyframes cnn-grid-drift{from{background-position:0 0,0 0}to{background-position:0 24px,24px 0}}@keyframes cnn-live-pulse{50%{transform:scale(1.8);opacity:.45}}@keyframes cnn-layer-float{0%,100%{transform:translateY(1px)}50%{transform:translateY(-3px)}}@keyframes cnn-arrow-flow{50%{transform:translateX(3px);opacity:1}}@keyframes cnn-bar-grow{from{transform:scaleX(.2);transform-origin:left;opacity:.2}to{transform:scaleX(1);opacity:1}}@keyframes cnn-progress{0%{transform:translateX(-120%)}100%{transform:translateX(650%)}}
@media(max-width:560px){.process-visual{padding:11px 8px}.cnn-panel{gap:8px}.cnn-pipeline{grid-template-columns:auto 10px auto 10px auto 10px auto 10px auto;gap:3px}.cnn-layer{min-width:39px;min-height:120px;padding:6px 3px;gap:4px}.cnn-layer-title{font-size:10px}.cnn-layer-note{font-size:8px}.cnn-input-layer{min-width:58px}.cnn-input-layer canvas{width:46px;height:64px}.cnn-feature-layer{min-width:58px}.cnn-map-grid{grid-template-columns:repeat(2,28px);gap:2px}.cnn-map{width:28px;height:28px}.cnn-pool-layer canvas{width:44px;height:44px}.cnn-dense-layer{min-width:54px}.cnn-dense-layer canvas{width:50px;height:64px}.cnn-output-layer{min-width:45px}.cnn-connector{font-size:16px}.cnn-bars{width:30px;gap:5px}.cnn-bars b{height:4px;max-width:28px}.cnn-topline{font-size:9px}}
/* The output slot is fed by the real local prediction after the request returns. */
.cnn-output-layer{min-width:76px}.cnn-result{display:block;max-width:54px;min-height:27px;color:#7faebb;font-family:"Mongolian Baiti",serif;font-size:18px;line-height:1;writing-mode:vertical-lr;text-orientation:mixed;white-space:nowrap;overflow:hidden;text-align:center;opacity:.72;transition:color .2s,opacity .2s,transform .2s}.cnn-result.ready{color:#f2feff;opacity:1;text-shadow:0 0 10px #73e5ff;transform:scale(1.08)}
@media(max-width:560px){.cnn-output-layer{min-width:55px}.cnn-result{max-width:38px;font-size:15px;min-height:22px}}
/* Single-focus carousel: the active stage stays centered while the track glides left. */
.process-visual{background:rgba(6,20,33,.9);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);border:1px solid rgba(185,232,245,.14)}
.cnn-grid{opacity:.12;animation:none}.cnn-panel{gap:12px}.cnn-stage-viewport{position:relative;width:min(100%,620px);height:190px;overflow:hidden;display:flex;align-items:center;justify-content:flex-start;margin:0 auto;mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%)}
.cnn-pipeline{display:flex;flex:0 0 max-content;align-items:center;justify-content:flex-start;gap:14px;width:max-content;min-height:176px;transform:translate3d(0,0,0);transition:transform 900ms cubic-bezier(.22,.61,.36,1);will-change:transform}
.cnn-layer{opacity:.28;transform:scale(.9);filter:saturate(.65);animation:none;transition:opacity 520ms ease,transform 760ms cubic-bezier(.22,.61,.36,1),filter 520ms ease,border-color 520ms ease,box-shadow 520ms ease;background:rgba(15,42,58,.64);border-color:rgba(189,234,245,.18);box-shadow:inset 0 0 20px rgba(115,215,238,.05),0 10px 24px rgba(0,0,0,.2)}
.process-visual.stage-1 .cnn-input-layer,.process-visual.stage-2 .cnn-feature-layer,.process-visual.stage-3 .cnn-pool-layer,.process-visual.stage-4 .cnn-dense-layer,.process-visual.stage-5 .cnn-output-layer{opacity:1;transform:scale(1);filter:saturate(1.12);border-color:rgba(177,240,255,.72);box-shadow:0 12px 32px rgba(55,190,225,.18),inset 0 0 22px rgba(115,215,238,.12)}
.cnn-connector{flex:0 0 18px;opacity:.28;transition:opacity 520ms ease}.cnn-topline{color:rgba(220,247,255,.72);font-weight:500}.cnn-live{color:#d5f8ff}.cnn-progress{background:rgba(185,232,245,.12)}
@media(max-width:560px){.cnn-stage-viewport{height:158px}.cnn-pipeline{gap:8px}.cnn-connector{flex-basis:10px}.cnn-layer{min-height:120px}.cnn-output-layer{min-width:55px}}
@media(prefers-reduced-motion:reduce){.cnn-pipeline{transition:transform 180ms ease}.cnn-layer{transition:opacity 180ms ease,transform 180ms ease,filter 180ms ease}.cnn-progress span,.cnn-live i{animation:none}}
/* Refined single-focus presentation: quiet glass, one active card, sequential arrows. */
.process-visual{background:rgba(243,249,252,.9);color:#17364a;border:1px solid rgba(76,128,151,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.82);backdrop-filter:blur(28px) saturate(120%);-webkit-backdrop-filter:blur(28px) saturate(120%)}
.cnn-grid{opacity:.08;background-image:linear-gradient(rgba(70,133,160,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(70,133,160,.18) 1px,transparent 1px);background-size:28px 28px;transform:perspective(420px) rotateX(58deg) scale(1.5) translateY(22%)}
.cnn-panel{max-width:640px;margin:0 auto;gap:10px;color:#17364a}.cnn-topline{color:#557383;font-size:11px}.cnn-live{color:#285e76;background:rgba(255,255,255,.58);border:1px solid rgba(74,130,153,.2);border-radius:999px;padding:5px 9px}.cnn-live i{background:#38a4c4;box-shadow:0 0 8px rgba(56,164,196,.45)}#process-caption-text{font-weight:600;color:#315b6e}
.cnn-step-indicator{display:flex;align-items:center;justify-content:center;gap:5px;height:4px;margin:1px 0 2px}.cnn-step-indicator i{display:block;width:24px;height:3px;border-radius:3px;background:rgba(62,113,136,.16);transition:background 520ms ease,box-shadow 520ms ease,transform 520ms ease}.process-visual.stage-1 .cnn-step-indicator i:nth-child(1),.process-visual.stage-2 .cnn-step-indicator i:nth-child(-n+2),.process-visual.stage-3 .cnn-step-indicator i:nth-child(-n+3),.process-visual.stage-4 .cnn-step-indicator i:nth-child(-n+4),.process-visual.stage-5 .cnn-step-indicator i{background:#49a8c7;box-shadow:0 0 8px rgba(73,168,199,.38)}.process-visual.stage-1 .cnn-step-indicator i:nth-child(1),.process-visual.stage-2 .cnn-step-indicator i:nth-child(2),.process-visual.stage-3 .cnn-step-indicator i:nth-child(3),.process-visual.stage-4 .cnn-step-indicator i:nth-child(4),.process-visual.stage-5 .cnn-step-indicator i:nth-child(5){transform:scaleY(1.35)}
.cnn-stage-viewport{height:184px;mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)}.cnn-pipeline.no-motion{transition:none!important}
.cnn-layer{opacity:.08;transform:scale(.76) translateY(12px);filter:saturate(.35) blur(.25px);background:rgba(255,255,255,.56);border-color:rgba(71,125,148,.2);box-shadow:0 8px 24px rgba(41,93,117,.08),inset 0 1px 0 rgba(255,255,255,.76);transition:opacity 520ms ease,transform 700ms cubic-bezier(.22,.61,.36,1),filter 520ms ease,border-color 520ms ease,box-shadow 520ms ease}.cnn-layer-title{color:#1e4b61}.cnn-layer-note{color:#6a8a98}.cnn-layer canvas{border-color:rgba(64,134,161,.28);background:#edf6fa}
.process-visual.stage-1 .cnn-input-layer,.process-visual.stage-2 .cnn-input-layer,.process-visual.stage-3 .cnn-input-layer,.process-visual.stage-4 .cnn-input-layer,.process-visual.stage-5 .cnn-input-layer,.process-visual.stage-2 .cnn-feature-layer,.process-visual.stage-3 .cnn-feature-layer,.process-visual.stage-4 .cnn-feature-layer,.process-visual.stage-5 .cnn-feature-layer,.process-visual.stage-3 .cnn-pool-layer,.process-visual.stage-4 .cnn-pool-layer,.process-visual.stage-5 .cnn-pool-layer,.process-visual.stage-4 .cnn-dense-layer,.process-visual.stage-5 .cnn-dense-layer{opacity:.3;transform:scale(.86) translateY(4px);filter:saturate(.72) blur(0)}
.process-visual.stage-1 .cnn-input-layer,.process-visual.stage-2 .cnn-feature-layer,.process-visual.stage-3 .cnn-pool-layer,.process-visual.stage-4 .cnn-dense-layer,.process-visual.stage-5 .cnn-output-layer{opacity:1;transform:scale(1) translateY(0);filter:saturate(1) blur(0);border-color:rgba(45,145,181,.66);box-shadow:0 14px 32px rgba(47,143,178,.17),inset 0 1px 0 rgba(255,255,255,.9);animation:cnn-stage-pop 720ms cubic-bezier(.22,.61,.36,1) both}
.cnn-connector{opacity:0;transform:scale(.45) translateX(-6px);color:#4e91a9;transition:opacity 420ms ease,transform 620ms cubic-bezier(.22,.61,.36,1)}.process-visual.stage-2 .cnn-connector:nth-of-type(2),.process-visual.stage-3 .cnn-connector:nth-of-type(2),.process-visual.stage-3 .cnn-connector:nth-of-type(4),.process-visual.stage-4 .cnn-connector:nth-of-type(2),.process-visual.stage-4 .cnn-connector:nth-of-type(4),.process-visual.stage-4 .cnn-connector:nth-of-type(6),.process-visual.stage-5 .cnn-connector:nth-of-type(2),.process-visual.stage-5 .cnn-connector:nth-of-type(4),.process-visual.stage-5 .cnn-connector:nth-of-type(6),.process-visual.stage-5 .cnn-connector:nth-of-type(8){opacity:.9;transform:scale(1) translateX(0)}
.cnn-result.ready{color:#195873;text-shadow:0 0 10px rgba(73,168,199,.32)}.cnn-progress{height:3px;background:rgba(62,113,136,.12);border-radius:999px}.cnn-progress span{background:#49a8c7;box-shadow:0 0 10px rgba(73,168,199,.42)}
@keyframes cnn-stage-pop{0%{opacity:.12;transform:scale(.74) translateY(14px)}65%{opacity:1;transform:scale(1.035) translateY(-1px)}100%{opacity:1;transform:scale(1) translateY(0)}}
@media(max-width:560px){.cnn-stage-viewport{height:154px}.cnn-step-indicator i{width:17px}.cnn-layer{transform:scale(.74) translateY(10px)}.process-visual.stage-1 .cnn-input-layer,.process-visual.stage-2 .cnn-feature-layer,.process-visual.stage-3 .cnn-pool-layer,.process-visual.stage-4 .cnn-dense-layer,.process-visual.stage-5 .cnn-output-layer{transform:scale(1) translateY(0)}}
@media(prefers-reduced-motion:reduce){.cnn-layer,.cnn-connector,.cnn-step-indicator i{transition:opacity 180ms ease,transform 180ms ease,background 180ms ease}.cnn-layer{animation:none!important}}
/* Reference-inspired card carousel: generous cards, soft depth and a clear focal stage. */
.cnn-panel{gap:12px}.cnn-stage-viewport{height:246px;mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
.cnn-pipeline{gap:22px;min-height:220px}.cnn-layer{--cnn-card-width:clamp(132px,20vw,184px);--cnn-card-height:clamp(194px,27vw,258px);flex:0 0 var(--cnn-card-width);width:var(--cnn-card-width);height:var(--cnn-card-height);min-width:var(--cnn-card-width);min-height:var(--cnn-card-height);border-radius:24px;padding:16px 12px 13px;gap:9px;justify-content:flex-start;background:rgba(255,255,255,.74);border:1px solid rgba(91,143,163,.18);box-shadow:0 16px 34px rgba(42,91,114,.1),inset 0 1px 0 rgba(255,255,255,.92)}
.cnn-layer-title{font-size:13px;color:#274c60;font-weight:650}.cnn-layer-note{font-size:10px;color:#6a8794;margin-top:auto}.cnn-card-icon{display:grid;place-items:center;width:30px;height:30px;margin-top:3px;color:#4c6571;font-size:23px;line-height:1;font-family:ui-sans-serif,system-ui,sans-serif}.cnn-input-layer canvas{width:min(100px,72%);height:min(132px,62%);margin:auto}.cnn-feature-layer .cnn-map-grid{grid-template-columns:repeat(2,clamp(35px,5vw,50px));gap:5px;margin:auto}.cnn-feature-layer .cnn-map{width:clamp(35px,5vw,50px);height:clamp(35px,5vw,50px)}.cnn-pool-layer canvas{width:clamp(68px,9vw,98px);height:clamp(68px,9vw,98px);margin:auto}.cnn-dense-layer canvas{width:min(100px,74%);height:min(132px,62%);margin:auto}.cnn-output-layer{min-width:var(--cnn-card-width)}.cnn-result{font-size:clamp(24px,4vw,42px);max-width:70px;min-height:92px;margin:auto;color:#2b6e88;opacity:.72;text-shadow:0 0 16px rgba(69,169,207,.15)}.cnn-result.ready{color:#216b88;opacity:1;text-shadow:0 0 18px rgba(69,169,207,.35)}.cnn-bars{width:64px;gap:5px;margin:auto;opacity:.28}.cnn-bars b{height:4px;max-width:60px}.cnn-connector{flex:0 0 30px;font-size:30px;color:#7b9aa7}.cnn-step-indicator{gap:8px;height:10px;margin:2px 0 0}.cnn-step-indicator i{width:7px;height:7px;border-radius:50%;background:rgba(62,113,136,.2)}.process-visual.stage-1 .cnn-step-indicator i:nth-child(1),.process-visual.stage-2 .cnn-step-indicator i:nth-child(-n+2),.process-visual.stage-3 .cnn-step-indicator i:nth-child(-n+3),.process-visual.stage-4 .cnn-step-indicator i:nth-child(-n+4),.process-visual.stage-5 .cnn-step-indicator i{background:#4ba8d2;box-shadow:0 0 0 3px rgba(75,168,210,.12),0 0 9px rgba(75,168,210,.45)}.process-visual.stage-1 .cnn-step-indicator i:nth-child(1),.process-visual.stage-2 .cnn-step-indicator i:nth-child(2),.process-visual.stage-3 .cnn-step-indicator i:nth-child(3),.process-visual.stage-4 .cnn-step-indicator i:nth-child(4),.process-visual.stage-5 .cnn-step-indicator i:nth-child(5){transform:scale(1.28)}
@media(max-width:560px){.cnn-stage-viewport{height:220px}.cnn-pipeline{gap:15px}.cnn-layer{--cnn-card-width:132px;--cnn-card-height:196px;border-radius:21px;padding:13px 9px 10px}.cnn-layer-title{font-size:11px}.cnn-input-layer canvas,.cnn-dense-layer canvas{height:106px}.cnn-feature-layer .cnn-map-grid{gap:3px}.cnn-feature-layer .cnn-map{width:34px;height:34px}.cnn-pool-layer canvas{width:65px;height:65px}.cnn-result{font-size:28px;min-height:72px}.cnn-connector{flex-basis:24px;font-size:25px}.cnn-card-icon{width:26px;height:26px;font-size:20px}}

.hero-title #hero-result,.cnn-result{font-family:"Mongolian Baiti",serif}
