.gallery-shell{max-width:1180px;margin:auto;padding:clamp(92px,9vw,150px) clamp(18px,4vw,48px) 90px}
.gallery-header{margin-bottom:28px;padding:clamp(28px,4vw,50px);border:1px solid rgba(200,163,78,.28);background:rgba(8,11,14,.9)}
.gallery-header h1{margin:8px 0 12px;font-size:clamp(2.4rem,5vw,4.8rem)}
.gallery-header p{max-width:760px;color:var(--muted);line-height:1.7}
.gallery-page-nav{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.gallery-page-nav a{min-height:42px;padding:10px 14px;display:inline-flex;align-items:center;border:1px solid rgba(200,163,78,.3);background:rgba(200,163,78,.06);color:#ddd7ca;text-decoration:none;font-weight:800}.gallery-page-nav a:hover,.gallery-page-nav a:focus-visible{color:#17140d;background:linear-gradient(110deg,#c9a44f,#e3c77b)}
.gallery-account{margin-bottom:18px;padding:16px 18px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.1);background:rgba(10,13,16,.92)}
.gallery-account img{width:42px;height:42px;border-radius:50%}.gallery-account div{flex:1}.gallery-account small{display:block;color:var(--muted)}
.gallery-panel{padding:clamp(22px,4vw,42px);border:1px solid rgba(200,163,78,.25);background:rgba(7,10,12,.94)}
.gallery-form{display:grid;gap:20px}.gallery-form label{display:grid;gap:8px;color:#d9d3c8;font-weight:700}
.gallery-form input,.gallery-form select,.gallery-form textarea,.gallery-note{width:100%;padding:13px 14px;color:#eee9df;border:1px solid rgba(255,255,255,.12);background:#0c1110;font:inherit}
.gallery-form textarea{min-height:110px;resize:vertical}.gallery-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gallery-type-switch button,.gallery-action{min-height:44px;padding:10px 16px;border:1px solid rgba(200,163,78,.25);background:#11161a;color:#ddd8ce;font-weight:800;cursor:pointer}
.gallery-type-switch button.active,.gallery-action.primary{color:#111;background:linear-gradient(110deg,#c9a44f,#e3c77b)}
.gallery-help,.gallery-status{color:var(--muted);font-size:.86rem;line-height:1.55}.gallery-status.error{color:#e9a49b}.gallery-status.success{color:#b9d38b}
.gallery-preview{max-width:520px;max-height:300px;object-fit:contain;border:1px solid rgba(255,255,255,.1)}
.community-gallery-toolbar{margin:30px 0 18px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.gallery-community-section{margin:clamp(28px,5vw,64px) 0;padding:clamp(22px,4vw,42px);border:1px solid rgba(200,163,78,.22);background:rgba(7,10,12,.82)}
.gallery-community-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:24px}.gallery-community-heading h2{margin:.25rem 0}.gallery-community-heading p{max-width:720px;color:var(--muted)}
.community-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.community-gallery-card{overflow:hidden;border:1px solid rgba(200,163,78,.2);background:#0b0f12}.community-gallery-image{display:block;width:100%;padding:0;border:0;background:#080b0d;cursor:zoom-in}.community-gallery-card img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .35s ease,filter .35s ease}.community-gallery-image:hover img{transform:scale(1.025);filter:brightness(1.08)}
.community-gallery-card iframe{width:100%;aspect-ratio:16/9;border:0}.community-gallery-card div{padding:18px}.community-gallery-card h3{margin:0 0 8px}.community-gallery-card p{color:var(--muted)}
.gallery-admin-filters{margin-bottom:18px;display:flex;gap:8px;flex-wrap:wrap}.gallery-admin-list{display:grid;gap:16px}
.gallery-history{margin-top:18px}.gallery-history-list{display:grid;gap:10px}.gallery-history-item{padding:14px 16px;border:1px solid rgba(255,255,255,.09);background:rgba(12,16,18,.75)}.gallery-history-item h3{margin:4px 0}.gallery-history-item p{margin:6px 0;color:var(--muted)}
.gallery-review-card{padding:20px;border:1px solid rgba(200,163,78,.22);background:rgba(9,13,15,.96)}
.gallery-review-head{display:flex;justify-content:space-between;gap:18px}.gallery-review-media{margin:16px 0;max-width:640px}.gallery-review-media img{max-width:100%;max-height:420px}
.gallery-review-actions{display:flex;gap:8px;flex-wrap:wrap}.gallery-action.reject{border-color:#78443d;background:#432824}.gallery-action.changes{background:#353b2f}
.gallery-action.delete{margin-left:auto;border-color:#9e4d44;background:#2f1816;color:#f0c1bb}.gallery-action.delete:hover,.gallery-action.delete:focus-visible{background:#6b2e28;color:#fff}
.gallery-badge{padding:5px 8px;color:#ddd4b7;border:1px solid rgba(200,163,78,.25);font-size:.72rem;text-transform:uppercase}
.gallery-developer-mode{margin-bottom:18px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(200,163,78,.35);background:rgba(38,31,16,.72)}.gallery-developer-mode small{display:block;margin-top:4px;color:var(--muted)}.gallery-developer-mode label{display:flex;align-items:center;gap:9px;font-weight:800}.gallery-review-highlight{outline:2px solid #d7b65f;box-shadow:0 0 32px rgba(215,182,95,.22)}
.community-lightbox{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:clamp(18px,4vw,56px);background:rgba(2,4,5,.94);opacity:0;transition:opacity .18s ease}.community-lightbox[hidden]{display:none}.community-lightbox.open{opacity:1}.community-lightbox figure{display:grid;grid-template-rows:minmax(0,1fr) auto;max-width:min(92vw,1500px);max-height:90vh;margin:0}.community-lightbox figure img{display:block;max-width:100%;max-height:78vh;margin:auto;object-fit:contain;box-shadow:0 18px 70px rgba(0,0,0,.55)}.community-lightbox figcaption{display:grid;grid-template-columns:1fr auto;gap:5px 22px;padding:14px 4px;color:#eee8dc}.community-lightbox figcaption small{grid-column:1/-1;color:#aaa69d}.community-lightbox-close,.community-lightbox-nav{position:absolute;z-index:2;width:52px;height:52px;border:1px solid rgba(215,182,95,.45);background:rgba(10,13,15,.82);color:#f0d486;font-size:2rem;cursor:pointer}.community-lightbox-close{top:18px;right:18px}.community-lightbox-nav{top:50%;transform:translateY(-50%)}.community-lightbox-nav.prev{left:18px}.community-lightbox-nav.next{right:18px}.gallery-lightbox-open{overflow:hidden}
.service-topbar{position:fixed;inset:0 0 auto 0;z-index:9000;min-height:68px;padding:10px clamp(16px,4vw,54px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(200,163,78,.24);background:rgba(7,10,12,.96);backdrop-filter:blur(16px)}.service-topbar-brand{display:flex;align-items:center;gap:11px;color:#eee8dc;text-decoration:none}.service-topbar-brand img{width:30px;height:30px}.service-topbar-brand small{display:block;color:#d4b65f;text-transform:uppercase;letter-spacing:.12em}.service-topbar nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.service-topbar nav a{padding:9px 12px;color:#c9c4ba;text-decoration:none;border:1px solid transparent}.service-topbar nav a:hover,.service-topbar nav a[aria-current="page"]{color:#f1d57d;border-color:rgba(200,163,78,.3);background:rgba(200,163,78,.08)}
@media(max-width:760px){.community-gallery-grid{grid-template-columns:1fr}.gallery-type-switch{grid-template-columns:1fr}.gallery-shell{padding-top:126px}.gallery-review-head{display:block}.gallery-community-heading .button{width:100%;text-align:center}.gallery-developer-mode{align-items:flex-start;flex-direction:column}.service-topbar{align-items:flex-start;flex-direction:column}.service-topbar nav{width:100%;overflow-x:auto;flex-wrap:nowrap}.service-topbar nav a{white-space:nowrap}.community-lightbox-nav{top:auto;bottom:18px}.community-lightbox-nav.prev{left:18px}.community-lightbox-nav.next{right:82px}.community-lightbox figure img{max-height:70vh}}
