/* Ezabell REV6 targeted UI fixes */
@media(max-width:900px){
  .header-inner>.mobile-menu-button{order:0;display:block;flex:0 0 auto}
  .header-inner>.brand{order:1;flex:0 0 auto}
  .authenticated-shell .header-inner>.mobile-dashboard-link{order:2}
  .authenticated-shell .header-inner>.header-auth-spacer{order:3}
  .authenticated-shell .header-inner>.header-balance{order:4}
  .authenticated-shell .header-inner>.header-account-menu{order:5}
}
.library-video-lazy{background:linear-gradient(135deg,#111827,#080b12)}
.library-video-lazy:not(.is-ready){opacity:.72}
.library-video-lazy.is-ready{opacity:1;transition:opacity .18s ease}
\n/* REV8 account/library polish */\n.account-photo-stack{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto}.profile-photo-controls-under-photo{margin:0;max-width:230px;justify-content:center;text-align:center}.profile-photo-controls-under-photo .profile-photo-selected,.profile-photo-controls-under-photo .form-help{width:100%;text-align:center}.account-profile-copy{min-width:0}.generation-failure-hint{max-width:680px;margin:10px auto 0;color:#c6b9d9;font-size:12px;line-height:1.55}.rev8-copy-button{border:1px solid rgba(255,255,255,.12);background:#151c29;color:#e9eef7;border-radius:9px;padding:8px 10px;font-weight:850;cursor:pointer}.rev8-copy-button:hover{background:#1d2737}.et-preview{position:relative;overflow:hidden;border-radius:14px 14px 0 0;background:#0a0f18;aspect-ratio:16/9}.et-preview img,.et-preview video{display:block;width:100%;height:100%;object-fit:cover}.et-preview video{background:#05080d}.et-preview-fallback{height:100%;display:grid;place-items:center;color:#75869e;font-weight:850}.et-preview-label{position:absolute;left:9px;top:9px;z-index:2;padding:4px 7px;border-radius:999px;background:rgba(5,8,14,.8);font-size:9px;font-weight:900;color:#eaf2fc}.et-music-preview{padding:14px;background:linear-gradient(145deg,#101827,#0a0f18);min-height:130px;display:flex;flex-direction:column;justify-content:center;gap:9px}.et-music-preview audio{width:100%}.et-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.et-card-actions a,.et-card-actions button{flex:1;min-width:120px}.vault-inline-preview{position:relative;overflow:hidden;aspect-ratio:16/9;background:#0a0f18}.vault-inline-preview img,.vault-inline-preview video{display:block;width:100%;height:100%;object-fit:cover}.vault-inline-preview audio{width:calc(100% - 22px);margin:44px 11px 12px}.vault-recommended-model{display:inline-flex;margin:7px 0 0;padding:5px 7px;border-radius:999px;background:rgba(99,230,255,.07);border:1px solid rgba(99,230,255,.14);font-size:9px;font-weight:850;color:#c9f7ff}@media(max-width:700px){.account-profile-photo-row{align-items:flex-start}.account-photo-stack{align-items:flex-start}.profile-photo-controls-under-photo{justify-content:flex-start;text-align:left}.profile-photo-controls-under-photo .profile-photo-selected,.profile-photo-controls-under-photo .form-help{text-align:left}}\n
/* REV14: lightweight persisted video thumbnails; full MP4 loads only on desktop hover. */
.creation-media .library-video-thumbnail{width:100%;height:100%;display:block;object-fit:cover}
.creation-media .library-hover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;background:#070a0f}
.creation-media .play-chip{z-index:2}
.video-thumb-pending small{font-size:10px;color:#77849a;text-align:center;padding:0 12px}

/* REV14B: progressive MP4 fallback when a persisted JPEG thumbnail is unavailable. */
.creation-media .library-video-fallback{width:100%;height:100%;display:block;object-fit:cover;background:#070a0f}
.video-thumb-pending.preview-unavailable{gap:6px}
.video-thumb-pending.preview-unavailable small{color:#a0aec2}

/* REV21: higher-contrast share-link copy action. */
.share-link-row .share-copy-button{background:#26364f!important;border:1px solid #7696c8!important;color:#ffffff!important;font-weight:900!important;text-shadow:0 1px 1px rgba(0,0,0,.35);box-shadow:0 0 0 1px rgba(255,255,255,.03) inset}
.share-link-row .share-copy-button:hover,.share-link-row .share-copy-button:focus-visible{background:#324766!important;border-color:#9ab7e3!important;color:#ffffff!important}

/* REV22: visible warning during the final three days of cloud storage. */
.creation-media{position:relative}
.creation-expiry-warning{position:absolute;left:12px;top:12px;z-index:8;display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#b91c1c;color:#fff;border:1px solid rgba(255,255,255,.22);box-shadow:0 5px 18px rgba(0,0,0,.32);font-size:12px;font-weight:950;line-height:1;letter-spacing:.01em}
@media(max-width:640px){.creation-expiry-warning{left:10px;top:10px;padding:7px 9px;font-size:11px}}
