/* =========================================================
   HC Concurso — página del concurso de diseño (aniversario)
   Todo bajo #hcc. Los colores salen de variables: cada skin
   (clase .hcc-skin-*) solo redefine la paleta.
   Skin por defecto: "neón" (lilas y azules). Otro: "brasa".
   ========================================================= */
#hcc, #hcc-lb, #hcc-auth, .hcc-dock {
  --bg: #0c0a1f;
  --bg-0: #080616;
  --bg-2: #151033;
  --bg-3: #1a1438;
  --bg-4: #2a2152;
  --card: rgba(255, 255, 255, .045);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f0ff;
  --soft: #b7b0d8;
  --faint: #8079a8;
  --title-2: #d6ccff;
  --gold: #7dd3fc;
  --ember: #a855f7;
  --pink: #f472d0;
  --violet: #8b5cf6;
  --lilac: #c084fc;
  --tint: #e9d5ff;
  --ok: #3ddc97;
  --c1: 168, 85, 247;
  --c2: 139, 92, 246;
  --c3: 192, 132, 252;
  --c4: 59, 130, 246;
  --c-pink: 244, 114, 208;
  --c-accent: 125, 211, 252;
  --c-bg: 12, 10, 31;
  --c-tint: 233, 213, 255;
  --on-fire: #fff;
  --fire: linear-gradient(135deg, #e879f9 0%, #8b5cf6 50%, #3b82f6 100%);
  --grad-badge: linear-gradient(160deg, #fdf4ff 0%, #e9d5ff 22%, #c084fc 48%, #818cf8 72%, #38bdf8 100%);
  --grad-hero: linear-gradient(115deg, #2b0f63 0%, #5b21b6 38%, #4c1d95 58%, #1e3a8a 100%);
  --grad-voted: linear-gradient(135deg, #f0abfc, #d946ef 55%, #8b5cf6);
  --grad-rank1: linear-gradient(135deg, #e0f2fe, #7dd3fc 50%, #3b82f6);
  --rank1-text: #06132b;
  --grad-rank3: linear-gradient(135deg, #f5d0fe, #c026d3);
  --rank3-text: #fff;
  --neon-glow: 0 0 18px rgba(168, 85, 247, .55), 0 0 42px rgba(59, 130, 246, .35);
  --r: 22px;
  --display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Skin "brasa": noche, humo y fuego (dorado, naranja, rosa) ---------- */
#hcc.hcc-skin-brasa, #hcc-lb.hcc-skin-brasa, #hcc-auth.hcc-skin-brasa, .hcc-dock.hcc-skin-brasa {
  --bg: #0b0910;
  --bg-0: #07060a;
  --bg-2: #13101a;
  --bg-3: #17131e;
  --bg-4: #2a2233;
  --text: #f4eff9;
  --soft: #b9b0c6;
  --faint: #7f768d;
  --title-2: #d9cde8;
  --gold: #ffcf5a;
  --ember: #ff7a2f;
  --pink: #ff3d8b;
  --violet: #8b5cff;
  --lilac: #ffb070;
  --tint: #ffe3c2;
  --c1: 255, 122, 47;
  --c2: 255, 106, 47;
  --c3: 255, 170, 100;
  --c4: 255, 61, 139;
  --c-pink: 255, 61, 139;
  --c-accent: 255, 207, 90;
  --c-bg: 11, 9, 16;
  --c-tint: 255, 227, 194;
  --on-fire: #1d0f06;
  --fire: linear-gradient(135deg, #ffcf5a 0%, #ff7a2f 50%, #ff3d8b 100%);
  --grad-badge: linear-gradient(160deg, #fff4c8 0%, #ffcf5a 30%, #ff7a2f 62%, #ff3d8b 100%);
  --grad-hero: linear-gradient(180deg, #0b0910, #120d17);
  --grad-voted: linear-gradient(135deg, #ff5ea0, #ff3d8b 60%, #e0206c);
  --grad-rank1: linear-gradient(135deg, #fff1b8, #ffcf5a 50%, #e89a1c);
  --rank1-text: #3a2300;
  --grad-rank3: linear-gradient(135deg, #ffd1a8, #c77a3c);
  --rank3-text: #2d1300;
  --neon-glow: 0 0 18px rgba(255, 122, 47, .5), 0 0 42px rgba(255, 61, 139, .3);
}
#hcc {
  position: relative;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
#hcc *, #hcc *::before, #hcc *::after { box-sizing: border-box; }
#hcc img { max-width: 100%; display: block; }
#hcc a { color: inherit; }
#hcc svg { display: block; }
#hcc [hidden], #hcc-lb [hidden], #hcc-auth [hidden], .hcc-lightbox[hidden], .hcc-auth[hidden] { display: none !important; }
#hcc-auth *, #hcc-auth *::before, #hcc-auth *::after { box-sizing: border-box; }
#hcc-lb *, #hcc-lb *::before, #hcc-lb *::after, .hcc-dock * { box-sizing: border-box; }
#hcc-lb img { max-width: 100%; display: block; }
#hcc-lb svg { display: block; }
.hcc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.hcc-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }
.hcc-section { padding-top: 72px; padding-bottom: 8px; scroll-margin-top: 90px; }
.hcc-muted { color: var(--soft); }

/* ---------- Tipografía ---------- */
.hcc-h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-align: center;
  margin: 0 0 28px;
  color: var(--text);
}
.hcc-h2 span {
  background: linear-gradient(180deg, #fff 30%, var(--title-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hcc-h2 sup {
  font-family: var(--body); font-size: 14px; font-weight: 700; vertical-align: super;
  padding: 3px 10px; border-radius: 99px; background: var(--card-2); color: var(--gold); border: 1px solid var(--line);
}
.hcc-h2--left { text-align: left; margin-bottom: 8px; }
.hcc-h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 12px; letter-spacing: -.01em; color: var(--text); }
.hcc-rich { color: var(--soft); }
.hcc-rich strong, .hcc-rich b { color: var(--text); }
.hcc-rich ul { padding-left: 0; list-style: none; margin: 0; }
.hcc-rich li { position: relative; padding-left: 28px; margin: 10px 0; }
.hcc-rich li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--fire); box-shadow: 0 0 12px rgba(var(--c1), .6);
}
.hcc-rich h4 { font-family: var(--display); font-size: 15px; color: var(--text); margin: 26px 0 8px; font-weight: 700; }
.hcc-rich h4:first-child { margin-top: 0; }
.hcc-rich a { color: var(--gold); }

/* ---------- Botones ---------- */
.hcc-btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none !important;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, opacity .2s;
  white-space: nowrap;
}
.hcc-btn:hover { transform: translateY(-2px); }
.hcc-btn:active { transform: translateY(0) scale(.98); }
.hcc-btn--fire {
  color: var(--on-fire) !important; background: var(--fire); background-size: 160% 160%;
  box-shadow: 0 10px 30px -8px rgba(var(--c2), .75), inset 0 1px 0 rgba(255, 255, 255, .45);
  animation: hcc-flow 6s ease infinite;
}
.hcc-btn--fire:hover { box-shadow: 0 16px 44px -8px rgba(var(--c2), .9), inset 0 1px 0 rgba(255, 255, 255, .45); }
.hcc-btn--ghost { color: var(--text) !important; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.hcc-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.hcc-btn--lg { --h: 60px; padding: 0 40px; font-size: 17px; }
.hcc-btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.hcc-btn[disabled] { opacity: .55; pointer-events: none; }
.hcc-link { color: var(--soft) !important; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.hcc-link:hover { color: var(--text) !important; }
@keyframes hcc-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hcc-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--gold);
}
.hcc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(var(--c1), .7); animation: hcc-pulse 1.8s infinite; }
@keyframes hcc-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--c1), .7); } 70% { box-shadow: 0 0 0 10px rgba(var(--c1), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--c1), 0); } }

/* =========================================================
   HERO
   ========================================================= */
.hcc-hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; padding: 80px 0 60px; overflow: hidden; background: var(--grad-hero); }
.hcc-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); z-index: 1; pointer-events: none; }

.hcc-smoke { position: absolute; inset: -10%; z-index: 0; filter: blur(70px) saturate(130%); opacity: .9; }
.hcc-smoke i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.hcc-smoke i:nth-child(1) { width: 55vw; height: 55vw; left: -10%; top: 10%; background: radial-gradient(circle, rgba(139, 92, 255, .55), transparent 65%); animation: hcc-drift1 18s ease-in-out infinite alternate; }
.hcc-smoke i:nth-child(2) { width: 50vw; height: 50vw; right: -8%; top: -10%; background: radial-gradient(circle, rgba(var(--c-pink), .5), transparent 65%); animation: hcc-drift2 22s ease-in-out infinite alternate; }
.hcc-smoke i:nth-child(3) { width: 45vw; height: 45vw; right: 10%; bottom: -25%; background: radial-gradient(circle, rgba(var(--c4), .6), transparent 65%); animation: hcc-drift3 16s ease-in-out infinite alternate; }
.hcc-smoke i:nth-child(4) { width: 30vw; height: 30vw; left: 30%; top: 40%; background: radial-gradient(circle, rgba(var(--c-accent), .3), transparent 65%); animation: hcc-drift1 25s ease-in-out infinite alternate-reverse; }
@keyframes hcc-drift1 { to { transform: translate(12vw, -6vw) scale(1.2); } }
@keyframes hcc-drift2 { to { transform: translate(-10vw, 8vw) scale(.9); } }
@keyframes hcc-drift3 { to { transform: translate(-8vw, -10vw) scale(1.15); } }

.hcc-grain {
  position: absolute; inset: 0; z-index: 0; opacity: .12; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hcc-embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hcc-embers span {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px 2px rgba(var(--c-accent), .8);
  animation: hcc-rise linear infinite; opacity: 0;
}
@keyframes hcc-rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(var(--dx, 30px), -90vh) scale(.2); opacity: 0; }
}

.hcc-hero__inner { z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hcc-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(36px, 6.2vw, 84px); line-height: .98; letter-spacing: -.035em;
  margin: 22px 0 20px; color: var(--text);
  background: linear-gradient(180deg, #fff 20%, var(--title-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.hcc-subtitle { font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); max-width: 560px; margin: 0 0 32px; }
.hcc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.hcc-countdown { margin-top: 40px; }
.hcc-countdown__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.hcc-countdown__boxes { display: flex; gap: 12px; }
.hcc-cd {
  min-width: 84px; padding: 14px 10px 10px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line); backdrop-filter: blur(12px); position: relative; overflow: hidden;
}
.hcc-cd::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .35); }
.hcc-cd b { display: block; font-family: var(--display); font-size: 36px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.hcc-cd b.is-tick { animation: hcc-tick .5s cubic-bezier(.2, .8, .2, 1); }
.hcc-cd span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-top: 8px; }
@keyframes hcc-tick { 0% { transform: translateY(-22%); opacity: .45; } 100% { transform: none; opacity: 1; } }

/* Insignia "14" */
.hcc-hero__badge { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; display: grid; place-items: center; }
.hcc-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: hcc-spin 40s linear infinite; }
.hcc-ring text { fill: var(--tint); opacity: .75; font-family: var(--display); font-size: 15px; font-weight: 500; }
@keyframes hcc-spin { to { transform: rotate(360deg); } }
.hcc-badge-num {
  position: relative; z-index: 2; font-family: var(--display); font-weight: 900; line-height: .8;
  font-size: clamp(150px, 20vw, 270px); letter-spacing: -.08em; padding-right: .06em;
  background: var(--grad-badge);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 20px 60px rgba(var(--c2), .45));
  animation: hcc-float 6s ease-in-out infinite;
}
.hcc-badge-num::after {
  content: attr(data-text); position: absolute; inset: 0; padding-right: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hcc-shine 4.5s ease-in-out infinite;
}
@keyframes hcc-shine { 0%, 40% { background-position: 150% 0; } 80%, 100% { background-position: -60% 0; } }
@keyframes hcc-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hcc-badge-glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c1), .35), transparent 70%); filter: blur(30px); animation: hcc-breathe 5s ease-in-out infinite; }
@keyframes hcc-breathe { 50% { transform: scale(1.15); opacity: .7; } }

/* =========================================================
   LÍNEA DE TIEMPO + STATS
   ========================================================= */
.hcc-timeline { z-index: 2; margin-top: -10px; }
.hcc-timeline__bar { position: absolute; left: calc(20px + 16.66%); right: calc(20px + 16.66%); top: 22px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.hcc-timeline__bar span { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--fire); box-shadow: 0 0 16px rgba(var(--c1), .8); border-radius: 4px; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.hcc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.hcc-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.hcc-step__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  background: var(--bg-2); border: 2px solid var(--line-2); color: var(--faint);
}
.hcc-step__name { font-weight: 700; font-size: 15px; color: var(--soft); margin-top: 6px; }
.hcc-step__dates { font-size: 13px; color: var(--faint); }
.hcc-step--done .hcc-step__num { background: var(--fire); color: var(--on-fire); border-color: transparent; }
.hcc-step--active .hcc-step__num { color: var(--text); border-color: var(--ember); box-shadow: 0 0 0 6px rgba(var(--c1), .18), 0 0 30px rgba(var(--c1), .5); }
.hcc-step--active .hcc-step__num::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ember); opacity: 0; animation: hcc-ring 2s infinite; }
@keyframes hcc-ring { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.hcc-step--active .hcc-step__name { color: var(--text); }

.hcc-stats { display: flex; justify-content: center; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
.hcc-stat { min-width: 170px; padding: 18px 24px; border-radius: var(--r); text-align: center; background: var(--card); border: 1px solid var(--line); }
.hcc-stat b { display: block; font-family: var(--display); font-size: 34px; line-height: 1.1; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hcc-stat span { font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }

/* =========================================================
   CÓMO FUNCIONA + PREMIO
   ========================================================= */
.hcc-intro { max-width: 760px; margin: -8px auto 36px; text-align: center; font-size: 18px; }
.hcc-intro p { margin: 0 0 12px; }
.hcc-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hcc-how__card {
  position: relative; padding: 30px 28px 28px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s;
}
.hcc-how__card:hover { transform: translateY(-6px); border-color: rgba(var(--c1), .45); }
.hcc-how__card::before { content: ''; position: absolute; width: 200px; height: 200px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c1), .22), transparent 70%); }
.hcc-how__n { position: absolute; right: 22px; top: 14px; font-family: var(--display); font-weight: 900; font-size: 56px; color: rgba(255, 255, 255, .05); line-height: 1; }
.hcc-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--fire); color: var(--on-fire); fill: none; stroke: var(--on-fire); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; box-shadow: 0 10px 24px -8px rgba(var(--c2), .7); }
.hcc-how__card h3 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; color: var(--text); }
.hcc-how__card p { margin: 0; color: var(--soft); font-size: 15px; }

.hcc-prize { margin-top: 28px; padding: 2px; border-radius: calc(var(--r) + 2px); position: relative; overflow: hidden; }
.hcc-prize::before { content: ''; position: absolute; inset: -150%; background: conic-gradient(from 0deg, transparent 0 60%, var(--gold) 70%, var(--ember) 80%, var(--pink) 90%, transparent 100%); animation: hcc-spin 5s linear infinite; }
.hcc-prize__inner { position: relative; overflow: hidden; display: flex; gap: 26px; align-items: flex-start; padding: 32px 34px; border-radius: var(--r); background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.hcc-prize__icon { flex: 0 0 64px; width: 64px; height: 64px; padding: 14px; border-radius: 20px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(var(--c3), .45); box-shadow: var(--neon-glow); animation: hcc-float 5s ease-in-out infinite; }
.hcc-prize__icon svg { width: 100%; height: 100%; }
.hcc-prize__inner > div:last-child { position: relative; z-index: 1; }
.hcc-prize__art { position: absolute; right: 30px; bottom: -22px; width: 120px; height: 185px; color: var(--lilac); opacity: .16; transform: rotate(-8deg); pointer-events: none; }

/* =========================================================
   PANELES Y FORMULARIO
   ========================================================= */
.hcc-panel { padding: 44px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.hcc-panel::before { content: ''; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(var(--c-accent), .7), transparent); }
.hcc-panel--center { text-align: center; }
.hcc-panel--center .hcc-muted { max-width: 560px; margin: -12px auto 26px; }

.hcc-notify { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.hcc-notify input[type=email] { flex: 1; min-width: 0; height: 54px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3); color: var(--text); font-size: 16px; outline: none; }
.hcc-notify input[type=email]:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(var(--c1), .18); }

.hcc-form-head { margin-bottom: 26px; }
.hcc-form-head .hcc-muted { margin: 0; }
.hcc-template { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold) !important; font-weight: 600; text-decoration: none !important; padding: 8px 14px; border-radius: 99px; background: rgba(var(--c-accent), .08); border: 1px solid rgba(var(--c-accent), .25); }
.hcc-template svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.hcc-login-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 24px; border-radius: 20px; background: rgba(0, 0, 0, .25); border: 1px dashed var(--line-2); }
.hcc-login-box p { flex: 1 1 100%; margin: 0 0 6px; color: var(--soft); }

.hcc-drop {
  position: relative; border-radius: 22px; padding: 22px; cursor: pointer; outline: none;
  border: 2px dashed rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .22);
  transition: border-color .25s, background .25s, transform .25s;
}
.hcc-drop:hover, .hcc-drop:focus-visible { border-color: rgba(var(--c1), .6); }
.hcc-drop.is-over { border-color: var(--gold); background: rgba(var(--c-accent), .06); transform: scale(1.01); }
.hcc-drop__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 0; color: var(--soft); text-align: center; }
.hcc-drop__empty svg.hcc-drop__bowl { width: 52px; height: 80px; color: var(--lilac); margin-bottom: 8px; filter: drop-shadow(0 0 10px rgba(var(--c3), .6)); transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.hcc-drop:hover .hcc-drop__bowl, .hcc-drop.is-over .hcc-drop__bowl { transform: translateY(-6px) rotate(-6deg); }
.hcc-drop__empty strong { color: var(--text); font-size: 18px; }
.hcc-drop.has-files .hcc-drop__empty { display: none; }
.hcc-drop__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.hcc-drop__list:empty { display: none; }
.hcc-prev { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: #000; animation: hcc-pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.hcc-prev img { width: 100%; height: 100%; object-fit: cover; }
.hcc-prev__cover { position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: var(--fire); color: var(--on-fire); }
.hcc-prev__del { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.hcc-prev__del:hover { background: var(--pink); }
.hcc-prev--add { display: grid; place-items: center; border: 2px dashed var(--line-2); background: transparent; color: var(--soft); font-size: 40px; font-weight: 300; }
@keyframes hcc-pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.hcc-help { font-size: 13px; color: var(--faint); margin: 10px 4px 24px; }

.hcc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hcc-field { position: relative; display: block; margin: 0; font-weight: 400; }
.hcc-field--full { grid-column: 1 / -1; }
.hcc-field input, .hcc-field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .28); color: var(--text); font-size: 16px; font-family: var(--body); outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.hcc-field input { height: 62px; }
.hcc-field input:focus, .hcc-field textarea:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(var(--c1), .15); }
.hcc-field > span { position: absolute; left: 19px; top: 20px; color: var(--faint); font-size: 16px; pointer-events: none; transition: all .2s; }
.hcc-field input:focus + span, .hcc-field input:not(:placeholder-shown) + span,
.hcc-field textarea:focus + span, .hcc-field textarea:not(:placeholder-shown) + span { top: 9px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.hcc-field small { display: block; font-size: 12px; color: var(--faint); margin: 6px 4px 0; }
.hcc-field .hcc-counter { position: absolute; right: 14px; bottom: 10px; margin: 0; }
.hcc-field.is-error input, .hcc-field.is-error textarea { border-color: var(--pink); animation: hcc-shake .4s; }
@keyframes hcc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.hcc-check { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0 0; cursor: pointer; font-weight: 400; color: var(--soft); font-size: 15px; }
.hcc-check input { position: absolute; opacity: 0; }
.hcc-check__box { flex: 0 0 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: all .2s; margin-top: -1px; }
.hcc-check__box::after { content: ''; width: 7px; height: 13px; border: solid var(--on-fire); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .25s cubic-bezier(.2, 1.6, .4, 1); }
.hcc-check input:checked + .hcc-check__box { background: var(--fire); border-color: transparent; }
.hcc-check input:checked + .hcc-check__box::after { transform: rotate(45deg) scale(1); }
.hcc-check input:focus-visible + .hcc-check__box { box-shadow: 0 0 0 4px rgba(var(--c1), .25); }
.hcc-check.is-error .hcc-check__box { border-color: var(--pink); animation: hcc-shake .4s; }

.hcc-form-foot { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.hcc-progress { flex: 1; min-width: 160px; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.hcc-progress span { display: block; height: 100%; width: 0; background: var(--fire); transition: width .2s; }

.hcc-success { text-align: center; padding: 30px 0 10px; animation: hcc-pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.hcc-success__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--fire); display: grid; place-items: center; box-shadow: 0 20px 50px -10px rgba(var(--c2), .8); }
.hcc-success__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--on-fire); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: hcc-draw .6s .3s forwards; }
@keyframes hcc-draw { to { stroke-dashoffset: 0; } }
.hcc-success h3 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; }
.hcc-success p { color: var(--soft); max-width: 460px; margin: 0 auto; }

.hcc-hourglass { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ember); animation: hcc-spin 1.4s linear infinite; }

.hcc-mine { margin-top: 26px; }
.hcc-mine__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hcc-mine__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.hcc-mine__item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.hcc-mine__item > div { flex: 1; min-width: 0; }
.hcc-mine__item strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcc-mine__item small { display: block; color: var(--faint); font-size: 13px; }
.hcc-status { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; margin: 3px 0; }
.hcc-status--pending { background: rgba(var(--c-accent), .14); color: var(--gold); }
.hcc-status--approved { background: rgba(61, 220, 151, .14); color: var(--ok); }
.hcc-status--rejected { background: rgba(var(--c-pink), .14); color: var(--pink); }

.hcc-icon-btn { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.hcc-icon-btn:hover { background: rgba(255, 255, 255, .14); transform: scale(1.06); }
.hcc-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* =========================================================
   GALERÍA Y TARJETAS
   ========================================================= */
.hcc-gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.hcc-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hcc-sort { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.hcc-sort button { border: 0; background: transparent; color: var(--soft); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 99px; cursor: pointer; transition: all .25s; }
.hcc-sort button.is-active { background: var(--text); color: var(--bg); }
.hcc-votes-left { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 99px; background: rgba(var(--c-pink), .1); border: 1px solid rgba(var(--c-pink), .3); font-size: 14px; color: var(--text); }
.hcc-votes-left b, .hcc-dock b { color: var(--gold); }
.hcc-hearts { display: inline-flex; gap: 3px; }
.hcc-hearts i { width: 16px; height: 16px; display: block; transition: transform .3s cubic-bezier(.2, 1.6, .4, 1), opacity .3s; }
.hcc-hearts i svg { width: 100%; height: 100%; fill: var(--pink); }
.hcc-hearts i.is-used { opacity: .25; transform: scale(.8); }
.hcc-hearts i.is-used svg { fill: var(--soft); }

.hcc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.hcc-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r); cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s;
  animation: hcc-in .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms);
  will-change: transform;
}
.hcc-card.is-tilting { transition: transform .08s linear, box-shadow .4s, border-color .4s; }
.hcc-card:hover { border-color: rgba(255, 255, 255, .22); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--c1), .15), 0 20px 70px -30px rgba(var(--c2), .55); }
@keyframes hcc-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.hcc-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; background: var(--bg-3); }
.hcc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .5s; opacity: 0; }
.hcc-card__media img.is-loaded { opacity: 1; }
.hcc-card:hover .hcc-card__media img { transform: scale(1.06); }
.hcc-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--c-bg), .75)); pointer-events: none; }
.hcc-card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: overlay; }
.hcc-card:hover .hcc-card__glare { opacity: 1; }
.hcc-card__count { position: absolute; right: 12px; top: 12px; z-index: 3; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); display: flex; align-items: center; gap: 5px; }
.hcc-card__count svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.hcc-card__rank { position: absolute; left: 12px; top: 12px; z-index: 3; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 99px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 15px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); border: 1px solid var(--line-2); }
.hcc-card__rank--1 { background: var(--grad-rank1); color: var(--rank1-text); border: 0; box-shadow: 0 6px 20px rgba(var(--c-accent), .5); }
.hcc-card__rank--2 { background: linear-gradient(135deg, #fff, #c9c9d6); color: #222; border: 0; }
.hcc-card__rank--3 { background: var(--grad-rank3); color: var(--rank3-text); border: 0; }
.hcc-card__tag { position: absolute; left: 12px; bottom: 12px; z-index: 3; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--fire); color: var(--on-fire); }
.hcc-card__body { padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.hcc-card__txt { flex: 1; min-width: 0; }
.hcc-card__title { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.25; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.hcc-card__author { font-size: 13px; color: var(--faint); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Botón de voto */
.hcc-vote {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px 0 13px;
  border-radius: 99px; border: 1px solid rgba(var(--c-pink), .45); background: rgba(var(--c-pink), .08);
  color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; font-variant-numeric: tabular-nums;
}
.hcc-vote:hover { background: rgba(var(--c-pink), .18); transform: scale(1.04); }
.hcc-vote svg { width: 19px; height: 19px; fill: none; stroke: var(--pink); stroke-width: 2.2; transition: fill .2s; }
.hcc-vote.is-voted { background: var(--grad-voted); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -6px rgba(var(--c-pink), .8); }
.hcc-vote.is-voted svg { fill: #fff; stroke: #fff; }
.hcc-vote.is-pop svg { animation: hcc-heart .6s cubic-bezier(.2, 1.6, .4, 1); }
.hcc-vote.is-mine { border-color: var(--line-2); background: rgba(255, 255, 255, .05); cursor: default; color: var(--soft); }
.hcc-vote.is-mine svg { stroke: var(--soft); }
.hcc-vote.is-static { cursor: default; }
@keyframes hcc-heart { 0% { transform: scale(1); } 25% { transform: scale(.6); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }
.hcc-burst { position: absolute; left: 25px; top: 50%; width: 0; height: 0; pointer-events: none; }
.hcc-burst i { position: absolute; width: 7px; height: 7px; border-radius: 50%; left: -3.5px; top: -3.5px; animation: hcc-burst .7s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes hcc-burst { 0% { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-38px) scale(0); opacity: 0; } }
.hcc-num-bump { animation: hcc-bump .45s cubic-bezier(.2, 1.6, .4, 1); display: inline-block; }
@keyframes hcc-bump { 0% { transform: translateY(0); } 40% { transform: translateY(-8px); color: var(--gold); } 100% { transform: none; } }

.hcc-empty { padding: 50px 20px; text-align: center; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--soft); }
.hcc-empty__bowl { width: 54px; height: 84px; margin: 0 auto 14px; color: var(--lilac); opacity: .7; filter: drop-shadow(0 0 12px rgba(var(--c3), .5)); }
.hcc-more { text-align: center; margin-top: 34px; }

.hcc-skel { border-radius: var(--r); aspect-ratio: 4/5.9; background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 70%); background-size: 300% 100%; animation: hcc-skel 1.4s infinite; }
@keyframes hcc-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* =========================================================
   PODIO
   ========================================================= */
.hcc-podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: end; max-width: 1040px; margin: 20px auto 0; }
.hcc-podium__item { position: relative; display: flex; flex-direction: column; cursor: pointer; }
.hcc-podium__item--1 { order: 2; }
.hcc-podium__item--2 { order: 1; }
.hcc-podium__item--3 { order: 3; }
.hcc-podium__media { aspect-ratio: 4/5; border-radius: var(--r) var(--r) 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: var(--bg-3); }
.hcc-podium__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.hcc-podium__item:hover .hcc-podium__media img { transform: scale(1.05); }
.hcc-podium__item--1 .hcc-podium__media { border: 2px solid transparent; background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--fire) border-box; box-shadow: 0 30px 80px -20px rgba(var(--c2), .6); }
.hcc-podium__info { padding: 16px 18px; background: var(--card-2); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.hcc-podium__place { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hcc-podium__info h3 { font-family: var(--display); font-size: 18px; margin: 4px 0 2px; color: var(--text); }
.hcc-podium__item--1 .hcc-podium__info h3 { font-size: 22px; }
.hcc-podium__info p { margin: 0; color: var(--soft); font-size: 14px; }
.hcc-podium__block { display: grid; place-items: center; border-radius: 0 0 16px 16px; font-family: var(--display); font-weight: 900; color: rgba(255, 255, 255, .85); background: linear-gradient(180deg, var(--bg-4), var(--bg-3)); border: 1px solid var(--line); }
.hcc-podium__item--1 .hcc-podium__block { height: 130px; font-size: 64px; background: var(--fire); color: var(--on-fire); border: 0; }
.hcc-podium__item--2 .hcc-podium__block { height: 90px; font-size: 40px; }
.hcc-podium__item--3 .hcc-podium__block { height: 64px; font-size: 32px; }
.hcc-podium--even .hcc-podium__block { height: 70px !important; font-size: 28px !important; background: linear-gradient(180deg, var(--bg-4), var(--bg-3)) !important; color: rgba(255, 255, 255, .85) !important; }
.hcc-podium--even { grid-template-columns: repeat(3, 1fr); }
.hcc-podium--even .hcc-podium__item { order: 0; }
.hcc-podium__block span::after { content: ''; }
.hcc-crown { position: absolute; left: 50%; top: -46px; transform: translateX(-50%); font-size: 54px; line-height: 1; color: var(--gold); text-shadow: 0 0 30px rgba(var(--c-accent), .8); animation: hcc-float 4s ease-in-out infinite; z-index: 3; }

.hcc-story { margin: 56px auto 0; max-width: 900px; padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.hcc-story__imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.hcc-story__imgs img { border-radius: 16px; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* =========================================================
   BASES
   ========================================================= */
.hcc-rules { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; margin-bottom: 80px; }
.hcc-rules summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.hcc-rules summary::-webkit-details-marker { display: none; }
.hcc-rules summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .3s; }
.hcc-rules summary i::before, .hcc-rules summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--text); transform: translate(-50%, -50%); }
.hcc-rules summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.hcc-rules[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.hcc-rules .hcc-rich { padding: 0 28px 28px; font-size: 15px; }

/* =========================================================
   VISOR (LIGHTBOX)
   ========================================================= */
.hcc-lightbox { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; }
.hcc-lightbox__bg { position: absolute; inset: 0; background: rgba(var(--c-bg), .82); backdrop-filter: blur(14px); animation: hcc-fade .3s; }
@keyframes hcc-fade { from { opacity: 0; } }
.hcc-lightbox__box {
  position: relative; width: min(1180px, 100%); max-height: calc(100vh - 48px); display: grid; grid-template-columns: 1fr 380px;
  border-radius: 28px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
  animation: hcc-zoom .45s cubic-bezier(.2, 1.2, .4, 1);
}
@keyframes hcc-zoom { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.hcc-lightbox__media { position: relative; background: var(--bg-0); display: grid; place-items: center; min-height: 360px; max-height: calc(100vh - 48px); }
.hcc-lightbox__media img { max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; animation: hcc-fade .35s; }
.hcc-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .5); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.hcc-lightbox__nav:hover { background: rgba(255, 255, 255, .18); }
.hcc-lightbox__nav--prev { left: 16px; }
.hcc-lightbox__nav--next { right: 16px; }
.hcc-lightbox__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hcc-lightbox__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.hcc-lightbox__dots button.is-active { width: 26px; background: var(--gold); }
.hcc-lightbox__side { padding: 36px 30px 28px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.hcc-lightbox__side h3 { font-family: var(--display); font-size: 26px; line-height: 1.15; margin: 4px 0 0; color: var(--text); word-break: break-word; }
.hcc-lightbox__author { color: var(--gold); font-weight: 600; margin: 0; }
.hcc-lightbox__desc { color: var(--soft); white-space: pre-line; margin: 6px 0 0; word-break: break-word; }
.hcc-lightbox__actions { margin-top: auto; padding-top: 18px; }
.hcc-lightbox__actions .hcc-vote { height: 54px; width: 100%; justify-content: center; font-size: 16px; }
.hcc-lightbox__close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .5); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.hcc-share { display: flex; align-items: center; gap: 8px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.hcc-share > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-right: auto; }
.hcc-share a, .hcc-share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); display: grid; place-items: center; cursor: pointer; transition: all .2s; color: var(--text); }
.hcc-share a:hover, .hcc-share button:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.hcc-share svg { width: 18px; height: 18px; fill: currentColor; }
.hcc-share button svg { fill: none; stroke: currentColor; stroke-width: 2; }
body.hcc-lock { overflow: hidden; }

/* ---------- Dock móvil, toast, confeti ---------- */
.hcc-dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 9000; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 99px;
  background: rgba(var(--c-bg), .88); border: 1px solid var(--line-2); backdrop-filter: blur(16px); color: var(--text); font-size: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.2, 1.2, .4, 1); white-space: nowrap;
}
.hcc-dock.is-visible { transform: translate(-50%, 0); }
.hcc-toast {
  position: fixed; left: 50%; top: 24px; z-index: 10001; transform: translate(-50%, -160%); max-width: calc(100vw - 32px);
  padding: 14px 22px; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: transform .45s cubic-bezier(.2, 1.2, .4, 1); display: flex; align-items: center; gap: 14px;
}
.hcc-toast.is-visible { transform: translate(-50%, 0); }
.hcc-toast.is-error { border-color: rgba(var(--c-pink), .6); }
.hcc-toast.is-ok { border-color: rgba(61, 220, 151, .5); }
.hcc-toast .hcc-btn { flex: 0 0 auto; }
.hcc-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10002; }

/* ---------- Aparición al hacer scroll ---------- */
.hcc-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.hcc-reveal.is-in { opacity: 1; transform: none; }
.hcc-how .hcc-reveal:nth-child(2) { transition-delay: .1s; }
.hcc-how .hcc-reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .hcc-hero { min-height: 0; padding: 50px 0 40px; }
  .hcc-hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hcc-hero__badge { order: -1; max-width: 340px; }
  .hcc-badge-num { font-size: 190px; }
  .hcc-hero__text { text-align: center; }
  .hcc-subtitle { margin-left: auto; margin-right: auto; }
  .hcc-cta, .hcc-countdown__boxes { justify-content: center; }
  .hcc-how { grid-template-columns: 1fr; }
  .hcc-lightbox__box { grid-template-columns: 1fr; overflow-y: auto; }
  .hcc-lightbox__media { max-height: 62vh; }
  .hcc-lightbox__media img { max-height: 62vh; }
}
@media (max-width: 640px) {
  .hcc-wrap { padding: 0 16px; }
  .hcc-section { padding-top: 54px; }
  .hcc-hero__badge { max-width: min(76vw, 300px); }
  .hcc-badge-num { font-size: min(47vw, 186px); }
  .hcc-cd { min-width: 0; flex: 1; padding: 12px 4px 8px; border-radius: 14px; }
  .hcc-cd b { font-size: 26px; }
  .hcc-btn { --h: 50px; padding: 0 22px; font-size: 15px; }
  .hcc-timeline__bar { top: 18px; }
  .hcc-step__num { width: 40px; height: 40px; font-size: 15px; }
  .hcc-step__name { font-size: 13px; }
  .hcc-step__dates { font-size: 11px; }
  .hcc-stat { min-width: 0; flex: 1; padding: 14px 10px; }
  .hcc-stat b { font-size: 24px; }
  .hcc-panel { padding: 26px 18px; border-radius: 22px; }
  .hcc-fields { grid-template-columns: 1fr; }
  .hcc-notify { flex-direction: column; }
  .hcc-prize__inner { flex-direction: column; gap: 12px; padding: 24px 20px; }
  .hcc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hcc-card { --r: 18px; }
  .hcc-card__body { flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; }
  .hcc-card__title { font-size: 14px; }
  .hcc-vote { justify-content: center; height: 40px; }
  .hcc-sort button { padding: 7px 12px; font-size: 13px; }
  .hcc-podium, .hcc-podium--even { grid-template-columns: 1fr; gap: 50px; max-width: 360px; }
  .hcc-podium__item { order: 0 !important; }
  .hcc-podium__block { height: 56px !important; font-size: 26px !important; }
  .hcc-lightbox { padding: 0; }
  .hcc-lightbox__box { border-radius: 0; max-height: 100vh; height: 100%; }
  .hcc-lightbox__side { padding: 22px 18px 90px; }
  .hcc-rules summary { padding: 18px 20px; font-size: 16px; }
  .hcc-rules .hcc-rich { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #hcc *, #hcc *::before, #hcc *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hcc-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   TEMÁTICA: CAZOLETA DE NEÓN + ALFARERÍA
   ========================================================= */

@media (max-width: 640px) {
  .hcc-prize__art { width: 86px; height: 132px; right: 10px; }
}

/* ---------- Foto de alfarería: fondo de la cabecera + introducción ---------- */
.hcc-hero__photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--hcc-hero-img, none); background-size: cover; background-position: right center;
  opacity: .22; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}

.hcc-craftintro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 0 0 44px; }
.hcc-craftintro--text { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.hcc-craftintro__text .hcc-pill { margin-bottom: 18px; }
.hcc-craftintro__text .hcc-rich { font-size: 18px; }
.hcc-craftintro__text .hcc-rich p { margin: 0 0 14px; }

.hcc-photos { position: relative; display: grid; gap: 14px; }
.hcc-photos--2 { grid-template-columns: 1.3fr 1fr; }
.hcc-photos--3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.hcc-photos--3 figure:first-child { grid-row: 1 / 3; }
.hcc-photos figure {
  position: relative; margin: 0; border-radius: 26px; overflow: hidden; min-height: 200px;
  border: 1px solid rgba(var(--c3), .5);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--c4), .15), 0 0 40px -10px rgba(var(--c1), .55);
}
.hcc-photos--1 figure { aspect-ratio: 5 / 5.2; }
.hcc-photos figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.hcc-photos figure:hover img { transform: scale(1.05); }
/* Tratamiento lila-azul para que la foto case con la paleta */
.hcc-photos figure::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(var(--c1), .28), rgba(var(--c-bg), 0) 45%, rgba(var(--c4), .35));
  mix-blend-mode: color;
}
.hcc-photos__tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 99px; background: rgba(var(--c-bg), .72); backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--c3), .5); color: #fff; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.hcc-photos__tag svg { width: 18px; height: 28px; color: var(--lilac); filter: drop-shadow(0 0 6px rgba(var(--c3), .9)); }

@media (max-width: 991px) {
  .hcc-craftintro { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .hcc-hero__photo { opacity: .14; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
}

/* =========================================================
   MODAL DE ACCESO (iniciar sesión / crear cuenta)
   ========================================================= */
.hcc-auth { position: fixed; inset: 0; z-index: 10003; display: grid; place-items: center; padding: 20px; color: var(--text); font-family: var(--body); }
.hcc-auth__bg { position: absolute; inset: 0; background: rgba(var(--c-bg), .78); backdrop-filter: blur(12px); animation: hcc-fade .3s; }
.hcc-auth__box {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain;
  padding: 34px 30px 26px; border-radius: 28px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid rgba(var(--c3), .35);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 60px -20px rgba(var(--c1), .6);
  animation: hcc-zoom .45s cubic-bezier(.2, 1.2, .4, 1);
  scrollbar-width: thin; scrollbar-color: rgba(var(--c3), .45) transparent;
}
.hcc-auth__box::-webkit-scrollbar { width: 6px; }
.hcc-auth__box::-webkit-scrollbar-thumb { background: rgba(var(--c3), .45); border-radius: 6px; }
.hcc-auth__box::before { content: ''; position: absolute; left: 50%; top: 0; width: 70%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(var(--c-accent), .9), transparent); }
.hcc-auth__close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.hcc-auth__close:hover { background: rgba(255, 255, 255, .14); }
.hcc-auth__badge {
  font-family: var(--display); font-weight: 900; font-size: 54px; line-height: .9; letter-spacing: -.06em; text-align: center; margin-bottom: 18px;
  background: var(--grad-badge); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 24px rgba(var(--c1), .45));
}
.hcc-auth__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); margin-bottom: 20px; }
.hcc-auth__tabs button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--soft); font-weight: 700; font-size: 15px; padding: 11px 8px; border-radius: 99px; cursor: pointer; transition: color .3s; }
.hcc-auth__tabs button.is-active { color: var(--on-fire); }
.hcc-auth__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--fire); box-shadow: 0 6px 20px -6px rgba(var(--c2), .8); transition: transform .4s cubic-bezier(.2, 1.2, .4, 1); }
.hcc-auth__tabs[data-active="register"] .hcc-auth__pill { transform: translateX(100%); }
.hcc-auth__form { display: grid; gap: 12px; animation: hcc-fade .35s; }
.hcc-auth__intro { margin: 0 0 4px; color: var(--soft); font-size: 15px; text-align: center; }
.hcc-auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hcc-auth .hcc-field input { height: 58px; }
.hcc-field--pass input { padding-right: 84px; }
.hcc-auth__eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255, 255, 255, .07); color: var(--soft); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 99px; cursor: pointer; }
.hcc-auth__eye:hover { color: var(--text); }
.hcc-auth__link { justify-self: end; font-size: 13px; color: var(--gold) !important; text-decoration: none; margin-top: -4px; }
.hcc-auth__link:hover { text-decoration: underline; }
.hcc-auth__check { margin: 2px 0 0; font-size: 14px; }
.hcc-auth__check a { color: var(--gold) !important; }
.hcc-auth__captcha { font-size: 13px; color: var(--soft); }
.hcc-auth__captcha .form-group { margin: 0; }
.hcc-auth__captcha .col-sm-offset-2 { margin: 0; width: auto; padding: 0; }
.hcc-auth__captcha .text-danger { color: var(--pink); }
.hcc-auth__submit { width: 100%; margin-top: 6px; text-decoration: none; }
.hcc-auth__switch { margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--faint); }
.hcc-auth__switch button { border: 0; background: none; color: var(--gold); font-weight: 700; cursor: pointer; padding: 0 2px; }
.hcc-auth__msg { padding: 12px 14px; border-radius: 14px; font-size: 14px; background: rgba(var(--c-pink), .12); border: 1px solid rgba(var(--c-pink), .4); color: var(--text); }
.hcc-auth__msg.is-ok { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .45); }
.hcc-auth .hcc-field.is-error input { border-color: var(--pink); }
@media (max-width: 640px) {
  .hcc-auth { padding: 0; place-items: end center; }
  .hcc-auth__box { width: 100%; max-height: 92vh; border-radius: 26px 26px 0 0; padding: 28px 18px 22px; animation: hcc-sheet .45s cubic-bezier(.2, 1, .3, 1); }
  .hcc-auth__row { grid-template-columns: 1fr; }
  .hcc-auth__badge { font-size: 42px; margin-bottom: 14px; }
}
@keyframes hcc-sheet { from { transform: translateY(100%); } }
