#scheduled-generation-batch-list .scheduled-item-thumb { position:relative; }
.sg-thumb-open { position:absolute; inset:0; display:grid; place-items:center; width:100%; height:100%; padding:0; border:0; border-radius:inherit; background:rgba(12,17,30,.48); color:#fff; cursor:zoom-in; opacity:0; transition:opacity .15s; }
.sg-thumb-open svg { width:23px; height:23px; stroke:currentColor; stroke-width:1.8; filter:drop-shadow(0 1px 3px #0008); }
.scheduled-item-thumb:hover .sg-thumb-open,.sg-thumb-open:focus-visible { opacity:1; }
.sg-thumb-open:focus-visible { outline:2px solid #8794ff; outline-offset:2px; }
dialog.scheduled-gallery { box-sizing:border-box; width:min(1180px,calc(100vw - 56px)); height:min(860px,calc(100dvh - 56px)); max-width:none; max-height:none; padding:0; margin:auto; border:1px solid #ffffff29; border-radius:20px; background:#11151e; color:#f1f4fc; box-shadow:0 24px 100px #0008; overflow:hidden; }
dialog.scheduled-gallery[open] { display:flex; flex-direction:column; }
.scheduled-gallery::backdrop { background:rgba(5,8,15,.78); backdrop-filter:blur(8px); }
.scheduled-gallery header { display:flex; justify-content:space-between; align-items:center; padding:16px 22px; flex-shrink:0; }
.scheduled-gallery header>div { display:flex; align-items:center; gap:16px; }
.scheduled-gallery h2 { margin:0; font-size:16px; font-weight:600; color:inherit; }
.scheduled-gallery .sg-counter { color:#aab5cb; font-size:13px; font-variant-numeric:tabular-nums; }
.scheduled-gallery button { font:inherit; color:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.scheduled-gallery .sg-close { border:0; background:transparent; font-size:28px; width:40px; height:40px; border-radius:12px; }
.scheduled-gallery .sg-stage { flex:1; min-height:0; position:relative; margin:0 22px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:14px; }
.scheduled-gallery .sg-image { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.scheduled-gallery .sg-image img { max-width:100%; max-height:100%; object-fit:contain; border-radius:4px; }
.scheduled-gallery .sg-image img[hidden] { display:none; }
.scheduled-gallery .sg-message { position:relative; pointer-events:none; color:#c4cde0; background:#11151ec9; padding:8px 12px; border-radius:8px; font-size:14px; }
.scheduled-gallery .sg-message:empty { display:none; }
.scheduled-gallery .sg-retry { position:relative; border:1px solid #ffffff30; border-radius:8px; padding:8px 20px; background:#252d40; }
.scheduled-gallery footer { flex-shrink:0; display:flex; align-items:center; justify-content:center; gap:24px; padding:14px 22px; }
.scheduled-gallery footer button { display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff26; border-radius:50%; background:#ffffff08; }
.scheduled-gallery footer svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; }
.scheduled-gallery .sg-position { color:#d0d8e8; font-size:14px; font-variant-numeric:tabular-nums; min-width:72px; text-align:center; }
.scheduled-gallery button:hover:not(:disabled) { background-color:#ffffff18; }
.scheduled-gallery button:focus-visible { outline:2px solid #a5afff; outline-offset:3px; }
.scheduled-gallery button:disabled { opacity:.28; cursor:default; }
@media (hover:none),(pointer:coarse) { .sg-thumb-open { opacity:1; background:linear-gradient(transparent,rgba(12,17,30,.5)); } .sg-thumb-open svg { width:20px; height:20px; } }
@media (max-width:640px) { dialog.scheduled-gallery { width:100vw; height:100dvh; border:0; border-radius:0; } .scheduled-gallery header { padding:calc(10px + env(safe-area-inset-top)) 12px 10px; } .scheduled-gallery .sg-stage { margin:0 10px; } .scheduled-gallery footer { padding-bottom:calc(16px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion:reduce) { .sg-thumb-open { transition:none; } }
