text.svelte-1w72fc9{text-shadow:1px 1px 1px rgb(255 255 255 / 90%),1px -1px 1px rgb(255 255 255 / 90%),-1px 1px 1px rgb(255 255 255 / 90%),-1px -1px 1px rgb(255 255 255 / 90%)}/*!
 * EPScatter — stylesheet for the participación vs margen del ganador chart.
 * Load once in the site <head>, alongside d3.v7 and ep-scatter.js.
 */@font-face{font-family:MarcinAntB;font-style:normal;font-weight:200;font-display:swap;src:url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-light-webfont.woff2) format("woff2"),url(https://static.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-light-webfont.woff) format("woff")}.ep-scatter{--bg: #fafaf7;--fg: #1a1a1a;--muted: #6b6b6b;--soft: #9a9a95;--grid: #e6e6e2;--axis: #b8b8b3;--legend-border: #d8d8d3;--tooltip-border: #d8d8d3;--shadow: 0 2px 14px rgba(0, 0, 0, .1);--font: MarcinAntB, sans-serif;font-family:var(--font);color:var(--fg);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;box-sizing:border-box;position:relative}.ep-scatter *,.ep-scatter *:before,.ep-scatter *:after{box-sizing:border-box}.ep-scatter button{font-family:inherit}.ep-scatter .controls{order:2}.ep-scatter .legend{order:3}.ep-scatter .chart-wrap{order:4}.ep-scatter .tooltip-anchor{order:5}.ep-scatter .legend{display:flex;flex-wrap:wrap;gap:4px 8px;margin:8px 0 4px;font-size:13px}.ep-scatter .legend-item{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;cursor:pointer;user-select:none;border-radius:4px;border:1px solid var(--legend-border);background:transparent;color:var(--fg);font:inherit;line-height:1}.ep-scatter .legend-item:hover{background:#00000008}.ep-scatter .legend-item.muted{opacity:.35}.ep-scatter .legend-item:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.ep-scatter .legend-swatch{width:10px;height:10px;border-radius:50%;display:inline-block}.ep-scatter .controls{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:4px 0 6px;margin:0}.ep-scatter .slider-block{width:100%;max-width:540px;display:flex;flex-direction:column;gap:2px}.ep-scatter .year-display{font-variant-numeric:tabular-nums;font-weight:700;font-size:1.9rem;line-height:1;letter-spacing:-.01em;margin-bottom:4px}.ep-scatter .controls input[type=range]{width:100%;accent-color:var(--fg);margin:0}.ep-scatter .slider-ticks{display:flex;justify-content:space-between;font-size:11px;color:var(--soft);font-variant-numeric:tabular-nums;pointer-events:none;margin-top:2px}.ep-scatter .controls-buttons{display:flex;gap:8px;align-items:center}.ep-scatter button.play-btn{background:var(--fg);color:var(--bg);border:0;border-radius:4px;padding:6px 10px;cursor:pointer;font:inherit;font-weight:600;font-size:14px;line-height:1}.ep-scatter button.play-btn:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.ep-scatter .reset-btn{background:transparent;color:var(--muted);border:1px solid var(--grid);border-radius:4px;padding:6px 10px;cursor:pointer;font:inherit;font-size:13px;line-height:1}.ep-scatter .reset-btn[disabled]{opacity:.4;cursor:not-allowed}.ep-scatter .chart-wrap{position:relative;width:100%;margin-top:0}.ep-scatter .chart-wrap svg{display:block;width:100%;height:auto;overflow:visible}.ep-scatter .axis line,.ep-scatter .axis path{stroke:var(--axis)}.ep-scatter .axis text{fill:var(--muted);font-size:12px}.ep-scatter .grid line{stroke:var(--grid);stroke-dasharray:2 3}.ep-scatter .quadrant-line{stroke:var(--soft);stroke-dasharray:4 3;stroke-width:1;opacity:.65}.ep-scatter .quadrant-label{fill:var(--soft);font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:600;pointer-events:none}.ep-scatter .axis-title{fill:var(--fg);font-size:13px;font-weight:600}.ep-scatter .dot{fill-opacity:.78;stroke:#00000040;stroke-width:.5;cursor:pointer;transition:fill-opacity .15s,stroke-width .15s}@media (prefers-reduced-motion: no-preference){.ep-scatter .dot{transition:cx .45s cubic-bezier(.33,1,.68,1),cy .45s cubic-bezier(.33,1,.68,1),r .45s cubic-bezier(.33,1,.68,1),fill .3s ease-out,fill-opacity .15s,stroke-width .15s}.ep-scatter .quadrant-line{transition:x1 .45s cubic-bezier(.33,1,.68,1),x2 .45s cubic-bezier(.33,1,.68,1),y1 .45s cubic-bezier(.33,1,.68,1),y2 .45s cubic-bezier(.33,1,.68,1)}}.ep-scatter .dot.dimmed{fill-opacity:.1;stroke-opacity:.1}.ep-scatter .dot.hover{stroke:var(--fg);stroke-width:1.5}.ep-scatter .dot.pinned{stroke:var(--fg);stroke-width:2}.ep-scatter .dot:focus{outline:none}.ep-scatter .dot:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.ep-scatter .trajectory-line{fill:none;stroke:var(--fg);stroke-width:1.2;stroke-opacity:.55;pointer-events:none}.ep-scatter .trajectory-point{fill:#fff;stroke:var(--fg);stroke-width:1.4;pointer-events:none}.ep-scatter .trajectory-label{fill:var(--fg);font-size:11px;font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:3;pointer-events:none}.ep-scatter .tooltip table,.ep-scatter .tooltip caption,.ep-scatter .tooltip tbody,.ep-scatter .tooltip tfoot,.ep-scatter .tooltip thead,.ep-scatter .tooltip tr,.ep-scatter .tooltip th,.ep-scatter .tooltip td{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.ep-scatter .tooltip table{border-collapse:collapse;border-spacing:0}.ep-scatter .tooltip table,.ep-scatter .tooltip table *{box-sizing:content-box}.ep-scatter .tooltip{font-family:var(--font);position:absolute;background-color:#fff;pointer-events:none;font-size:1.2rem;overflow:hidden;opacity:0;transition:opacity .12s;z-index:10;padding:0}.ep-scatter .tooltip.visible{opacity:1}.ep-scatter .tooltip.pinned{pointer-events:auto}@media (min-width: 600px){.ep-scatter .tooltip{font-size:1rem;background:#fffffff2;border-radius:4px;min-width:200px;box-shadow:2px 2px 9px #0000001a;border-width:1px;border-color:#444;border-style:solid}}.ep-scatter .tooltip .tooltip-body{padding-left:8px;padding-right:8px;padding-bottom:2px}.ep-scatter .tooltip .tooltip-header{padding:12px 12px 6px;font-size:1rem;line-height:1.2;color:#000;min-height:34px;font-weight:700;background-color:#444}@media (min-width: 600px){.ep-scatter .tooltip .tooltip-header{padding-top:10px;padding-bottom:4px;font-size:1rem;border-radius:0;margin:0;min-height:auto}.ep-scatter .tooltip .tooltip-body{padding-bottom:6px}}.ep-scatter .tooltip .first-item{display:flex;justify-content:space-between;align-items:flex-start;width:100%}.ep-scatter .tooltip .tooltip-name{padding-bottom:2px}.ep-scatter .tooltip .tooltip-subtitle,.ep-scatter .tooltip .tooltip-turnout{padding-bottom:4px;font-weight:200;font-size:.9rem}@media (min-width: 600px){.ep-scatter .tooltip .tooltip-subtitle,.ep-scatter .tooltip .tooltip-turnout{font-size:.8rem;padding-bottom:8px}}.ep-scatter .tooltip .label-category{font-weight:200}.ep-scatter .tooltip .stacked-bar{font-family:var(--font);position:relative;width:98%;margin:0 auto 5px;display:flex;border-top:2px solid white}@media (min-width: 600px){.ep-scatter .tooltip .stacked-bar{margin-bottom:10px}}.ep-scatter .tooltip .stacked-bar>div{background-color:#d8d8d8;height:4px}.ep-scatter .tooltip .stacked-bar:before,.ep-scatter .tooltip .stacked-bar:after{content:"";display:block;position:absolute;left:50%;transform:translate(-50%,-50%);z-index:15;height:8px;top:2px}.ep-scatter .tooltip .stacked-bar:before{border-left:2px solid white}.ep-scatter .tooltip .stacked-bar:after{border-left:1px solid #444}.ep-scatter .tooltip table{color:#000;font-size:14px;line-height:1.6;width:100%;margin:.3rem 0}@media (min-width: 590px){.ep-scatter .tooltip table{color:#444;line-height:1.5;font-size:.95rem}}.ep-scatter .tooltip table th{padding:0 0 2px;color:#646464;text-transform:uppercase;font-weight:200;font-size:10px;line-height:16px;white-space:nowrap;text-align:right}@media (min-width: 600px){.ep-scatter .tooltip table th{padding-bottom:4px;color:#a0a0a0;font-size:.7rem;line-height:12px}}.ep-scatter .tooltip table td{font-weight:200;white-space:nowrap;text-align:right}.ep-scatter .tooltip table td:nth-child(2),.ep-scatter .tooltip table th:nth-child(2){text-align:left}.ep-scatter .tooltip table td:last-child,.ep-scatter .tooltip table th:last-child{padding-right:4px;min-width:50px}@media (min-width: 600px){.ep-scatter .tooltip table td:last-child,.ep-scatter .tooltip table th:last-child{min-width:40px}}.ep-scatter .tooltip table td.pill-item{padding-right:3px;padding-left:4px;width:2px}.ep-scatter .tooltip table td.pill-item span{display:inline-block;width:3px;border-radius:1px;height:11px;background-color:#a4a4a4}.ep-scatter .tooltip table tr.row-others{color:#a4a4a4}.ep-scatter .tooltip .close-btn{position:absolute;top:4px;right:6px;background:none;border:0;font-size:18px;line-height:1;cursor:pointer;color:currentColor;opacity:.8;padding:4px 6px;font-family:inherit}.ep-scatter .tooltip .close-btn:hover{opacity:1}.ep-scatter .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ep-scatter .loading,.ep-scatter .error{padding:32px 12px;text-align:center;color:var(--muted)}.ep-scatter .error{color:#a33}@media (max-width: 599px){.ep-scatter .chart-wrap{order:2;margin-top:0}.ep-scatter .controls{order:3;padding:8px 0 4px}.ep-scatter .legend{order:4;margin:6px 0 0}.ep-scatter .year-display{font-size:1.7rem}.ep-scatter .quadrant-label{font-size:10px;letter-spacing:.04em}.ep-scatter .tooltip{position:fixed;bottom:0;left:2%;width:96%;top:auto;max-width:none;border-radius:6px 6px 0 0;transform:translateY(100%);transition:transform .2s ease;opacity:1;pointer-events:none;box-shadow:0 -2px 6px #64646480}.ep-scatter .tooltip.visible{transform:translateY(0);pointer-events:auto}.ep-scatter .tooltip .close-btn{font-size:22px;top:8px;right:12px;padding:4px 8px}}@media (min-width: 600px){.ep-scatter .tooltip .close-btn{display:none}.ep-scatter .tooltip.pinned .close-btn{display:block}}
