.creator-form,.image-history-rail,.media-gallery,.media-library{border-color:rgba(75,116,168,.58);background:linear-gradient(180deg,rgba(17,29,50,.96),rgba(9,18,34,.96));box-shadow:0 18px 48px rgba(0,0,0,.28)}.gallery-head h3,.image-history-rail-head h3,.image-reference-head h3,.image-stage-head h3,.media-gallery-head h3{color:#f8fbff}.frame-placeholder span,.image-frame-placeholder span,.image-history-empty,.image-status-line,.image-upload-status{color:#a9b8cf}.creator-select-stack label,.frame-card,.image-frame-card,.image-gallery-idle,.image-result-stage{border-color:rgba(77,117,170,.62);background:linear-gradient(180deg,rgba(16,29,49,.92),rgba(8,16,30,.94));color:#edf4ff}.frame-card-dashed,.image-frame-card-dashed,.image-gallery-idle{border-color:rgba(34,211,238,.28);background:linear-gradient(180deg,rgba(10,21,38,.72),rgba(5,12,24,.9))}.frame-placeholder-icon,.image-frame-placeholder-icon{border-color:rgba(34,211,238,.42);background:rgba(34,211,238,.08);color:#67e8f9}.image-layout,.image-main-column{display:grid;grid-template-columns:1fr;grid-gap:14px;gap:14px}.image-layout,.workflow-card{min-height:0;overflow-y:auto;padding-bottom:10px}.creator-form,.image-history-rail,.media-library{display:grid;grid-gap:12px;gap:12px;min-width:0}.creator-form{align-content:start;gap:12px;padding:16px;scrollbar-width:none}.creator-form::-webkit-scrollbar{display:none}.creator-form-body{display:grid;grid-gap:12px;gap:12px}.creator-frame-row,.frame-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.media-workspace{display:grid;grid-template-columns:1fr;align-items:start;grid-gap:12px;gap:12px;min-width:0}.media-gallery{align-content:start;padding:14px}.media-gallery-head{align-items:center}.media-gallery-head-copy{display:grid;grid-gap:4px;gap:4px}.image-main-column,.image-main-column .media-workspace{min-height:0}.media-library{grid-template-rows:auto minmax(0,1fr);height:auto;max-height:none;overflow:visible}.frame-card,.image-frame-card{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;aspect-ratio:1/1;border:1px solid #263f69;border-radius:14px;background:#101b31;padding:0;min-height:0;overflow:hidden;outline:none;box-shadow:none;filter:none;transform:none}.frame-row .frame-card{min-height:0}.creator-form .frame-card{aspect-ratio:auto;height:220px;min-height:0}.creator-form .frame-row .image-reference-card-wrap{min-width:0}.frame-card:active,.frame-card:focus,.frame-card:focus-visible,.frame-card:hover{outline:none;box-shadow:none;filter:none;transform:none}.frame-card::-moz-focus-inner{border:0}.frame-card-dashed,.image-frame-card-dashed{border:1px dashed #263f69;background:#101b31}.frame-card-dragging{border-color:#5b84c7;background:#12203a}.frame-card-dragging.frame-card-dashed{border-style:dashed}.frame-thumb,.image-frame-thumb,.image-history-rail-thumb,.image-result-preview{width:100%;height:100%;min-height:0;object-fit:cover;display:block}.frame-empty{background:#101b31}.frame-placeholder,.image-frame-placeholder{min-height:0;display:grid;place-content:center;text-align:center;grid-gap:4px;gap:4px;color:#d9e4ff}.frame-placeholder strong,.image-frame-placeholder strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.frame-placeholder-icon,.image-frame-placeholder-icon{width:40px;height:40px;border-radius:10px;border:1px solid #2f4d7b;display:grid;place-items:center;margin:0 auto 4px;color:#8fb4ff}.frame-placeholder span,.image-frame-placeholder span,.image-status-line,.image-upload-status{color:#9fb2d6;font-size:12px}.creator-prompt-block textarea{display:block;min-height:100px;max-height:150px;padding:12px 14px;overflow-y:auto;border-radius:14px;background:#172437;line-height:1.5;white-space:pre-wrap}.image-upload-status{min-height:18px;line-height:1.3}.creator-select-stack label{background:#152338;border:1px solid #223c63;border-radius:12px;padding:7px 10px}.creator-select-stack-single label{min-height:52px}.creator-select-stack-triple{gap:10px}.creator-select-stack select{border:0;background:transparent;padding:4px 0 0;color:#e7efff}.creator-cta{width:100%;min-height:52px;border-radius:14px;font-size:16px}.gallery-head h3,.image-history-rail-head h3,.image-reference-head h3,.image-stage-head h3{margin:0}.card-head,.gallery-head,.image-gallery-head,.image-history-rail-head,.image-reference-head,.image-stage-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.image-stage-head{align-items:flex-start}.mini-tabs{display:inline-flex;border:1px solid #253d67;border-radius:10px;background:#09152d;padding:4px;gap:4px}.mini-tab{border:0;background:transparent;color:var(--muted);padding:7px 10px}.mini-tab.active{color:#fff;background:linear-gradient(135deg,#7a30df,#d4389f)}.image-error-state,.image-gallery-shell,.image-history-rail-body,.image-history-rail-list,.image-loading-card-body,.image-reference-grid{display:grid;grid-gap:10px;gap:10px}.media-grid{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;justify-content:flex-start;gap:12px}.media-library-grid::-webkit-scrollbar{width:8px}.media-library-grid::-webkit-scrollbar-track{border-radius:999px;background:rgba(5,12,28,.5)}.media-library-grid::-webkit-scrollbar-thumb{border:2px solid rgba(5,12,28,.5);border-radius:999px;background:linear-gradient(180deg,rgba(118,155,224,.95),rgba(77,111,179,.9))}.media-library-grid::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,rgba(144,178,241,1),rgba(91,132,199,1))}.media-tile,.video-tile{position:relative;display:grid;grid-template-rows:auto;align-content:start;grid-gap:10px;gap:10px;margin:0;padding:10px;border:1px solid #233a64;border-radius:18px;overflow:hidden;background:#020611;min-width:0;width:190px;flex:0 0 190px;max-width:190px}.media-tile-with-body{grid-template-rows:auto minmax(54px,auto)}.media-tile-media{position:relative;overflow:hidden;border-radius:12px;background:#101a2b}.media-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;align-content:start;grid-gap:12px;gap:12px;min-height:0;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(91,132,199,.72) rgba(5,12,28,.5)}.video-main-column .media-library-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.media-library-grid .media-tile{width:100%;max-width:none;flex:initial;grid-template-rows:auto;gap:0}.media-library-grid .media-tile-media{height:auto}.media-library-grid .image-result-stage{border-radius:12px}.media-thumb,.video-thumb{width:100%;aspect-ratio:9/16;object-fit:cover;display:block}.video-preview-shell{position:relative;display:grid;width:100%;aspect-ratio:9/16;overflow:hidden}.video-preview-shell .video-thumb{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}.video-thumb-poster,.video-thumb-preview{grid-area:1/1}.video-preview-shell .video-thumb-poster{position:relative;z-index:1}.video-thumb-preview{position:absolute;inset:0;z-index:2;opacity:0;pointer-events:none;transition:opacity .18s ease;background:#020611}.video-thumb-preview-visible{position:absolute;opacity:1}.video-thumb-preview-visible.video-thumb-preview{pointer-events:auto}@media (hover:hover){.video-tile-ready:focus-within .video-thumb-preview,.video-tile-ready:hover .video-thumb-preview{opacity:1}.video-tile-ready:focus-within .video-thumb-poster,.video-tile-ready:hover .video-thumb-poster{opacity:0}}@media (hover:none){.video-thumb-preview:not(.video-thumb-preview-visible){display:none}}.fallback-thumb{background:radial-gradient(circle at 35% 28%,rgba(101,54,218,.6),#050b1a 68%);display:grid;place-items:center}.fallback-thumb-video-indicator{display:grid;justify-items:center;grid-gap:10px;gap:10px}.fallback-thumb-play{width:48px;height:48px;border-radius:999px;display:grid;place-items:center;background:rgba(5,11,26,.58);border:1px solid rgba(255,255,255,.28);color:#fff;font-size:20px;line-height:1;padding-left:2px}.image-history-rail-overlay,.media-tile-overlay,.video-overlay-top{position:absolute;top:10px;left:10px;right:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;z-index:2;pointer-events:none}.image-history-rail-overlay .state-chip,.media-tile-overlay>*,.video-overlay-top .state-chip,.video-tile-actions{pointer-events:auto}.media-tile-body{min-height:54px;display:grid;grid-template-rows:minmax(22px,auto) minmax(20px,auto);align-content:start;grid-gap:4px;gap:4px;color:#9fb2d6;overflow-wrap:anywhere}.image-status-line,.media-tile-body p,.media-tile-body>*{margin:0}.image-status-line,.media-tile-body p,.media-tile-body span{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.media-tile-body p{color:#edf4ff;line-clamp:1;-webkit-line-clamp:1}.image-status-line,.media-tile-body span{line-clamp:2;-webkit-line-clamp:2}.video-tile-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.video-history-body{display:grid;grid-gap:8px;gap:8px}.video-history-body h4{margin:0;font-size:16px;line-height:1.3}.video-history-body p{margin:0;color:#9ab2dc;font-size:12px}.video-history-body-cta{justify-self:start;min-height:34px;padding:0 14px;border-radius:8px}@media (max-width:620px){.video-history-body-cta{width:100%;justify-self:stretch}}.video-history-grid .media-tile{grid-template-rows:auto 1fr}.video-history-grid .media-tile-body{border-top:1px solid rgba(42,68,112,.55)}.video-history-grid .media-tile-media{min-height:170px}.video-history-grid .video-preview-shell,.video-history-grid .video-thumb{width:100%;height:100%}.video-history-grid .video-thumb{object-fit:cover}.video-history-grid .video-thumb-poster,.video-history-grid .video-thumb-preview{border-radius:0}.video-history-grid .video-thumb-preview{transition:opacity .2s ease}.video-history-grid .media-tile-body .video-tile-actions{margin-left:0}.video-history-grid .media-tile-body{display:grid;grid-gap:10px;gap:10px}.video-history-grid .media-tile-body>:is(h4,p){margin:0}.media-tile-loading,.video-tile-loading{background:#0a1220}.history-empty,.image-result-stage,.shared-loading-state,.video-loading-only{position:relative;width:100%;display:grid;place-items:center;grid-gap:10px;gap:10px;padding:20px;text-align:center}.shared-loading-state{height:100%;min-height:100%;grid-template-rows:auto auto auto;align-content:center;justify-items:center;gap:8px}.shared-loading-state,.video-loading-only{color:#edf4ff;overflow:hidden}.video-loading-only{height:100%;min-height:100%;aspect-ratio:9/16;place-content:center}.shared-loading-state:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 44%,rgba(32,48,78,.72),rgba(10,18,32,.96) 54%,#07101d 100%)}.shared-loading-state-compact{aspect-ratio:9/16}.shared-loading-spinner{width:28px;height:28px;border:3px solid rgba(168,85,247,.25);border-top-color:#a855f7;border-radius:999px;animation:spin .9s linear infinite;z-index:1}.shared-loading-title{color:#a8bfd7;font-size:14px;font-weight:700;line-height:1;z-index:1}.shared-loading-state small{color:rgba(130,151,174,.72);font-size:10px;line-height:1;z-index:1}.image-loading-card:before{display:none}.image-loading-card{min-height:240px}@keyframes spin{to{transform:rotate(1turn)}}@keyframes shimmer{0%{transform:translateX(-45%) rotate(12deg)}to{transform:translateX(45%) rotate(12deg)}}.state-chip,.status-pill{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;font-size:11px;font-weight:600;line-height:1;padding:0 10px;border:1px solid;background:rgba(8,18,36,.88);white-space:nowrap;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.state-chip.success,.status-pill-success{color:#b9ffd8;border-color:rgba(62,210,136,.45)}.state-chip.wait,.status-pill-pending{color:#ffd98a;border-color:rgba(243,180,67,.45)}.state-chip.error,.status-pill-failed{color:#ffd2dc;border-color:rgba(255,107,141,.5)}.ghost-icon{width:28px;height:28px;border-radius:8px;border:1px solid rgba(255,255,255,.22);background:rgba(7,16,32,.78);color:#fff;padding:0;flex:0 0 auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.image-video-action{display:inline-flex;align-items:center;justify-content:center;background:rgba(15,23,42,.58);color:rgba(255,255,255,.88);font-size:12px}.image-video-action:hover{background:rgba(15,23,42,.72);color:#fff}.ghost-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.image-lightbox,.video-lightbox{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px}.image-lightbox-backdrop,.video-lightbox-backdrop{position:absolute;inset:0;border:0;border-radius:0;background:rgba(2,7,18,.84);cursor:zoom-out}.image-lightbox-panel,.video-lightbox-panel{position:relative;z-index:1;width:min(100%,calc((100vh - 112px) * var(--video-aspect)),920px);max-width:920px;max-height:calc(100vh - 48px);display:grid;grid-gap:10px;gap:10px}.image-lightbox-panel{width:min(100%,920px)}.image-lightbox-head,.video-lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.image-lightbox-actions{display:flex;align-items:center;gap:8px}.image-zoom-value{width:auto;min-width:54px;padding:0 10px;font-size:12px}.image-lightbox-viewport{max-height:calc(100vh - 112px);overflow:auto;border-radius:12px;cursor:-webkit-grab;cursor:grab;touch-action:none}.image-lightbox-viewport-panning{cursor:-webkit-grabbing;cursor:grabbing}.image-lightbox-head p,.video-lightbox-head p{margin:0;color:#edf4ff;font-size:14px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-lightbox-picture,.video-lightbox-player{width:100%;max-height:calc(100vh - 112px);display:block;border:1px solid rgba(91,132,199,.52);border-radius:12px;background:#020611;object-fit:contain;box-shadow:0 24px 80px rgba(0,0,0,.55)}.video-lightbox-player{aspect-ratio:var(--video-aspect)}.image-lightbox-picture{height:auto;transform-origin:center center;transition:transform .16s ease}.workflow-card{align-self:start;display:grid;grid-gap:16px;gap:16px;width:100%;min-width:0;min-height:0;overflow:hidden;padding:18px}@media (min-width:640px){.image-layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr);align-items:start;min-height:0;overflow:hidden}.image-layout>.creator-form{position:-webkit-sticky;position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto;scrollbar-gutter:stable}.image-layout>.image-main-column{min-width:0;min-height:0;overflow:hidden}.image-layout .image-gallery-shell{grid-template-columns:minmax(0,1fr) 280px;align-items:start}}