.middle-site{margin:0;min-height:100vh;background:#eef4fc;color:#142641;font:14px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.middle-landing,.middle-landing *{box-sizing:border-box}
.middle-landing{width:min(100%,600px);margin:0 auto;padding:16px;display:grid;gap:12px;color:#142641;background:#eef4fc;border-radius:12px}
.middle-site-header{padding:14px 16px;background:#e0edf9;color:#142641;text-align:center;overflow-wrap:anywhere}
.middle-site-header h1,.middle-site-header h4{font-size:18px;line-height:1.5;margin:0;color:inherit}
.middle-text,.middle-media{margin:0;padding:13px;border:1px solid #dfe9f8;border-radius:12px;background:#fff}
.middle-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.middle-text a{color:#1757bd;text-decoration:underline}
.middle-copy-card{min-width:0;display:grid;gap:8px}
.middle-code-box,.middle-copy-button,.middle-image{appearance:none;font:inherit;cursor:pointer}
.middle-code-box{min-height:63px;width:100%;display:grid;gap:5px;align-content:center;padding:10px;border:1px dashed #91afe8;border-radius:11px;background:#fff;color:#142641;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.middle-code-box strong{font-size:16px}
.middle-copy-button{min-height:44px;width:100%;padding:8px 14px;border:0;border-radius:9px;background:#1261ee;color:#fff;font-weight:600}
.middle-code-box:focus-visible,.middle-copy-button:focus-visible,.middle-image:focus-visible{outline:2px solid #174baf;outline-offset:2px}
.middle-image{display:block;width:100%;padding:0;border:0;background:none}
.middle-media img,.middle-media video{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain;border-radius:9px}
.middle-media video{background:#172746}
.middle-lightbox{padding:16px;border:0;border-radius:12px;background:#15233a;color:white;max-width:min(96vw,1024px);max-height:96vh}
.middle-lightbox::backdrop{background:#142641c9}
.middle-lightbox img{display:block;max-width:100%;max-height:83vh;margin:auto}
.middle-lightbox button{display:block;margin:0 0 6px auto;width:38px;height:38px;border:0;border-radius:50%;font-size:20px;cursor:pointer}
.middle-feedback{position:fixed;z-index:9999;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:9px 14px;border-radius:8px;background:#142641;color:#fff;white-space:nowrap}
