.pg{--pg-ink:#20213d;--pg-purple:#7445dc;color:var(--pg-ink);max-width:1400px;margin:auto}.pg *{box-sizing:border-box}.pg-hero{padding:32px 36px;border:1px solid #d9cdf5;border-radius:24px;background:radial-gradient(ellipse at 85% 20%,#e0d0fd80,transparent 60%),linear-gradient(125deg,#eee7fc,#f8eff9);margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:32px;position:relative;overflow:hidden;box-shadow:0 10px 30px rgba(124,58,237,0.06)}
.pg-hero-content{flex:1;min-width:0;z-index:1}
.pg-hero-art{position:relative;width:270px;height:180px;min-width:270px;border-radius:20px;overflow:hidden;border:2px solid rgba(255,255,255,0.95);box-shadow:0 14px 34px rgba(124,58,237,0.22);transform:rotate(2deg);transition:transform .3s ease,box-shadow .3s ease;background:#ede9fe;display:block;flex-shrink:0;z-index:1}
.pg-hero-art:hover{transform:rotate(0deg) scale(1.03);box-shadow:0 18px 42px rgba(124,58,237,0.32)}
.pg-hero-art img{width:100%;height:100%;object-fit:cover;display:block}
.pg-hero-pill{position:absolute;bottom:8px;right:8px;background:rgba(15,23,42,0.85);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f1f5f9;font-size:0.72rem;font-weight:800;padding:4px 10px;border-radius:20px;border:1px solid rgba(255,255,255,0.2);display:inline-flex;align-items:center;gap:5px;pointer-events:none}
.pg-hero-pill i{color:#c084fc}
@media(max-width:860px){.pg-hero{flex-direction:column;align-items:stretch;padding:24px 20px;gap:20px}.pg-hero-art{width:100%;min-width:0;height:180px;transform:none}}.pg-eyebrow{font-size:11px;letter-spacing:1.6px;color:#7545bb;font-weight:800}.pg h1{font-size:clamp(26px,3vw,38px);line-height:1.25;letter-spacing:-1px;margin:12px 0}.pg-hero p{max-width:720px;color:#626782;line-height:1.8;margin:0}.pg-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.pg-stats span{background:#ffffffb8;border:1px solid #e4d9f3;padding:8px 13px;border-radius:30px;font-size:12px;font-weight:700}.pg-toolbar{display:flex;gap:16px;align-items:end;margin-bottom:16px}.pg-search{flex:1;max-width:600px;display:grid;gap:8px;font-size:13px;font-weight:700}.pg input{min-height:48px;border:1px solid #d9d5e8;border-radius:13px;padding:12px 16px;background:white;color:#20213d;font:inherit;width:100%;min-width:0}.pg input:focus{outline:3px solid #d9c8fc;outline-offset:2px}.pg-count{font-size:13px;color:#70758a;padding-bottom:14px}.pg-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.pg button{font:inherit;cursor:pointer}.pg-chip{border:1px solid #ded9eb;background:#fff;color:#655a7d;border-radius:30px;padding:9px 13px;font-size:12px!important;font-weight:700!important}.pg-chip[aria-pressed=true]{background:#7445dc;border-color:#7445dc;color:white;box-shadow:0 4px 14px #7445dc25}.pg button:focus-visible{outline:3px solid #b9a1ef;outline-offset:3px}.pg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pg-card{background:white;border:1px solid #e5e0ef;border-radius:20px;overflow:hidden;min-width:0;box-shadow:0 7px 24px #30204f08;display:flex;flex-direction:column}.pg-photo{width:100%;aspect-ratio:5/3;background-color:#e8e3f4;background-size:200% 500%;background-repeat:no-repeat;flex:none}.pg-photo-button{padding:0!important;border:0;display:block;width:100%;position:relative;background:transparent;overflow:hidden}.pg-photo-button:after{content:'View example ↗';position:absolute;right:10px;bottom:10px;padding:6px 10px;border-radius:8px;background:#171c37d9;color:#fff;font-size:10px;font-weight:700;pointer-events:none}.pg-card-body{padding:20px;display:flex;flex-direction:column;flex:1;gap:12px}.pg-card-kicker{display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:800;color:#8053bb}.pg-card h2{font-size:19px;line-height:1.4;margin:0;letter-spacing:-.3px}.pg-card details{font-size:13px;line-height:1.7;color:#68708a;overflow-wrap:anywhere;flex:1}.pg-card summary{font-weight:700;color:#6b4eaa;cursor:pointer}.pg-prompt{font-size:13px;line-height:1.8;color:#58617a;margin:12px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.pg-copy{border:0;border-radius:11px;min-height:43px;background:#eee7fb;color:#6b3cc3;font-size:13px!important;font-weight:800!important;padding:10px 14px}.pg-copy:hover{background:#e5d8fa}.pg-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:30px 0 12px;font-size:13px;color:#626782}.pg-pagination button{background:white;border:1px solid #ded9eb;border-radius:10px;padding:11px 16px;color:#654b91}.pg-pagination button:disabled{opacity:.4;cursor:default}.pg-empty{grid-column:1/-1;border:1px dashed #d0c5e6;border-radius:16px;padding:30px;background:#fff;text-align:center;color:#70758a}.pg-status{min-height:22px;font-size:12px;color:#547268;margin:10px 0}.pg-note{font-size:12px;line-height:1.8;color:#858098;margin-top:16px}.pg-dialog{border:1px solid #e5def0;border-radius:24px;padding:24px;width:min(900px,calc(100% - 32px));max-height:90vh;color:#20213d;overflow:auto;box-shadow:0 20px 70px #171c3740}.pg-dialog::backdrop{background:#13182b99;backdrop-filter:blur(4px)}.pg-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.pg-dialog h2{margin:0;font-size:23px}.pg-dialog-close{border:1px solid #ddd4ed;border-radius:10px;padding:10px 14px;background:white;color:#5f5079;font:inherit;cursor:pointer}.pg-dialog .pg-photo{border-radius:16px}.pg-dialog .pg-copy{margin-top:18px}.pg-dialog .pg-prompt{font-size:14px}.pg-manual-copy{width:100%;height:180px;padding:12px;border:1px solid #d9c8fc;border-radius:12px;color:#20213d;background:#fff;font:13px/1.7 monospace}.pg-locked{padding:24px;border-radius:18px;background:#fff;border:1px solid #e4dbef}.pg[hidden],.pg-dialog [hidden]{display:none!important}@media(max-width:1250px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.pg-hero{padding:24px 20px;border-radius:20px}.pg-grid{grid-template-columns:minmax(0,1fr);gap:16px}.pg-toolbar{display:block}.pg-search{max-width:none}.pg-count{display:block;padding:12px 0 0}.pg-chip{padding:9px 11px}.pg-card-body{padding:18px}.pg-dialog{padding:18px}.pg-dialog-head{align-items:start}.pg-dialog h2{font-size:20px}.pg-pagination{gap:10px}.pg-pagination button{padding:10px 13px}}

.pg-favorite{align-self:start;border:1px solid #e1d5f4;border-radius:8px;padding:7px 11px;background:white;color:#77559e;font-size:12px!important;font-weight:700!important}.pg-favorite[aria-pressed=true]{background:#fff5dc;border-color:#eed18f;color:#8d6409}.pg-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pg-comparison figure{margin:0;min-width:0}.pg-comparison figcaption{font-size:12px;font-weight:700;color:#75628f;padding:10px 2px}.pg-reference-photo{background-size:100% 200%}.pg-edit-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.pg-edit-tools label{font-size:12px;font-weight:700;display:grid;gap:9px;color:#655878}.pg-edit-tools select{width:100%;min-width:0;padding:12px;border:1px solid #dbd2e9;border-radius:11px;background:#faf8ff;color:#302443;font:inherit}.pg-breakdown{padding:16px;border:1px solid #e2d9ef;background:#faf7ff;border-radius:13px;color:#695777;font-size:13px;line-height:1.7}.pg-breakdown summary{font-weight:800;cursor:pointer}.pg-breakdown dl{margin:14px 0 0}.pg-breakdown dt{font-weight:700;color:#604486;margin-top:10px}.pg-breakdown dd{margin:3px 0;color:#667085}.pg-copy-heading{font-size:15px;margin:22px 0 10px;color:#5d407e}.pg-toolbar #pgFavoritesFilter{align-self:end;min-height:46px;white-space:nowrap}@media(max-width:650px){.pg-comparison,.pg-edit-tools{grid-template-columns:minmax(0,1fr)}.pg-toolbar #pgFavoritesFilter{margin:8px 0}.pg-count{display:inline-block;margin-right:12px}}

.pg-dialog{margin:auto}

/* ⚡ Skeleton Shimmer Loading UI */
.pg-skeleton-card{background:white;border:1px solid #e5e0ef;border-radius:20px;overflow:hidden;box-shadow:0 7px 24px #30204f08;display:flex;flex-direction:column}
.pg-skeleton-photo{width:100%;aspect-ratio:5/3;background:linear-gradient(90deg,#eeeaf5 25%,#f7f3fd 50%,#eeeaf5 75%);background-size:200% 100%;animation:pgShimmer 1.5s infinite}
.pg-skeleton-body{padding:20px;display:flex;flex-direction:column;gap:12px}
.pg-skeleton-line{height:14px;border-radius:6px;background:linear-gradient(90deg,#eeeaf5 25%,#f7f3fd 50%,#eeeaf5 75%);background-size:200% 100%;animation:pgShimmer 1.5s infinite}
.pg-skeleton-line.short{width:40%}
.pg-skeleton-line.medium{width:70%}
.pg-skeleton-line.btn{height:42px;border-radius:11px;width:100%;margin-top:6px}
@keyframes pgShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

