﻿body.taiyi-site:has(.rebar-story){overflow-x:clip;overflow-y:visible}
body:has(.rebar-story) .body{overflow:visible}
.rebar-story{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:5vw;padding:0 5vw;background:#14181a;color:#f4eddf}
.rebar-stage{position:sticky;top:76px;align-self:start;height:calc(100svh - 76px);display:grid;align-items:center}
.rebar-console{border:1px solid #66655c;background:#222727;box-shadow:8px 8px 0 #0d1011}
.rebar-meta{display:flex;justify-content:space-between;padding:10px 14px;font:600 12px/1.4 monospace;letter-spacing:.08em;color:#e2c8a3}
.rebar-view{position:relative;overflow:hidden;aspect-ratio:16/10;background:#080b0d}
.rebar-view img,.rebar-result{position:absolute;inset:0;display:block;width:100%;height:100%}
.rebar-field{object-fit:cover}.rebar-result{overflow:hidden;clip-path:inset(0 100% 0 0);background:#080b0d}.rebar-result img{object-fit:contain;transform-origin:81% 60%}
.rebar-sweep{position:absolute;left:0;top:0;bottom:0;width:2px;opacity:0;background:#ffb76e;box-shadow:0 0 12px #ffbc77}
.rebar-script>*{min-height:88svh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:32px 0;scroll-margin-top:80px}
.rebar-script h1,.rebar-script h2{font-weight:800;line-height:1.14;letter-spacing:-.055em;color:#fff4dd;margin:16px 0}
.rebar-script h1{font-size:clamp(44px,5vw,82px)}.rebar-script h2{font-size:clamp(32px,4vw,64px)}.rebar-script p{color:#d0ccc3;line-height:1.85;max-width:28em}.rebar-script small,.rebar-script a{color:#ffc795;font-weight:650}
.rebar-demo{width:min(90%,850px);margin:52px auto}
@media(max-width:760px){.rebar-story{display:block}.rebar-stage{height:auto;top:58px;z-index:2;padding:5px 0;background:#14181a}.rebar-meta{padding:4px 10px;font-size:10px}.rebar-view{height:clamp(140px,28svh,300px);aspect-ratio:auto}.rebar-script>*{min-height:64svh;scroll-margin-top:calc(28svh + 115px)}}
