:root{font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:#17242a;background:#101012}*{box-sizing:border-box}body{margin:0}.bar{height:62px;background:#151719;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;gap:16px;position:sticky;top:0;z-index:100;box-shadow:0 3px 18px #0007}.brand{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.brand strong{font-size:28px;letter-spacing:-2px;color:#f45b20}.brand small{font-size:12px;color:#aaa;margin-left:8px}.brand-dot{width:8px;height:17px;background:#f45b20;transform:rotate(27deg);border-radius:8px 0 8px 0}.bar-actions{display:flex;gap:7px;flex-wrap:wrap}.bar button,.add-row button,.props button{background:#292d2e;border:1px solid #565b5d;color:#fff;border-radius:8px;padding:8px 12px;cursor:pointer;font:inherit;font-size:12px}.bar button:hover,.add-row button:hover,.props button:hover{border-color:#fa6b26}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;max-width:1530px;margin:auto}.boards{padding:32px 24px 52px;min-width:0}.board-wrap{margin:0 auto 26px;max-width:1100px}.board-cap{color:#c2c4c4;display:flex;justify-content:space-between;font-size:12px;letter-spacing:.09em;margin:0 0 8px}.board-shell{position:relative;width:100%;aspect-ratio:836/470;overflow:hidden;box-shadow:0 18px 45px #0007;background:#111}.board{position:absolute;width:836px;height:470px;left:0;top:0;transform-origin:top left;overflow:hidden}.board.dark{background:#0a0807}.board.light{background:linear-gradient(90deg,#f7f5f0 0%,#f3eee9 52%,#111 100%)}.board.warm{background:linear-gradient(90deg,#130e0a,#2c1a0e 62%,#100c09)}.board.machine{background:linear-gradient(90deg,#f6f3ee,#e6e4e0 66%,#28231d)}.layer{position:absolute;user-select:none;touch-action:none;white-space:pre-wrap;overflow:visible;line-height:1.1;transform-origin:top left}.layer.text{font-weight:400}.layer.image{overflow:hidden}.layer.image img{position:absolute;display:block;pointer-events:none}.layer.icon svg{width:100%;height:100%;display:block;overflow:visible}.layer.shape{border-radius:inherit}.layer.selected{outline:1px solid #22b7ff;outline-offset:1px;z-index:90!important}.layer .handle{display:none;position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;background:#22b7ff;border:2px solid white;border-radius:2px;cursor:nwse-resize;z-index:99}.layer.selected .handle{display:block}.layer[contenteditable="true"]{outline:2px dashed #f45b20;user-select:text;touch-action:auto}.reference{position:absolute;inset:0;background-image:url('assets/用户四屏参考原图.png');background-size:1672px 941px;opacity:.58;pointer-events:none;z-index:95;display:none}.show-ref .reference{display:block}.ref-0{background-position:0 0}.ref-1{background-position:-836px 0}.ref-2{background-position:0 -470px}.ref-3{background-position:-836px -470px}.inspector{background:#202325;color:#eee;border-left:1px solid #454748;position:sticky;top:62px;height:calc(100vh - 62px);overflow:auto;padding:20px}.inspector-head{display:flex;justify-content:space-between}.inspector-head span{font-size:12px;color:#f58249}.help,.note p{font-size:12px;line-height:1.55;color:#afb1b2}.add-row{display:flex;gap:5px;margin:18px 0}.add-row button{flex:1;padding:7px 2px}.props label{display:block;font-size:11px;color:#b7b9b9;margin:10px 0 3px}.props input,.props textarea,.props select{width:100%;background:#151718;color:#eee;border:1px solid #56595a;border-radius:6px;padding:7px;font:inherit;font-size:12px}.props textarea{height:72px;resize:vertical}.props .grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.props .buttons{display:flex;gap:7px;margin-top:14px}.props .buttons button{flex:1}.props button.danger{border-color:#a14437}.inspector h3{font-size:13px;margin:26px 0 9px}.layer-list{display:grid;gap:3px}.layer-list button{display:block;text-align:left;background:#292d2e;color:#d7d8d8;border:0;border-radius:5px;padding:6px 8px;font-size:11px;cursor:pointer}.layer-list button.active{background:#7e351c;color:white}.note{margin-top:24px;padding:12px;background:#292b2c;border-left:2px solid #e75b26}.note b{font-size:12px}footer{color:#aaa;text-align:center;font-size:11px;padding:12px 25px 30px;line-height:1.6}@media(max-width:900px){.workspace{display:block}.boards{padding:14px 8px 25px}.inspector{position:static;height:auto;border:0}.bar{height:auto;min-height:56px;display:block;padding:8px}.bar-actions{margin-top:6px}.bar button{padding:6px 7px;font-size:10px}.brand strong{font-size:23px}.brand small{font-size:10px}.board-wrap{margin-bottom:14px}.board-cap{font-size:10px}}@media print{.bar,.inspector,footer,.board-cap{display:none}.workspace{display:block}.boards{padding:0}.board-wrap{max-width:100%;margin:0;break-after:page}.board-shell{box-shadow:none;width:100vw}}
.zoom-btn{display:none;background:none;border:1px solid #777;border-radius:5px;color:#eee;font-size:10px;padding:2px 5px;margin-left:5px}
@media(max-width:900px){.board-wrap{overflow-x:auto}.board-wrap.zoomed .board-shell{width:836px}.board-cap{position:sticky;left:0}.zoom-btn{display:inline-block}}
.workspace{display:block}.boards{max-width:1200px;margin:auto}.inspector{display:none}.editing .workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px}.editing .inspector{display:block}
.editing .boards{width:100%}
@media(max-width:900px){.editing .workspace{display:block}}
.layer .handle{right:auto;bottom:auto;width:12px;height:12px;touch-action:none}
.layer .handle.nw{left:-6px;top:-6px;cursor:nwse-resize}
.layer .handle.n{left:calc(50% - 6px);top:-6px;cursor:ns-resize}
.layer .handle.ne{right:-6px;top:-6px;cursor:nesw-resize}
.layer .handle.e{right:-6px;top:calc(50% - 6px);cursor:ew-resize}
.layer .handle.se{right:-6px;bottom:-6px;cursor:nwse-resize}
.layer .handle.s{left:calc(50% - 6px);bottom:-6px;cursor:ns-resize}
.layer .handle.sw{left:-6px;bottom:-6px;cursor:nesw-resize}
.layer .handle.w{left:-6px;top:calc(50% - 6px);cursor:ew-resize}
.props input[type=checkbox]{width:auto;margin-right:6px;vertical-align:middle}

.brand{align-items:center}.brand img{display:block;width:auto;height:30px}.brand small{margin-left:2px}@media(max-width:900px){.brand img{height:43px;max-width:132px;object-fit:contain}}

.site-return{color:#ff8b36;text-decoration:none;font-weight:700;padding:9px 12px;border:1px solid currentColor;border-radius:8px;white-space:nowrap}.site-return:hover,.site-return:focus-visible{background:#32180a}

/* Company-site presentation: full-width panels, shared page navigation, editing on demand. */
html{scroll-behavior:smooth;scroll-padding-top:78px}
body{background:#0a1014}
.site-header{position:sticky;top:0;z-index:200;min-height:76px;display:flex;align-items:center;gap:clamp(14px,2vw,36px);padding:9px clamp(20px,3vw,62px);color:#fff;background:rgba(9,14,18,.95);border-bottom:1px solid rgba(255,255,255,.16);box-shadow:0 8px 28px #0005;backdrop-filter:blur(10px)}
.site-header a{color:inherit;text-decoration:none}
.site-header .brand{display:flex;align-items:center;gap:17px;flex:none;min-width:0}
.site-header .brand img{display:block;width:clamp(120px,9.6vw,190px);height:auto;max-height:53px;object-fit:contain}
.site-header .brand-tag{font-size:clamp(12px,.88vw,17px);font-weight:700;letter-spacing:.12em;white-space:nowrap;color:#e8d8cc}
.site-nav{display:flex;align-items:center;justify-content:center;gap:clamp(17px,2.05vw,42px);margin-left:auto;min-width:0}
.site-nav a{font-size:clamp(13px,.9vw,17px);font-weight:700;white-space:nowrap;line-height:1.35;padding:9px 0;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a:focus-visible{color:#ff9c51;border-bottom-color:#ff7731;outline:none}
.header-cta{display:flex;align-items:center;justify-content:center;gap:12px;flex:none;min-height:42px;padding:0 18px;border-radius:6px;background:#fa6c28;color:#fff!important;font-weight:800;font-size:clamp(12px,.9vw,16px);white-space:nowrap}
.header-cta:hover,.header-cta:focus-visible{background:#ff8747;outline:2px solid #ffc59a;outline-offset:2px}
.edit-menu{position:relative;flex:none}
.edit-menu summary{cursor:pointer;list-style:none;white-space:nowrap;font-size:12px;font-weight:700;color:#f0c7aa;border:1px solid #a45b35;border-radius:6px;padding:10px 12px}
.edit-menu summary::-webkit-details-marker{display:none}
.edit-menu[open] .bar-actions{position:absolute;top:calc(100% + 14px);right:0;width:230px;display:grid;gap:7px;padding:12px;background:#1b2022;border:1px solid #765744;border-radius:8px;box-shadow:0 12px 30px #0008}
.edit-menu .bar-actions button{width:100%;text-align:left;background:#292d2e;border:1px solid #565b5d;color:#fff;border-radius:6px;padding:9px 10px;cursor:pointer;font:inherit;font-size:12px}
.edit-menu .bar-actions button:hover{border-color:#fa6b26}
.workspace{display:block;max-width:none;margin:0}
.boards{max-width:none;padding:0;margin:0}
.board-wrap{max-width:none;margin:0;scroll-margin-top:76px}
.board-cap{display:none}
.board-shell{width:100%;box-shadow:none}
.editing .workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px}
.editing .boards{width:100%;max-width:none}
.inspector{top:76px;height:calc(100vh - 76px)}
footer{background:#0b1014;color:#b4b9ba;padding:22px 24px 30px}
@media(max-width:1500px){.site-header{gap:16px}.site-header .brand-tag{display:none}.site-nav{gap:clamp(14px,1.55vw,25px)}}
@media(max-width:1050px){.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 12px;padding:8px 14px;min-height:0}.site-header .brand img{width:130px;max-height:45px}.site-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:22px;width:100%;overflow-x:auto;margin:0;padding:1px 0 4px;scrollbar-width:none}.site-nav::-webkit-scrollbar{display:none}.site-nav a{font-size:13px}.header-cta{grid-column:2;grid-row:1;min-height:36px;padding:0 11px;font-size:12px}.edit-menu{grid-column:3;grid-row:1}.edit-menu summary{font-size:11px;padding:8px}.board-wrap{scroll-margin-top:105px}.editing .workspace{display:block}.inspector{position:static;height:auto}}
@media(max-width:560px){html{scroll-padding-top:100px}.site-header .brand img{width:112px}.header-cta{font-size:11px;padding:0 8px}.header-cta span{display:none}.site-nav{gap:18px}.board-wrap{scroll-margin-top:100px}}
@media print{.site-header,.inspector,footer{display:none!important}.board-wrap{scroll-margin-top:0}}

/* Keep ordinary reading scroll available; gestures belong to edit mode. */
body:not(.editing) .layer{touch-action:auto;user-select:text}
.trial-link{position:absolute;left:42px;top:376px;width:274px;height:43px;z-index:6;border-radius:16px;cursor:pointer}
.trial-link:hover{box-shadow:0 0 0 2px #ffba80}
.trial-link:focus-visible{outline:3px solid #182f40;outline-offset:4px}
.editing .trial-link{display:none}
.editor-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:500;max-width:calc(100vw - 32px);padding:12px 20px;border:1px solid #c47749;border-radius:8px;background:#172127;color:#fff;box-shadow:0 8px 24px #0006;font-size:14px;line-height:1.5}
.editor-status[hidden]{display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Independent mobile composition, fed by the same editable layer records. */
.mobile-panel{display:none}
@media(max-width:780px){
 html{scroll-padding-top:0}
 .site-header{gap:8px;padding:10px 16px}
 .site-header .brand img{width:100px}
 .site-nav{display:flex;flex-wrap:wrap;gap:0 17px;overflow:visible;padding:0}
 .site-nav a{font-size:12px;min-height:36px;display:flex;align-items:center}
 .header-cta{font-size:11px}.edit-menu summary{font-size:11px}
 .board-wrap{overflow:visible;scroll-margin-top:158px}
 body:not(.editing) .board-shell{display:none}
 body:not(.editing) .mobile-panel{display:block}
 .mobile-panel{padding:30px 22px 36px;background:#100d0a;color:#fff;overflow:hidden}
 .mobile-1,.mobile-3{background:#faf8f4;color:#0d2027}
 .mobile-2{background:#19110c}
 .mobile-logo{width:120px;margin:0 0 24px}
 .mobile-logo img{display:block;width:100%;height:auto}
 .mobile-title{margin:0 0 16px;font-size:clamp(26px,7.5vw,42px);line-height:1.28;letter-spacing:-.04em}
 .mobile-title>.mobile-item{display:block;font-size:calc(1em * var(--text-ratio,1))}
 .mobile-speed{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
 .mobile-speed>.mobile-item{font-size:calc(1em * var(--text-ratio,1))}
 .mobile-speed .mobile-number{font-size:calc(1.65em * var(--text-ratio,1));line-height:1.08}
 .mobile-sub{font-size:calc(17px * var(--text-ratio,1));line-height:1.65;margin:0 0 22px;white-space:pre-line}
 .mobile-photo{margin:0 -22px 26px;aspect-ratio:1.3;overflow:hidden}
 .mobile-photo img{display:block;width:100%;height:100%;object-fit:cover}
 .mobile-3 .mobile-photo{aspect-ratio:.95}
 .mobile-3 .mobile-photo img{object-position:76% center!important}
 .mobile-pills{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px;margin:0 0 26px}
 .mobile-pill{display:flex;align-items:center;gap:7px;font-size:14px}
 .mobile-icon{width:30px;height:30px;flex:0 0 30px}
 .mobile-icon svg{width:100%;height:100%}
 .mobile-pills .mobile-icon{width:22px;height:22px;flex-basis:22px}
 .mobile-dishes{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px;margin:0 0 25px}
 .mobile-dishes article{min-width:0;border-bottom:1px solid #6a4b37;padding-bottom:10px}
 .mobile-dish-photo{aspect-ratio:1.5;overflow:hidden}
 .mobile-dish-photo img{width:100%;height:100%;object-fit:cover;display:block}
 .mobile-dish-label{display:flex;align-items:baseline;gap:5px;padding-top:7px;font-size:16px;flex-wrap:wrap}
 .mobile-dish-time{font-size:calc(28px * var(--text-ratio,1));margin-left:auto}
 .mobile-min{font-size:13px}
 .mobile-points{display:grid;gap:0}
 .mobile-points article{display:flex;gap:16px;padding:22px 0;border-bottom:1px solid #95816a40}
 .mobile-point-body{min-width:0;flex:1}
 .mobile-point-body h3{font-size:calc(20px * var(--text-ratio,1));line-height:1.4;margin:0 0 8px}
 .mobile-point-body p{font-size:calc(16px * var(--text-ratio,1));line-height:1.75;margin:0;white-space:pre-line}
 .mobile-note{font-size:calc(13px * var(--text-ratio,1));line-height:1.8;margin:22px 0 0;white-space:pre-line}
 .mobile-2 .mobile-note{font-size:21px;line-height:1.65}
 .mobile-trial{display:block;margin-top:25px;padding:16px 10px;border-radius:8px;background:#ee6423;color:white!important;text-align:center;font-size:18px;font-weight:700;text-decoration:none}
 .mobile-extra{margin-top:16px;font-size:18px;line-height:1.5}.mobile-extra img{max-width:100%;height:auto}.mobile-extra svg{width:36px;height:36px}
 .editing .board-wrap{overflow-x:auto}.editing .board-shell{min-width:836px}
 .editing .board-cap{display:flex;padding:12px;font-size:12px}.editing .zoom-btn{display:none}
 .editing .inspector{padding:20px}.props input,.props textarea,.props select{font-size:16px}
 footer{font-size:13px}
}
@media print{.mobile-panel{display:none!important}.board-shell{display:block!important}}
