/* 青禾与暖纸：只调整颜色与独立影像组件，不改动已有跨端导航定位。 */
:root{--hb-field-green:#3b684c;--hb-leaf:#e4efdf;--hb-paper:#fffdf4}
body{background-color:#f5f7ed}.app-shell{background:linear-gradient(150deg,#edf3e5,#faf6e8 58%,#edf4e9)}
.sidebar{background:linear-gradient(155deg,#f4f7eb,#fdfbf1 62%,#edf3e5);border-right-color:#d7e1cc}
.topbar{background-color:#f5f8edf5;border-bottom-color:#dce6d1}.sidebar nav button.active{background:linear-gradient(100deg,#e0edd6,#f2f6e9);color:#2e593b;border-color:#a5bf91}
.view-area[data-view=workspace],.view-area[data-view=assistant],.view-area[data-view=library]{background-color:#f0f5e9}.view-area[data-view=new]{background-color:#f7f7e9}
.guided-workflow{background:linear-gradient(120deg,#f7faef,#f0f5e7);border-color:#d5e2c7}.guided-workflow nav [aria-current=step]{background:#e0edd5;color:#315c40}
.hb-tile-library{background:linear-gradient(125deg,#e7f0dd,#dbe9cf)}.hx-result-section{background:linear-gradient(135deg,#eaf2df,#fff9e9)}
.hx-positioning,.hx-depth{border-color:#dbe4ce}.hx-kicker{color:#688052}.hx-photo-chapter{background:linear-gradient(145deg,#edf4e5a3,#f8f7e800);border-radius:24px}
.hb-motion-story{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px;align-items:center;margin:24px 0 40px;padding:25px;border:1px solid #cfdec2;border-radius:28px;background:linear-gradient(130deg,#e4efdc,#f8f6e6);box-shadow:0 12px 40px #56764d08;min-width:0}
.hb-film-frame{position:relative;min-width:0;overflow:hidden;aspect-ratio:16/9;border-radius:19px;background:#e2ead4;isolation:isolate}
.hb-film-frame video{display:block;width:100%;height:100%;object-fit:cover;max-width:100%}.hb-film-frame:after{content:'';position:absolute;inset:70% 0 0;pointer-events:none;background:linear-gradient(transparent,#26492f70)}
.hb-film-frame>span{position:absolute;z-index:1;bottom:14px;left:17px;color:#fffdf2;font-size:11px;letter-spacing:.1em;text-shadow:0 1px 8px #1a351e}
.hb-film-copy{min-width:0;padding:10px 6px}.hb-film-copy h2{font:600 clamp(25px,3vw,39px)/1.5 'Songti SC','SimSun',serif;color:#36583b;margin:13px 0 17px}.hb-film-copy p{font-size:13px;line-height:1.9;color:#66765c}.hb-film-copy button,.data-retry{min-height:44px;border:1px solid #92ac81;background:#f9fcf0;color:#426541;padding:10px 16px;border-radius:13px;font-size:12px;cursor:pointer;margin:16px 0 10px;line-height:1.65}.hb-film-copy button[aria-pressed=true]{background:#446b48;color:#fffdf4}.hb-film-copy small{display:block;color:#82866d;font-size:10px;line-height:1.9}.hb-film-copy button:disabled{opacity:.65;cursor:default}
.generation-preview{margin:10px 0 0;padding:11px 13px;background:#f0f5e8;border:1px solid #d7e2c9;border-radius:12px;pointer-events:auto}.generation-preview>small{font-size:10px!important;color:#7c866a}.generation-preview>p{max-height:140px;overflow:auto;white-space:pre-wrap;font-size:12px!important;line-height:1.85;overscroll-behavior:contain;margin-top:6px!important;color:#4a6546}
.generation-dismiss{flex:0 0 auto!important;min-width:38px;min-height:38px;border:1px solid #d4dfc6;border-radius:50%;background:#fffdf5;color:#637957;font-size:18px;pointer-events:auto}
.generation-peek{position:fixed;right:20px;top:105px;z-index:85;max-width:calc(100vw - 40px);border:1px solid #b7cba6;border-radius:20px;background:#f4f8e9;color:#486b46;padding:10px 15px;min-height:44px;font-size:12px;box-shadow:0 5px 20px #435e3020}
.runtime-recovery-screen{width:min(580px,calc(100% - 32px));margin:12vh auto;padding:28px;border:1px solid #d0dfc3;border-radius:22px;background:#f7faef;color:#3d5f41;font:15px/1.9 system-ui}.runtime-recovery-screen h1{font-size:24px}.runtime-recovery-screen button,.runtime-recovery-screen a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:12px 12px 0 0;padding:10px 16px;border:1px solid #a9c095;border-radius:13px;background:#eaf2de;color:#3d653f;font-size:13px;cursor:pointer}
.hb-film-copy button:focus-visible,.data-retry:focus-visible,.generation-peek:focus-visible{outline:3px solid #b68c48;outline-offset:3px}
@media(max-width:820px){
 .app-shell .topbar,.hb-bottom-nav{background:#f5f8ed}.sidebar{background:linear-gradient(150deg,#f1f6e8,#fffdf4)}
 .app-shell .view-area{background-image:radial-gradient(ellipse at 5% 10%,#dcebcf9c,transparent 52%),radial-gradient(ellipse at 100% 80%,#f4e9ce57,transparent 50%)}
 .hx .hb-motion-story{display:flex;flex-direction:column;padding:15px;gap:16px;margin:20px 0 29px;border-radius:23px}.hb-film-frame{width:100%;flex:none;border-radius:16px}.hb-film-copy{width:100%;padding:0 3px 5px}.hx .hb-film-copy h2{font-size:25px;line-height:1.55;margin:9px 0 12px}.hx .hb-film-copy p{font-size:12px;line-height:1.9}.hb-film-copy button{margin-top:13px}.generation-preview>p{max-height:100px}.generation-peek{top:79px;right:13px;font-size:11px;padding:8px 12px}
}
@media(prefers-reduced-motion:reduce){.hb-motion-story *{animation:none!important;transition:none!important}}
