.showcase-embed-stage{width:100%;min-width:0}
.showcase-embed{position:relative;width:min(100%,var(--embed-width,540px));margin-left:calc((100% - min(100%,var(--embed-width,540px))) * var(--embed-position,0));min-width:0;background:var(--bg-panel,#111);border:1px solid var(--border-color,#333);border-radius:12px;overflow:hidden}
.showcase-embed iframe{display:block;width:100%;height:var(--embed-height,650px);border:0;background:#fff}
.showcase-embed>a{display:block;padding:12px;color:var(--text-main,#fff);font-size:13px;text-align:center}
.am-card.showcase-embed-card{width:100%;flex:0 0 100%;max-width:100%;min-width:0}
.see-all-grid .showcase-embed-card{grid-column:1/-1;width:100%;justify-self:stretch}
.see-all-list .showcase-embed-card{display:block;width:100%}
.showcase-editor-group{border:1px solid var(--border-color,#333);border-radius:12px;padding:16px;margin:0 0 18px}
.showcase-editor-group>summary{cursor:pointer;font-weight:700;padding:4px 0;list-style-position:inside}
.showcase-editor-group[open]>summary{margin-bottom:18px}
.showcase-editor-group[hidden],.showcase-editor-group [hidden]{display:none!important}
.showcase-editor-help{color:var(--text-muted,#aaa);line-height:1.6;font-size:14px;margin-bottom:18px}
.showcase-embed-preview{width:100%;max-width:none;margin-top:48px}
.showcase-embed-preview .showcase-embed{overflow:visible}
.showcase-embed-preview iframe{border-radius:12px 12px 0 0}
.showcase-embed-status{margin:8px 0;color:var(--text-muted,#aaa);font-size:13px}

#showcase-library-type{appearance:none;color-scheme:dark;background:#141414 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;color:var(--text-main,#fff);font:inherit;font-size:.85rem;border:1px solid #ffffff18;border-radius:8px;min-height:44px;padding:10px 40px 10px 16px;max-width:100%;cursor:pointer}
#showcase-library-type:focus-visible{outline:2px solid #888;outline-offset:2px}
#showcase-library-type option{background:#141414;color:#fff}
.embed-layout-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
.embed-layout-controls label{flex:1 1 140px;min-width:0;font-size:12px!important}
.embed-layout-controls input{margin-top:8px}
.embed-layout-controls>button{flex:0 1 auto!important;width:auto!important;padding:12px!important}
.embed-move-handle,.embed-resize-handle{position:absolute!important;background:#222!important;color:white!important;border:1px solid #666!important;z-index:2;touch-action:none;user-select:none;line-height:1.2!important;min-height:0!important;width:auto!important;font:inherit!important}
.embed-move-handle{left:0;top:-34px;height:30px;padding:4px 12px!important;border-radius:6px!important;cursor:grab}
.embed-resize-handle{right:0;bottom:43px;width:30px!important;height:30px;padding:3px!important;border-radius:6px 0 0 0!important;cursor:nwse-resize}
.embed-adjusting iframe{pointer-events:none}
.embed-move-handle:focus-visible,.embed-resize-handle:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:600px){#showcase-library-type{width:100%}.embed-layout-controls label{flex-basis:100px}}

.showcase-embed-card .am-card-bottom{width:min(100%,var(--embed-width,540px));margin-left:calc((100% - min(100%,var(--embed-width,540px))) * var(--embed-position,0));margin-top:.8rem}
