/* Plataforma de votaciones — estilos base.
   Los colores y tipografías vienen de cada concurso (variables en base.html). */
:root {
  --primary: #b3122e;
  --secondary: #1f6f4a;
  --bg: #fbf7f2;
  --text: #1d1d1f;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --surface: #ffffff;
  --muted: color-mix(in srgb, var(--text) 62%, var(--bg));
  --line: color-mix(in srgb, var(--text) 12%, var(--bg));
  --primary-soft: color-mix(in srgb, var(--primary) 10%, var(--surface));
  --secondary-soft: color-mix(in srgb, var(--secondary) 12%, var(--surface));
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .06);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Barra superior */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; line-height: 1.2; min-width: 0; }
.brand img { height: 44px; width: auto; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a, .lang span { padding: 6px 10px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); text-transform: uppercase; }
.lang span { background: var(--text); color: var(--surface); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav .nav-link { display: none; }
  .nav.open .nav-link { display: block; }
  .nav.open { position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; color: var(--text); }
  .nav { margin-left: 0; }
}

/* Cabecera */
.hero { position: relative; color: #fff; background: var(--primary); overflow: hidden; }
.hero.has-image { background: #222 var(--hero-image) center/cover no-repeat; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .15), rgb(0 0 0 / .6)); }
.hero .wrap { position: relative; padding-top: clamp(48px, 9vw, 110px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 24ch; text-wrap: balance; }
.hero .tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 50ch; opacity: .95; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px); border: 1px solid rgb(255 255 255 / .3); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; margin-top: 8px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 0 4px rgb(94 224 138 / .25); }
.status-pill.closed .dot, .status-pill.upcoming .dot { background: #ffd166; box-shadow: none; }

.intro { padding: 36px 0 8px; max-width: 72ch; font-size: 1.05rem; }

/* Pestañas de categorías */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 8px; }
.tab { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 9px 18px; font: 600 .95rem var(--font-body); cursor: pointer; text-decoration: none; }
.tab[aria-selected="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }
.tab .count { opacity: .6; font-weight: 500; margin-left: 4px; }

.category { padding: 24px 0 48px; scroll-margin-top: 80px; }
.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.category-head p { color: var(--muted); margin: 0; }
.badge-voted { display: inline-flex; align-items: center; gap: 6px; background: var(--secondary-soft); color: var(--secondary); padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; position: relative; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 16px 32px rgb(0 0 0 / .1); }
.card .photo { aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .addr { color: var(--muted); font-size: .92rem; margin: 0; }
.card .summary { font-size: .95rem; margin: 0; }
.card .actions { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; position: relative; z-index: 1; }
.card .num { position: absolute; top: 12px; left: 12px; background: rgb(255 255 255 / .92); color: var(--text); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.card .my-vote { position: absolute; top: 12px; right: 12px; background: var(--secondary); color: #fff; font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px; font: 600 1rem var(--font-body); cursor: pointer; text-decoration: none; background: var(--primary); color: #fff; transition: filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, .tab:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Ficha */
.crumbs { padding: 20px 0 0; font-size: .92rem; }
.crumbs a { color: var(--muted); }
.detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; padding: 20px 0 64px; align-items: start; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; gap: 24px; } }
.main-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.main-photo img { width: 100%; max-height: 72vh; object-fit: cover; cursor: zoom-in; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: var(--line); }
.thumbs button[aria-current="true"] { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.side { position: sticky; top: 88px; }
.side .cat { color: var(--secondary); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.meta { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 6px; color: var(--muted); }
.meta a { color: inherit; }
.vote-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin: 20px 0; }
.vote-box p { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.prose { max-width: 70ch; }
.prose img { border-radius: 10px; }

/* Formularios */
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); max-width: 620px; margin: 32px auto 64px; }
.voting-for { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; background: var(--primary-soft); margin-bottom: 22px; }
.voting-for img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.voting-for small { display: block; color: var(--muted); }
.voting-for strong { font-family: var(--font-heading); font-size: 1.15rem; }
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--primary); }
.field .help { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.field .errorlist, .errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: #b00020; font-size: .9rem; font-weight: 500; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text);
}
.has-error input, .has-error select, .has-error textarea { border-color: #b00020; }
.field ul.radio, .field div[id] > div { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.field label > input[type=radio] { margin-right: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.code-input { font-size: 2rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; padding: 14px !important; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert.error { background: #fdecee; color: #8a0018; }
.alert.warning { background: #fff6dd; color: #6b4b00; }
.alert.info { background: var(--secondary-soft); color: var(--secondary); }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.turnstile { margin: 8px 0 18px; min-height: 65px; }

/* Gracias */
.big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--secondary); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 2.2rem; }

/* Resultados */
.ranking { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 10px; }
.ranking li { display: grid; grid-template-columns: 44px 64px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); }
.ranking .pos { font: 700 1.4rem var(--font-heading); text-align: center; color: var(--muted); }
.ranking li:nth-child(-n+3) .pos { color: var(--primary); }
.ranking img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.ranking .votes { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgb(0 0 0 / .9); display: none; place-items: center; z-index: 100; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; max-width: 96vw; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; top: 14px; right: 16px; background: rgb(255 255 255 / .15); color: #fff; border: 0; font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }

/* Pie */
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: .92rem; }
.footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.footer a { color: inherit; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Modo pruebas */
.test-banner { background: #fff3c4; color: #5a4300; border-bottom: 1px solid #e8d488; font-size: .92rem; }
.test-banner .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.test-banner form { margin: 0; }
.test-banner .linkish { color: #5a4300; font-weight: 600; }
.status-pill.test .dot { background: #ffd166; box-shadow: 0 0 0 4px rgb(255 209 102 / .3); }

/* ---------------------------------------------------------------------------
   Diseño definitivo (v1.6): caja centrada, cabecera oscura, imagen de cabecera
   --------------------------------------------------------------------------- */
:root { --outside: #0f2a2e; --header-bg: #000; --header-text: #fff; --box: 1650px; }
body.boxed { background: var(--outside); }
body.boxed .site { max-width: var(--box); margin: 0 auto; background: var(--bg); min-height: 100vh; box-shadow: 0 0 40px rgb(0 0 0 / .25); }
.site { background: var(--bg); }

/* Cabecera */
.topbar { background: var(--header-bg); color: var(--header-text); border-bottom: 0; position: static; }
.topbar .wrap { min-height: 160px; padding-top: 20px; padding-bottom: 20px; }
body.boxed .site .wrap { max-width: none; padding-left: clamp(20px, 3.2vw, 50px); padding-right: clamp(20px, 3.2vw, 50px); }
.brand { color: var(--header-text); }
.brand.has-logo img { height: 84px; width: auto; max-width: 70vw; }
.topbar .nav { margin-left: auto; display: flex; gap: 6px 48px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.topbar .nav a { color: var(--header-text); text-decoration: none; padding: 6px 0; border-radius: 0; font-size: 1.45rem; font-weight: 500; background: none; }
.topbar .nav a:hover, .topbar .nav a[aria-current="true"] { background: none; color: var(--header-text); text-decoration: underline; text-underline-offset: 6px; }
.topbar .nav .nav-link { font-size: 1.1rem; opacity: .85; }
@media (max-width: 760px) {
  .topbar .wrap { min-height: 80px; }
  .lead { padding-top: 32px; }
  .lead-dates { font-size: 1rem; }
  .brand.has-logo img { height: 48px; }
  .topbar .nav { gap: 4px 16px; }
  .topbar .nav a { font-size: 1rem; }
  .topbar .nav .nav-link { display: none; }
}

/* Imagen de cabecera: tal cual, a todo el ancho de la caja */
.banner img { width: 100%; height: auto; display: block; }

/* Bloque de presentación */
.lead { padding-top: 70px; }
.lead-dates { font-style: italic; color: var(--muted); font-size: 1.4rem; margin: 0 0 .7em; font-weight: 300; }
.lead-title { font-family: var(--font-body); font-size: clamp(1.08rem, 2.16vw, 1.74rem); font-weight: 700; margin: 0 0 .8em; letter-spacing: .01em; }
.lead-sep { border: 0; border-top: 1px solid var(--line); margin: 0 0 28px; }
.lead-status .status-pill { background: var(--primary-soft); color: var(--text); border-color: var(--line); backdrop-filter: none; margin: 0; }
.intro { padding: 0 0 8px; max-width: none; font-size: 1.12rem; letter-spacing: .02em; line-height: 1.75; }

/* Clases para usar en la introducción (HTML) */
.pill, a.pill { display: inline-block; background: #f6d34a; color: #1d1d1f; padding: 2px 18px; border-radius: 999px; text-decoration: none; font-weight: 500; letter-spacing: .02em; line-height: 1.6; }
a.pill:hover { filter: brightness(.95); }
.caja-gris { background: #dedede; border-radius: 16px; padding: 20px 24px; text-align: center; margin: 24px 0; }
.caja-gris > :last-child { margin-bottom: 0; }
.caja-gris h3, .caja-gris h4 { font-family: var(--font-body); font-weight: 700; margin: .3em 0 .6em; }
.centrado { text-align: center; }

/* Selector de idioma en cápsula «ES | EU» sobre la cabecera (v1.7.1) */
.topbar .lang { display: inline-flex; border: 1.5px solid color-mix(in srgb, var(--header-text) 55%, transparent); border-radius: 999px; overflow: hidden; }
.topbar .lang a, .topbar .lang span { padding: 7px 16px; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.topbar .nav .lang a { color: var(--header-text); font-size: 1rem; padding: 7px 16px; opacity: .8; }
.topbar .nav .lang a:hover { opacity: 1; text-decoration: none; background: color-mix(in srgb, var(--header-text) 15%, transparent); }
.topbar .lang span { background: var(--header-text); color: var(--header-bg); }
@media (max-width: 760px) { .topbar .lang a, .topbar .lang span, .topbar .nav .lang a { padding: 6px 12px; font-size: .9rem; } }

/* Botón «volver arriba» (v1.7.1) */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 14px rgb(0 0 0 / .3); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, filter .15s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { filter: brightness(1.1); }
.to-top:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, white); outline-offset: 3px; }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

/* Nombre de cada categoría en una cápsula (v1.7.1) */
.category-head { align-items: center; }
.category-head h2 { display: inline-block; margin: 0 0 6px; padding: .4em 1.1em; border-radius: 999px;
  background: var(--primary); color: #fff; font-family: var(--font-body); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.2; letter-spacing: .02em; }
.category-head p { margin-top: 4px; }
@media (max-width: 760px) {
  .category { padding-top: 28px; }
  .category-head h2 { display: block; text-align: center; padding: .55em 1em; font-size: 1.2rem; }
  .category-head { display: block; }
  .category-head .badge-voted { margin-top: 8px; }
}

/* Pie de página: banda de logos + franja de texto (v1.7.1) */
.footer { border-top: 0; padding: 0; color: var(--text); font-size: 1.05rem; margin-top: 40px; }
.footer-logos { background: var(--footer-bg); padding: 56px 0; }
.footer .footer-logos ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 3%; }
.footer-logos li { flex: 0 1 17.6%; min-width: 0; display: flex; justify-content: center; }
.footer-logos img { max-height: 120px; max-width: 100%; width: auto; height: auto; }
.footer-logos a { display: block; transition: opacity .15s; }
.footer-logos a:hover { opacity: .85; }
.footer-bottom { background: var(--footer-bottom); padding: 40px 0 44px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-text { letter-spacing: .04em; line-height: 1.6; }
.footer-text p { margin: 0 0 .35em; }
.footer-text p:has(.ico) { padding-left: 1.6em; }
.footer-text p:has(.ico) .ico:first-child { margin-left: -1.6em; width: 1.15em; margin-right: .45em; }
.footer-text a { color: inherit; }
.footer-links { display: flex; gap: 16px; font-size: .9rem; }
.footer-links a { color: var(--muted); }
@media (max-width: 760px) {
  .footer-logos { padding: 32px 0; }
  .footer .footer-logos ul { gap: 24px 8%; }
  .footer-logos li { flex-basis: 42%; }
  .footer-logos img { max-height: 90px; max-width: 100%; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
}

/* Iconos para usar en textos (pie, introducción…) */
.ico { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: .45em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-ubicacion { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.ico-telefono { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ico-email { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.ico-web { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm6.9 6h-3a15.7 15.7 0 0 0-1.4-3.6A8 8 0 0 1 18.9 8zM12 4a14 14 0 0 1 1.9 4h-3.8A14 14 0 0 1 12 4zM4.3 14a8.2 8.2 0 0 1 0-4h3.4a16.5 16.5 0 0 0 0 4zm.8 2h3a15.7 15.7 0 0 0 1.4 3.6A8 8 0 0 1 5.1 16zm3-8h-3a8 8 0 0 1 4.4-3.6A15.7 15.7 0 0 0 8.1 8zM12 20a14 14 0 0 1-1.9-4h3.8A14 14 0 0 1 12 20zm2.3-6H9.7a14.7 14.7 0 0 1 0-4h4.6a14.7 14.7 0 0 1 0 4zm.3 5.6a15.7 15.7 0 0 0 1.4-3.6h3a8 8 0 0 1-4.4 3.6zM16.3 14a16.5 16.5 0 0 0 0-4h3.4a8.2 8.2 0 0 1 0 4z'/%3E%3C/svg%3E"); }
.ico-c { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm.3 14.5c-2.6 0-4.5-1.9-4.5-4.5s1.9-4.5 4.5-4.5c1.5 0 2.7.6 3.5 1.6l-1.6 1.3c-.5-.6-1.1-.9-1.9-.9-1.4 0-2.4 1.1-2.4 2.5s1 2.5 2.4 2.5c.8 0 1.4-.3 1.9-.9l1.6 1.3c-.8 1-2 1.6-3.5 1.6z'/%3E%3C/svg%3E"); }

/* Ganadores del sorteo (v1.8) */
.winners-page { padding: 36px 20px 64px; }
.winners-page .draw { background: #f6f6f4; border-radius: 14px; padding: 26px 28px; margin: 24px 0; }
.draw-prize { font-size: 1.15rem; margin: 0 0 18px; }
.draw-prize span { display: inline-block; background: var(--primary); color: #fff; border-radius: 999px; padding: 2px 12px; font-size: .85rem; margin-right: 8px; vertical-align: 2px; }
.draw-winners { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.draw-winners li { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.draw-badge { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; border: 2px solid var(--primary); color: var(--primary); border-radius: 999px; padding: 2px 10px; }
.draw-subs-title { margin: 14px 0 4px; font-weight: 600; }
.draw-subs { margin: 0 0 12px; padding-left: 1.4em; }
.draw-date { margin: 8px 0 0; font-size: .9rem; }
@media (max-width: 760px) {
  .winners-page .draw { padding: 20px 18px; }
  .draw-winners li { font-size: 1.15rem; flex-wrap: wrap; gap: 6px 10px; }
}
