.cover-picker-entry{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--brand-action);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:8px 14px;font-weight:600;display:inline-flex}.cover-picker-entry img{object-fit:cover;border-radius:5px;width:38px;height:48px}.video-cover-dialog{color:#fff;background:#101116;border:0;border-radius:16px;width:min(620px,100vw);max-width:100vw;height:min(920px,100dvh);max-height:100dvh;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.video-cover-dialog::backdrop{background:#000b}.video-cover-dialog>header{border-bottom:1px solid #ffffff20;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.video-cover-dialog h2{margin:0;font-size:18px}.video-cover-dialog button{min-height:44px;font:inherit;cursor:pointer}.video-cover-dialog header button,.cover-link{color:#ff6684;background:0 0;border:0;font-weight:700}.cover-editor-body{height:calc(100% - 69px);padding:12px 20px max(20px,env(safe-area-inset-bottom));text-align:center;overflow:auto}.cover-editor-body>p{color:#b9bbc5;font-size:14px}.cover-large-preview{aspect-ratio:9/16;background:#171821;border-radius:14px;place-items:center;width:min(265px,66vw);margin:16px auto 24px;display:grid;position:relative;overflow:hidden}.cover-large-preview>img{object-fit:contain;width:100%;height:100%}.cover-large-preview.is-cropping{aspect-ratio:4/5;touch-action:none;cursor:move}.cover-crop-grid{pointer-events:none;background:linear-gradient(90deg,#0000 33%,#fff5 33% 33.4%,#0000 33.4% 66%,#fff5 66% 66.4%,#0000 66.4%),linear-gradient(#0000 33%,#fff5 33% 33.4%,#0000 33.4% 66%,#fff5 66% 66.4%,#0000 66.4%);position:absolute;inset:0}.cover-filmstrip{background:#24252c;border-radius:8px;height:64px;margin:12px 0 20px;display:flex;position:relative;overflow:hidden}.cover-filmstrip img{object-fit:cover;width:12.5%;height:100%}.cover-filmstrip input{appearance:none;cursor:ew-resize;background:0 0;width:100%;height:100%;margin:0;position:absolute;inset:0}.cover-filmstrip input::-webkit-slider-thumb{appearance:none;background:#ffffff16;border:3px solid #ff476f;border-radius:7px;width:32px;height:64px;box-shadow:0 0 0 1px #000}.cover-filmstrip input::-moz-range-thumb{background:#ffffff16;border:3px solid #ff476f;border-radius:7px;width:28px;height:58px}.cover-gallery{color:#fff;background:#d9002b;border:0;border-radius:10px;width:100%;font-weight:700}.cover-crop-controls{text-align:left;gap:12px;display:grid}.cover-crop-controls label{gap:5px;font-size:13px;display:grid}.cover-crop-controls input{accent-color:#ff476f;width:100%}.video-cover-dialog button:disabled{opacity:.5}.video-cover-dialog :focus-visible{outline-offset:2px;outline:3px solid #ff6684}@media (max-width:600px){.video-cover-dialog{border-radius:0;height:100dvh}.cover-large-preview{width:min(245px,58vw)}.video-cover-dialog>header{padding-top:max(10px,env(safe-area-inset-top))}}
.media-post-dialog.creation-editor{border-radius:12px;width:min(1040px,96vw);height:min(860px,94dvh)}.creation-header,.creation-tool-heading{border-bottom:1px solid #e6e6e6;flex-shrink:0;grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr);align-items:center;gap:12px;min-height:58px;padding:12px 18px;display:grid}.creation-header h2,.creation-tool-heading h3{text-align:center;margin:0;font-size:16px}.creation-header button,.creation-tool-heading button{cursor:pointer;background:0 0;border:0;min-height:36px;padding:4px 8px;font-weight:650}.creation-header button:first-child,.creation-tool-heading button:first-child{justify-self:start}.creation-header button:last-child,.creation-tool-heading button:last-child{color:var(--brand,#df003a);justify-self:end}.creation-editor button:disabled{opacity:.4;cursor:default}.creation-editor button:focus-visible,.creation-editor input:focus-visible{outline:2px solid var(--brand,#df003a);outline-offset:3px}.creation-workspace{flex:1;min-height:0;display:grid;overflow:auto}.creation-workspace.is-review,.creation-workspace.is-select{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}.creation-media{background:#fafafa;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.creation-media>.creation-canvas-space{flex:1;height:440px;min-height:280px}.creation-canvas-space{justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.creation-canvas-frame{background:#000;flex-shrink:0;position:relative;overflow:hidden}.creation-canvas-frame video{border-radius:0}.creation-crop-grid{pointer-events:none;background:linear-gradient(90deg,#0000 calc(33.333% - .5px),#ffffff90 33.333%,#0000 calc(33.333% + .5px) calc(66.666% - .5px),#ffffff90 66.666%,#0000 calc(66.666% + .5px)),linear-gradient(#0000 calc(33.333% - .5px),#ffffff90 33.333%,#0000 calc(33.333% + .5px) calc(66.666% - .5px),#ffffff90 66.666%,#0000 calc(66.666% + .5px));border:1px solid #ffffffb0;position:absolute;inset:0}.is-adjusting{cursor:grab}.is-adjusting:active{cursor:grabbing}.creative-sound-preview{background:#000;flex:1;width:100%;min-height:180px;position:relative;overflow:hidden}.creative-sound-preview>.creation-canvas-space{position:absolute;inset:0}.creation-media>.creative-sound-preview{height:440px;min-height:280px}.creative-playback{background:#0009;border-radius:24px;gap:4px;display:flex;position:absolute;bottom:10px;right:10px}.creative-playback button{color:#fff;cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px}.creative-preview-error{color:#fff;background:#000b;border-radius:8px;max-width:70%;padding:8px;font-size:12px;position:absolute;bottom:8px;left:8px}.creation-sound-pill{text-overflow:ellipsis;white-space:nowrap;color:#fff;cursor:pointer;background:#0009;border:0;border-radius:22px;max-width:70%;min-height:44px;padding:10px 16px;position:absolute;top:12px;left:50%;overflow:hidden;transform:translate(-50%)}.creation-audio-tool{flex-direction:column;gap:8px;display:flex}.creation-audio-tool>.creative-sound-preview{flex:auto;height:280px}.creation-audio-song{text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:4px;padding:10px 0;font-weight:600;display:flex}.creation-audio-song span{color:#737780;font-size:12px;font-weight:400}.creation-music-dialog{color:#fff;background:#202328;margin:auto;position:fixed;inset:0}.creation-music-dialog::backdrop{background:#0009}.creation-camera{color:#fff;background:#09090d;flex-direction:column;flex:1;min-height:0;padding:0 12px;display:flex}.creation-viewfinder{background:#17171c;border-radius:22px;flex:1;min-height:360px;position:relative;overflow:hidden}.creation-viewfinder>video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.creation-viewfinder>header{background:linear-gradient(#0009,#0000);justify-content:space-between;align-items:center;padding:8px;display:flex;position:absolute;top:0;left:0;right:0}.creation-camera button{color:#fff;cursor:pointer;min-width:44px;min-height:44px;font:inherit;background:0 0;border:0}.creation-viewfinder>header button{font-size:26px}.creation-camera-tools{flex-direction:column;gap:6px;display:flex;position:absolute;top:30%;right:10px}.creation-camera-tools button{background:#0008;border-radius:24px;font-size:19px}.creation-countdown{font-size:72px;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.creation-camera-bottom{flex-direction:column;align-items:center;gap:10px;display:flex;position:absolute;bottom:18px;left:0;right:0}.creation-camera-bottom button[aria-pressed=true]{color:#ffd77a}.creation-shutter{border-radius:50%;width:78px;border:3px solid #fff!important;min-height:78px!important;padding:5px!important}.creation-shutter>span{background:#fff;border-radius:50%;width:100%;height:100%;min-height:62px;display:block}.creation-shutter.is-video>span{background:#df003a}.creation-shutter.is-recording>span{border-radius:7px;width:30px;height:30px;min-height:30px;margin:auto}.creation-camera-error{background:#101116dd;border-radius:12px;padding:16px;font-size:13px;position:absolute;top:45%;left:8%;right:8%}.creation-camera footer{justify-content:space-between;align-items:center;min-height:64px;display:flex}.creation-camera footer strong{letter-spacing:1px;font-size:12px}.creation-camera-zoom{background:#0009;border-radius:24px}.creation-camera-zoom button{font-size:12px}.creation-pagination{flex-wrap:wrap;justify-content:center;gap:6px;padding:10px;display:flex}.creation-pagination button{background:#ddd;border:0;border-radius:50%;width:24px;height:24px;font-size:11px}.creation-pagination button[aria-pressed=true]{color:#fff;background:#222}.creation-tools{background:#fff;border-top:1px solid #eee;justify-content:center;align-items:center;gap:24px;padding:12px;display:flex}.creation-tools>button{cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;min-width:64px;min-height:52px;font-size:22px;display:flex}.creation-tools>button span{font-size:12px}.creation-tools .cover-picker-entry{background:0 0;border:0;min-width:64px;padding:0}.creation-tools .cover-picker-entry img{object-fit:contain;width:32px;height:32px}.creation-tools .cover-picker-entry span{font-size:12px}.creation-thumbnails{background:#fff;flex-shrink:0;gap:8px;margin:0;padding:14px;list-style:none;display:flex;overflow-x:auto}.creation-thumbnails li{flex:0 0 62px}.creation-thumbnails button{cursor:pointer;background:#111;border:2px solid #0000;border-radius:5px;width:62px;height:62px;padding:0;position:relative;overflow:hidden}.creation-thumbnails button[aria-pressed=true]{border-color:var(--brand,#df003a)}.creation-thumbnails button>span{color:#fff;background:#0009;border-radius:50%;width:18px;height:18px;font-size:11px;position:absolute;top:2px;left:3px}.creation-thumbnails .creation-add{color:#222;background:#f3f3f3;font-size:28px}.creation-review{border-left:1px solid #ddd;min-width:0;padding:22px;overflow:auto}.creation-editor .creation-review textarea{resize:vertical;width:100%;font:inherit;background:0 0;border:0;min-height:100px;padding:12px 0}.creation-review .media-post-audience{margin-top:8px}.creation-review .media-post-audience select,.creation-review .media-post-audience input{background:#fff;border:1px solid #ddd;border-radius:6px;width:100%;padding:10px}.creation-review .media-post-audience h3{font-size:14px}.creation-review .media-post-audience{display:block}.creation-review label{margin:14px 0;font-size:13px;display:block}.creation-select{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:400px;padding:28px;display:flex}.creation-select h3,.creation-select p{margin:0}.creation-select small,.creation-hint,.creation-sound-label{color:#666;font-size:12px}.creation-sound-label{white-space:nowrap;text-overflow:ellipsis;margin:0;padding:8px 16px;overflow:hidden}.creation-status{border-top:1px solid #eee;flex-shrink:0;padding:9px 18px;font-size:12px}.creation-status p{color:#b00028;margin:3px 0}.creation-status small{color:#666}.creation-tool-sheet{background:#fff;border-block:1px solid #ddd;max-height:330px;padding:16px 24px;overflow:auto}.creation-tool-sheet header{justify-content:space-between;align-items:center;display:flex}.creation-tool-sheet h3{margin:0;font-size:14px}.creation-tool-sheet textarea{width:100%;min-height:60px}.creation-item-actions,.creation-crop-actions,.creation-fit-options{flex-wrap:wrap;gap:10px;display:flex}.creation-tool-sheet>header button,.creation-tool-sheet .creation-item-actions>button,.creation-tool-sheet .creation-audio-tool>button,.creation-crop-settings button,.creation-exit button{cursor:pointer;background:#f4f4f4;border:1px solid #ddd;border-radius:6px;padding:8px 12px}.creation-item-actions{margin-top:12px}.creation-tool-sheet>header button{color:var(--brand,#df003a);background:0 0;border:0}.creation-crop-editor{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.creation-crop-layout{background:#fafafa;flex:1;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);min-height:350px;display:grid}.creation-crop-layout>.creation-canvas-space{min-height:380px}.creation-crop-settings{background:#fff;border-left:1px solid #eee;padding:24px;overflow:auto}.creation-crop-settings label{margin-bottom:18px;font-size:13px;display:block}.creation-crop-settings select,.creation-crop-settings input{width:100%;accent-color:var(--brand,#df003a);margin-top:8px;display:block}.creation-crop-settings select{background:#fff;border:1px solid #ddd;border-radius:6px;padding:10px}.creation-fit-options{margin-bottom:18px}.creation-fit-options [aria-pressed=true]{color:#fff;background:#222}.creation-crop-items{gap:8px;padding:14px;display:flex;overflow:auto}.creation-crop-items button{background:#f6f6f6;border:1px solid #ddd;border-radius:5px;flex-direction:column;align-items:center;gap:3px;min-width:62px;padding:8px;display:flex}.creation-crop-items button[aria-pressed=true]{border:2px solid var(--brand,#df003a)}.creation-crop-items button span:last-child{font-size:11px}.creation-exit{text-align:center;flex-direction:column;gap:14px;max-width:440px;margin:auto;padding:30px;display:flex}.creation-exit h3{margin:0}.creation-exit p{color:#666}@media (max-width:700px){.creation-editor{border-radius:0;width:100vw;height:100dvh;max-height:100dvh}.creation-workspace.is-review,.creation-workspace.is-select,.creation-crop-layout{grid-template-columns:1fr}.creation-media>.creation-canvas-space{flex:none;height:42dvh;min-height:240px}.creation-crop-layout>.creation-canvas-space{height:42dvh;min-height:240px}.creation-crop-settings{padding:16px}.creation-review{border-top:1px solid #ddd;border-left:0}.creation-select{min-height:300px}.creation-tools{gap:12px}.creation-workspace.is-select .creation-review{padding-top:0}}.creation-single-preview{background:#111;border-radius:16px;height:440px;min-height:240px;position:relative;overflow:hidden}.creation-single-preview .creative-sound-preview{height:100%}.creation-single-preview.is-story{aspect-ratio:9/16;max-width:440px;height:min(65vh,640px);margin:0 auto}.creation-single-preview.is-story .creative-sound-preview{background:0 0}.creation-story-text{color:#fff;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;background:#0006;border-radius:8px;width:80%;padding:8px;font-weight:700;position:absolute;transform:translate(-50%,-50%)}.creation-editor-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.creation-editor-heading h2{margin:0;font-size:18px}.creation-editor-heading button,.creation-edit-tools button{color:#19171f;cursor:pointer;background:#f2f2f5;border:0;border-radius:99px;padding:12px 16px}.creation-edit-tools{align-items:center;gap:8px;padding:12px 0;display:flex;overflow:auto}.creation-story-text-tools{gap:12px;display:grid}.creation-story-text-tools label{gap:6px;display:grid}.creation-empty-library{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:320px;display:flex}.creation-camera-song{text-overflow:ellipsis;white-space:nowrap;color:#fff;z-index:2;background:#0008;border:0;border-radius:99px;max-width:65%;padding:10px 18px;position:absolute;top:76px;left:50%;overflow:hidden;transform:translate(-50%)}.creation-tool-sheet[aria-label=Audio\ editor]{z-index:4;color:#fff;background:#202328;flex-direction:column;gap:12px;max-height:none;padding:16px;display:flex;position:absolute;inset:0;overflow:hidden}.creation-tool-sheet[aria-label=Audio\ editor]>header{flex-shrink:0}.creation-tool-sheet[aria-label=Audio\ editor]>header button{color:#fff}.creation-tool-sheet[aria-label=Audio\ editor]>.creation-audio-tool{flex:1;min-height:0;overflow:auto}.creation-tool-sheet[aria-label=Audio\ editor] .creative-sound-preview{flex:1 0 200px;height:280px;min-height:200px}.creation-tool-sheet[aria-label=Audio\ editor] .creative-playback button{color:#fff;background:0 0;border:0}.creation-tool-sheet[aria-label=Audio\ editor] .creation-audio-song{color:#fff;background:#ffffff0d;border:0}.creation-tool-sheet[aria-label=Audio\ editor] .creation-audio-song span{color:#ddd}.creation-audio-tool input[type=range]{width:100%;accent-color:var(--brand,#f03)}
