/* Portada pública de PixHub */
body:has(.ph-home){background:#fbfaf7;color:#1c242e;font-family:"Instrument Sans","Segoe UI",system-ui,sans-serif}
body:has(.ph-home) header{background:#fbfaf7;border-bottom:1px solid #dedfd9}
body:has(.ph-home) .brand{font:800 27px/1.2 "Instrument Sans","Segoe UI",sans-serif;letter-spacing:-1.7px;color:#172333}
body:has(.ph-home) nav a,body:has(.ph-home) nav button{color:#313946;font-weight:600;font-size:.92rem}
body:has(.ph-home) nav .action,body:has(.ph-home) nav a[href*="register"]{background:#212d3a;color:white;border-radius:8px;padding:9px 15px}
body:has(.ph-home) main{padding-top:28px}
.ph-home{--ink:#192735;--line:#d9ddd9;--muted:#53606b}
.ph-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:55% 45%;align-items:stretch;background:#101823;color:white;border-radius:18px;min-height:376px}
.ph-intro{position:relative;z-index:1;align-self:center;padding:clamp(28px,4.4vw,64px)}
.ph-hero h1{font:650 clamp(36px,4.45vw,68px)/1.04 "Instrument Sans","Segoe UI",sans-serif;letter-spacing:-.062em;color:#fff;margin:0}
.ph-hero p{font-size:clamp(15px,1.3vw,18px);color:#d3dbe4;max-width:40ch;margin:20px 0 28px}
.ph-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.ph-actions a{font-weight:650;color:#f2f5fa;font-size:.95rem}
.ph-actions span{margin-left:4px}
.ph-actions .ph-upload{background:#d1f889;color:#17232a;padding:12px 18px;border-radius:8px}
.ph-hero figure{position:relative;overflow:hidden;min-height:100%;margin:0;background:#07090c}
.ph-hero figure img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}
.ph-hero figcaption{position:absolute;bottom:0;left:0;right:0;padding:32px 20px 13px;color:#fff;font:600 13px/1.4 system-ui;background:linear-gradient(transparent,#080e18cc);display:flex;gap:8px;align-items:center}
.ph-hero figcaption span{font-weight:400;color:#e7e7eb}
.ph-gallery{margin:clamp(32px,4vw,58px) 0 16px;scroll-margin-top:16px}
.ph-gallery>h2,.ph-gallery>h1{margin:0 0 16px;font:650 clamp(27px,3vw,42px)/1.1 "Instrument Sans","Segoe UI",sans-serif;letter-spacing:-.05em}
.ph-gallery .filters{margin:0 0 24px;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:white}
.ph-gallery .filters input,.ph-gallery .filters select{border-color:#d3d8d8;font-size:.93rem;color:var(--ink)}
.ph-gallery .filters button{background:var(--ink);font-weight:600}
.ph-gallery .grid{gap:26px 18px;grid-template-columns:repeat(auto-fill,minmax(min(245px,100%),1fr))}
.ph-gallery article{min-width:0}.ph-gallery article strong{font-size:1.03rem;color:var(--ink);margin-top:9px}.ph-gallery article small,.ph-gallery article small a{color:var(--muted)}
.ph-gallery .photo{border-radius:10px}.ph-gallery .photo span{background:#111b27e6}
.ph-gallery .empty{background:#f3f3ed;border:1px dashed #b9c5ba;padding:36px 16px;color:var(--ink)}.ph-gallery .empty strong{display:block;font-size:1.1rem}.ph-gallery .empty p{margin:5px 0}.ph-gallery .empty a{display:inline-block;margin-top:10px;text-decoration:underline}
@media(max-width:720px){.ph-hero{grid-template-columns:1fr;min-height:auto}.ph-hero figure{height:185px}.ph-intro{padding:30px 24px}.ph-hero figure img{object-position:50% 47%}.ph-hero h1{font-size:clamp(36px,7.5vw,50px)}.ph-hero p{margin:14px 0 20px}.ph-actions{gap:16px}.ph-gallery .filters input{flex-basis:100%}.ph-gallery .filters select,.ph-gallery .filters button{min-width:0}.ph-gallery .filters{gap:7px}.ph-gallery .grid{grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr))}}
