/* News engagement UX v0.20.4 */

/* Article actions -------------------------------------------------------- */
.rp-reader-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin-top:16px}.rp-reader-meta{display:inline-flex;align-items:center;gap:8px;color:var(--rp-text);font-size:.94rem;font-weight:750}.rp-reader-meta__icon{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;color:var(--rp-text)}.rp-reader-meta__icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.85;fill:none;stroke-linecap:round;stroke-linejoin:round}.rp-reader-actions__group{display:flex;flex-wrap:wrap;gap:9px}.rp-reader-actions__group form{margin:0}.rp-reader-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 16px;border:1px solid var(--rp-border,#d6dbe4);border-radius:999px;background:rgba(255,255,255,.92);color:var(--rp-text,#15202b);font-size:.95rem;font-weight:750;line-height:1;text-decoration:none;cursor:pointer;box-shadow:0 5px 16px rgba(16,24,40,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease}.rp-reader-action:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--rp-accent) 32%,var(--rp-border));box-shadow:0 9px 22px rgba(16,24,40,.075)}.rp-reader-action:focus-visible{outline:3px solid color-mix(in srgb,var(--rp-accent) 24%,transparent);outline-offset:3px}.rp-reader-action__icon{display:grid;flex:0 0 auto;width:21px;height:21px;place-items:center;color:inherit}.rp-reader-action__icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease,fill .18s ease,stroke .18s ease,opacity .18s ease}.rp-reader-action.is-active{border-color:color-mix(in srgb,var(--rp-accent) 22%,var(--rp-border));background:color-mix(in srgb,var(--rp-accent) 8%,#fff);color:var(--rp-text);box-shadow:0 8px 22px color-mix(in srgb,var(--rp-accent) 12%,transparent)}.rp-reader-action[data-kind="save"].is-active .rp-reader-action__icon svg path{fill:currentColor}.rp-reader-action[data-kind="subscribe"].is-active .rp-reader-action__icon svg circle:last-child{fill:currentColor}.rp-reader-action.is-busy{pointer-events:none;opacity:.66}.rp-reader-action.is-busy .rp-reader-action__icon svg{animation:rpPulse .9s ease-in-out infinite}.rp-reader-actions__feedback{flex:0 0 100%;margin:0;color:var(--rp-muted,#667085);font-size:.86rem;line-height:1.45;min-height:1.3em;opacity:0;transform:translateY(-2px);transition:opacity .18s ease,transform .18s ease}.rp-reader-actions__feedback.is-visible{opacity:1;transform:none}.rp-reader-actions__feedback.is-success{color:#475467}.rp-reader-actions__feedback.is-error{color:#b42318}

/* Toast ----------------------------------------------------------------- */
.rp-reader-toast{position:fixed;left:50%;bottom:calc(22px + env(safe-area-inset-bottom));z-index:2147481000;display:flex;align-items:center;gap:9px;min-height:50px;padding:0 17px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(16,24,40,.95);color:#fff;font-size:.91rem;font-weight:700;box-shadow:0 14px 36px rgba(16,24,40,.24);transform:translate(-50%,18px);opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}.rp-reader-toast.is-visible{transform:translate(-50%,0);opacity:1}.rp-reader-toast__icon{display:grid;width:23px;height:23px;place-items:center;border-radius:50%;background:rgba(255,255,255,.12)}.rp-reader-toast__icon svg{width:13px;height:13px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}

/* Account panel --------------------------------------------------------- */
.rp-account-card--engagement{overflow:hidden}.rp-account-card--engagement>header{margin-bottom:18px}.rp-account-card__icon--engagement svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rp-engagement-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 0 18px;padding:4px;border:1px solid #e7eaf0;border-radius:14px;background:#f5f7fa}.rp-engagement-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:42px;padding:8px 11px;border:0;border-radius:10px;background:transparent;color:#667085;font:inherit;font-size:.88rem;font-weight:750;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}.rp-engagement-tabs button strong{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:rgba(102,112,133,.1);color:#667085;font-size:.74rem;line-height:1}.rp-engagement-tabs button.is-active{background:#fff;color:var(--rp-text);box-shadow:0 2px 9px rgba(16,24,40,.08)}.rp-engagement-tabs button.is-active strong{background:var(--rp-accent-soft);color:var(--rp-accent-dark)}.rp-engagement-tabs button:focus-visible{outline:3px solid color-mix(in srgb,var(--rp-accent) 24%,transparent);outline-offset:2px}.rp-account-card--engagement [role="tabpanel"][hidden]{display:none!important}

.rp-engagement-empty{display:grid;justify-items:start;gap:5px;padding:20px;border:1px dashed #dfe3ea;border-radius:16px;background:linear-gradient(135deg,#fbfcfd,#f7f9fb)}.rp-engagement-empty__icon{display:grid;width:40px;height:40px;place-items:center;margin-bottom:4px;border-radius:12px;background:#fff;color:#667085;box-shadow:0 3px 12px rgba(16,24,40,.06)}.rp-engagement-empty__icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.rp-engagement-empty strong{font-size:.96rem}.rp-engagement-empty p{max-width:48ch;margin:0;color:var(--rp-muted);font-size:.84rem;line-height:1.55}

.rp-engagement-list{display:grid}.rp-engagement-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 2px;border-bottom:1px solid #edf0f3}.rp-engagement-item:first-child{padding-top:2px}.rp-engagement-item:last-child{padding-bottom:2px;border-bottom:0}.rp-engagement-item__copy{min-width:0}.rp-engagement-item__copy>a{display:block;color:var(--rp-text);font-size:.94rem;font-weight:750;line-height:1.35;text-decoration:none;text-wrap:pretty}.rp-engagement-item__copy>a:hover{color:var(--rp-accent)}.rp-engagement-item__meta{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:5px;color:var(--rp-muted);font-size:.75rem}.rp-engagement-item__meta span{font-weight:650}.rp-engagement-item form{margin:0}.rp-engagement-item__remove{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--rp-border);border-radius:50%;background:#fff;color:#667085;cursor:pointer;transition:border-color .16s ease,color .16s ease,background .16s ease}.rp-engagement-item__remove:hover{border-color:#f2b8c0;background:#fff7f8;color:var(--rp-accent)}.rp-engagement-item__remove:focus-visible{outline:3px solid color-mix(in srgb,var(--rp-accent) 24%,transparent);outline-offset:2px}.rp-engagement-item__remove svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.rp-engagement-item.is-removing{opacity:.55;pointer-events:none}

@keyframes rpPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.92);opacity:.72}}

@media(max-width:700px){.rp-reader-actions{align-items:stretch;gap:11px}.rp-reader-meta{width:100%}.rp-reader-actions__group{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rp-reader-action{width:100%;padding:0 12px}.rp-reader-actions__group>.rp-reader-action:last-child,.rp-reader-actions__group>button:last-child{grid-column:1/-1}.rp-reader-toast{width:calc(100% - 24px);justify-content:center;text-align:center}.rp-engagement-item{gap:10px}.rp-engagement-item__copy>a{font-size:.91rem}}

@media(max-width:420px){.rp-engagement-tabs button{gap:6px;padding-inline:8px;font-size:.82rem}.rp-engagement-tabs button strong{min-width:23px;height:23px}.rp-engagement-empty{padding:17px}.rp-engagement-item__remove{width:36px;height:36px}}

@media(prefers-reduced-motion:reduce){.rp-reader-action,.rp-reader-actions__feedback,.rp-reader-toast,.rp-reader-action__icon svg,.rp-engagement-tabs button,.rp-engagement-item__remove{transition:none!important;animation:none!important}}
