/* ============================================================
   SEEDANCE CINEMA STUDIO — Film Noir Control Room
   ============================================================
   Deep-void blacks, phosphorescent green readouts, film grain,
   viewfinder registration marks, RED camera rig aesthetics.
   Every pixel feels like a $50M production tool.
   ============================================================ */

/* ==================== KEYFRAMES ==================== */
@keyframes seedSpin { to { transform: rotate(360deg); } }
@keyframes seedPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes seedGrain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -2%); }
    30% { transform: translate(1%, -1%); }
    50% { transform: translate(-1%, 2%); }
    70% { transform: translate(2%, 1%); }
    90% { transform: translate(-2%, 1%); }
}
@keyframes seedScanline {
    0% { top: -2px; }
    100% { top: 100%; }
}
@keyframes seedFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes seedShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes seedBorderGlow {
    0%, 100% { border-color: rgba(92,232,154,0.06); }
    50% { border-color: rgba(92,232,154,0.15); }
}
@keyframes seedRecDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes seedCountUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes seedToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes seedOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes seedSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== BASE LAYOUT ==================== */
.tab-page[data-page="seedance"] {
    position: fixed !important;
    top: 56px !important;
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 56px) !important;
    overflow: hidden !important;
    padding: 0 !important; margin: 0 !important;
    max-width: none !important;
    z-index: 100;
}

.seedance-page {
    display: flex; flex-direction: column;
    height: 100%; width: 100%;
    background: #060609;
    overflow: hidden;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #d0d0d8;
    position: relative;
}

/* Film grain overlay on entire page */
.seedance-page::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.5;
    animation: seedGrain 6s steps(8) infinite;
    mix-blend-mode: screen;
}

.seed-studio {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* ==================== LEFT SIDEBAR — COLLAPSED TO TOP BAR ==================== */
.seed-sidebar {
    display: none !important; /* Collapsed — projects moved to subnav dropdown */
}

/* Sidebar scanline effect */
.seed-sidebar::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(92,232,154,0.08), transparent);
    animation: seedScanline 12s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.seed-sidebar-header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(92,232,154,0.06);
    position: relative;
}

/* LED indicator dot */
.seed-sidebar-header::before {
    content: '';
    position: absolute;
    top: 22px; right: 18px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #5ce89a;
    box-shadow: 0 0 6px rgba(92,232,154,0.6), 0 0 12px rgba(92,232,154,0.3);
    animation: seedRecDot 3s ease infinite;
}

.seed-sidebar-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(92,232,154,0.5);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 20px rgba(92,232,154,0.15);
}

.seed-sidebar-filter {
    padding: 10px 14px;
}

.seed-filter-select {
    width: 100%;
    background: rgba(92,232,154,0.03);
    border: 1px solid rgba(92,232,154,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    padding: 7px 10px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.seed-filter-select:hover {
    border-color: rgba(92,232,154,0.2);
    background: rgba(92,232,154,0.05);
}

.seed-project-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(92,232,154,0.1) transparent;
}

.seed-project-list::-webkit-scrollbar { width: 3px; }
.seed-project-list::-webkit-scrollbar-track { background: transparent; }
.seed-project-list::-webkit-scrollbar-thumb { background: rgba(92,232,154,0.15); border-radius: 3px; }

.seed-project-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.seed-project-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: transparent;
    transition: background 0.18s;
}

.seed-project-item:hover {
    background: rgba(92,232,154,0.04);
    color: rgba(255,255,255,0.7);
}

.seed-project-item.active {
    background: rgba(92,232,154,0.06);
    color: #5ce89a;
}

.seed-project-item.active::before {
    background: #5ce89a;
    box-shadow: 0 0 8px rgba(92,232,154,0.4);
}

.seed-project-item svg { flex-shrink: 0; opacity: 0.35; transition: opacity 0.18s; }
.seed-project-item:hover svg { opacity: 0.6; }
.seed-project-item.active svg { opacity: 1; stroke: #5ce89a; }

.seed-project-thumb {
    width: 36px; height: 36px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.06);
}

.seed-project-info { flex: 1; min-width: 0; }

.seed-project-name {
    font-size: 14px;
    color: inherit;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-weight: 500;
}

.seed-project-count {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* Active green dot on active project */
.seed-project-item.active .seed-project-count::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #5ce89a;
    box-shadow: 0 0 4px rgba(92,232,154,0.5);
    margin-right: 4px;
    vertical-align: middle;
}

.seed-new-project-btn {
    display: flex; align-items: center; gap: 8px;
    margin: 8px 12px 14px;
    padding: 9px 14px;
    background: transparent;
    border: 1px dashed rgba(92,232,154,0.12);
    border-radius: 6px;
    color: rgba(92,232,154,0.4);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
}

.seed-new-project-btn:hover {
    border-color: rgba(92,232,154,0.35);
    color: #5ce89a;
    background: rgba(92,232,154,0.04);
    box-shadow: 0 0 16px rgba(92,232,154,0.06);
}

/* ==================== MAIN CONTENT ==================== */
.seed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    position: relative;
    background: #0a0a0e;
}

/* Subtle vignette on the content area */
.seed-content::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}
/* Animated glow scan line across top (motion graphic) */
.seed-content::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(92,232,154,0.3) 30%, rgba(0,212,255,0.4) 50%, rgba(92,232,154,0.3) 70%, transparent 100%);
    background-size: 200% 100%;
    animation: seedTopGlow 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 100;
}
@keyframes seedTopGlow {
    0%, 100% { background-position: 200% 0; opacity: 0.5; }
    50% { background-position: -200% 0; opacity: 1; }
}

/* ==================== SUB-NAV BAR ==================== */
.seed-subnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 32px;
    min-height: 32px;
    background: rgba(8,8,12,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(92,232,154,0.06);
    position: relative;
    z-index: 5;
}

.seed-subnav-tabs {
    display: flex;
    gap: 3px;
    padding: 4px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
}

.seed-subnav-tab {
    padding: 3px 11px;
    background: none;
    border: none;
    border-radius: 5px;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
}

.seed-subnav-tab:hover {
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.03);
}

.seed-subnav-tab.active {
    background: rgba(92,232,154,0.1);
    color: #5ce89a;
    box-shadow: 0 0 12px rgba(92,232,154,0.06), inset 0 0 0 1px rgba(92,232,154,0.1);
}

.seed-grid-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seed-gen-count {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.04);
}

.seed-view-toggles {
    display: flex;
    gap: 2px;
    padding: 2px;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.04);
}

.seed-view-btn {
    padding: 5px 7px;
    background: none;
    border: none;
    border-radius: 4px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seed-view-btn:hover {
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.03);
}

.seed-view-btn.active {
    color: #5ce89a;
    background: rgba(92,232,154,0.08);
}

.seed-grid-slider {
    width: 80px;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.seed-grid-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #5ce89a;
    box-shadow: 0 0 6px rgba(92,232,154,0.4);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.seed-grid-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 12px rgba(92,232,154,0.6);
}

.seed-grid-slider::-moz-range-thumb {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #5ce89a;
    box-shadow: 0 0 6px rgba(92,232,154,0.4);
    border: none;
    cursor: pointer;
}

/* ==================== GALLERY GRID ==================== */
.seed-gallery {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--seed-grid-size, 200px), 1fr));
    gap: 8px;
    align-content: start;
    position: relative;
    z-index: 2;
    scrollbar-width: thin;
    scrollbar-color: rgba(92,232,154,0.08) transparent;
}

.seed-gallery.compact-view {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 3px;
}

.seed-gallery::-webkit-scrollbar { width: 4px; }
.seed-gallery::-webkit-scrollbar-track { background: transparent; }
.seed-gallery::-webkit-scrollbar-thumb { background: rgba(92,232,154,0.12); border-radius: 4px; }

/* ==================== EMPTY STATE ==================== */
.seed-gallery-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
}

/* Atmospheric glow behind empty state */
.seed-gallery-empty::before {
    content: '';
    position: absolute;
    width: 500px; height: 300px;
    top: 20%;
    background: radial-gradient(ellipse, rgba(92,232,154,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.seed-empty-icon {
    margin-bottom: 20px;
    position: relative;
    animation: seedFadeUp 0.6s ease both;
}

/* Viewfinder registration marks around icon */
.seed-empty-icon::before,
.seed-empty-icon::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border-color: rgba(92,232,154,0.15);
    border-style: solid;
}
.seed-empty-icon::before {
    top: -8px; left: -8px;
    border-width: 1px 0 0 1px;
}
.seed-empty-icon::after {
    bottom: -8px; right: -8px;
    border-width: 0 1px 1px 0;
}

.seed-empty-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: seedFadeUp 0.6s ease 0.1s both;
    background: linear-gradient(135deg, #ffffff 0%, #5ce89a 50%, #3bc878 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seed-empty-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.28);
    margin: 0 0 32px;
    font-weight: 400;
    animation: seedFadeUp 0.6s ease 0.2s both;
}

.seed-empty-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 640px;
    animation: seedFadeUp 0.6s ease 0.3s both;
}

.seed-example-prompt {
    background: rgba(92,232,154,0.03);
    border: 1px solid rgba(92,232,154,0.08);
    border-radius: 20px;
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.seed-example-prompt::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(92,232,154,0.06), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.seed-example-prompt:hover {
    border-color: rgba(92,232,154,0.25);
    color: rgba(255,255,255,0.85);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(92,232,154,0.08);
}

.seed-example-prompt:hover::before { opacity: 1; }

/* ==================== GALLERY ITEM ==================== */
.seed-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #0e0e14;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.04);
}

/* Viewfinder corner marks */
.seed-gallery-item::before,
.seed-gallery-item::after {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    z-index: 3;
    border-color: rgba(92,232,154,0.15);
    border-style: solid;
    opacity: 0;
    transition: opacity 0.25s;
}
.seed-gallery-item::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.seed-gallery-item::after { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.seed-gallery-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.5),
        0 0 0 1px rgba(92,232,154,0.1),
        0 0 30px rgba(92,232,154,0.04);
    border-color: rgba(92,232,154,0.12);
    z-index: 5;
}

.seed-gallery-item:hover::before,
.seed-gallery-item:hover::after { opacity: 1; }

.seed-gallery-item img,
.seed-gallery-item video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seed-gallery-item:hover img,
.seed-gallery-item:hover video {
    transform: scale(1.03);
}

/* Play button overlay */
.seed-gallery-item .seed-play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 4;
}

.seed-gallery-item:hover .seed-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Hover overlay with action buttons */
.seed-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    pointer-events: none;
}

.seed-gallery-item:hover .seed-item-overlay {
    opacity: 1;
    pointer-events: auto;
}

.seed-item-overlay-top {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.seed-item-overlay-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.seed-item-action {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.18s;
    padding: 0;
}

.seed-item-action:hover {
    background: rgba(92,232,154,0.15);
    border-color: rgba(92,232,154,0.3);
    color: #5ce89a;
    transform: scale(1.08);
}

.seed-item-action.delete-action:hover {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.3);
    color: #ef4444;
}

/* Duration badge */
.seed-duration-badge {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Prompt preview on hover */
.seed-item-prompt-preview {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    font-family: 'Outfit', sans-serif;
}

/* Timecode overlay (legacy compat) */
.seed-gallery-item .seed-item-status {
    position: absolute;
    bottom: 6px; left: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    z-index: 4;
}

/* Generating state — aperture spinner */
.seed-gallery-item.generating {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at center, rgba(92,232,154,0.03) 0%, transparent 60%),
        #0a0a0e;
}

.seed-gallery-item.generating::after {
    content: '';
    width: 32px; height: 32px;
    border: 2px solid rgba(92,232,154,0.12);
    border-top-color: #5ce89a;
    border-right-color: rgba(92,232,154,0.4);
    border-radius: 50%;
    animation: seedSpin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    box-shadow: 0 0 16px rgba(92,232,154,0.1);
}

/* Progress percentage in generating item */
.seed-gen-progress {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(92,232,154,0.5);
    letter-spacing: 0.5px;
    z-index: 5;
}

/* NSFW / Credits badges */
.seed-gallery-badges {
    position: absolute;
    bottom: 6px; right: 6px;
    display: flex; gap: 4px;
    z-index: 4;
}

.seed-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==================== FULLSCREEN VIEWER ==================== */
.seed-viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: seedOverlayIn 0.2s ease;
}

.seed-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
}

.seed-viewer-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    animation: seedSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seed-viewer-video {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(92,232,154,0.08);
}

.seed-viewer-close {
    position: absolute;
    top: -40px; right: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 8px;
    display: flex;
    transition: all 0.18s;
}

.seed-viewer-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.seed-viewer-info {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    font-family: 'Outfit', sans-serif;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== BOTTOM PROMPT BAR ==================== */
.seed-prompt-bar {
    background: #08080c;
    border-top: 1px solid rgba(92,232,154,0.06);
    padding: 4px 12px 5px;
    position: relative;
    z-index: 10;
}

/* Glow line at top of prompt bar */
.seed-prompt-bar::before {
    content: '';
    position: absolute;
    top: -1px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92,232,154,0.15), transparent);
}

.seed-prompt-container {
    max-width: 1200px;
    margin: 0 auto;
}

.seed-prompt-top {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.seed-prompt-top:focus-within {
    border-color: rgba(92,232,154,0.25);
    box-shadow:
        0 0 0 1px rgba(92,232,154,0.08),
        0 0 24px rgba(92,232,154,0.04),
        inset 0 1px 0 rgba(92,232,154,0.04);
    background: rgba(92,232,154,0.02);
}

/* Image upload button */
.seed-image-upload-btn {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(92,232,154,0.04);
    border: 1px solid rgba(92,232,154,0.08);
    color: rgba(92,232,154,0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.seed-image-upload-btn:hover {
    background: rgba(92,232,154,0.08);
    color: #5ce89a;
    border-color: rgba(92,232,154,0.2);
    box-shadow: 0 0 12px rgba(92,232,154,0.08);
}

.seed-prompt-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #e8e8ec;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    resize: none;
    min-height: 24px;
    max-height: 80px;
    font-weight: 400;
    line-height: 1.5;
}

.seed-prompt-input::placeholder {
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

/* ==================== PROMPT CONTROLS ==================== */
.seed-prompt-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 12px;
}

.seed-prompt-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.seed-control-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.seed-control-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.seed-control-select {
    background: rgba(92,232,154,0.03);
    border: 1px solid rgba(92,232,154,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    padding: 5px 8px;
    outline: none;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
    transition: all 0.18s;
}

.seed-control-select:hover {
    border-color: rgba(92,232,154,0.2);
    color: rgba(255,255,255,0.7);
}

.seed-control-select:focus {
    border-color: rgba(92,232,154,0.3);
    box-shadow: 0 0 8px rgba(92,232,154,0.06);
}

.seed-control-divider {
    width: 1px;
    height: 18px;
    background: rgba(92,232,154,0.08);
    margin: 0 2px;
}

/* Scene counter badge */
.seed-scene-counter {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(92,232,154,0.5);
    background: rgba(92,232,154,0.04);
    border: 1px solid rgba(92,232,154,0.08);
    border-radius: 4px;
    padding: 3px 7px;
    letter-spacing: 0.5px;
}

/* Resolution badge */
.seed-res-badge {
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: #5ce89a;
    background: rgba(92,232,154,0.08);
    border: 1px solid rgba(92,232,154,0.15);
    border-radius: 4px;
    padding: 3px 8px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.seed-toggle-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.18s;
    border: 1px solid transparent;
    user-select: none;
}

.seed-toggle-pill:hover {
    background: rgba(92,232,154,0.04);
    color: rgba(255,255,255,0.5);
}

.seed-toggle-pill input { display: none; }

.seed-toggle-pill input:checked + span {
    color: #5ce89a;
    text-shadow: 0 0 10px rgba(92,232,154,0.3);
}

/* ==================== ACTION BUTTONS ==================== */
.seed-prompt-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Characters & Locations button */
.seed-chars-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(92,232,154,0.04);
    border: 1px solid rgba(92,232,154,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}

.seed-chars-btn:hover {
    border-color: rgba(92,232,154,0.3);
    color: #5ce89a;
    background: rgba(92,232,154,0.07);
    box-shadow: 0 0 16px rgba(92,232,154,0.06);
}

/* GENERATE button — the hero CTA */
.seed-generate-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #c8f84e 0%, #9ae62c 50%, #7dd41a 100%);
    border: none;
    border-radius: 8px;
    color: #0a0a0e;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 12px rgba(184,248,71,0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.seed-generate-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: seedShimmer 4s ease-in-out infinite;
}

.seed-generate-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 6px 24px rgba(92,232,154,0.3),
        0 0 40px rgba(92,232,154,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.seed-generate-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(92,232,154,0.15);
}

.seed-generate-btn svg { width: 12px; height: 12px; position: relative; z-index: 1; }

.seed-credit-cost {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    padding-left: 6px;
    border-left: 1px solid rgba(0,0,0,0.15);
    margin-left: 2px;
}

/* Stop button — emergency red */
.seed-stop-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 20px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 12px rgba(239,68,68,0.2);
}

.seed-stop-btn:hover {
    box-shadow: 0 6px 24px rgba(239,68,68,0.3);
    transform: translateY(-1px);
}

/* ==================== CHARACTERS & LOCATIONS MODAL ==================== */
.seed-chars-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(16px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: seedFadeUp 0.25s ease;
}

.seed-chars-panel {
    background: #0c0c12;
    border: 1px solid rgba(92,232,154,0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 24px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(92,232,154,0.05),
        0 0 60px rgba(92,232,154,0.03);
}

.seed-chars-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(92,232,154,0.06);
}

.seed-chars-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #e8e8ec;
    letter-spacing: -0.01em;
}

.seed-chars-close {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.18s;
    display: flex;
}

.seed-chars-close:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}

.seed-chars-tabs {
    display: flex;
    gap: 4px;
    padding: 10px 22px;
    border-bottom: 1px solid rgba(92,232,154,0.06);
}

.seed-chars-tab {
    padding: 7px 16px;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: 'Outfit', sans-serif;
}

.seed-chars-tab.active {
    background: rgba(92,232,154,0.08);
    color: #5ce89a;
    border-color: rgba(92,232,154,0.12);
}

.seed-chars-tab:hover:not(.active) {
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.03);
}

.seed-chars-body {
    padding: 20px 22px;
    overflow-y: auto;
    flex: 1;
}

.seed-chars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.seed-char-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.seed-char-card:hover {
    border-color: rgba(92,232,154,0.2);
    background: rgba(92,232,154,0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.seed-char-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: rgba(255,255,255,0.02);
}

/* Circular avatar for characters */
.seed-char-card.char-type .seed-char-card-img {
    border-radius: 50%;
    width: 80px; height: 80px;
    margin: 14px auto 0;
}

.seed-char-card-name {
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

.seed-char-card-desc {
    padding: 0 10px 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Delete button on char card hover */
.seed-char-delete {
    position: absolute;
    top: 6px; right: 6px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.18s;
    padding: 0;
}

.seed-char-card:hover .seed-char-delete {
    opacity: 1;
}

.seed-char-delete:hover {
    background: rgba(239,68,68,0.3);
    color: #ef4444;
    border-color: rgba(239,68,68,0.3);
}

.seed-create-char-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px dashed rgba(92,232,154,0.15);
    border-radius: 10px;
    color: rgba(92,232,154,0.5);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Outfit', sans-serif;
}

.seed-create-char-btn:hover {
    background: rgba(92,232,154,0.04);
    border-color: rgba(92,232,154,0.35);
    color: #5ce89a;
    box-shadow: 0 0 16px rgba(92,232,154,0.06);
}

/* ==================== CREATE CHARACTER/LOCATION MODAL ==================== */
.seed-create-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: seedOverlayIn 0.2s ease;
}

.seed-create-panel {
    background: #0c0c12;
    border: 1px solid rgba(92,232,154,0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 440px;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(92,232,154,0.05),
        0 0 60px rgba(92,232,154,0.03);
    animation: seedSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.seed-create-body {
    padding: 22px;
}

.seed-create-avatar-zone {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.seed-create-avatar-preview {
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 2px dashed rgba(92,232,154,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(92,232,154,0.35);
    transition: all 0.25s;
    overflow: hidden;
    background: rgba(92,232,154,0.02);
}

.seed-create-avatar-preview:hover {
    border-color: rgba(92,232,154,0.4);
    color: #5ce89a;
    background: rgba(92,232,154,0.05);
}

.seed-create-avatar-preview span {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
}

.seed-create-avatar-preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.seed-create-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seed-create-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(92,232,154,0.4);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 4px;
}

.seed-create-input,
.seed-create-textarea {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 10px 14px;
    color: #e8e8ec;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.2s;
    resize: none;
}

.seed-create-input:focus,
.seed-create-textarea:focus {
    border-color: rgba(92,232,154,0.25);
    box-shadow: 0 0 0 1px rgba(92,232,154,0.08), 0 0 16px rgba(92,232,154,0.03);
}

.seed-create-input::placeholder,
.seed-create-textarea::placeholder {
    color: rgba(255,255,255,0.55);
}

.seed-create-save-btn {
    font-size: 15px !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
}

/* ==================== INLINE CHARS PANEL (Higgsfield-style) ==================== */
.seed-chars-panel-inline {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 720px;
    background: rgba(12,12,18,0.95);
    backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(92,232,154,0.1);
    border-radius: 16px;
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(92,232,154,0.03);
    animation: seedSlideUp 0.25s ease;
}

@keyframes seedSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.seed-cp-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
    scrollbar-width: none;
}
.seed-cp-tabs::-webkit-scrollbar { display: none; }

.seed-cp-tab {
    padding: 5px 12px;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
}
.seed-cp-tab:hover { color: rgba(255,255,255,0.6); }
.seed-cp-tab.active {
    color: #e8e8ec;
    border-color: rgba(92,232,154,0.25);
    background: rgba(92,232,154,0.06);
}

.seed-cp-tabs-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.seed-cp-upload-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: none;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
}
.seed-cp-upload-btn:hover { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.7); }

.seed-cp-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    transition: all 0.15s;
}
.seed-cp-close:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }

.seed-cp-subtabs {
    display: flex;
    gap: 4px;
    padding: 8px 16px;
}

.seed-cp-subtab {
    padding: 4px 12px;
    background: rgba(92,232,154,0.06);
    border: 1px solid rgba(92,232,154,0.1);
    border-radius: 5px;
    color: #5ce89a;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.seed-cp-subtab:not(.active) {
    background: none;
    border-color: transparent;
    color: rgba(255,255,255,0.6);
}
.seed-cp-subtab:hover:not(.active) { color: rgba(255,255,255,0.5); }

.seed-cp-content {
    display: flex;
    padding: 20px 24px 24px;
    gap: 24px;
    min-height: 160px;
}

.seed-cp-section {
    flex: 1;
    min-width: 0;
}

.seed-cp-heading {
    font-size: 16px;
    font-weight: 700;
    color: #e8e8ec;
    margin: 0 0 4px;
}

.seed-cp-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 12px;
    line-height: 1.4;
}

.seed-cp-avatars, .seed-cp-locations {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.seed-cp-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(92,232,154,0.15);
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.seed-cp-avatar:hover {
    border-color: #5ce89a;
    box-shadow: 0 0 12px rgba(92,232,154,0.2);
    transform: scale(1.08);
}
.seed-cp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.seed-cp-avatar.active { border-color: #5ce89a; box-shadow: 0 0 16px rgba(92,232,154,0.3); }

.seed-cp-loc-thumb {
    width: 56px; height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.seed-cp-loc-thumb:hover {
    border-color: rgba(92,232,154,0.3);
    transform: scale(1.05);
}
.seed-cp-loc-thumb img { width: 100%; height: 100%; object-fit: cover; }

.seed-cp-create {
    background: none;
    border: none;
    color: #5ce89a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
    font-family: 'Outfit', sans-serif;
}
.seed-cp-create:hover { color: #7ef5b8; text-decoration: underline; }

.seed-cp-preview {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
}
.seed-cp-preview img { width: 100%; height: 100%; object-fit: cover; }
.seed-cp-preview-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ==================== HIGGSFIELD-EXACT PROMPT BAR ==================== */
.seed-prompt-row1 {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.25s;
}
.seed-prompt-row1:focus-within {
    border-color: rgba(92,232,154,0.15);
    box-shadow: 0 0 0 1px rgba(92,232,154,0.04);
}

.seed-mode-col {
    display: flex;
    flex-direction: row;
    gap: 2px;
    flex-shrink: 0;
}

.seed-mode-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.seed-mode-item:hover { color: rgba(255,255,255,0.55); }
.seed-mode-item.active {
    color: #e8e8ec;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}

.seed-plus-btn {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}
.seed-plus-btn:hover { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.5); }

.seed-prompt-field { flex: 1; min-width: 0; position: relative; }

/* Active reference pills */
.seed-active-refs {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    max-width: 220px;
    overflow-x: auto;
    scrollbar-width: none;
}
.seed-active-refs::-webkit-scrollbar { display: none; }
.seed-active-ref-pill {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px 2px 2px;
    background: rgba(92,232,154,0.06);
    border: 1px solid rgba(92,232,154,0.15);
    border-radius: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(92,232,154,0.7);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}
.seed-active-ref-pill:hover {
    background: rgba(92,232,154,0.12);
    border-color: rgba(92,232,154,0.3);
}
.seed-active-ref-pill img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}
.seed-active-ref-pill .ref-pill-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92,232,154,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.seed-active-ref-pill .ref-pill-remove {
    margin-left: 2px;
    opacity: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    transition: opacity 0.15s;
}
.seed-active-ref-pill:hover .ref-pill-remove { opacity: 0.8; }
.seed-active-ref-pill.outfit-pill {
    border-color: rgba(0,212,255,0.15);
    background: rgba(0,212,255,0.06);
    color: rgba(0,212,255,0.7);
}
.seed-active-ref-pill.outfit-pill:hover {
    background: rgba(0,212,255,0.12);
    border-color: rgba(0,212,255,0.3);
}
.seed-active-ref-pill.voice-pill {
    border-color: rgba(255,183,77,0.15);
    background: rgba(255,183,77,0.06);
    color: rgba(255,183,77,0.7);
}

.seed-prompt-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
    gap: 0;
    padding: 0;
}
/* Higgsfield-style flat text controls */
.seed-prompt-row2 .seed-prompt-controls {
    gap: 0 !important;
}
.seed-prompt-row2 .seed-pill-control,
.seed-prompt-row2 .seed-pill-select {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.4) !important;
    padding: 4px 6px !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.seed-prompt-row2 .seed-pill-select:hover,
.seed-prompt-row2 .seed-pill-select:focus {
    color: rgba(255,255,255,0.7) !important;
}
.seed-prompt-row2 .seed-control-divider {
    width: 1px !important;
    height: 14px !important;
    background: rgba(255,255,255,0.06) !important;
    margin: 0 2px !important;
}
.seed-prompt-row2 .seed-mode-item {
    padding: 3px 5px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
}
.seed-prompt-row2 .seed-vm-frame-btn {
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.35) !important;
}

/* Scenes group — exact Higgsfield layout */
.seed-scenes-group {
    display: flex;
    align-items: center;
    gap: 5px;
}
.seed-scenes-label {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
}
.seed-scenes-btn {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.12s;
    padding: 0;
    line-height: 1;
}
.seed-scenes-btn:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.seed-scenes-count {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    font-family: 'JetBrains Mono', monospace;
    min-width: 24px;
    text-align: center;
}

/* Pill controls for aspect/resolution */
.seed-pill-control {
    display: flex;
    align-items: center;
    gap: 3px;
}
.seed-pill-select {
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    outline: none;
    padding: 2px 0;
}
.seed-pill-select option { background: #0c0c11; }

/* Characters & Locations button — dark pill, Higgsfield style */
.seed-chars-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.seed-chars-btn-text {
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}
.seed-chars-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.5);
}

/* GENERATE button — Higgsfield lime-yellow gradient */
.seed-generate-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #b8f847 0%, #8ae62c 50%, #6dd41a 100%);
    border: none;
    border-radius: 12px;
    color: #0a0a0a;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(184,248,71,0.2);
    font-family: 'Outfit', sans-serif;
}
.seed-generate-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: seedShimmer 3s ease-in-out infinite;
}
.seed-generate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(184,248,71,0.3), 0 0 40px rgba(184,248,71,0.1);
}
.seed-generate-btn:active { transform: translateY(0); }

.seed-gen-count {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.15);
    border-radius: 5px;
    padding: 2px 7px;
    font-size: 13px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    position: relative; z-index: 1;
}

/* Stop button */
.seed-stop-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(239,68,68,0.2);
}

/* ==================== OVAL PREVIEW IN CHARS PANEL ==================== */
.seed-cp-preview {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% / 45%;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 2px solid rgba(92,232,154,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.seed-cp-preview img { width: 100%; height: 100%; object-fit: cover; }

/* (old toggle styles removed — replaced by Higgsfield-exact styles above) */

/* ============================================================
   PREMIUM MOTION GRAPHICS & ANIMATIONS
   ============================================================ */

/* ==================== NEW KEYFRAMES ==================== */
@keyframes seedGradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes seedBreathingGlow {
    0%, 100% { box-shadow: 0 2px 16px rgba(184,248,71,0.2), 0 0 0 0 rgba(184,248,71,0); }
    50% { box-shadow: 0 2px 24px rgba(184,248,71,0.35), 0 0 40px rgba(184,248,71,0.12); }
}

@keyframes seedBreathingGlowGreen {
    0%, 100% { box-shadow: 0 0 6px rgba(92,232,154,0), 0 0 0 0 rgba(92,232,154,0); }
    50% { box-shadow: 0 0 10px rgba(92,232,154,0.15), 0 0 20px rgba(92,232,154,0.06); }
}

@keyframes seedBreathingBorderGlow {
    0%, 100% { border-color: rgba(92,232,154,0.25); box-shadow: 0 0 0 1px rgba(92,232,154,0.08), 0 0 16px rgba(92,232,154,0.03); }
    50% { border-color: rgba(92,232,154,0.4); box-shadow: 0 0 0 1px rgba(92,232,154,0.15), 0 0 28px rgba(92,232,154,0.08); }
}

@keyframes seedScaleIn {
    0% { opacity: 0; transform: scale(0.85); }
    70% { transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes seedStaggerFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes seedPanelSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes seedLoadingShimmer {
    0% { background-position: -300% center; }
    100% { background-position: 300% center; }
}

@keyframes seedGalleryScanline {
    0% { top: -2px; }
    100% { top: 100%; }
}

@keyframes seedToastSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px) scale(0.95); }
    to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes seedSidebarSlideIn {
    from { width: 0; opacity: 0; }
    to { width: 2px; opacity: 1; }
}

/* ==================== 1. ANIMATED GRADIENT TEXT ==================== */
.seed-empty-title {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #5ce89a 20%,
        #b8f847 40%,
        #5ce89a 60%,
        #3bc878 80%,
        #ffffff 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: seedGradientText 6s ease-in-out infinite, seedFadeUp 0.6s ease 0.1s both;
}

/* ==================== 2. STAGGERED REVEAL ON EXAMPLE PROMPTS ==================== */
.seed-empty-prompts {
    animation: none;
}

.seed-example-prompt {
    opacity: 0;
    animation: seedStaggerFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.seed-example-prompt:nth-child(1) { animation-delay: 0.1s; }
.seed-example-prompt:nth-child(2) { animation-delay: 0.2s; }
.seed-example-prompt:nth-child(3) { animation-delay: 0.3s; }
.seed-example-prompt:nth-child(4) { animation-delay: 0.4s; }
.seed-example-prompt:nth-child(5) { animation-delay: 0.5s; }
.seed-example-prompt:nth-child(6) { animation-delay: 0.6s; }
.seed-example-prompt:nth-child(7) { animation-delay: 0.7s; }
.seed-example-prompt:nth-child(8) { animation-delay: 0.8s; }

/* ==================== 3. PANEL SLIDE ANIMATION ==================== */
.seed-chars-panel-inline {
    animation: seedPanelSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 4. GALLERY ITEM ENTRANCE — SCALE-IN BOUNCE ==================== */
.seed-gallery-item {
    animation: seedScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.seed-gallery-item.seed-stagger-1 { animation-delay: 0.05s; }
.seed-gallery-item.seed-stagger-2 { animation-delay: 0.10s; }
.seed-gallery-item.seed-stagger-3 { animation-delay: 0.15s; }
.seed-gallery-item.seed-stagger-4 { animation-delay: 0.20s; }
.seed-gallery-item.seed-stagger-5 { animation-delay: 0.25s; }
.seed-gallery-item.seed-stagger-6 { animation-delay: 0.30s; }
.seed-gallery-item.seed-stagger-7 { animation-delay: 0.35s; }
.seed-gallery-item.seed-stagger-8 { animation-delay: 0.40s; }
.seed-gallery-item.seed-stagger-9 { animation-delay: 0.45s; }
.seed-gallery-item.seed-stagger-10 { animation-delay: 0.50s; }
.seed-gallery-item.seed-stagger-11 { animation-delay: 0.55s; }
.seed-gallery-item.seed-stagger-12 { animation-delay: 0.60s; }

/* ==================== 5. BREATHING GLOW EFFECTS ==================== */

/* Generate button breathing glow */
.seed-generate-btn {
    animation: seedBreathingGlow 3s ease-in-out infinite;
}

/* Active sidebar items green glow pulse */
.seed-project-item.active {
    animation: seedBreathingGlowGreen 4s ease-in-out infinite;
}

/* Prompt field breathing green glow when focused */
.seed-prompt-row1:focus-within {
    animation: seedBreathingBorderGlow 2.5s ease-in-out infinite;
}

/* ==================== 6. HOVER MICRO-INTERACTIONS ==================== */

/* Example prompts: scale + glow on hover */
.seed-example-prompt:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 20px rgba(92,232,154,0.12), 0 0 0 1px rgba(92,232,154,0.15);
    border-color: rgba(92,232,154,0.3);
    color: #ffffff;
}

/* Sidebar items: slide-in green left border indicator */
.seed-project-item::before {
    width: 0;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s;
}
.seed-project-item:hover::before {
    width: 2px;
    background: rgba(92,232,154,0.5);
}
.seed-project-item.active::before {
    width: 2px;
    background: #5ce89a;
    box-shadow: 0 0 8px rgba(92,232,154,0.4);
}

/* Characters & Locations button: subtle scale + glow */
.seed-chars-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-chars-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(92,232,154,0.08);
}

/* Mode toggle buttons: smooth background transition */
.seed-mode-item {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-mode-item:hover {
    background: rgba(255,255,255,0.04);
}
.seed-mode-item.active {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scene counter +/- buttons */
.seed-scenes-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-scenes-btn:hover {
    transform: scale(1.15);
    background: rgba(92,232,154,0.1);
    border-color: rgba(92,232,154,0.2);
    color: #5ce89a;
}
.seed-scenes-btn:active {
    transform: scale(0.95);
}

/* ==================== 7. SMOOTH TRANSITIONS EVERYWHERE ==================== */
.seed-subnav-tab {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-view-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-filter-select {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-control-select {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-new-project-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-cp-tab {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-cp-subtab {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-toggle-pill {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 8. LOADING SHIMMER ON GENERATING ITEMS ==================== */
.seed-gallery-item.generating {
    overflow: hidden;
}
.seed-gallery-item.generating::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(92,232,154,0.04) 25%,
        rgba(92,232,154,0.08) 50%,
        rgba(92,232,154,0.04) 75%,
        transparent 100%
    );
    background-size: 300% 100%;
    animation: seedLoadingShimmer 2s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    border-radius: 6px;
}

/* ==================== 9. TOAST NOTIFICATION ENTRANCE ==================== */
.seed-toast {
    animation: seedToastSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
}

/* ==================== 10. SCANLINE EFFECT ON GALLERY ==================== */
.seed-gallery::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(92,232,154,0.04), transparent);
    animation: seedGalleryScanline 18s linear infinite;
    pointer-events: none;
    z-index: 10;
    opacity: 0.6;
}

/* ==================== DIRECTOR PANEL — Video Mode ==================== */
@keyframes seedDirectorSlideDown {
    from { opacity: 0; transform: translateY(-12px); max-height: 0; }
    to { opacity: 1; transform: translateY(0); max-height: 140px; }
}

.seed-director-panel {
    background: rgba(8,8,14,0.92);
    backdrop-filter: blur(20px) saturate(1.3);
    border-top: 1px solid rgba(0,212,255,0.08);
    border-bottom: 1px solid rgba(0,212,255,0.06);
    padding: 4px 16px;
    animation: seedDirectorSlideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
    z-index: 10;
}
.seed-director-panel::before {
    content: '';
    position: absolute;
    top: -1px; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), transparent);
}

.seed-dp-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
}

/* Character reference slots */
.seed-dp-chars {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.seed-dp-char-slot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    position: relative;
}
.seed-dp-char-slot:hover {
    border-color: rgba(0,212,255,0.35);
    color: rgba(0,212,255,0.6);
    background: rgba(0,212,255,0.04);
    box-shadow: 0 0 12px rgba(0,212,255,0.08);
}
.seed-dp-char-slot.filled {
    border-style: solid;
    border-color: rgba(0,212,255,0.3);
}
.seed-dp-char-slot.filled img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Dialog input (voice-enabled characters) */
.seed-dp-dialog-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
    min-width: 120px;
    max-width: 200px;
}
.seed-dp-dialog-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    padding: 5px 8px;
    outline: none;
    transition: all 0.15s;
    width: 100%;
}
.seed-dp-dialog-input:focus {
    border-color: rgba(92,232,154,0.3);
    color: rgba(255,255,255,0.9);
}
.seed-dp-dialog-input::placeholder {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}

/* Center: dropdowns + camera graph */
.seed-dp-center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.seed-dp-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.seed-dp-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.seed-dp-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    padding: 3px 6px;
    cursor: pointer;
    outline: none;
    transition: all 0.15s;
    min-width: 72px;
}
.seed-dp-select:hover {
    border-color: rgba(0,212,255,0.25);
    color: rgba(255,255,255,0.8);
}
.seed-dp-select option { background: #0c0c14; }

/* Camera motion graph */
.seed-dp-camera-graph {
    flex: 1;
    max-width: 200px;
    min-width: 160px;
    height: 44px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 4px;
}
.seed-dp-camera-graph::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(0,212,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.seed-curve-point {
    transition: r 0.15s, opacity 0.15s;
}
.seed-curve-point:hover {
    r: 6;
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(0,212,255,0.5));
}
.seed-dp-graph-label {
    position: absolute;
    bottom: 3px;
    right: 6px;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(0,212,255,0.3);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Duration input */
.seed-dp-duration-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.seed-dp-duration-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.15s;
}
.seed-dp-duration-input-wrap:hover {
    border-color: rgba(0,212,255,0.25);
}
.seed-dp-duration-input {
    width: 36px;
    background: none;
    border: none;
    outline: none;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    padding: 2px 2px 2px 4px;
    -moz-appearance: textfield;
}
.seed-dp-duration-input::-webkit-inner-spin-button,
.seed-dp-duration-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.seed-dp-duration-unit {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-family: 'JetBrains Mono', monospace;
    padding-right: 6px;
}

/* ==================== VIDEO MODE BOTTOM CONTROLS ==================== */
.seed-video-controls .seed-prompt-controls {
    gap: 8px;
}

.seed-vm-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.seed-vm-res-badge {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.5px;
}

.seed-vm-genre-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.55);
    background: rgba(255,107,53,0.06);
    border: 1px solid rgba(255,107,53,0.15);
    border-radius: 10px;
    padding: 3px 10px;
    letter-spacing: 0.3px;
}
.seed-vm-genre-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b35;
    box-shadow: 0 0 6px rgba(255,107,53,0.4);
}

.seed-vm-audio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    padding: 3px 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.seed-vm-audio-toggle:hover {
    border-color: rgba(92,232,154,0.2);
    color: rgba(255,255,255,0.7);
}
.seed-vm-audio-toggle.active {
    border-color: rgba(92,232,154,0.3);
    color: #5ce89a;
    background: rgba(92,232,154,0.06);
}

/* Frame upload buttons */
.seed-vm-frame-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.seed-vm-frame-btn:hover {
    border-color: rgba(0,212,255,0.25);
    color: rgba(255,255,255,0.7);
    background: rgba(0,212,255,0.04);
}
.seed-vm-frame-btn.has-frame {
    border-color: rgba(0,212,255,0.3);
    color: #00d4ff;
    background: rgba(0,212,255,0.06);
}

/* ==================== CHARACTERS & LOCATIONS MOTION GRAPHICS ==================== */

/* --- NEW KEYFRAMES --- */
@keyframes seedHeadingShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes seedAvatarEntrance {
    from { opacity: 0; transform: scale(0.6) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes seedPreviewBreathe {
    0%, 100% { border-color: rgba(92,232,154,0.08); box-shadow: 0 0 0 0 rgba(92,232,154,0); }
    50% { border-color: rgba(92,232,154,0.25); box-shadow: 0 0 24px rgba(92,232,154,0.06), 0 0 8px rgba(92,232,154,0.03); }
}

@keyframes seedPanelContentReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes seedCreateLinkGlow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 12px rgba(92,232,154,0.3); }
}

@keyframes seedHeroGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 50%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes seedAvatarPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(92,232,154,0); }
    50% { box-shadow: 0 0 8px rgba(92,232,154,0.15); }
}

/* --- (a) Animated gradient on "Characters" and "Locations" headings --- */
.seed-cp-heading {
    background: linear-gradient(
        90deg,
        #e8e8ec 0%,
        #5ce89a 30%,
        #7ef5b8 50%,
        #5ce89a 70%,
        #e8e8ec 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: seedHeadingShimmer 4s ease-in-out infinite;
}

/* --- (b) Avatar hover animation — scale up + green glow ring --- */
.seed-cp-avatar {
    animation: seedAvatarEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    position: relative;
}
.seed-cp-avatar:hover {
    transform: scale(1.18);
    border-color: #5ce89a;
    box-shadow: 0 0 16px rgba(92,232,154,0.35), 0 0 32px rgba(92,232,154,0.12), inset 0 0 8px rgba(92,232,154,0.08);
}
.seed-cp-avatar.active {
    border-color: #5ce89a;
    box-shadow: 0 0 20px rgba(92,232,154,0.4), 0 0 40px rgba(92,232,154,0.15);
    animation: seedAvatarEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both, seedAvatarPulse 2.5s ease-in-out infinite;
}

/* Avatar name label underneath */
.seed-cp-avatar-name {
    display: block;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    letter-spacing: 0.3px;
    pointer-events: none;
    transition: color 0.2s;
}
.seed-cp-avatar:hover .seed-cp-avatar-name {
    color: #5ce89a;
}

/* Location name label */
.seed-cp-loc-name {
    display: block;
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    letter-spacing: 0.3px;
    pointer-events: none;
    transition: color 0.2s;
}
.seed-cp-loc-thumb:hover .seed-cp-loc-name {
    color: rgba(92,232,154,0.7);
}

/* Location thumbnails need relative positioning for name labels */
.seed-cp-loc-thumb {
    position: relative;
    animation: seedAvatarEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.seed-cp-loc-thumb:hover {
    transform: scale(1.12);
    border-color: rgba(92,232,154,0.4);
    box-shadow: 0 0 12px rgba(92,232,154,0.2);
}
.seed-cp-loc-thumb.active {
    border-color: rgba(92,232,154,0.5);
    box-shadow: 0 0 16px rgba(92,232,154,0.25);
}

/* Add spacing for name labels below avatars */
.seed-cp-avatars {
    margin-bottom: 28px;
    padding-bottom: 4px;
}
.seed-cp-locations {
    margin-bottom: 24px;
    padding-bottom: 4px;
}

/* Generating placeholder pulse */
.seed-cp-avatar.generating,
.seed-cp-loc-thumb.generating {
    animation: seedAvatarEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both, seedPulse 2s ease-in-out infinite;
}
.seed-cp-avatar-placeholder,
.seed-cp-loc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(92,232,154,0.03);
}

/* Empty hint text */
.seed-cp-empty-hint {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    padding: 8px 0;
}

/* --- (c) Oval preview area — breathing border glow --- */
.seed-cp-preview {
    animation: seedPreviewBreathe 4s ease-in-out infinite;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-cp-preview.has-preview {
    border-color: rgba(92,232,154,0.2);
    box-shadow: 0 0 32px rgba(92,232,154,0.08);
}
.seed-cp-preview img {
    border-radius: 50%;
}

/* --- (d) Panel entrance — smooth slide up with staggered content --- */
.seed-chars-panel-inline {
    animation: seedPanelSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.seed-chars-panel-inline .seed-cp-content {
    animation: seedPanelContentReveal 0.5s ease 0.15s both;
}
.seed-chars-panel-inline .seed-cp-section:nth-child(1) {
    animation: seedPanelContentReveal 0.4s ease 0.1s both;
}
.seed-chars-panel-inline .seed-cp-section:nth-child(2) {
    animation: seedPanelContentReveal 0.4s ease 0.2s both;
}
.seed-chars-panel-inline .seed-cp-preview {
    animation: seedPanelContentReveal 0.5s ease 0.25s both, seedPreviewBreathe 4s ease-in-out 0.7s infinite;
}

/* --- (e) "Create Character" / "Create Location" links — hover glow --- */
.seed-cp-create {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.seed-cp-create:hover {
    color: #7ef5b8;
    text-shadow: 0 0 16px rgba(92,232,154,0.4), 0 0 32px rgba(92,232,154,0.15);
    text-decoration: none;
    transform: translateX(2px);
}
.seed-cp-create::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #5ce89a, transparent);
    transition: width 0.3s ease;
}
.seed-cp-create:hover::after {
    width: 100%;
}

/* --- (f) Tab switching — smooth transition on active state --- */
.seed-cp-tab {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.seed-cp-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5ce89a;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.seed-cp-tab.active::after {
    width: 60%;
}
.seed-cp-tab.active {
    transform: translateY(-1px);
}

.seed-cp-subtab {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.seed-cp-subtab.active {
    box-shadow: 0 0 12px rgba(92,232,154,0.15);
}

/* ==================== HERO TEXT ANIMATED GRADIENT ==================== */
/* "CINEMA STUDIO 2.5" label shimmer — pink -> green -> yellow like Higgsfield */
.seed-empty-title {
    background: linear-gradient(
        90deg,
        #ff6b9d 0%,
        #c850c0 15%,
        #5ce89a 35%,
        #b8f847 50%,
        #5ce89a 65%,
        #c850c0 85%,
        #ff6b9d 100%
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: seedHeroGradient 8s ease-in-out infinite, seedFadeUp 0.6s ease 0.1s both;
}

.seed-empty-sub {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.28) 0%,
        rgba(92,232,154,0.5) 50%,
        rgba(255,255,255,0.28) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: seedHeadingShimmer 6s ease-in-out infinite, seedFadeUp 0.6s ease 0.2s both;
}

/* ==================== RESPONSIVE ==================== */
/* ==================== DIRECTOR PANEL ROW 2 (Seedance 2.0 features) ==================== */
.seed-dp-row2 {
    display: none; /* Hidden by default — advanced settings accessible via expand */
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    margin: 4px auto 0;
    padding: 4px 0 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.seed-dp-row2::-webkit-scrollbar { display: none; }
.seed-dp-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}
.seed-dp-section-wide {
    flex: 1;
    min-width: 0;
}
.seed-dp-divider-v {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
    align-self: center;
}
.seed-dp-ref-slots {
    display: flex;
    gap: 6px;
}
.seed-dp-ref-video-slot {
    width: 40px;
    height: 24px;
    border-radius: 6px;
    border: 1.5px dashed rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    position: relative;
}
.seed-dp-ref-video-slot:hover {
    border-color: rgba(0,212,255,0.35);
    color: rgba(0,212,255,0.6);
    background: rgba(0,212,255,0.04);
}
.seed-dp-ref-video-slot.filled {
    border-style: solid;
    border-color: rgba(0,212,255,0.3);
}
.seed-dp-ref-audio-slot {
    width: 28px;
    height: 24px;
    border-radius: 6px;
    border: 1.5px dashed rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}
.seed-dp-ref-audio-slot:hover {
    border-color: rgba(92,232,154,0.35);
    color: rgba(92,232,154,0.6);
    background: rgba(92,232,154,0.04);
}
.seed-dp-ref-audio-slot.filled {
    border-style: solid;
    border-color: rgba(92,232,154,0.3);
    background: rgba(92,232,154,0.06);
}
/* Constraints dropdown menu */
.seed-dp-constraints-btn {
    text-align: left;
    cursor: pointer;
}
.seed-dp-constraints-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(14,16,20,0.97);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 6px;
    padding: 6px 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    min-width: 140px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}
.seed-dp-constraint-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.1s;
}
.seed-dp-constraint-option:hover {
    background: rgba(0,212,255,0.08);
}
.seed-dp-constraint-option input[type="checkbox"] {
    accent-color: #5ce89a;
    width: 12px;
    height: 12px;
}
.seed-dp-dropdown-group {
    position: relative;
}
/* Timeline compact buttons */
.seed-dp-timeline-btns {
    display: flex;
    gap: 2px;
}
/* Chips (style presets, constraints, timeline) */
.seed-dp-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
}
.seed-style-chip,
.seed-constraint-chip,
.seed-timeline-chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    padding: 2px 6px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.seed-style-chip:hover { border-color: rgba(0,212,255,0.3); color: rgba(0,212,255,0.7); }
.seed-style-chip.active {
    background: rgba(0,212,255,0.12);
    border-color: rgba(0,212,255,0.4);
    color: #00d4ff;
}
.seed-constraint-chip:hover { border-color: rgba(239,68,68,0.3); color: rgba(239,68,68,0.7); }
.seed-constraint-chip.active {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.35);
    color: #ef4444;
}
.seed-timeline-chip:hover { border-color: rgba(92,232,154,0.3); color: rgba(92,232,154,0.7); }
.seed-timeline-chip:active {
    background: rgba(92,232,154,0.1);
    border-color: rgba(92,232,154,0.35);
    color: #5ce89a;
}
/* Return Last Frame toggle */
.seed-dp-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.seed-dp-toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.seed-dp-toggle-btn:hover {
    border-color: rgba(92,232,154,0.3);
    color: rgba(92,232,154,0.7);
}
.seed-dp-toggle-btn.active {
    background: rgba(92,232,154,0.1);
    border-color: rgba(92,232,154,0.4);
    color: #5ce89a;
}
/* @mention autocomplete dropdown */
.seed-mention-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #0c0c14;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.seed-mention-item {
    padding: 8px 12px;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: background 0.1s;
}
.seed-mention-item:hover {
    background: rgba(0,212,255,0.08);
    color: #00d4ff;
}
/* Edit mode section */
.seed-edit-mode-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.seed-edit-video-slot {
    width: 60px;
    height: 36px;
    flex-direction: column;
    gap: 2px;
}
/* Extend button in gallery overlay */
.extend-action {
    background: rgba(92,232,154,0.15) !important;
}
.extend-action:hover {
    background: rgba(92,232,154,0.3) !important;
    color: #5ce89a !important;
}

/* Character/location delete button */
.seed-cp-delete {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: rgba(239,68,68,0.8);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
}
.seed-cp-avatar:hover .seed-cp-delete,
.seed-cp-loc-thumb:hover .seed-cp-delete {
    display: flex;
}
.seed-cp-avatar, .seed-cp-loc-thumb {
    position: relative;
}

/* Wardrobe */
.seed-cp-wardrobe-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 0;
}
.seed-cp-outfit-card {
    width: 64px;
    cursor: pointer;
    text-align: center;
    border-radius: 6px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.15s;
    position: relative;
}
.seed-cp-outfit-card:hover {
    border-color: rgba(92,232,154,0.3);
    background: rgba(92,232,154,0.05);
}
.seed-cp-outfit-card.active {
    border-color: #5ce89a;
    background: rgba(92,232,154,0.1);
}
.seed-cp-outfit-img {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
}
.seed-cp-outfit-name {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seed-cp-outfit-delete {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(239,68,68,0.8);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
}
.seed-cp-outfit-card:hover .seed-cp-outfit-delete {
    display: flex;
}

.like-action.liked {
    background: rgba(239,68,68,0.2) !important;
}
.like-action:hover {
    background: rgba(239,68,68,0.3) !important;
}

/* Credit display */
.seed-credit-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(92,232,154,0.5);
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border: 1px solid rgba(92,232,154,0.12);
    border-radius: 4px;
    white-space: nowrap;
}

/* Scene counter (shown during generation) */
.seed-scene-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #5ce89a;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    background: rgba(92,232,154,0.08);
    border-radius: 4px;
    animation: seedPulse 1.5s ease-in-out infinite;
}

/* Resolution badge (next to select) */
.seed-res-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(92,232,154,0.6);
    letter-spacing: 0.5px;
    display: none; /* hidden by default — select is visible */
}

@media (max-width: 768px) {
    .seed-sidebar { width: 180px; min-width: 180px; }
    .seed-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding: 10px; }
    .seed-chars-btn { padding: 9px; }
    .seed-chars-btn svg + * { display: none; }
    .seed-grid-slider { display: none; }
    .seed-subnav { padding: 0 10px; }
    .seed-dp-row2 { gap: 8px; }
}

@media (max-width: 600px) {
    .seed-sidebar { display: none; }
    .seed-prompt-controls { flex-wrap: wrap; }
    .seed-gallery { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .seed-view-toggles { display: none; }
    .seed-grid-slider { display: none; }
    .seed-dp-inner { flex-wrap: wrap; gap: 10px; }
    .seed-dp-camera-graph { min-width: 120px; max-width: 200px; }
    .seed-vm-frame-btn { padding: 6px 8px; font-size: 11px; }
    .seed-dp-row2 { gap: 6px; }
    .seed-dp-divider-v { display: none; }
}
