.artwork-gallery{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:min(960px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:28px;overflow:auto;box-shadow:0 30px 100px #0009;overscroll-behavior:contain}.artwork-gallery::backdrop{background:#080b10c2;backdrop-filter:blur(8px)}.artwork-gallery .gallery-heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.artwork-gallery .gallery-heading .eyebrow{margin:0 0 9px}.artwork-gallery h2{font:32px Georgia,serif;letter-spacing:-.6px;margin:0}.artwork-gallery .gallery-close{flex:none;min-height:44px}.gallery-intro{font-size:14px;line-height:1.7;max-width:70ch;margin:20px 0 8px}.gallery-limits,.gallery-footer p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.gallery-storage{display:flex;gap:14px;align-items:center;justify-content:space-between;border-block:1px solid var(--line);padding:13px 0;margin:20px 0;color:var(--muted);font-size:12px;line-height:1.6}.gallery-storage.is-error,.gallery-feedback.is-error{color:var(--danger)}.gallery-storage .gallery-retry{flex:none;min-height:40px}.gallery-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}.gallery-slot{min-width:0}.gallery-slot-title{font-size:12px;font-weight:600;letter-spacing:.02em;margin:0 0 10px;color:var(--text)}.gallery-picture{height:166px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:var(--canvas);border:1px solid var(--line);padding:12px;overflow:hidden}.gallery-picture.has-artwork{background:var(--surface-raised)}.gallery-picture img{width:100%;height:100%;object-fit:contain;display:block}.gallery-empty-mark{font:28px Georgia,serif;color:var(--muted);opacity:.65}.gallery-empty-copy{font-size:11px;color:var(--muted);text-align:center}.gallery-slot-actions{display:flex;gap:8px;align-items:center;margin-top:10px;flex-wrap:wrap}.gallery-slot-actions button{min-height:40px;font-size:12px;padding:9px 10px}.gallery-title-label{display:block;font-size:11px;color:var(--muted);margin-top:10px;margin-bottom:6px}.gallery-title-row{display:flex;align-items:center;gap:6px}.gallery-title-input{min-width:0;width:100%;color:var(--text);background:var(--canvas);border:1px solid var(--line);padding:10px;border-radius:var(--radius);font-size:12px;min-height:40px}.gallery-title-row .gallery-save-title{flex:none;padding:8px;min-height:40px;font-size:11px}.gallery-feedback{font-size:13px;line-height:1.6;margin:18px 0 0;min-height:1.6em}.gallery-undo{margin-top:8px;min-height:40px}.gallery-footer{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.gallery-footer>div{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.gallery-footer button{font-size:12px;min-height:44px}.gallery-restore-confirm{border:1px solid var(--line);border-left:3px solid var(--ember);padding:16px;margin-top:18px;background:var(--canvas)}.gallery-restore-confirm h3{font-size:16px;margin:0 0 8px}.gallery-restore-confirm p{font-size:13px;line-height:1.6;margin:0 0 14px;color:var(--muted)}.gallery-restore-confirm>div{display:flex;gap:8px;flex-wrap:wrap}.gallery-restore-confirm button{font-size:12px;min-height:44px}.artwork-gallery [hidden]{display:none!important}@media(max-width:760px){.gallery-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.artwork-gallery{padding:22px}.artwork-gallery h2{font-size:28px}.gallery-picture{height:150px}}@media(max-width:470px){.artwork-gallery{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px}.artwork-gallery h2{font-size:25px}.gallery-heading{gap:10px}.gallery-slots{grid-template-columns:1fr;gap:24px}.gallery-picture{height:200px}.gallery-storage{align-items:flex-start}.gallery-footer>div{flex-direction:column}.gallery-title-row .gallery-save-title{padding-inline:12px}.gallery-intro{font-size:13px}.artwork-gallery .gallery-close{padding:10px}}.artwork-gallery .gallery-heading{position:sticky;top:-28px;z-index:2;background:var(--surface);padding-block:12px;margin-top:-12px;border-bottom:1px solid var(--line)}@media(max-width:760px){.artwork-gallery .gallery-heading{top:-22px}}@media(max-width:470px){.artwork-gallery .gallery-heading{top:-18px}}
