.gallery-rating-overlay{position:fixed;inset:0;z-index:8800;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;padding:.75rem}.gallery-rating-panel{position:relative;width:min(100%,560px);max-height:min(96vh,920px);display:flex;flex-direction:column;background:#121218;border:1px solid hsla(0,0%,100%,.12);border-radius:1rem;overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,.55)}.gallery-rating-close{top:.55rem;right:.55rem;width:2.25rem;height:2.25rem;background:rgba(0,0,0,.72);color:#f5d78e;font-size:1.35rem}.gallery-rating-close,.gallery-rating-nav{position:absolute;z-index:3;border-radius:9999px;border:1px solid hsla(43,84%,76%,.45);line-height:1;cursor:pointer}.gallery-rating-nav{top:50%;transform:translateY(-50%);width:2.4rem;height:2.4rem;background:hsla(43,84%,76%,.92);color:#111;font-size:1.5rem}.gallery-rating-nav:disabled{opacity:.25;cursor:default}.gallery-rating-nav--prev{left:.45rem}.gallery-rating-nav--next{right:.45rem}.gallery-rating-image-wrap{position:relative;flex:1 1 auto;min-height:280px;max-height:min(78vh,820px);background:#000;display:flex;align-items:center;justify-content:center}.gallery-rating-image{width:100%;height:100%;object-fit:contain}.gallery-rating-footer{padding:.85rem 1rem 1rem;border-top:1px solid hsla(0,0%,100%,.08);background:#14141c}.gallery-rating-stats{display:flex;gap:1rem;justify-content:center;align-items:center;margin-bottom:.85rem;color:#d4d4d8;font-size:.85rem}.gallery-rating-stats span{display:inline-flex;align-items:center;gap:.35rem}.gallery-rating-label{text-align:center;font-size:.9rem;font-weight:600;color:hsla(0,0%,100%,.85);margin-bottom:.65rem}.gallery-rating-buttons{display:flex;gap:.65rem;justify-content:center;flex-wrap:wrap}.gallery-rating-btn{min-width:3.25rem;min-height:3.25rem;border-radius:.55rem;border:2px solid hsla(0,0%,100%,.2);background:hsla(0,0%,100%,.08);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,border-color .15s ease}.gallery-rating-btn:hover:not(:disabled){transform:scale(1.05);border-color:hsla(43,84%,76%,.45)}.gallery-rating-btn:disabled{opacity:.45;cursor:default}.gallery-rating-btn--active{border-color:#4caf50;box-shadow:0 0 8px rgba(76,175,80,.35)}.gallery-rating-btn img{width:1.5rem;height:1.5rem}.gallery-rating-info{text-align:center;font-size:.82rem;color:#a1a1aa;margin-bottom:.5rem}.gallery-rating-toast{position:fixed;left:50%;bottom:calc(5rem + env(safe-area-inset-bottom, 0));transform:translateX(-50%);z-index:8900;padding:.65rem 1rem;border-radius:9999px;background:rgba(20,20,28,.95);border:1px solid hsla(43,84%,76%,.35);color:#f5f5f5;font-size:.85rem}.gallery-rating-black-form{margin-top:.65rem;display:flex;flex-direction:column;gap:.5rem}.gallery-rating-black-form textarea{width:100%;min-height:4.5rem;border-radius:.5rem;border:1px solid hsla(0,0%,100%,.15);background:rgba(0,0,0,.35);color:#f4f4f5;padding:.5rem .65rem;font-size:.82rem;resize:vertical}.gallery-rating-black-form button{align-self:flex-end;padding:.45rem .85rem;border-radius:9999px;border:1px solid hsla(43,84%,76%,.35);background:hsla(43,84%,76%,.12);color:#f5d78e;font-size:.78rem;cursor:pointer}@media (min-width:1024px){.gallery-rating-panel{width:min(92vw,840px)}.gallery-rating-image-wrap{min-height:420px;max-height:min(82vh,900px)}}