.pg-core{--pg-accent:#973e66;max-width:1120px;margin:1rem auto;color:#27222a;line-height:1.65}.pg-core header{padding:1.6rem;border-radius:16px;background:#f9edf2}.pg-core h2,.pg-core h3,.pg-core h4{color:#34242d;margin:.6rem 0}.pg-core h2{font-size:2rem}.pg-core details,.pg-core article,.pg-person{padding:1rem;border:1px solid #e4d9df;border-radius:12px;margin:.6rem 0;background:#fff}.pg-core article .pg-person{border:0;padding:0}.pg-core .pg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:12px}.pg-core label{display:block;margin:.5rem 0}.pg-core input,.pg-core textarea,.pg-core select{display:block;width:100%;box-sizing:border-box;padding:.5rem;border:1px solid #c7bfc4;border-radius:5px;background:#fff;color:#222}.pg-core button{border:0;background:var(--pg-accent);color:white;padding:.55rem 1rem;border-radius:7px;cursor:pointer;margin:.2rem 0}.pg-core button.pg-secondary{background:#f5edf1;color:#60334a}.pg-core a{color:#803755}.pg-core .pg-cats{display:flex;flex-wrap:wrap;gap:8px;margin:1rem 0}.pg-core .pg-cats a{border:1px solid #e4d9df;border-radius:16px;padding:.2rem .7rem;text-decoration:none}.pg-core .pg-notice{background:#f4f2f5;padding:.75rem;border-left:3px solid var(--pg-accent)}.pg-core .pg-form{margin:.5rem 0}.pg-core small{color:#625762}
.pg-core .pg-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:12px 0}.pg-core .pg-gallery figure{margin:0;min-width:0;border:1px solid #e4d9df;border-radius:10px;padding:8px;overflow:hidden}.pg-core .pg-gallery img,.pg-core .pg-cover{width:100%;height:auto;display:block;border-radius:8px;object-fit:contain}.pg-core article .pg-cover{aspect-ratio:4/3;object-fit:cover}.pg-core .pg-gallery figcaption{font-size:.9rem;overflow-wrap:anywhere}.pg-core input[type=checkbox]{display:inline;width:auto;margin-right:.3em}.pg-core input[type=file]{max-width:100%}
.pg-core .pg-story-photo{display:block;width:auto;max-width:100%;max-height:500px;object-fit:contain;border-radius:8px}.pg-core .pg-fan-story p{overflow-wrap:anywhere}.pg-core .pg-promo{padding:1rem;border:1px solid #e4d9df;border-radius:10px}.pg-core .pg-promo canvas{max-width:100%;height:auto;max-height:650px;margin:12px auto;display:block}.pg-core .pg-promo [hidden]{display:none!important}

.pg-core .pg-community{margin:1.25rem 0;padding:1rem;border:1px solid #ddd;border-radius:12px;overflow-wrap:anywhere}.pg-core .pg-community-post{margin:0.75rem 0;padding:0.8rem;border:1px solid #e3e3e3;border-radius:8px}.pg-core .pg-community-post p{white-space:normal;overflow-wrap:anywhere}.pg-core .pg-community .pg-form{margin:0.5rem 0}.pg-core .pg-community small{display:block}

.pg-core .pg-homepage{border:1px solid #ddd;border-radius:12px;padding:clamp(12px,3vw,24px);margin:1rem 0;overflow-wrap:anywhere}.pg-core .pg-home-cover{display:block;width:100%;height:auto;max-height:360px;object-fit:cover;border-radius:10px}.pg-core .pg-home-headline{font-size:1.2em;font-weight:700}.pg-core .pg-home-edit input,.pg-core .pg-home-edit textarea{max-width:100%}

/* 0.2.5 catalog: reuse the existing grid and responsive media. */
.pg-products article img {width:100%;height:auto;max-height:220px;object-fit:contain;display:block;}
.pg-product-detail .pg-gallery img {width:100%;height:auto;max-height:480px;object-fit:contain;}
.pg-product-detail input[readonly] {max-width:100%;}

/* Manual social profile links; standalone theme work is a later release. */
.pg-core .pg-social-links{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0 .4rem}
.pg-core .pg-social-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1rem;border-radius:8px;font-weight:600;text-decoration:none;color:#fff;box-sizing:border-box;line-height:1.4}
.pg-core .pg-social-links .pg-social-instagram{background:#a62a69;color:#fff}
.pg-core .pg-social-links .pg-social-threads{background:#252525;color:#fff}
.pg-core .pg-social-links a:focus-visible{outline:3px solid #4678ba;outline-offset:3px}
/* Manually registered SNS posts; display on explicit user request. */
.pg-core .pg-social-posts{margin:1.2rem 0;padding:1rem;border:1px solid #e5d7e0;border-radius:12px;background:#fff;color:#29232a}
.pg-core .pg-sp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:12px;margin:0 0 1rem}
.pg-core .pg-sp-card,.pg-core .pg-sp-owner{border:1px solid #e5d7e0;border-radius:10px;padding:12px;min-width:0;overflow-wrap:anywhere;background:#fff;color:#29232a}
.pg-core .pg-sp-card h4{margin:.4rem 0;font-size:1rem}.pg-core .pg-sp-card small{color:#814568}.pg-core .pg-sp-frame{margin-top:12px}.pg-core .pg-sp-frame[hidden]{display:none}.pg-core .pg-sp-frame iframe{width:100%;height:640px;border:1px solid #ddd;border-radius:6px;background:#fff}.pg-core .pg-sp-owner{margin:.6rem 0}

/* v0.3.6 display polish; no changes to action forms or data. */
.pg-core{overflow-wrap:anywhere}.pg-core>header{border-radius:15px;background:linear-gradient(120deg,#f7e4ee,#faf5f8);border:1px solid #ebd4e1;padding:clamp(18px,3vw,30px)}.pg-core>header h2{line-height:1.35;margin:0 0 .5rem}.pg-core>header p{margin:.4rem 0 .8rem}.pg-core>header small{display:block}
.pg-core .pg-grid>article{min-width:0;margin:0;border-radius:14px;padding:16px;box-shadow:0 2px 9px #3d243609}.pg-core .pg-grid>article h4{font-size:1.13rem;line-height:1.4}.pg-core .pg-grid>article p{margin:.5rem 0}.pg-core .pg-ranking-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.pg-core .pg-ranking-place{display:inline-flex;align-items:center;border-radius:7px;padding:5px 12px;background:#f1e8ed;color:#56394a;font-size:1.05rem}.pg-core .pg-place-1{background:#f6e4b7;color:#684b0e}.pg-core .pg-place-2{background:#e6e9ee;color:#3d4858}.pg-core .pg-place-3{background:#f3dfd3;color:#77422a}.pg-core .pg-ranking-score{font-size:1.35rem;font-weight:750;font-variant-numeric:tabular-nums;color:#843858}.pg-core .pg-ranking-score small{font-size:.75rem}.pg-core .pg-ranking-card .pg-cover{aspect-ratio:4/3;object-fit:cover}.pg-core .pg-ranking-card .pg-person h4{margin-top:.75rem}.pg-core .pg-grid>article .pg-person{min-width:0;margin:0}.pg-core .pg-cats a[aria-current=page]:not(.pg-customized *){background:#914060;color:white;border-color:#914060;font-weight:700}.pg-core .pg-cats a{padding:.4rem .8rem}.pg-core .pg-cats a:focus-visible,.pg-core summary:focus-visible{outline:3px solid #914060;outline-offset:2px}
.pg-core .pg-products>article img{border-radius:10px}.pg-core .pg-event-card:not(.pg-customized *){border-inline-start:4px solid #b16b8a;box-shadow:0 2px 8px #3d243609}.pg-core .pg-event-card h3{line-height:1.45}.pg-core table a[aria-current=date]{font-weight:800;text-decoration:none}.pg-core.pg-account>details{border-radius:10px;margin:.8rem 0}.pg-core.pg-account>details summary{font-weight:700;padding:4px 0}.pg-core.pg-account>details ul{padding-inline-start:1.5rem}.pg-core .pg-ad{border-style:dashed;border-radius:10px}.pg-core .pg-ad-label{letter-spacing:.08em}

.pg-core .pg-award-badges{display:flex;flex-wrap:wrap;gap:8px}.pg-core .pg-award-badge{border:1px solid currentColor;border-radius:10px;padding:10px 14px}.pg-core .pg-award-medal{display:inline-grid;place-items:center;width:1.7em;height:1.7em;border-radius:50%;background:#f2e0b1;color:#735214}

/* Reference-led card vocabulary; member palette excluded. */
.pg-design-shell .pg-core :is(.pg-grid>article,.pg-products>article,.pg-event-card,.pg-sp-card):not(.pg-customized *){border-color:#e8dce6;border-radius:12px;background:linear-gradient(160deg,#fff,#fdf8fc);box-shadow:0 3px 12px #78506c0b}.pg-design-shell .pg-core :is(.pg-grid>article,.pg-products>article) img{border-radius:9px;max-width:100%;height:auto}.pg-design-shell .pg-core .pg-social-links .pg-social-instagram{background:linear-gradient(115deg,#aa396c,#86449a);color:#fff}.pg-design-shell .pg-core .pg-social-links .pg-social-threads{background:#242128;color:#fff}.pg-design-shell .pg-core .pg-ranking-meta{border-bottom:1px solid #efe3ec;padding-bottom:10px}.pg-design-shell .pg-core .pg-ranking-score{font-variant-numeric:tabular-nums}

/* Standalone shortcode display. */
.pg-core a,.pg-core a:hover,.pg-core a:focus,.pg-core a:active,.pg-core u,.pg-ad a,.pg-ad a:hover{text-decoration:none!important}
.pg-core :is(h1,h2,h3,h4,h5,h6){border-bottom:0!important;text-decoration:none!important}
.pg-core :is(h1,h2,h3,h4,h5,h6)::before{content:"▶";display:inline-block;margin-inline-end:.35em;font-size:.8em;flex:none}

/* Red right-pointing markers for text links; headings retain their existing markers. */
:is(.pg-core,.pg-tools,.pg-ad) a[href]:not(.pg-design-brand,.pg-design-skip,.button,.wp-block-button__link):not(:empty):not(:has(> img:only-child,> svg:only-child)){text-decoration:none!important}
:is(.pg-core,.pg-tools,.pg-ad) a[href]:not(.pg-design-brand,.pg-design-skip,.button,.wp-block-button__link):not(:empty):not(:has(> img:only-child,> svg:only-child))::before{content:"▶";display:inline-block;color:#e32636!important;font-size:.8em;margin-inline-end:.35em;flex:none}

/* Ranking promotion: spacing and copy fields at the top of the existing member card. */
.pg-core .pg-ranking-promotion .pg-promotion-leading-url,.pg-core .pg-ranking-promotion .pg-promotion-guide{margin:16px 0;min-width:0;max-width:100%;box-sizing:border-box}
.pg-core .pg-ranking-promotion .pg-promotion-leading-url label{display:block}
.pg-core .pg-ranking-promotion .pg-promotion-leading-url input,.pg-core .pg-ranking-promotion .pg-promotion-guide input{width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:6px 0 10px}
.pg-core .pg-ranking-promotion .pg-promotion-guide input[hidden]{display:none!important}
.pg-core .pg-ranking-promotion .pg-promotion-guide p{margin:0 0 8px}
.pg-core .pg-ranking-promotion .pg-promotion-leading-url [role="status"],.pg-core .pg-ranking-promotion .pg-promotion-guide [role="status"]{display:block;overflow-wrap:anywhere;font-size:.85rem}
