.pgr-widget{--pgr-bg:#fff;--pgr-card:#f7f7f8;--pgr-text:#1f2328;--pgr-muted:#5f6670;--pgr-star:#f6bb06;--pgr-star-off:#d9dce1;--pgr-border:#e6e8eb;--pgr-accent:#1a73e8;--pgr-radius:10px;
	font-size:15px;line-height:1.5;color:var(--pgr-text);box-sizing:border-box;margin:0 0 1.5em;container-type:inline-size;container-name:pgr}
.pgr-inner{display:flex;gap:24px;align-items:stretch}
.pgr-widget *,.pgr-widget *::before,.pgr-widget *::after{box-sizing:border-box}
.pgr-widget.pgr-dark{--pgr-bg:#16181c;--pgr-card:#22252b;--pgr-text:#eceef1;--pgr-muted:#a3a9b3;--pgr-star-off:#474b53;--pgr-border:#2f333a;--pgr-accent:#8ab4f8}
.pgr-widget a{color:inherit}

/* header (rating summary) */
.pgr-header{flex:0 0 200px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;padding:8px 4px}
.pgr-rating-word{font-size:20px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.pgr-header-stars{display:flex;align-items:center;gap:6px}
.pgr-header .pgr-stars{--s:22px}
.pgr-score{font-weight:700;font-size:16px}
.pgr-based{font-size:14px;color:var(--pgr-muted)}
.pgr-based a{text-decoration:none}
.pgr-based a:hover{text-decoration:underline}
.pgr-source{font-size:17px;font-weight:600;color:var(--pgr-muted);letter-spacing:.01em}
.pgr-write{display:inline-block;margin-top:8px;padding:7px 14px;border:1px solid var(--pgr-border);border-radius:999px;font-size:13px;font-weight:600;text-decoration:none;color:var(--pgr-accent)!important;background:var(--pgr-bg)}
.pgr-write:hover{border-color:var(--pgr-accent)}
.pgr-layout-badge{container-type:normal}.pgr-layout-badge .pgr-inner{display:inline-flex}
.pgr-header-badge{flex:none;border:1px solid var(--pgr-border);border-radius:var(--pgr-radius);padding:16px 22px;background:var(--pgr-bg)}

/* stars */
.pgr-stars{--s:17px;display:inline-flex;gap:2px;vertical-align:middle}
.pgr-star{width:var(--s);height:var(--s);display:inline-block;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") center/contain no-repeat;
	background:var(--pgr-star-off,#d9dce1)}
.pgr-star-100{background:var(--pgr-star,#f6bb06)}
.pgr-star-50{background:linear-gradient(90deg,var(--pgr-star,#f6bb06) 50%,var(--pgr-star-off,#d9dce1) 50%)}

/* cards */
.pgr-body{flex:1;min-width:0;position:relative;display:flex;align-items:center}
.pgr-track{display:flex;gap:16px;width:100%}
.pgr-card{background:var(--pgr-card);border-radius:var(--pgr-radius);padding:18px 18px 16px;display:flex;flex-direction:column;gap:8px;min-width:0}
.pgr-card-head{display:flex;align-items:center;gap:10px}
.pgr-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}
.pgr-avatar-initial{display:inline-flex;align-items:center;justify-content:center;background:var(--pgr-accent);color:#fff;font-weight:600;font-size:17px}
.pgr-meta{min-width:0;flex:1}
.pgr-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgr-date{display:block;font-size:13px;color:var(--pgr-muted)}
.pgr-text{font-size:14.5px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.pgr-card.pgr-open .pgr-text{-webkit-line-clamp:unset;display:block}
.pgr-more{align-self:flex-start;background:none;border:0;padding:0;font:inherit;font-size:13px;color:var(--pgr-muted);cursor:pointer;text-decoration:underline}
.pgr-more:hover{color:var(--pgr-text);background:none}
.pgr-reply{margin-top:4px;padding:10px 12px;border-left:3px solid var(--pgr-border);font-size:13.5px;color:var(--pgr-muted)}
.pgr-reply-label{font-weight:600;color:var(--pgr-text);margin-bottom:2px}
.pgr-footnote{flex-basis:100%;margin:6px 0 0;font-size:12.5px;color:var(--pgr-muted);text-align:center}
.pgr-footnote a{text-decoration:underline}

/* slider */
.pgr-inner{flex-wrap:wrap}
.pgr-layout-slider .pgr-track{overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px}
.pgr-layout-slider .pgr-track::-webkit-scrollbar{display:none}
.pgr-layout-slider .pgr-card{scroll-snap-align:start;flex:0 0 calc((100% - 32px)/3)}
.pgr-nav{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--pgr-border);background:var(--pgr-bg);color:var(--pgr-text);font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 3px;margin:0 6px}
.pgr-nav:hover{border-color:var(--pgr-muted);background:var(--pgr-bg);color:var(--pgr-text)}
.pgr-nav[disabled]{opacity:.35;cursor:default}

/* grid & list */
.pgr-layout-grid .pgr-header,.pgr-layout-list .pgr-header{flex-basis:100%;flex-direction:row;flex-wrap:wrap;gap:6px 16px}
.pgr-layout-grid .pgr-track{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.pgr-layout-list .pgr-track{flex-direction:column}
.pgr-layout-list .pgr-text{-webkit-line-clamp:10}

/* respond to the widget's own width (theme content columns are often narrow) */
@container pgr (max-width:1000px){.pgr-layout-slider .pgr-card{flex-basis:calc((100% - 16px)/2)}}
@container pgr (max-width:820px){
	.pgr-layout-slider .pgr-header{flex-basis:100%;flex-direction:row;flex-wrap:wrap;gap:6px 16px}
}
@container pgr (max-width:560px){
	.pgr-inner{gap:12px}
	.pgr-header{flex-direction:column!important}
	.pgr-layout-slider .pgr-card{flex-basis:88%}
	.pgr-nav{display:none}
	.pgr-layout-grid .pgr-track{grid-template-columns:1fr}
}
.pgr-empty{padding:12px;border:1px dashed #c3c4c7;color:#646970;font-size:14px}
