.adMain[data-view=project-gallery]>.adTop{display:none}.pgWorkspace,.pgUpload{--pg-panel:var(--portal-panel,var(--ad-panel,#fff));--pg-ink:var(--portal-ink,var(--ad-ink,#263b30));--pg-muted:var(--portal-muted,var(--ad-muted,#66766c));--pg-line:var(--portal-line,var(--ad-line,#dbe4dd));--pg-soft:var(--portal-soft,var(--ad-soft,#f2f5f2));color:var(--pg-ink);min-width:0;font:400 16px/1.5 Arial,sans-serif}.pgWorkspace{width:100%;max-width:1600px;margin:0 auto}.pgHeading{justify-content:space-between;align-items:center;gap:20px;background:0 0!important;border:0!important;height:auto!important;margin:0 0 24px!important;padding:0!important;display:flex!important;position:static!important}.pgHeading small{letter-spacing:.1em;color:var(--pg-muted);font-size:12px;font-weight:700}.pgHeading :is(h1,h2){font:700 clamp(26px, 3vw, 36px)/1.15 var(--display-font,Arial), sans-serif!important;color:var(--pg-ink)!important;margin:5px 0 7px!important}.pgHeading p{color:var(--pg-muted);margin:0;font-size:15px}.pgHeadingActions{flex:none;gap:8px;display:flex}.pgButton,.pgIconButton{border:1px solid var(--pg-line);background:var(--pg-panel);min-height:44px;color:var(--pg-ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font:600 14px/1.4 Arial,sans-serif;text-decoration:none;display:inline-flex}.pgButton .adIcon,.pgIconButton .adIcon{flex:none;width:19px;height:19px}.pgPrimary{color:#234b37;background:#dce9e0;border-color:#b3cdbc}.pgButton:disabled,.pgIconButton:disabled{opacity:.5;cursor:not-allowed}.pgIconButton{width:40px;min-width:40px;min-height:40px;padding:8px}.pgToolbar{background:var(--pg-panel);border:1px solid var(--pg-line);border-radius:18px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.pgSearch{flex:1;align-items:center;gap:10px;min-width:0;max-width:600px;display:flex;position:relative}.pgSearch>.adIcon{width:20px;height:20px;color:var(--pg-muted);pointer-events:none;position:absolute;left:14px}.pgWorkspace .pgSearch input{border:1px solid var(--pg-line);background:var(--pg-soft);width:100%;min-width:0;height:46px;color:var(--pg-ink);border-radius:12px;padding:10px 12px 10px 43px;font:400 16px/1.4 Arial,sans-serif}.pgViews{flex:none;gap:4px;display:flex}.pgViews button{min-height:44px;color:var(--pg-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font:600 14px/1.4 Arial,sans-serif;display:flex}.pgViews button[aria-pressed=true]{background:var(--pg-soft);border-color:var(--pg-line);color:var(--pg-ink)}.pgViews svg{width:18px;height:18px}.pgContext{color:var(--pg-muted);justify-content:space-between;align-items:center;gap:12px;padding:18px 0;font-size:14px;display:flex}.pgContext>div{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.pgContext strong{color:var(--pg-ink);font-weight:600}.pgContext>span{white-space:nowrap}.pgTextButton{color:inherit;text-align:left;text-underline-offset:3px;font:inherit;cursor:pointer;background:0 0;border:0;padding:2px 0;text-decoration:underline;display:inline}.pgPhotoGrid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:24px 18px;display:grid}.pgPhotoGrid figure{background:var(--pg-panel);border:1px solid var(--pg-line);border-radius:18px;min-width:0;margin:0;overflow:hidden}.pgPhoto{aspect-ratio:4/3;cursor:zoom-in;background:var(--pg-soft);border:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.pgPhoto img{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.pgPhoto:hover img{transform:scale(1.025)}.pgPhotoZoom{color:#fff;opacity:0;background:#17251ca6;border-radius:50%;place-items:center;width:32px;height:32px;transition:opacity .2s;display:grid;position:absolute;bottom:10px;right:10px}.pgPhotoZoom svg{width:17px;height:17px}.pgPhoto:hover .pgPhotoZoom,.pgPhoto:focus-visible .pgPhotoZoom{opacity:1}.pgPhotoGrid figcaption{justify-items:start;gap:4px;padding:13px 15px;font-size:14px;line-height:1.4;display:grid}.pgPhotoGrid figcaption strong{color:var(--pg-ink);overflow-wrap:anywhere;font-weight:600}.pgPhotoGrid figcaption>span{color:var(--pg-muted);overflow-wrap:anywhere}.pgPhotoGrid figcaption small{color:var(--pg-muted);font-size:12px}.pgAlbumGrid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;display:grid}.pgAlbum{text-align:left;border:1px solid var(--pg-line);background:var(--pg-panel);color:var(--pg-ink);cursor:pointer;font:inherit;border-radius:18px;padding:0;overflow:hidden}.pgAlbumCover{aspect-ratio:16/10;background:var(--pg-soft);display:block;position:relative;overflow:hidden}.pgAlbumCover>img{object-fit:cover;width:100%;height:100%;display:block}.pgCount{color:#fff;background:#15241ce6;border-radius:9px;padding:5px 10px;font-size:13px;position:absolute;bottom:12px;right:12px}.pgAlbumEmpty{height:100%;color:var(--pg-muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.pgAlbumEmpty svg{width:36px;height:36px}.pgAlbumInfo{gap:4px;padding:16px;line-height:1.4;display:grid}.pgAlbumInfo :is(strong,b){overflow-wrap:anywhere;font-size:15px;font-weight:600}.pgAlbumInfo>span{color:var(--pg-muted);overflow-wrap:anywhere;font-size:14px}.pgAlbumInfo small{color:var(--pg-muted);margin-top:5px;font-size:12px}.pgEmpty,.pgLoading{border:1px dashed var(--pg-line);text-align:center;background:var(--pg-panel);color:var(--pg-muted);border-radius:20px;padding:50px 24px}.pgEmpty>svg{width:40px;height:40px;margin:0 auto 12px}.pgEmpty h2{color:var(--pg-ink);margin:0 0 8px;font-size:22px}.pgEmpty p{max-width:500px;margin:0 auto 18px;font-size:15px}.pgError,.pgSuccess{border:1px solid var(--pg-line);overflow-wrap:anywhere;border-radius:12px;padding:13px 16px;font-size:14px;line-height:1.5}.pgError{color:#90382c;background:#fff1ef}.pgError button{margin-left:10px}.pgSuccess{color:#285537;background:#eaf5ec}.pgPagination{color:var(--pg-muted);justify-content:space-between;align-items:center;gap:12px;padding:22px 0 0;font-size:14px;display:flex;background:0 0!important}.pgPagination>div{gap:8px;display:flex}.pgSrOnly{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pgUpload{border:1px solid var(--pg-line);background:var(--pg-panel);border-radius:24px;width:min(760px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto;box-shadow:0 25px 80px #0003}.pgUpload::backdrop{background:#07100dc4}.pgUpload form>header{background:0 0;border:0;justify-content:space-between;align-items:start;gap:16px;height:auto;padding:0 0 20px;display:flex;position:static}.pgUpload h2{margin:0 0 6px;font-size:26px;line-height:1.25}.pgUpload header p{max-width:560px;color:var(--pg-muted);margin:0;font-size:14px}.pgUpload fieldset{border:0;min-width:0;margin:0;padding:0}.pgUploadFields{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;display:grid}.pgUpload label{gap:7px;min-width:0;font-size:14px;font-weight:500;display:grid}.pgUpload :is(input:not([type=file]),select){border:1px solid var(--pg-line);background:var(--pg-panel);width:100%;min-width:0;min-height:44px;color:var(--pg-ink);border-radius:10px;padding:10px 12px;font:400 16px/1.4 Arial,sans-serif}.pgUploadClient{border:1px solid var(--pg-line);background:var(--pg-soft);border-radius:12px;grid-column:1/-1;gap:3px;margin:0;padding:12px 14px;display:grid}.pgUploadClient span{color:var(--pg-muted);font-size:14px}.pgDropzone{text-align:center;background:var(--pg-soft);cursor:pointer;border:1px dashed #8aa995;border-radius:16px;place-items:center;padding:22px 16px;position:relative}.pgDropzone>svg{width:30px;height:30px}.pgDropzone span{color:var(--pg-muted);font-size:13px;font-weight:400}.pgDropzone input{max-width:100%;margin-top:7px;font-size:14px}.pgUploadList{gap:12px;margin-top:18px;display:grid}.pgUploadList>div{border:1px solid var(--pg-line);border-radius:14px;align-items:center;gap:12px;padding:12px;display:flex}.pgUploadList img{object-fit:cover;border-radius:9px;flex:none;width:70px;height:70px}.pgUploadList label{flex:1;min-width:0}.pgUploadList small{color:var(--pg-muted);overflow-wrap:anywhere;font-size:12px;font-weight:400}.pgUploadList [data-state=error]{border-color:#bd7569}.pgUploadList [data-state=error] small{color:#a44838}.pgUploadList [data-state=done]>svg{color:#388256;flex:none;width:24px}.pgUpload form>footer{background:var(--pg-panel);border-top:1px solid var(--pg-line);justify-content:space-between;align-items:center;gap:14px;margin-top:20px;padding:18px 0 0;display:flex;position:sticky;bottom:-24px}.pgUpload footer span,.pgHint{color:var(--pg-muted);font-size:14px}.pgViewer{color:#f4f7f5;background:#121816;border:1px solid #ffffff30;border-radius:22px;width:min(1200px,100vw - 24px);height:auto;max-height:calc(100dvh - 24px);padding:14px;overflow:auto}.pgViewer::backdrop{background:#07100deb}.pgViewerClose{color:#fff;z-index:1;cursor:pointer;background:#15221dd9;border:1px solid #ffffff40;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:22px;right:22px}.pgViewerClose svg{width:21px;height:21px}.pgViewerImage{touch-action:pan-y;background:#0d1210;border-radius:14px;place-items:center;height:min(70dvh,850px);min-height:200px;display:grid;overflow:hidden}.pgViewerImage img{object-fit:contain;width:100%;height:100%;max-height:70dvh;display:block}.pgViewer>footer{justify-content:space-between;align-items:center;gap:18px;padding:16px 6px 3px;display:flex;background:0 0!important}.pgViewer footer>div{gap:4px;min-width:0;font:400 14px/1.4 Arial,sans-serif;display:grid}.pgViewer footer strong{overflow-wrap:anywhere;font-size:16px}.pgViewer footer span{color:#c1cec7}.pgViewer nav{flex:none;align-items:center;gap:14px;display:flex}.pgViewer nav button{color:#fff;cursor:pointer;background:#27392f;border:1px solid #ffffff30;border-radius:12px;width:44px;height:44px;font-size:28px}.pgViewer nav button:disabled{opacity:.35;cursor:default}.pgWorkspace :is(button,input):focus-visible,.pgUpload :is(button,input,select):focus-visible,.pgViewer button:focus-visible{outline-offset:3px;outline:3px solid #53996e}html[data-theme=dark] .pgPrimary{color:#e0eee4;background:#2d4938;border-color:#577b64}html[data-theme=dark] .pgError{color:#ffc6bd;background:#3c2928}html[data-theme=dark] .pgSuccess{color:#c8ead2;background:#273f30}@media (max-width:700px){.pgHeading{flex-wrap:wrap;align-items:flex-start;gap:16px;margin-bottom:18px!important}.pgHeadingActions{margin-left:auto}.pgToolbar{flex-direction:column;align-items:stretch;gap:12px;padding:12px}.pgSearch{max-width:none}.pgViews{grid-template-columns:1fr 1fr;display:grid}.pgContext{flex-direction:column;align-items:flex-start;gap:5px;padding:14px 0}.pgContext>span{white-space:normal;font-size:13px}.pgPhotoGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pgPhotoGrid figure{border-radius:14px}.pgPhotoGrid figcaption{gap:4px;padding:10px;font-size:13px}.pgPhotoGrid figcaption strong{font-size:14px}.pgAlbumGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pgAlbum{border-radius:14px}.pgAlbumInfo{padding:12px}.pgAlbumInfo :is(strong,b){font-size:14px}.pgCount{font-size:12px;bottom:8px;right:8px}.pgAlbumEmpty{font-size:12px}.pgUpload{padding:18px}.pgUploadFields{grid-template-columns:1fr;gap:12px}.pgUploadList>div{gap:8px;padding:10px}.pgUploadList img{width:50px;height:60px}.pgUpload form>footer{bottom:-18px}.pgViewer>footer{flex-direction:column;align-items:stretch}.pgViewer nav{justify-content:center}.pgViewerImage{height:62dvh}.pgViewerImage img{max-height:62dvh}.pgPhotoZoom{opacity:1;width:27px;height:27px}}@media (max-width:380px){.pgAlbumGrid{grid-template-columns:1fr}.pgHeadingActions{width:100%;margin:0}.pgHeadingActions>.pgPrimary{flex:1}.pgUploadList img{width:42px}.pgPhotoGrid figcaption small{font-size:12px}}@media (prefers-reduced-motion:reduce){.pgPhoto img,.pgPhotoZoom{transition:none}.pgPhoto:hover img{transform:none}}
