.zgf-widget { --zgf-accent: #1a73e8; font-family: inherit; }
.zgf-w-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.zgf-w-head strong { font-size: 18px; }
.zgf-w-head span { font-size: 14px; opacity: .75; }
.zgf-star { color: #d5d7da; }
.zgf-star.is-on { color: #fbbc04; }

.zgf-w-body { display: grid; gap: 16px; }
.zgf-grid .zgf-w-body { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.zgf-list .zgf-w-body { grid-template-columns: 1fr; }
.zgf-slider .zgf-w-body { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
.zgf-slider .zgf-card { min-width: 280px; scroll-snap-align: start; }
.zgf-badge .zgf-w-body { display: none; }
.zgf-badge { display: inline-block; padding: 12px 18px; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; }

.zgf-card { border: 1px solid rgba(0,0,0,.1); border-radius: 12px; padding: 16px; background: #fff; }
.zgf-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.zgf-card header img, .zgf-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.zgf-avatar { display: grid; place-items: center; background: var(--zgf-accent); color: #fff; font-style: normal; font-weight: 600; }
.zgf-card header strong { display: block; font-size: 14px; }
.zgf-card header small { opacity: .65; font-size: 12px; }
.zgf-card p { font-size: 14px; line-height: 1.55; margin: 8px 0 0; }
.zgf-rate { font-size: 15px; }

.zgf-theme-dark .zgf-card { background: #1f2226; color: #f2f2f2; border-color: rgba(255,255,255,.12); }
.zgf-theme-minimal .zgf-card { border: 0; border-left: 3px solid var(--zgf-accent); border-radius: 0; padding-left: 14px; background: transparent; }

.zgf-notice { border: 1px dashed #f0b429; background: #fffaf0; color: #7a5200; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
