.app-shell{max-width:1280px;padding-left:16px;padding-right:16px}
.page-header{padding-left:0;padding-right:0}
.image-panel{max-width:none;padding:4px 0}
.image-panel .image-grid{gap:16px}
.image-panel .image-card{margin:0}
.menu-popover .delete-button svg{width:16px;height:16px}
.empty-state{width:min(100%,520px);margin:45px auto;padding:60px 24px;border-radius:14px;box-shadow:0 8px 24px #27345b10}
.empty-state h2{font-size:20px;color:#172033}
@media(max-width:760px){.app-shell{padding-left:12px;padding-right:12px}.image-panel .image-grid{gap:12px}}
.page-header h1{color:#4b5563;font-weight:700}.notice{position:fixed;top:20px;right:20px;z-index:50;width:max-content;max-width:calc(100vw - 40px);margin:0;padding:11px 16px;border:1px solid #e3e6ee;border-radius:8px;background:#fff;box-shadow:0 8px 24px #27345b20;white-space:nowrap}.notice.success{color:#28704d}.notice.error{color:#a33a3a}@media(max-width:520px){.notice{top:14px;right:14px;max-width:calc(100vw - 28px);overflow:hidden;text-overflow:ellipsis}}
.page-header h1{color:#344054}.notice{display:flex;align-items:center;gap:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice-icon{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;border-radius:50%;color:#fff}.notice-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.notice.success .notice-icon{background:#22a06b}.notice.error .notice-icon{background:#ff4d4f}.notice.success{color:#344054}.notice.error{color:#344054}.notice[hidden]{display:none!important}html,body{max-width:100%;overflow-x:hidden}.app-shell{overflow:visible}
.empty-state{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:min(100%,680px);margin:42px auto;padding:70px 28px}.empty-state h2{margin-bottom:10px;font-size:24px}.empty-state p{font-size:15px}
.menu-popover .edit-button,.menu-popover .delete-button{display:flex;align-items:center;gap:8px;width:100%;padding:9px;border:0;border-radius:6px;background:#fff;font:13px Arial;text-align:left;cursor:pointer}.menu-popover .edit-button{color:#344054}.menu-popover .edit-button:hover{background:#f4f5f8}.menu-popover .delete-button{color:#d14343}.menu-popover .delete-button:hover{background:#fff0f0}
.menu-button{display:grid;place-items:center;width:30px;height:32px;padding:0}.menu-button svg{width:18px;height:18px;fill:#667085}.menu-popover{min-width:130px;padding:6px;border-radius:10px}.menu-popover .edit-button svg,.menu-popover .delete-button svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-search .search-input:focus{border-color:#6258dc;box-shadow:0 0 0 3px #eeeafd}

/* Visual-only polish: cards and the Add modal markup remain unchanged. */
body{min-height:100vh;background:radial-gradient(circle at 88% 8%,rgba(180,214,255,.5) 0,rgba(180,214,255,0) 32%),radial-gradient(circle at 4% 18%,rgba(222,243,255,.72) 0,rgba(222,243,255,0) 34%),linear-gradient(145deg,#fafdff 0%,#f1f8ff 52%,#eef3ff 100%);background-attachment:fixed}
.image-card{animation:cardSoftReveal 2s cubic-bezier(.22,1,.36,1) both;transition:box-shadow .3s ease;will-change:opacity,filter}
.image-card:nth-child(2){animation-delay:.35s}.image-card:nth-child(3){animation-delay:.7s}.image-card:nth-child(4){animation-delay:1.05s}.image-card:nth-child(5){animation-delay:1.4s}.image-card:nth-child(6){animation-delay:1.75s}
.image-card:hover{box-shadow:0 14px 30px rgba(43,55,85,.12)}
.card-preview-frame{background:linear-gradient(110deg,#edf2fa 8%,#fff 18%,#edf2fa 33%);background-size:220% 100%;animation:shimmer 1.6s linear infinite}
@keyframes cardSoftReveal{from{opacity:0;filter:blur(7px)}to{opacity:1;filter:blur(0)}}
@keyframes shimmer{from{background-position:220% 0}to{background-position:-40% 0}}
@media(prefers-reduced-motion:reduce){.image-card,.card-preview-frame{animation:none;transition:none}}
