.am-share-button{display:grid;place-items:center;width:34px;height:34px;padding:7px;border:0;border-radius:8px;background:transparent;color:#93acbd;cursor:pointer}.am-share-button svg{width:20px;height:20px}.am-share-button:hover{color:#d8f0e4}.am-share-button:disabled{opacity:.4;cursor:default}.am-share-button:focus-visible{outline:2px solid #8ec8cc;outline-offset:2px}
.ams-share-backdrop{position:fixed;inset:0;z-index:10000;background:#060b13b8;display:grid;place-items:center;padding:18px;color:#eaf1f8;font:13px/1.5 sans-serif}.ams-share-dialog{width:480px;max-width:100%;max-height:calc(100dvh - 36px);overflow:auto;background:#172635;border:1px solid #385060;border-radius:14px;padding:20px;box-sizing:border-box}.ams-share-dialog *{box-sizing:border-box}.ams-share-dialog header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.ams-share-dialog h2{font-size:18px;margin:0;flex:none}.ams-share-dialog header small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#92acbc}.ams-share-dialog header button{margin-left:auto}.ams-share-dialog button,.ams-shared-tools button,.ams-shared-tabs button{background:#203444;color:#dbe7ef;border:1px solid #365060;border-radius:7px;padding:8px 11px;cursor:pointer;font:inherit}.ams-share-dialog button:disabled{opacity:.5;cursor:wait}.ams-share-dialog input,.ams-share-dialog select{width:100%;min-width:0;background:#0e1a26;border:1px solid #385060;color:#eaf1f8;border-radius:7px;padding:9px;font:inherit}.ams-share-dialog label{display:block;font-size:12px;color:#a9bdcc;margin:12px 0}.ams-share-dialog label input,.ams-share-dialog label select{display:block;margin-top:5px}.ams-share-dialog [hidden]{display:none!important}.ams-share-dialog :is(button,input,select):focus-visible{outline:2px solid #8ec8cc;outline-offset:2px}.ams-share-tabs{display:flex;gap:6px;margin:14px 0}.ams-share-tabs button{flex:1}.ams-share-tabs button[aria-selected=true]{background:#2b4942;color:#d2f3e2;border-color:#658a7d}.ams-share-project{font-size:12px;color:#a2bacb}.ams-share-hint{color:#8ea7b9;font-size:11px;line-height:1.7}.ams-share-dialog .ams-share-primary,.ams-share-primary{background:#a9d9ca;color:#163429;border:0;border-radius:7px;padding:9px 14px;text-decoration:none;display:inline-block}.ams-share-dialog output{display:block;font-size:12px;margin-top:10px}.ams-share-url{display:flex;gap:6px;margin-top:10px}.ams-share-url input{flex:1}.ams-share-grant{display:flex;gap:10px;align-items:center;border-top:1px solid #2e4352;padding:10px 0;font-size:11px}.ams-share-grant span{flex:1}.ams-share-grant button{flex:none;font-size:11px;padding:6px 8px}.ams-share-dialog h3{font-size:13px;margin-top:20px}.ams-share-dialog>img,.ams-share-dialog>video{display:block;width:100%;max-height:65dvh;object-fit:contain}.ams-share-dialog>pre{white-space:pre-wrap;max-height:60dvh;overflow:auto}.ams-share-dialog>audio{width:100%}
.ams-shared-group{position:absolute;border:1px dashed #527568;border-radius:12px;background:#385f4a12;pointer-events:none}.ams-shared-group>span{position:absolute;top:7px;left:12px;font-size:12px;color:#a6c9b8}
.ams-shared-sections{margin-top:26px}.ams-shared-sections h2{font-size:16px;margin:22px 0 12px}.ams-shared-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.ams-shared-card{display:flex;flex-direction:column;gap:10px;min-width:0;background:#152333;border:1px solid #2e4658;border-radius:10px;padding:16px;color:#dfeaf2;text-decoration:none}.ams-shared-card small,.ams-shared-grid>p{font-size:11px;color:#8da6b9}.ams-shared-card img,.ams-shared-card video,.ams-shared-card audio{width:100%;max-height:200px;object-fit:contain}.ams-shared-card pre{white-space:pre-wrap;max-height:180px;overflow:auto}
.ams-share-view{color:#eaf1f8;padding:16px;background:#0d1520;min-height:calc(100dvh - 56px);box-sizing:border-box}.ams-shared-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px}.ams-shared-head h1{font-size:18px;margin:0}.ams-shared-head span{font-size:11px;color:#8da6b9}.ams-shared-head>a:last-child{margin-left:auto;color:#a9d9ca}.ams-shared-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.ams-shared-tabs button[aria-pressed=true]{background:#29483e;color:#d9f1e5}.ams-shared-stage{height:calc(100dvh - 220px);min-height:240px;position:relative;overflow:hidden;background-image:radial-gradient(#304454 1px,transparent 1px);background-size:24px 24px;border:1px solid #294050;border-radius:12px;touch-action:none;cursor:grab}.ams-shared-world{position:absolute;transform-origin:0 0;width:12000px;height:12000px}.ams-shared-wires{position:absolute;pointer-events:none;overflow:visible}.ams-shared-wires path{stroke:#80bbc0;stroke-width:2;fill:none}.ams-shared-node{position:absolute;width:280px;height:280px;border:1px solid #40596d;border-radius:12px;background:#182839;padding:12px;box-sizing:border-box;overflow:hidden}.ams-shared-node h3{font-size:13px;margin:0 0 10px;color:#eaf1f8}.ams-shared-node img,.ams-shared-node video{width:100%;height:170px;object-fit:contain;background:#101c29}.ams-shared-node pre{height:170px;margin:0;white-space:pre-wrap;overflow:auto;font-size:12px}.ams-shared-node audio{width:100%;margin-top:30px}.ams-shared-empty{height:170px;display:grid;place-items:center;color:#6a869a}.ams-shared-result{background:transparent;color:#9dbbcd;border:0;font-size:11px;cursor:pointer;margin-top:7px}.ams-shared-tools{display:flex;justify-content:center;gap:8px;margin:10px}.ams-shared-assets{margin-top:16px}.ams-shared-assets summary{cursor:pointer;color:#9cbacb;margin-bottom:12px}.ams-shared-error{padding:40px;color:#c6a9a9}.s-shared-edit [data-action=new],.s-shared-edit [data-action=projects],.s-shared-edit [data-action=delete-project]{display:none!important}
@media(max-width:700px){.ams-share-dialog{padding:16px}.ams-share-backdrop{padding:10px}.ams-share-dialog input,.ams-share-dialog select{font-size:16px}.ams-shared-head{gap:8px}.ams-share-view{padding:10px}.ams-shared-head h1{font-size:15px}.ams-shared-stage{height:calc(100dvh - 190px);min-height:180px}.ams-share-dialog button{min-height:36px}}
