#ncy-share-compat {
  box-sizing:border-box;
  width:min(440px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:0;
  border:1px solid #e2e8f0;
  border-radius:20px;
  background:#fff;
  color:#142139;
  box-shadow:0 24px 70px rgba(15,23,42,.28);
  overflow:auto;
}
#ncy-share-compat[open] {display:block;position:fixed;inset:0;z-index:2147483000;}
#ncy-share-compat::backdrop {background:rgba(10,19,35,.58);}
#ncy-share-compat [hidden] {display:none !important;}
#ncy-share-compat .ncy-share-box {padding:28px;text-align:center;}
#ncy-share-compat h2 {margin:0 38px 18px;font:700 24px/1.3 system-ui,'Microsoft YaHei',sans-serif;color:#142139;}
#ncy-share-compat p {margin:14px 0;color:#475569;font:400 15px/1.65 system-ui,'Microsoft YaHei',sans-serif;}
#ncy-share-compat .ncy-share-close {position:absolute;top:14px;right:14px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#f1f5f9;color:#142139;font:400 27px/1 system-ui;cursor:pointer;}
#ncy-share-compat .ncy-share-qr {display:table;margin:0 auto;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;}
#ncy-share-compat canvas {display:block;width:200px;height:200px;max-width:100%;}
#ncy-share-compat input {box-sizing:border-box;display:block;width:100%;height:44px;margin:16px 0 0;padding:0 12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#334155;font:400 14px/1.4 system-ui,sans-serif;}
#ncy-share-compat .ncy-share-actions {display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:16px;}
#ncy-share-compat .ncy-share-actions button {min-height:44px;flex:1 1 140px;padding:10px 16px;border:1px solid #b94400;border-radius:10px;background:#b94400;color:#fff;font:700 15px/1.4 system-ui,'Microsoft YaHei',sans-serif;cursor:pointer;}
#ncy-share-compat .ncy-share-actions button + button {background:#fff;color:#8d3900;}
#ncy-share-compat .ncy-share-status {min-height:1.65em;margin:8px 0 0;color:#1d4ed8;}
@media(max-width:480px){#ncy-share-compat .ncy-share-box{padding:24px 20px;}#ncy-share-compat .ncy-share-actions button{flex-basis:100%;}}
