.embed-editor-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(4,4,9,.78);backdrop-filter:blur(16px)}
.embed-editor{width:min(1040px,100%);max-height:min(880px,calc(100dvh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff1b;border-radius:22px;background:#171820;color:#f5f4fb;box-shadow:0 40px 130px #000b,0 1px 0 #ffffff0d inset}
.embed-editor-header{display:flex;justify-content:space-between;gap:24px;padding:27px 30px 22px;border-bottom:1px solid #ffffff0d;background:linear-gradient(120deg,#a69aff0c,transparent 65%)}
.embed-editor-kicker{display:block;color:#afa3ff;font-size:10px;font-weight:800;letter-spacing:.14em}.embed-editor-header h2{margin:8px 0 7px;font-size:25px;line-height:1.2}.embed-editor-header p{margin:0;color:#a3a2b3;font-size:12px;line-height:1.6}.embed-close{flex:none;width:34px;height:34px;background:#ffffff0b;border:1px solid #ffffff0f;border-radius:10px;color:#b9b8c5;font-size:22px;line-height:1}.embed-close:hover{color:white;background:#ffffff14}
.embed-editor-form{min-height:0;display:flex;flex:1;flex-direction:column}.embed-editor-columns{display:grid;grid-template-columns:1fr 1fr;min-height:0;overflow:auto}.embed-editor-fields{padding:26px 30px 22px;display:grid;align-content:start;gap:16px}.embed-editor-fields label{display:block;font-size:11px;font-weight:700;color:#e5e3ef}.embed-editor-fields label>span{float:right;color:#888799;font-size:10px;font-weight:500}.embed-editor-fields input:not([type=color]),.embed-editor-fields textarea{display:block;width:100%;margin-top:8px;border:1px solid #ffffff17;border-radius:10px;padding:11px 12px;color:#f4f3fa;background:#101118;font:400 12px/1.5 inherit;outline:none}.embed-editor-fields textarea{resize:vertical;min-height:112px}.embed-editor-fields input::placeholder,.embed-editor-fields textarea::placeholder{color:#696a7a}.embed-editor-fields input:focus,.embed-editor-fields textarea:focus{border-color:#a99dfb;box-shadow:0 0 0 3px #a99dfb20}.embed-field-row{display:grid;grid-template-columns:135px minmax(0,1fr);gap:14px}.embed-color-field{height:40px;margin-top:8px;display:flex;align-items:center;gap:9px;padding:6px;border:1px solid #ffffff17;border-radius:10px;background:#101118}.embed-color-field input{width:26px;height:26px;padding:0;border:0;border-radius:7px;overflow:hidden;background:none;cursor:pointer}.embed-color-field input::-webkit-color-swatch-wrapper{padding:0}.embed-color-field input::-webkit-color-swatch{border:0;border-radius:6px}.embed-color-field span{font-size:10px;color:#c5c3d4}.embed-editor-hint{margin:0;color:#9291a4;font-size:11px;line-height:1.6}.embed-editor-hint code{color:#c4b8ff;background:#a99cfd18;padding:2px 4px;border-radius:4px}
.embed-preview-wrap{padding:26px 28px;background:#111219;border-left:1px solid #ffffff0d}.embed-preview-top{display:flex;align-items:center;justify-content:space-between;color:#9997ac;font-size:10px;font-weight:800;letter-spacing:.12em}.embed-preview-badge{display:flex;gap:6px;align-items:center;padding:6px 9px;border-radius:7px;border:1px solid #ffffff10;background:#ffffff08;color:#b7b6c3;font-size:10px;letter-spacing:0;font-weight:600}.embed-preview-badge i{width:6px;height:6px;border-radius:50%;background:#79daa9}.embed-preview-wrap>p{margin:9px 0 18px;font-size:11px;color:#88889a}.embed-discord{display:flex;align-items:flex-start;gap:12px;padding:20px 16px;min-height:220px;border-radius:12px;background:#313338;color:#dbdee1;font-family:Arial,sans-serif}.embed-discord-avatar{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#b8aaff,#7567dc);color:#fff;font-size:18px}.embed-discord-content{flex:1;min-width:0}.embed-discord-author{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:2px 0 8px;font-size:13px}.embed-discord-author strong{color:#fff;font-weight:600}.embed-discord-author span{padding:2px 4px;border-radius:3px;background:#5865f2;color:#fff;font-size:8px;font-weight:700}.embed-discord-author small{color:#949ba4;font-size:10px}.embed-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:9px;max-width:440px;padding:12px 14px;border-left:4px solid #9d8cff;border-radius:4px;background:#2b2d31;overflow-wrap:anywhere}.embed-card-text{min-width:0}.embed-card-text strong{display:block;color:#f2f3f5;font-size:13px;line-height:1.4}.embed-card-text>div{color:#dbdee1;font-size:12px;line-height:1.45;white-space:pre-wrap}.embed-card-text strong+div:not([hidden]){margin-top:7px}.embed-preview-thumbnail{width:70px;height:70px;object-fit:cover;border-radius:4px}.embed-preview-image{grid-column:1/-1;display:block;max-width:100%;max-height:250px;object-fit:contain;object-position:left;border-radius:4px}.embed-preview-footer{grid-column:1/-1;color:#dbdee1;font-size:10px;line-height:1.4;white-space:pre-wrap}.embed-preview-placeholder{grid-column:1/-1;color:#949ba4;font-size:12px}.embed-editor [hidden]{display:none!important}.embed-preview-wrap .embed-preview-caption{margin-top:14px;color:#747483;font-size:10px;line-height:1.5}
.embed-editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 30px;border-top:1px solid #ffffff0d;background:#191a23}.embed-editor-actions [data-count]{margin-right:auto;color:#88889a;font-size:10px}.embed-editor-error{flex-basis:100%;color:#ff9ba7;font-size:11px;margin:0}.embed-editor-error:empty{display:none}.embed-primary,.embed-secondary{border-radius:10px;padding:11px 15px;font-size:12px;font-weight:700}.embed-primary{background:#b3a5ff;color:#141120}.embed-primary:hover{background:#c2b8ff}.embed-secondary{color:#e1dfeb;background:#ffffff0a;border:1px solid #ffffff16}.embed-secondary:hover{background:#ffffff12}.embed-editor button:focus-visible,.embed-editor input:focus-visible,.embed-editor textarea:focus-visible{outline:2px solid #bcaeff;outline-offset:2px}
@media(max-width:720px){.embed-editor-backdrop{padding:10px}.embed-editor{max-height:calc(100dvh - 20px);border-radius:16px}.embed-editor-header{padding:20px}.embed-editor-header h2{font-size:21px}.embed-editor-columns{grid-template-columns:1fr}.embed-editor-fields{padding:20px}.embed-preview-wrap{padding:20px;border-left:0;border-top:1px solid #ffffff0d}.embed-discord{min-height:160px}.embed-editor-actions{padding:14px 20px}.embed-editor-actions [data-count]{width:100%;margin:0}.embed-editor-actions button{flex:1}}
.embed-editor-fields input:not([type=color]),.embed-editor-fields textarea{font-family:inherit;font-size:12px;line-height:1.5}
.embed-time-tool{margin:18px 0;padding:14px;border:1px solid #ffffff12;background:#ffffff06;border-radius:10px}.embed-time-tool strong,.embed-time-tool small{display:block}.embed-time-tool strong{font-size:12px;margin-bottom:5px}.embed-time-tool small{font-size:10px;line-height:1.5;color:#a6a4b7}.embed-time-tool>div{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.embed-time-tool input,.embed-time-tool select{flex:1;min-width:145px;padding:9px;color:#ededf5;background:#101118;border:1px solid #ffffff18;border-radius:8px;font:inherit;font-size:11px;color-scheme:dark}.embed-time-tool button{padding:9px 12px;border-radius:8px;background:#a99af4;color:#171320;font-size:11px;font-weight:700}
