#polymarket{padding:26px;margin:24px 0;scroll-margin-top:24px;min-width:0}
#polymarket .pm-chart,#polymarket .pm-ranking{padding:22px}
#polymarket .ai-meta>div{padding:18px;min-width:0}
.pm-market-picker,.pm-periods,.pm-legend{display:flex;flex-wrap:wrap;gap:8px}
.pm-market-picker{margin:22px 0}.pm-market-picker button{padding:11px 18px;font-weight:700}
.pm-market-picker button[aria-pressed=true],.pm-periods button[aria-pressed=true]{background:#17354e;color:#fff;border-color:#17354e}
.pm-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.pm-heading h3{font-size:23px;line-height:1.35;margin:6px 0 6px}.pm-heading .source-link{flex-shrink:0}
.pm-heading-main{display:flex;align-items:center;gap:16px;min-width:0}
.pm-event-image{flex-shrink:0;width:64px;height:64px;border-radius:12px;overflow:hidden;background:#e8edf3}.pm-event-image img{width:100%;height:100%;object-fit:cover;display:block}
.pm-meta{font-size:12px;color:#6d7d90;margin:0 0 12px}
.pm-notice{padding:15px 18px;border-left:4px solid #4e799d;background:#edf3f8;border-radius:6px;line-height:1.6;color:#304d65}
.pm-notice.unconfirmed{background:#fff4df;border-color:#d58b22;color:#805116;font-weight:600}
.pm-status-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.pm-status-row p{font-size:12px;color:#337861}.pm-status-row p.pm-stale{color:#916021}
.pm-status-row button{white-space:nowrap}.pm-disclaimer{font-size:12px;color:#667489;line-height:1.65;margin:12px 0 22px}
#polymarket .ai-meta strong{font-size:20px}#polymarket .ai-meta small{display:block;margin-top:5px;color:#788699;font-size:10px}
.pm-chart,.pm-ranking{margin:20px 0;border:1px solid #e0e6ec;border-radius:10px;background:#fff}
.pm-ranking figcaption{font-weight:700;margin-bottom:8px}
.pm-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#e8edf3;border:2px solid var(--pm-color,#c5ceda);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.pm-avatar-text{font-size:12px;font-weight:700;color:#fff;background:var(--pm-color,#7c889a);letter-spacing:.5px}
.pm-legend{margin:0 0 10px;gap:8px 18px}
.pm-legend-item{display:inline-flex;align-items:center;gap:9px;padding:6px 10px 6px 6px;border:1px solid transparent;border-radius:999px;background:transparent;color:#20374e;font-size:13px;cursor:pointer}
.pm-legend-item:hover,.pm-legend-item:focus-visible{border-color:#d7dfe8;background:#f7f9fc}
.pm-legend-item .pm-avatar{width:28px;height:28px;font-size:10px}.pm-legend-item b{font-size:17px;font-variant-numeric:tabular-nums;color:var(--pm-color,#20374e)}
.pm-change{font-size:11px;font-weight:700;padding:2px 6px;border-radius:5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.pm-change.up{color:#1a7f4f;background:#e6f5ec}.pm-change.down{color:#b23c3c;background:#fbe9e9}.pm-change.flat{color:#6d7d90;background:#eef1f5}
.pm-plot{position:relative;min-height:200px}
.pm-svg{width:100%;height:auto;display:block;overflow:visible;touch-action:pan-y}
.pm-svg .pm-grid{stroke:#e6ebf1;stroke-width:1}.pm-svg .pm-axis{font-size:12px;fill:#7c899a;font-family:inherit}
.pm-svg .pm-line{fill:none;stroke-width:2.25;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.pm-svg .pm-end{stroke:#fff;stroke-width:2}
.pm-svg .pm-cursor line{stroke:#9aa7b7;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.pm-svg .pm-cursor circle{stroke:#fff;stroke-width:2}
.pm-svg .pm-hit{cursor:crosshair}
.pm-tooltip{position:absolute;top:8px;min-width:170px;max-width:270px;padding:10px 12px;background:#17354e;color:#fff;border-radius:8px;font-size:12px;line-height:1.7;pointer-events:none;box-shadow:0 6px 20px rgba(17,32,50,.25);z-index:2}
.pm-tooltip strong{display:block;font-size:11px;color:#c7d3e0;font-weight:600;margin-bottom:4px}
.pm-tooltip span{display:flex;align-items:center;gap:6px;white-space:nowrap}.pm-tooltip span b{margin-left:auto;padding-left:12px;font-variant-numeric:tabular-nums}
.pm-chart-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.pm-periods{gap:4px}.pm-periods button{padding:6px 11px;font-size:12px;font-weight:700;letter-spacing:.3px;border-radius:6px}
#pm-history-status{margin:0;color:#7c899a}
.pm-readout{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:11px;margin:12px 0 0;padding-top:12px;border-top:1px solid #e8edf3;line-height:1.8;color:#5f6f83}.pm-readout>strong{color:#274863}.pm-readout span{white-space:nowrap;display:inline-flex;align-items:center}.pm-readout b{margin-left:5px;color:#20374e}
.pm-dot{width:9px;height:9px;display:inline-block;flex-shrink:0;border-radius:50%;margin-right:7px}
.pm-outcome{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px 14px;margin:0 -14px;border-top:1px solid #edf1f5;border-radius:8px}.pm-outcome:first-child{border-top:0}
.pm-outcome.on{background:linear-gradient(90deg,#f1f5f9,rgba(241,245,249,0));border-top-color:transparent;margin-top:2px;margin-bottom:2px}.pm-outcome.on+.pm-outcome{border-top-color:transparent}
.pm-outcome-main{min-width:0;display:flex;flex-direction:column;gap:4px}.pm-outcome-main strong{font-size:14px}.pm-outcome-main .small{color:#7c899a}
.pm-outcome .ai-chart-track{margin-top:4px}
.pm-outcome-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:74px}.pm-outcome-percent{font-size:22px;font-variant-numeric:tabular-nums;color:#17354e;line-height:1}
.pm-toggle{font-size:11px;padding:7px 10px;color:#5f6f83;border:1px solid #e2e7ee;background:#f8fafc;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;border-radius:6px}
.pm-toggle[aria-pressed=true]{color:#20374e;border-color:#a9b8c9;background:#fff;font-weight:700}.pm-toggle[aria-pressed=false] .pm-dot{opacity:.35}.pm-toggle .pm-dot{margin-right:3px}
.pm-empty{padding:55px 15px;text-align:center;color:#7a8798;background:#f7f9fc;border-radius:8px;margin:0}
.pm-rules{font-size:12px;line-height:1.7;margin:22px 0}.pm-rules summary{font-weight:700;cursor:pointer}.pm-rules p{color:#6d7d90}
@media(max-width:760px){.pm-heading{align-items:flex-start;flex-direction:column;gap:0}.pm-heading h3{font-size:19px}.pm-heading .source-link{margin-bottom:12px}.pm-event-image{width:48px;height:48px}.pm-status-row{align-items:flex-start}.pm-status-row p{line-height:1.7}.pm-market-picker button{flex:1;padding:10px;font-size:12px}.pm-svg{min-height:190px}.pm-legend{gap:4px 10px}.pm-legend-item{font-size:12px;padding:4px 8px 4px 4px}.pm-legend-item b{font-size:15px}.pm-legend-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-tooltip{min-width:150px;font-size:11px}.pm-readout{flex-direction:column;gap:2px}.pm-outcome{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:12px 10px;margin-left:-10px;margin-right:-10px}.pm-outcome .pm-avatar{width:34px;height:34px}.pm-outcome-percent{font-size:18px}.pm-toggle{grid-column:2/-1;justify-self:start}.pm-chart-foot{flex-direction:column;align-items:flex-start}.pm-periods button{flex:1}}
@media(max-width:760px){#polymarket{padding:18px;margin:18px 0}#polymarket .pm-chart,#polymarket .pm-ranking{padding:14px}#polymarket .ai-meta>div{padding:16px}}
