:root{--doubao-apps-color-bg-primary:#fff;--doubao-apps-color-bg-float:#fffc;--doubao-apps-color-text-secondary:#666;--doubao-apps-color-border-tertiary:#00000012;--doubao-apps-color-border-quaternary:#0000000f;--doubao-apps-color-border-float:#fff}[data-app-theme=dark]{--doubao-apps-color-bg-primary:#161616;--doubao-apps-color-bg-float:#252525cc;--doubao-apps-color-text-secondary:#ccc;--doubao-apps-color-border-tertiary:#ffffff1f;--doubao-apps-color-border-quaternary:#ffffff14;--doubao-apps-color-border-float:#ffffff2e}lynx-view[data-doubao-apps-web-sizing=content]{contain:content;height:auto!important}lynx-view[data-doubao-apps-web-sizing=content]::part(page){height:auto}.doubao-runtime-empty{box-sizing:border-box;width:100%;height:100%}.doubao-runtime-empty[hidden]{display:none}.doubao-apps-page{width:100%;height:100%;min-height:0;position:relative;overflow:hidden}.doubao-apps-page__body{width:100%;height:100%;min-height:0}.doubao-apps-page__capsule{top:var(--doubao-page-capsule-top,4px);right:var(--doubao-page-capsule-right,12px);z-index:20;box-sizing:border-box;color:#000;pointer-events:auto;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fff3;border-radius:22px;flex-direction:row;justify-content:center;align-items:center;gap:8px;width:84px;height:36px;margin:0 auto;padding:2px 4px 2px 8px;display:flex;position:absolute;box-shadow:0 0 16px #00000026}.doubao-apps-page>.doubao-apps-page__capsule{flex-direction:row;display:flex}.doubao-apps-page__capsule-action{box-sizing:content-box;width:24px;height:24px;color:inherit;cursor:pointer;flex:none;margin:0;padding:4px;display:block;overflow:visible}.doubao-apps-page__capsule-action:focus-visible{outline-offset:1px;outline:2px solid #0000003d}.doubao-apps-page__capsule-more-icon,.doubao-apps-page__capsule-close-icon{width:24px;height:24px}.doubao-apps-widget{box-sizing:border-box;flex-direction:column;width:100%;display:flex;position:relative}.doubao-apps-widget--default{border:1px solid var(--doubao-apps-color-border-tertiary);background:var(--doubao-apps-color-bg-primary);border-radius:16px;overflow:hidden}.doubao-apps-widget--embedded{background:0 0;border:0;border-radius:0;overflow:visible}.doubao-apps-widget--embedded>.doubao-apps-widget__body{overflow:visible}.doubao-apps-widget__header{border-bottom:.5px solid var(--doubao-apps-color-border-quaternary);box-sizing:border-box;align-items:center;gap:6px;width:100%;min-height:42px;padding:12px 16px;display:flex;overflow:hidden}.doubao-apps-widget__header[hidden]{display:none}.doubao-apps-widget--floating-header .doubao-apps-widget__header{z-index:1;border:1px solid var(--doubao-apps-color-border-float);background:var(--doubao-apps-color-bg-float);box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:8px;width:auto;min-height:28px;padding:6px 8px;position:absolute;top:6px;left:8px}.doubao-apps-widget__icon{border-radius:4px;flex:none;width:16px;height:16px}.doubao-apps-widget__icon[hidden]{display:none}.doubao-apps-widget__title{color:var(--doubao-apps-color-text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:18px;overflow:hidden}.doubao-apps-widget__body{width:100%;min-height:0}.doubao-apps-widget--default>.doubao-apps-widget__body{overflow:hidden}.doubao-apps-widget__placeholder{background:var(--doubao-apps-color-bg-primary);box-sizing:border-box;width:100%;min-height:48px;color:var(--doubao-apps-color-text-secondary);align-items:center;padding:0 16px;font-size:16px;font-weight:500;line-height:22px;display:flex}.doubao-apps-widget__placeholder-content{overflow-wrap:anywhere}:root{--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--simulator-bg:#f5f7fb;--simulator-phone:#111827;--simulator-phone-cutout:#111827;--simulator-border:#d9e0ea;--simulator-editor-border:#e2e7ef;--simulator-surface:#fff;--simulator-overlay-bg:#fffffff0;--simulator-text:#182235;--simulator-muted:#6d7a8c;--simulator-primary:#1f64d6;--simulator-danger:#b42318;--simulator-status-text:#111827;--simulator-focus-ring:#1f64d629;--simulator-state-border:#6d7a8c3d;--simulator-danger-border:#b423183d;--simulator-toggle-hover-bg:#edf3fc;--simulator-tooltip-bg:#182235;--simulator-tooltip-text:#fff;--simulator-phone-shadow:0 18px 48px #1923362e;--simulator-state-shadow:0 8px 24px #1923361a;--simulator-editor-font-size:13px;--simulator-editor-line-padding-left:12px;--simulator-editor-line-padding-right:14px;color:var(--simulator-text);background:var(--simulator-bg);font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--simulator-bg:#121212;--simulator-phone:#2b313d;--simulator-phone-cutout:#05070a;--simulator-border:#30384a;--simulator-editor-border:#30384a;--simulator-surface:#151922;--simulator-overlay-bg:#151922f5;--simulator-text:#f3f5f8;--simulator-muted:#a7afbf;--simulator-primary:#7db5ff;--simulator-danger:#ff8a80;--simulator-status-text:#f4f6fb;--simulator-focus-ring:#7db5ff3d;--simulator-state-border:#a7afbf47;--simulator-danger-border:#ff8a8052;--simulator-toggle-hover-bg:#222938;--simulator-tooltip-bg:#30384a;--simulator-tooltip-text:#f3f5f8;--simulator-phone-shadow:0 0 0 1px #91a0b829;--simulator-state-shadow:0 8px 24px #00000047}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0}body{background:var(--simulator-bg);overflow:hidden}.simulator{--phone-scale:1;--phone-status-bar-height:47px;--phone-vertical-reserve:24px;--preview-phone-height:min(876px, calc(100dvh - var(--phone-vertical-reserve)));--preview-phone-width:clamp(260px, 40vw, 280px);--simulator-editor-font-size:12px;--simulator-editor-line-padding-left:8px;--simulator-editor-line-padding-right:10px;grid-template-columns:minmax(0, 1fr) var(--preview-phone-width);align-items:center;gap:10px;width:100%;height:100dvh;min-height:0;padding:8px;display:grid}.simulator[data-source-expanded=true],.simulator[data-source-only=true]{grid-template-columns:minmax(0,1fr)}.simulator[data-source-expanded=true] .source-panel{border-right:0;padding-right:14px}.simulator[data-source-only=true] .source-panel{border-right:0;padding-right:0}.simulator[data-source-expanded=true] .preview-pane{display:none}.source-panel{width:100%;height:var(--preview-phone-height);border-right:1px solid var(--simulator-border);min-width:0;min-height:0;padding-right:10px;display:flex;position:relative}.editor-code-field{border:1px solid var(--simulator-editor-border);background:var(--simulator-surface);flex-direction:column;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.source-panel__toggle{z-index:2;border:1px solid var(--simulator-border);background:var(--simulator-surface);width:8px;height:64px;color:var(--simulator-muted);cursor:pointer;border-radius:2px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:-4px;transform:translateY(-50%)}.simulator[data-source-expanded=true] .source-panel__toggle{right:0}.source-panel__toggle:hover{background:var(--simulator-toggle-hover-bg);color:var(--simulator-text)}.source-panel__toggle svg{flex:none;max-width:none}.source-panel__toggle:after{background:var(--simulator-tooltip-bg);color:var(--simulator-tooltip-text);content:attr(data-tooltip);opacity:0;pointer-events:none;visibility:hidden;white-space:nowrap;border-radius:4px;padding:4px 6px;font-size:11px;line-height:16px;transition:opacity 80ms,visibility 0s linear 80ms;position:absolute;top:50%;right:calc(100% + 6px);transform:translateY(-50%)}.source-panel__toggle:hover:after{opacity:1;visibility:visible;transition-delay:.25s}.source-panel__toggle:focus-visible{outline:2px solid var(--simulator-primary);outline-offset:1px}.source-panel__toggle:focus-visible:after{opacity:1;visibility:visible;transition-delay:0s}.code-mirror-editor,.code-mirror-editor .cm-editor{min-width:0;height:100%;min-height:0}.code-mirror-editor{flex:1}.code-mirror-editor .cm-scroller{overflow:auto}.code-mirror-editor .cm-focused{outline:2px solid var(--simulator-focus-ring);outline-offset:-2px}.preview-pane{align-content:center;place-items:center;gap:12px;width:100%;min-width:0;height:100%;min-height:0;display:grid}.phone-stage{width:calc(390px * var(--phone-scale));height:calc(844px * var(--phone-scale));min-width:0;min-height:0}.phone-shell{border:8px solid var(--simulator-phone);background:var(--simulator-surface);width:390px;height:844px;box-shadow:var(--simulator-phone-shadow);transform:scale(var(--phone-scale));transform-origin:0 0;border-radius:34px;position:relative;overflow:hidden}.phone-shell[data-preview-theme=light]{--phone-top-background:#f6f7fb;--phone-top-text:#111827;--phone-capsule-background:#ffffffdb;--phone-capsule-border:#00000014;--phone-capsule-shadow:0 6px 16px #0f172a29;--phone-capsule-text:#000}.phone-shell[data-preview-theme=dark]{--phone-top-background:#10131a;--phone-top-text:#f4f6fb;--phone-capsule-background:#242b3deb;--phone-capsule-border:#3b455f;--phone-capsule-shadow:none;--phone-capsule-text:#fff}.phone-shell:before{z-index:4;background:var(--simulator-phone-cutout);content:"";border-radius:999px;width:112px;height:28px;position:absolute;top:10px;left:50%;transform:translate(-50%)}.phone-status-bar{z-index:3;height:var(--phone-status-bar-height);background:var(--phone-top-background);color:var(--phone-top-text);letter-spacing:0;pointer-events:none;justify-content:space-between;align-items:center;padding:0 25px;font-size:12px;font-weight:700;display:flex;position:absolute;top:0;left:0;right:0}.phone-status-icons{font-size:11px}.runtime-host{background:var(--simulator-surface);width:100%;height:100%;overflow:hidden}.runtime-host .doubao-apps-page__body{box-sizing:border-box;padding-top:var(--phone-status-bar-height)}.runtime-host .doubao-apps-page__capsule{border-color:var(--phone-capsule-border);background:var(--phone-capsule-background);color:var(--phone-capsule-text);cursor:default;box-shadow:var(--phone-capsule-shadow)}.runtime-host .doubao-apps-page__capsule-action{pointer-events:none}.runtime-state{z-index:5;border:1px solid var(--simulator-state-border);background:var(--simulator-overlay-bg);color:var(--simulator-muted);box-shadow:var(--simulator-state-shadow);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.4;position:absolute;bottom:18px;left:18px;right:18px}.runtime-state[data-status=error]{border-color:var(--simulator-danger-border);color:var(--simulator-danger)}:host,lynx-view{contain:strict;--rpx-unit:calc(1cqw / 7.5);--ppx-unit:1cqw;--vw-unit:1cqw;--vh-unit:1cqh;width:100%;display:none;container:lynx-view/inline-size}:host([transform-vh]),lynx-view[transform-vh]{container-type:size}:host([ssr]),lynx-view[ssr]{display:flex}:host([width=auto]),lynx-view[width=auto]{--lynx-view-width:100%;width:var(--lynx-view-width);inline-size:var(--lynx-view-width)}:host([height=auto]),:host([auto-height]),:host([width=auto]),lynx-view[height=auto],lynx-view[auto-height],lynx-view[width=auto]{contain:content}[part=page],lynx-view::part(page){--rpx-unit:inherit;--ppx-unit:inherit;--vw-unit:inherit;--vh-unit:inherit;width:100%;height:100%}@property --lynx-display{syntax:"linear|flex";inherits:false;initial-value:linear}@property --lynx-linear-weight-sum{syntax:"<number>";inherits:false;initial-value:1}@property --lynx-linear-weight{syntax:"<number>";inherits:false;initial-value:0}@property --justify-content-column{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-column-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --align-self-row{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --align-self-column{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --lynx-linear-weight-basis{syntax:"auto|<number>|<length>";inherits:false;initial-value:auto}@property --lynx-linear-orientation{syntax:"<custom-ident>";inherits:false;initial-value:vertical}@property --flex-direction{syntax:"*";inherits:false}@property --flex-wrap{syntax:"*";inherits:false}@property --flex-grow{syntax:"<number>";inherits:false;initial-value:0}@property --flex-shrink{syntax:"<number>";inherits:false;initial-value:1}@property --flex-basis{syntax:"*";inherits:false;initial-value:auto}@property --flex-value{syntax:"*";inherits:false}@property --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}