:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#243752;background:#f2f5fa;font-size:14px;line-height:1.65}*{box-sizing:border-box}body{margin:0}main{max-width:1220px;margin:auto;padding:38px 24px}.hero{margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:#6c7e9d}h1{font-size:clamp(25px,3.5vw,38px);margin:8px 0;color:#20324e}.hero>p:last-child{color:#718099}.workspace{display:grid;grid-template-columns:1fr 1.06fr;gap:24px;align-items:start}.panel{min-width:0;border:1px solid #dce3ef;background:white;padding:24px;border-radius:18px;box-shadow:0 8px 28px #233a5706}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;font-size:17px}.section-heading h2{font-size:17px;margin:0}.badge{font-size:11px;background:#eff5f0;color:#46755d;padding:3px 9px;border-radius:20px}label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}.counter{font-size:11px;font-weight:400;color:#7d8ba1;float:right}input,textarea,select,button{font:inherit}input:not([type=checkbox]),textarea,select{width:100%;min-width:0;border:1px solid #ccd6e6;border-radius:8px;padding:9px 11px;margin-bottom:15px;background:white;color:#243752}textarea{resize:vertical;display:block}input:focus,textarea:focus,select:focus,button:focus-visible,summary:focus-visible{outline:3px solid #c1d5f6;outline-offset:2px}.hint{font-size:12px;color:#75849a;margin:0 0 16px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.actions{display:flex;gap:8px;margin-top:16px}button{border:1px solid #d7e0ee;border-radius:8px;padding:8px 12px;background:#fff;color:#3c5c8c;cursor:pointer}button:hover{background:#f0f5fc}button:disabled{opacity:.5;cursor:default}.secondary{font-size:12px}details{border-top:1px solid #edf0f6;margin-top:12px;padding-top:12px}summary{cursor:pointer;color:#406497;font-size:13px;margin-bottom:12px}.tabs{display:flex;gap:5px;padding:4px;background:#f1f4f9;border-radius:10px;margin-bottom:22px}.tabs button{flex:1;background:none;border:none;padding:8px 4px;font-size:12px}.tabs [aria-pressed=true]{background:white;color:#234f96;box-shadow:0 1px 5px #2c467318}.preview-viewport{width:100%;max-width:540px;margin:0 auto 18px;padding:18px;border:1px solid #e4e9f2;border-radius:10px;overflow-wrap:anywhere}.preview-viewport.narrow{max-width:320px}.search-site{display:flex;gap:10px;align-items:center;font-size:12px;margin-bottom:9px}.site-icon{background:#eaf0fc;color:#4671b1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;flex-shrink:0}.display-url{font-size:11px;color:#78869a}.search-title{font-size:20px;color:#2159ab;line-height:1.45;margin-bottom:7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.search-description{font-size:13px;color:#566276;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.check{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:400;margin-bottom:12px}.check input{margin:0}.image-area{position:relative;aspect-ratio:1.91;background:#edf2fa;overflow:hidden;border-radius:7px 7px 0 0}.image-area img{width:100%;height:100%;object-fit:cover}.image-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;color:#8b9db9;font-size:12px;gap:3px}.image-placeholder>span:first-child{font-size:38px}.social-copy{padding:13px 14px;border:1px solid #dfe6f0;border-top:0;border-radius:0 0 7px 7px}#social-title{font-size:16px;font-weight:600;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#social-description{font-size:12px;color:#718099;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#social-preview.summary{display:grid;grid-template-columns:95px minmax(0,1fr)}.summary .image-area{aspect-ratio:1;border-radius:7px 0 0 7px;height:100%;min-height:110px}.summary .social-copy{border:1px solid #dfe6f0;border-left:0;border-radius:0 7px 7px 0}.summary .image-placeholder>span:first-child{font-size:26px}.summary .image-placeholder{font-size:10px;text-align:center}.diagnostics{background:#f6f8fc;border-radius:10px;padding:14px;margin-top:20px}.diagnostics h3{font-size:13px;margin:0 0 6px}#warnings{font-size:12px;color:#697a92;padding-left:18px;margin:0}#warnings .warn{color:#9b5c20}.code-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:20px}.code-heading h3{font-size:14px}.code-heading button{padding:6px 9px}#output,#html-source{font:12px/1.7 Consolas,monospace;background:#f9fbfe}#action-status,#import-status{font-size:12px;color:#3b658e;overflow-wrap:anywhere}.guide{font-size:13px;color:#75849a;margin-top:28px}.guide h2{font-size:18px;color:#344968}footer{font-size:12px;color:#8b98aa;text-align:center;padding-top:24px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}[data-embedded=true] .hero,[data-embedded=true] h2,[data-embedded=true] h3,[data-embedded=true] .guide,[data-embedded=true] footer{display:none}[data-embedded=true] main{padding:12px}[data-embedded=true] .panel{box-shadow:none}[data-embedded=true] .section-heading{margin-bottom:12px}@media(max-width:850px){.workspace{grid-template-columns:1fr}.panel{padding:20px}main{padding:24px 16px}}@media(max-width:380px){.panel{padding:14px}.two-columns{grid-template-columns:1fr;gap:0}.preview-viewport{padding:12px}.tabs button{font-size:11px}.summary .social-copy{padding:8px}#social-preview.summary{grid-template-columns:70px minmax(0,1fr)}.image-placeholder>span:first-child{font-size:30px}}
