.galleryHero{background:radial-gradient(circle at 78% 120%,#9f161f55 0 18%,transparent 42%),linear-gradient(135deg,#111 0%,#27272b 62%,#701015 100%);color:#fff;padding:58px 0 48px}.galleryHero h1{font-size:clamp(40px,6vw,72px);line-height:.94;letter-spacing:-.055em;margin:11px 0 16px}.galleryHero p{max-width:700px;color:#dedee2;font-size:17px;line-height:1.55}.galleryActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.galleryActions .btn{width:auto}.galleryNav{background:#111!important;color:#fff!important;padding:12px 16px!important}.galleryLayout{padding:32px 0 64px}.galleryUpload{display:none;margin-bottom:40px;box-shadow:0 22px 65px #0000000a}.galleryUpload.open{display:block}.galleryUploadHead,.gallerySectionHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.galleryUploadHead h2,.gallerySectionHead h2{margin:5px 0 4px}.galleryUploadHead .lead{margin:0}.gallerySectionHead>p{max-width:420px;margin:24px 0 0;color:var(--m);line-height:1.55}.galleryPanelClose{width:42px;height:42px;border:1px solid var(--l);border-radius:50%;background:#fff;font-size:25px;line-height:1}.galleryRules{display:grid;grid-template-columns:44px 1fr;gap:14px;padding:18px;border:1px solid #f3d6d8;border-radius:17px;background:linear-gradient(135deg,#fff7f7,#fff);margin:18px 0 22px}.galleryRulesIcon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--r);color:#fff;font-size:25px}.galleryRules h3{margin:1px 0 7px;font-size:18px}.galleryRules p{margin:0;color:#55575e;line-height:1.6;font-size:14px}.galleryUploadGrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.galleryUploadGrid .wide{grid-column:1/-1}.galleryUploadGrid label{display:block;font-size:12px;font-weight:900;margin:3px 0 7px}.galleryUploadGrid input,.galleryUploadGrid select,.galleryUploadGrid textarea{width:100%;border:1px solid var(--l);border-radius:12px;padding:12px 13px;background:#fff;min-height:48px}.galleryUploadGrid textarea{min-height:110px;resize:vertical}.galleryUploadGrid small,.galleryFile small{display:block;margin-top:7px;color:var(--m);font-size:12px;line-height:1.45}.galleryFile{border:1px dashed #b8b8c0;border-radius:14px;padding:18px;background:#fafafa}.galleryFile input{width:100%;border:0;padding:8px 0;background:transparent}.galleryAgreement{display:flex;align-items:flex-start;gap:10px;margin:16px 0 8px;padding:13px 14px;border-radius:13px;background:#f5f5f7;font-size:13px;font-weight:700;line-height:1.5}.galleryAgreement input{flex:0 0 auto;width:18px;height:18px;margin-top:1px;accent-color:var(--r)}.galleryPrivacy{font-size:12px;color:#666;line-height:1.55;margin:10px 0 15px}.galleryNotice{padding:13px 15px;border-radius:12px;background:#f5f5f7;color:#555;margin:12px 0}.galleryNotice.ok{background:#eaf8ef;color:#18723b}.galleryNotice.bad{background:#fff0f0;color:#a41018}.galleryProgress{height:7px;border-radius:99px;background:#eee;overflow:hidden;margin:12px 0}.galleryProgress span{display:block;height:100%;background:linear-gradient(90deg,var(--r),#ff6269);transition:width .25s}.galleryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.galleryAlbumCard{border:1px solid var(--l);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 12px 35px #0000000b;transition:transform .2s,box-shadow .2s}.galleryAlbumCard:hover{transform:translateY(-3px);box-shadow:0 18px 45px #00000014}.galleryAlbumCover{position:relative;display:grid;width:100%;height:245px;padding:0;border:0;background:#e9e9ec;overflow:hidden}.galleryAlbumCover img{width:100%;height:100%;object-fit:cover;display:block;min-width:0}.galleryAlbumCover2{grid-template-columns:1.25fr .75fr;gap:2px}.galleryAlbumCover3{grid-template-columns:1.35fr .65fr;grid-template-rows:1fr 1fr;gap:2px}.galleryAlbumCover3 img:first-child{grid-row:1/3}.galleryPhotoCount{position:absolute;right:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:#111d;color:#fff;font-size:11px;font-weight:900;backdrop-filter:blur(8px)}.galleryAlbumBody{padding:17px}.galleryAlbumTop{display:flex;align-items:center;justify-content:space-between;gap:8px}.galleryAlbumCard h3{margin:12px 0 7px;font-size:20px;letter-spacing:-.02em}.galleryVisibility{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#f1f1f3;color:#4c4e55;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.galleryVisibility.cohort{background:#fff0f0;color:#a41018}.galleryOpenLink{border:0;background:transparent;color:var(--r);font-weight:900;font-size:11px;padding:5px 0}.galleryMeta{font-size:12px;color:var(--m);line-height:1.5}.galleryDesc{font-size:14px;line-height:1.55;margin:10px 0 0;color:#45464c;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.galleryEmpty{grid-column:1/-1;border:1px dashed #cfcfd5;border-radius:18px;padding:42px;text-align:center;color:var(--m);line-height:1.6}.galleryMine{margin-top:38px}.galleryMine>.lead{font-size:14px;margin-top:0}.galleryMineRow{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid var(--l)}.galleryMineRow img,.galleryMinePlaceholder{width:78px;height:60px;object-fit:cover;border-radius:11px;background:#eee;display:grid;place-items:center;color:#888;font-size:11px;font-weight:800}.galleryStatus{display:inline-flex;margin-top:7px;font-size:10px;font-weight:900;text-transform:uppercase;padding:6px 9px;border-radius:999px;background:#eee}.galleryStatus.approved{background:#e4f7eb;color:#11763a}.galleryStatus.pending{background:#fff2d6;color:#8b5a00}.galleryStatus.rejected{background:#ffe3e4;color:#a41018}.galleryStatus.uploading{background:#ececf0;color:#555}.galleryModalOpen{overflow:hidden}.galleryModal{position:fixed;inset:0;z-index:50000;display:grid;place-items:center;padding:22px}.galleryModalBackdrop{position:absolute;inset:0;border:0;background:#09090bcc;backdrop-filter:blur(8px)}.galleryModalPanel{position:relative;width:min(1060px,100%);max-height:calc(100vh - 44px);overflow:auto;background:#fff;border-radius:24px;padding:25px;box-shadow:0 30px 100px #0008}.galleryModalHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.galleryModalHead h2{margin:5px 0 4px}.galleryModalHead p,.galleryModalStory{color:var(--m);line-height:1.55}.galleryModalClose{flex:0 0 auto;width:44px;height:44px;border:1px solid var(--l);border-radius:50%;background:#fff;font-size:26px}.galleryModalGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.galleryModalGrid a{position:relative;overflow:hidden;border-radius:15px;background:#eee}.galleryModalGrid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.galleryModalGrid span{position:absolute;left:9px;right:9px;bottom:9px;padding:7px 9px;border-radius:9px;background:#111c;color:#fff;font-size:10px;font-weight:800}.galleryAdminPage{isolation:isolate}.galleryAdminFilter{display:grid;gap:5px;min-width:210px}.galleryAdminFilter label{font-size:10px;font-weight:900;text-transform:uppercase;color:var(--m);letter-spacing:.08em}.galleryAdminFilter select{border:1px solid var(--l);border-radius:11px;padding:11px 12px;background:#fff}.galleryAdminSummary{display:flex;align-items:center;gap:20px;padding:18px 20px;border-radius:17px;background:linear-gradient(135deg,#111,#29292d);color:#fff;margin-bottom:18px}.galleryAdminSummary>div{display:grid;min-width:130px}.galleryAdminSummary span{font-size:38px;font-weight:950;color:#ff3139;line-height:1}.galleryAdminSummary small{margin-top:6px;color:#ddd}.galleryAdminSummary p{margin:0;color:#ddd;line-height:1.5}.galleryAdminCard{display:grid;grid-template-columns:190px minmax(0,1fr);gap:19px;border:1px solid var(--l);border-radius:18px;padding:15px;margin-bottom:14px;background:#fff}.galleryAdminCard img{width:100%;height:150px;object-fit:cover;border-radius:13px;background:#eee}.galleryAdminCard h3{margin:9px 0 6px}.galleryAdminChips{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.galleryAdminChips .galleryStatus{margin:0}.galleryAdminButtons{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.galleryRejectNote{padding:9px 11px;border-radius:10px;background:#fff0f0;color:#8e151b;font-size:12px}.adminSide [data-at=gallery]{position:relative}.galleryAdminBadge{float:right;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--r);color:#fff;font-size:10px;font-weight:900}.adminSide [data-at=gallery].on .galleryAdminBadge{background:#fff;color:#111}.galleryApprovalAlert{width:100%;border:1px solid #ffc9cc;border-radius:16px;background:linear-gradient(135deg,#fff4f4,#fff);color:#111;padding:16px 18px;margin-bottom:17px;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left}.galleryApprovalAlert span{display:grid;gap:4px}.galleryApprovalAlert small{color:var(--m)}.galleryApprovalAlert strong{color:var(--r);white-space:nowrap}
@media(max-width:900px){.galleryGrid{grid-template-columns:1fr 1fr}.galleryAlbumCover{height:220px}.galleryModalGrid{grid-template-columns:1fr 1fr}.galleryAdminCard{grid-template-columns:140px 1fr}.galleryAdminCard img{height:120px}.galleryAdminBadge{float:none;margin-left:7px}}
@media(max-width:800px){.galleryNav{background:#111!important;color:#fff!important;border-color:#111!important}.galleryHero{padding:42px 0}.galleryUploadGrid{grid-template-columns:1fr}.galleryUploadGrid .wide{grid-column:auto}.gallerySectionHead{display:block}.gallerySectionHead>p{margin:0 0 18px}.galleryModal{padding:8px}.galleryModalPanel{max-height:calc(100vh - 16px);padding:18px;border-radius:18px}}
@media(max-width:560px){.galleryGrid,.galleryModalGrid{grid-template-columns:1fr}.galleryAlbumCover{height:235px}.galleryUploadHead{gap:8px}.galleryRules{grid-template-columns:1fr}.galleryMineRow{grid-template-columns:64px minmax(0,1fr)}.galleryMineRow img,.galleryMinePlaceholder{width:64px;height:54px}.galleryMineRow>button{grid-column:2}.galleryAdminCard{grid-template-columns:1fr}.galleryAdminCard img{height:230px}.galleryAdminSummary,.galleryApprovalAlert{align-items:flex-start;flex-direction:column}.galleryApprovalAlert strong{white-space:normal}.galleryModalHead h2{font-size:29px}}

/* Gallery workspace: viewing, uploading, and personal submissions stay separate. */
.galleryLayout{scroll-margin-top:18px}.galleryWorkspaceNav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px;margin-bottom:32px;border:1px solid var(--l);border-radius:20px;background:#f5f5f7}.galleryWorkspaceNav button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center;text-align:left;border:0;border-radius:14px;padding:13px 15px;background:transparent;color:#5b5c63;cursor:pointer}.galleryWorkspaceNav button span{grid-row:1/3;display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#fff;color:#777;font-size:10px;font-weight:950}.galleryWorkspaceNav button b{font-size:14px;color:#222}.galleryWorkspaceNav button small{font-size:11px;margin-top:2px}.galleryWorkspaceNav button.active{background:#111;color:#fff;box-shadow:0 8px 24px #0002}.galleryWorkspaceNav button.active span{background:var(--r);color:#fff}.galleryWorkspaceNav button.active b{color:#fff}.galleryView[hidden]{display:none!important}.galleryUpload.galleryView{display:block;margin-bottom:0}.galleryMine.galleryView{margin-top:0}.galleryMineHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.galleryBackButton{flex:0 0 auto;border:1px solid var(--l);border-radius:12px;background:#fff;padding:11px 13px;font-size:12px;font-weight:900}.galleryFilters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.galleryFilters button{border:1px solid var(--l);border-radius:999px;background:#fff;padding:10px 14px;color:#555;font-size:12px;font-weight:900}.galleryFilters button.active{border-color:#111;background:#111;color:#fff}
@media(max-width:800px){.galleryWorkspaceNav{grid-template-columns:1fr}.galleryWorkspaceNav button{grid-template-columns:auto 1fr auto;grid-template-rows:auto}.galleryWorkspaceNav button span{grid-row:auto}.galleryWorkspaceNav button small{justify-self:end}}
@media(max-width:560px){.galleryUploadHead,.galleryMineHead{display:grid;gap:12px}.galleryBackButton{justify-self:start}.galleryWorkspaceNav button{grid-template-columns:auto 1fr;grid-template-rows:auto auto}.galleryWorkspaceNav button span{grid-row:1/3}.galleryWorkspaceNav button small{justify-self:start}}
