/* ==========================================================================
   Grupo del bootcamp · la comunidad de Liz Turra (con su marca)
   Crema #FBF5FA · butter yellow #FFCDDC · marrón #4C0000 · acentos pastel
   ========================================================================== */
.cc { --cc-alto-cab: 108px; min-height: calc(100vh - var(--alto-cinta)); background: var(--suelo); overflow-x: clip; }
.cc button { font: inherit; }
.cc-mini-rotulo { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3); }

/* ── Cabecera ──────────────────────────────────────────────────────────── */
.cc-cabeza { position: sticky; top: var(--alto-cinta); z-index: 40; background: color-mix(in srgb, #FFFFFF 86%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px 0 var(--linea); }
.cc-fila1 { display: flex; align-items: center; gap: 10px; height: 60px; }
.cc-marca { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; color: var(--texto); }
.cc-logo { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--amarillo); color: #4C0000; font-family: var(--letra-display); font-style: italic; font-weight: 700; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(76, 0, 0,.12); }
.cc-nombre { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.cc-buscador { position: relative; display: flex; align-items: center; flex: 1; max-width: 520px; margin-inline: auto; }
.cc-buscador > svg { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--texto-3); pointer-events: none; }
.cc-buscador input[type="search"] { width: 100%; height: 42px; padding: 0 16px 0 40px; border: 0; border-radius: 12px; background: var(--widget-2); box-shadow: inset 0 0 0 1px var(--linea); outline: none; font-size: 14.5px; }
.cc-buscador input[type="search"]:focus { box-shadow: inset 0 0 0 2px var(--acento); background: #fff; }
.cc-buscador.lleno { max-width: none; margin: 0; }
.cc-iconos { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.cc-iconos .redondo { width: 38px; height: 38px; background: transparent; box-shadow: none; }
.cc-iconos .redondo:hover { background: var(--widget-2); }
.cc-iconos .redondo .punto { background: #D9534F; }
.cc-como-liz { cursor: pointer; border: 0; }
.cc-como-liz svg { width: 12px; height: 12px; }
@media (max-width: 380px) { .cc-nombre { font-size: 14px; } .cc-iconos { gap: 4px; } .cc-iconos .redondo { width: 34px; height: 34px; } }

.cc-pestanas { display: flex; gap: 2px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cc-pestanas::-webkit-scrollbar { display: none; }
.cc-pestanas a { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; height: 46px; padding: 0 14px; font-size: 14.5px; font-weight: 500; color: var(--texto-2); white-space: nowrap; }
.cc-pestanas a:hover { color: var(--texto); }
.cc-pestanas a[aria-current="page"] { color: var(--texto); font-weight: 700; }
.cc-pestanas a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #4C0000; }
.cc-pestanas a:first-child { padding-left: 4px; }
.cc-pestanas a:first-child[aria-current="page"]::after { left: 0; }

/* ── Avatares con nivel ────────────────────────────────────────────────── */
.cc-av { --t: 42px; position: relative; flex-shrink: 0; width: var(--t); height: var(--t); border-radius: 999px; display: inline-grid; place-items: center; background: var(--c, #FFCDDC); color: #4C0000; font-weight: 700; font-size: calc(var(--t) * .36); }
.cc-av img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border-radius: inherit; object-fit: cover; object-position: center 20%; }
.cc-av .ini { line-height: 1; letter-spacing: -.02em; }
.cc-av.xs { --t: 26px; }
.cc-av.sm { --t: 36px; }
.cc-av.lg { --t: 56px; }
.cc-av.xl { --t: 88px; }
.cc-nv { position: absolute; right: -4px; bottom: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: #4C0000; box-shadow: 0 0 0 2px var(--widget); }
.cc-av.xs .cc-nv { min-width: 14px; height: 14px; font-size: 8.5px; right: -3px; bottom: -2px; }
.cc-av.xl .cc-nv { min-width: 28px; height: 28px; font-size: 14px; right: 0; bottom: 0; box-shadow: 0 0 0 3px var(--widget); }
.cc-punto-linea { position: absolute; left: -1px; bottom: 0; width: 11px; height: 11px; border-radius: 999px; background: #34C759; box-shadow: 0 0 0 2px var(--widget); }
.cc-av.xl .cc-punto-linea { width: 16px; height: 16px; left: 4px; bottom: 4px; }
.cc-av-boton { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 999px; display: inline-flex; }

/* ── Estructura: feed + lateral ────────────────────────────────────────── */
.cc-cuerpo { padding-top: 18px; padding-bottom: 100px; }
.cc-rejilla { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.cc-principal { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cc-lateral { display: none; }
@media (min-width: 1024px) {
  .cc-cuerpo { padding-top: 24px; }
  .cc-rejilla { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .cc-lateral { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--alto-cinta) + var(--cc-alto-cab) + 20px); }
}
.cc .widget { --radio-widget: 18px; }
@media (min-width: 768px) { .cc .widget { --radio-widget: 20px; --relleno-widget: 20px; } }

.cc-escribir { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; cursor: text; text-align: left; color: var(--texto-3); font-size: 15px; }
.cc-escribir:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--acento) 40%, transparent), 0 10px 24px -18px var(--sombra); }

.cc-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin-inline: -2px; }
.cc-chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cc-principal .cc-chips { flex-wrap: wrap; overflow: visible; } }
.cc-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--texto-2); background: var(--widget); box-shadow: 0 0 0 1px var(--linea); white-space: nowrap; }
.cc-chip:hover { color: var(--texto); background: var(--widget-2); }
.cc-chip.activo { color: #4C0000; background: var(--amarillo); box-shadow: 0 0 0 1px rgba(76, 0, 0,.14); }
.cc-chip span { font-size: 12px; font-weight: 700; opacity: .6; }
/* La lista del muro siempre deja sitio debajo de los filtros: al elegir una categoría con pocas publicaciones la página
   no se encoge y los filtros se quedan donde estaban (no saltan) */
.cc-feed-lista { display: flex; flex-direction: column; gap: 12px; min-height: calc(100svh - var(--alto-cinta) - var(--cc-alto-cab) - 64px); }
.cc-feed-lista > .cc-estado { align-items: flex-start; padding-top: 36px; }

.cc-resultado { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 0; font-size: 14px; color: var(--texto-2); }
.cc-vacio { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 20px; text-align: center; color: var(--texto-2); }
.cc-vacio > svg { width: 28px; height: 28px; color: var(--texto-3); }
.cc-vacio b { color: var(--texto); font-size: 16px; }
.cc-fin { text-align: center; padding: 10px; font-size: 13.5px; color: var(--texto-3); }
.cc-sin-com { padding: 16px 4px; font-size: 14px; color: var(--texto-3); text-align: center; }

/* ── Tarjeta de post (Skool) ───────────────────────────────────────────── */
.cc-post { display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.cc-post.toque:hover { transform: none; }
.cc-completo { cursor: default; }
.cc-post-cabeza { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-meta { min-width: 0; flex: 1; }
.cc-meta-1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cc-autor { padding: 0; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.cc-autor:hover { text-decoration: underline; }
.cc-meta-2 { margin-top: 1px; font-size: 12.5px; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-et-admin { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #4C0000; background: var(--amarillo); }
.cc-cat-et { font-weight: 600; color: var(--texto-2); }
.cc-fijado { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #4C0000; background: color-mix(in srgb, var(--amarillo) 70%, transparent); }
.cc-fijado svg { width: 13px; height: 13px; }
@media (max-width: 420px) { .cc-fijado span { display: none; } .cc-fijado { width: 26px; padding: 0; justify-content: center; } }
.cc-mas { width: 34px; height: 34px; background: transparent; box-shadow: none; }

.cc-post-cuerpo { display: flex; gap: 14px; align-items: flex-start; }
.cc-post-texto { min-width: 0; flex: 1; }
.cc-post-texto h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.cc-extracto { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--texto-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-op-linea { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-op-linea svg { width: 13px; height: 13px; }
.cc-mini-media { position: relative; flex-shrink: 0; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--widget-2); }
.cc-mini-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .cc-mini-media { width: 120px; height: 100px; } }
.cc-media-vacio { display: grid; place-items: center; height: 100%; color: var(--texto-3); }
.cc-play-chico { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: #4C0000; background: rgba(255,255,255,.92); box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.cc-play-chico svg { width: 14px; height: 14px; margin-left: 2px; }

.cc-post-pie { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--texto-2); }
.cc-like { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; margin-left: -10px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 600; color: var(--texto-2); }
.cc-like svg { width: 17px; height: 17px; transition: transform .25s var(--curva-muelle); }
.cc-like:hover { background: var(--widget-2); }
.cc-like.activo { color: #B4505C; }
.cc-like.activo svg { fill: #FFCDDC; stroke: #B4505C; transform: scale(1.12) rotate(-8deg); }
.cc-ncom { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cc-ncom svg { width: 17px; height: 17px; }
.cc-caras { display: inline-flex; }
.cc-caras .cc-av { box-shadow: 0 0 0 2px var(--widget); }
.cc-caras .cc-av + .cc-av { margin-left: -5px; }
.cc-ultimo { font-size: 12.5px; color: var(--texto-3); }
@media (max-width: 480px) { .cc-ultimo { flex-basis: 100%; margin-top: -6px; } }
.cc-copiar { margin-left: auto; font-size: 13px; }

/* ── Post completo ─────────────────────────────────────────────────────── */
.cc-titulo-post { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
@media (min-width: 768px) { .cc-titulo-post { font-size: 26px; } }
.cc-texto { font-size: 15.5px; line-height: 1.65; color: var(--texto); }
.cc-texto p + p { margin-top: 12px; }
.cc-texto a, .cc-com-texto a { word-break: break-all; }
.cc-mencion { font-weight: 600; color: #B4505C; background: color-mix(in srgb, var(--amarillo) 55%, transparent); border-radius: 5px; padding: 0 3px; }
.cc-hash { font-weight: 600; color: #735B3F; }
.cc-media-grande { position: relative; margin: 0; padding: 0; border: 0; width: 100%; border-radius: 16px; overflow: hidden; background: var(--widget-2); display: block; max-height: 460px; }
.cc-media-grande img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.cc-media-grande.video { cursor: pointer; aspect-ratio: 4/5; max-width: 360px; }
.cc-media-grande .boton-play { position: absolute; inset: 0; margin: auto; }

.cc-encuesta { display: flex; flex-direction: column; gap: 8px; }
.cc-opcion { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--widget-2); box-shadow: inset 0 0 0 1px var(--linea); cursor: pointer; overflow: hidden; text-align: left; font-weight: 600; font-size: 14.5px; }
.cc-opcion:hover { box-shadow: inset 0 0 0 1.5px var(--acento); }
.cc-opcion-barra { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--lila) 45%, transparent); transition: width .6s var(--curva); }
.cc-opcion.elegida .cc-opcion-barra { background: color-mix(in srgb, var(--amarillo) 90%, transparent); }
.cc-opcion-t, .cc-opcion b { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cc-opcion-t svg { width: 15px; height: 15px; }
.cc-encuesta-pie { font-size: 12.5px; color: var(--texto-3); }

.cc-op { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--turquesa) 16%, #fff), #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--turquesa) 45%, transparent); }
.cc-op-cab { display: flex; align-items: center; gap: 12px; }
.cc-op-cab > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-op-cab b { font-size: 16px; }
.cc-op-cab span { font-size: 13.5px; color: var(--texto-2); }
.cc-op-logo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(150deg, #8A6D4C, #5A452D); }
.cc-op-datos { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cc-op-datos { grid-template-columns: 1.4fr 1fr .5fr; } }
.cc-op-datos > div { padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); display: flex; flex-direction: column; gap: 2px; }
.cc-op-datos span, .cc-op-req > span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); }
.cc-op-datos b { font-size: 14.5px; }
.cc-op-req ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.cc-op-req li { display: flex; gap: 8px; font-size: 14px; line-height: 1.4; }
.cc-op-req li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: #735B3F; }
.cc-op-estado { display: flex; align-items: center; gap: 10px; font-size: 13px; }

.cc-reto-caja, .cc-evento-caja { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--rosa) 28%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rosa) 70%, transparent); }
.cc-evento-caja { background: color-mix(in srgb, var(--amarillo) 32%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amarillo) 90%, transparent); }
.cc-reto-fila { display: flex; align-items: center; gap: 12px; }
.cc-reto-fila > div, .cc-ev-txt { display: flex; flex-direction: column; min-width: 0; }
.cc-reto-fila span, .cc-ev-txt > span { font-size: 13px; color: var(--texto-2); }
.cc-evento-caja .cc-ev-txt { flex: 1; }

/* Hilo de comentarios */
.cc-hilo { display: flex; flex-direction: column; gap: 18px; }
.cc-form-com { display: flex; align-items: flex-start; gap: 10px; }
.cc-form-com .btn { flex-shrink: 0; margin-top: 2px; }
.cc-campo-men { position: relative; flex: 1; min-width: 0; }
.cc-form-com textarea.entrada { min-height: 64px; height: 64px; line-height: 1.45; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; resize: none; field-sizing: content; max-height: 200px; }
.cc-form-com.respuesta { margin-top: 8px; }
@media (max-width: 480px) { .cc-form-com { flex-wrap: wrap; } .cc-form-com > .cc-av { display: none; } .cc-form-com .btn { margin-left: auto; } .cc-campo-men { flex-basis: 100%; } }
.cc-sugerencias { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; padding: 6px; border-radius: 14px; background: var(--widget); box-shadow: 0 0 0 1px var(--linea), 0 20px 40px -18px var(--sombra); }
.cc-compositor .cc-sugerencias { position: static; }
.cc-sugerencias button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; font-size: 13.5px; color: var(--texto-2); }
.cc-sugerencias button:hover { background: var(--widget-2); }
.cc-sugerencias b { color: var(--texto); }

.cc-lista-com { display: flex; flex-direction: column; gap: 16px; }
.cc-com { display: flex; gap: 10px; }
.cc-com-cuerpo { flex: 1; min-width: 0; }
.cc-burbuja { padding: 10px 14px 12px; border-radius: 16px; background: var(--widget-2); }
.cc-com.destacado > .cc-com-cuerpo > .cc-burbuja { background: color-mix(in srgb, var(--amarillo) 38%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #D69DA4 70%, transparent); }
.cc-dest-et { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; color: #8A1C24; }
.cc-dest-et svg { width: 13px; height: 13px; fill: currentColor; }
.cc-com-cab { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cc-com-cab .cc-autor { font-size: 13.5px; }
.cc-cuando { font-size: 12px; color: var(--texto-3); }
.cc-com-texto { margin-top: 3px; font-size: 14.5px; line-height: 1.55; }
.cc-com-texto p + p { margin-top: 8px; }
.cc-com-acc { display: flex; align-items: center; gap: 4px; margin-top: 2px; padding-left: 4px; flex-wrap: wrap; }
.cc-com-acc .cc-like { margin-left: -6px; height: 30px; font-size: 12.5px; }
.cc-com-acc .cc-like svg { width: 15px; height: 15px; }
.cc-acc { height: 30px; padding: 0 8px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--texto-2); display: inline-flex; align-items: center; gap: 4px; }
.cc-acc:hover { background: var(--widget-2); color: var(--texto); }
.cc-acc svg { width: 13px; height: 13px; }
.cc-acc.activo { color: #8A1C24; }
.cc-respuestas { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; padding-left: 4px; border-left: 2px solid var(--linea); }
.cc-respuestas .cc-com { padding-left: 10px; }
.cc-video-mini { position: relative; display: block; margin-top: 10px; padding: 0; border: 0; width: 132px; aspect-ratio: 9/16; border-radius: 14px; overflow: hidden; cursor: pointer; background: #1B0E10; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.cc-video-mini img { width: 100%; height: 100%; object-fit: cover; }
.cc-video-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.cc-dur { position: absolute; right: 8px; bottom: 7px; z-index: 1; font-size: 11px; font-weight: 700; color: #fff; }

/* Visor de video de muestra */
.cc-visor { position: relative; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 9/16; max-height: 70vh; margin: 0 auto; }
.cc-visor img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.cc-visor-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 999px; display: grid; place-items: center; color: #4C0000; background: rgba(255,255,255,.9); }
.cc-visor-play svg { width: 28px; height: 28px; margin-left: 4px; }
.cc-visor-et { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cc-visor-et svg { width: 14px; height: 14px; }

/* ── Formularios en hojas ──────────────────────────────────────────────── */
.cc-in-titulo { font-weight: 700; font-size: 17px; }
.cc-plegable { border-radius: 14px; background: var(--widget); box-shadow: inset 0 0 0 1px var(--linea); padding: 0 14px; }
.cc-plegable summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 46px; font-weight: 600; font-size: 14.5px; color: var(--texto-2); }
.cc-plegable summary::-webkit-details-marker { display: none; }
.cc-plegable summary svg { width: 17px; height: 17px; }
.cc-plegable[open] { padding-bottom: 14px; }
.cc-muestras { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.cc-muestras label { position: relative; cursor: pointer; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--widget-2); }
.cc-muestras input { position: absolute; opacity: 0; pointer-events: none; }
.cc-muestras img, .cc-sin-img { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--texto-3); }
.cc-muestras label:has(input:checked) { box-shadow: 0 0 0 3px #4C0000; }
.cc-check, .cc-radio { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.cc-check input, .cc-radio input { width: 18px; height: 18px; accent-color: #4C0000; flex-shrink: 0; }
.cc-radio { padding: 12px 14px; border-radius: 14px; background: var(--widget); box-shadow: inset 0 0 0 1px var(--linea); }
.cc-radio:has(input:checked) { box-shadow: inset 0 0 0 2px #4C0000; }

/* ── Desplegables de la cabecera ───────────────────────────────────────── */
.cc-pop { position: fixed; z-index: 70; width: 380px; max-height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column; border-radius: 18px; background: var(--widget); box-shadow: 0 0 0 1px var(--linea), 0 30px 60px -24px rgba(76, 0, 0,.45); animation: aparece .2s var(--curva) both; overflow: hidden; }
.cc-pop-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; font-size: 16px; }
.cc-pop-cab .enlace { font-size: 13px; }
.cc-pop-cuerpo { overflow-y: auto; padding: 0 8px 8px; }
.cc-pop-acc { display: flex; justify-content: flex-end; margin: -6px 0 8px; }
.cc-notis { display: flex; flex-direction: column; gap: 2px; }
.cc-noti { position: relative; display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left; color: var(--texto-2); font-size: 13.5px; line-height: 1.4; }
.cc-noti:hover { background: var(--widget-2); }
.cc-noti.nueva { background: color-mix(in srgb, var(--amarillo) 26%, transparent); }
.cc-noti b { color: var(--texto); }
.cc-noti-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-chat-ult { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-noti > .cc-cuando { flex-shrink: 0; }
.cc-punto-nuevo { flex-shrink: 0; width: 9px; height: 9px; margin-top: 6px; border-radius: 999px; background: #D9534F; }
.cc-menu-yo { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.cc-yo-nivel { display: flex; align-items: center; gap: 12px; padding: 4px 10px 12px; }
.cc-yo-nivel > div { display: flex; flex-direction: column; font-size: 13px; color: var(--texto-2); }
.cc-yo-nivel b { color: var(--texto); font-size: 14px; }
.cc-menu-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left; font-size: 14.5px; font-weight: 500; color: var(--texto); }
.cc-menu-it:hover { background: var(--widget-2); }
.cc-menu-it svg { width: 18px; height: 18px; color: var(--texto-2); }

/* Chat */
.cc-chat-cab .persona b { font-size: 16px; }
.cc-chat { display: flex; flex-direction: column; gap: 8px; min-height: 240px; max-height: 50vh; overflow-y: auto; padding: 6px 2px 12px; }
.cc-msg { align-self: flex-start; max-width: 82%; display: flex; flex-direction: column; gap: 2px; }
.cc-msg span { padding: 9px 13px; border-radius: 18px 18px 18px 6px; background: var(--widget); box-shadow: 0 0 0 1px var(--linea); font-size: 14.5px; line-height: 1.45; }
.cc-msg.mio { align-self: flex-end; align-items: flex-end; }
.cc-msg.mio span { border-radius: 18px 18px 6px 18px; background: var(--amarillo); color: #4C0000; box-shadow: none; }
.cc-msg time { font-size: 11px; color: var(--texto-3); padding: 0 6px; }
.cc-chat-form { display: flex; gap: 8px; align-items: center; }
.cc-enviar { background: #4C0000; color: #fff; width: 46px; height: 46px; }

/* Perfil */
.cc-perfil { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-bottom: 6px; }
.cc-perfil h3 { margin-top: 6px; font-size: 22px; font-weight: 700; }
.cc-perfil p { color: var(--texto-2); max-width: 30rem; }
.cc-perfil-datos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 13px; color: var(--texto-2); }
.cc-perfil-datos svg { width: 14px; height: 14px; vertical-align: -2px; }
.cc-perfil .cc-numeros { width: 100%; margin: 6px 0 8px; }
.cc-siguiendo { color: #4C0000; background: var(--amarillo); }
.cc-sugeridos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ── Barra lateral ─────────────────────────────────────────────────────── */
.cc-numeros { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 0; border-block: 1px solid var(--linea); text-align: center; }
.cc-numeros > div { display: flex; flex-direction: column; }
.cc-numeros > div + div { border-left: 1px solid var(--linea); }
.cc-numeros b { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cc-numeros span { font-size: 12px; color: var(--texto-3); }
.cc-lat-evento { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; cursor: pointer; padding: 14px; }
.cc-lat-ev-txt { display: flex; flex-direction: column; min-width: 0; gap: 1px; font-size: 13px; color: var(--texto-2); }
.cc-lat-ev-txt b { font-size: 14px; color: var(--texto); line-height: 1.3; }
.cc-cal-hoja { flex-shrink: 0; width: 50px; height: 54px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--amarillo); color: #4C0000; line-height: 1; }
.cc-cal-hoja b { font-size: 20px; font-weight: 800; }
.cc-cal-hoja span { margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cc-cal-hoja.grande { width: 64px; height: 70px; } .cc-cal-hoja.grande b { font-size: 26px; }
.cc-lat-tit { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14.5px; }
.cc-lat-tit a { font-size: 13px; font-weight: 600; }
.cc-lider-fila { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 4px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; font-size: 14px; color: var(--texto); }
.cc-lider-fila:hover { background: var(--widget-2); }
.cc-lider-fila.yo { background: color-mix(in srgb, var(--amarillo) 40%, transparent); }
.cc-pos { flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: var(--texto-2); }
.cc-pos.p1 { background: #FFCDDC; color: #4C0000; } .cc-pos.p2 { background: #E2D9D4; color: #4C0000; } .cc-pos.p3 { background: #D69DA4; color: #4C0000; }
.cc-lider-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cc-lider-p { font-weight: 700; font-size: 13.5px; color: #735B3F; font-variant-numeric: tabular-nums; }
.cc-lider-sep { text-align: center; color: var(--texto-3); line-height: 1; padding: 2px 0; }

/* Reto del día (tarjeta arriba del feed: el último reto que publicó Liz) */
.cc-reto-icono { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, #C0505C, #8A1C24 50%, #4C0000); }
.cc-reto-icono svg { width: 18px; height: 18px; fill: rgba(255,255,255,.35); }
.cc-reto-dia { display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--rosa) 30%, var(--widget)) 0%, var(--widget) 70%); }
.cc-reto-dia-cab { display: flex; align-items: center; gap: 10px; }
.cc-reto-dia-cab .cc-mini-rotulo { color: #B4505C; }
.cc-reto-dia-cab .cc-cuando { margin-left: auto; }
.cc-reto-dia h3 { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.cc-reto-dia p { font-size: 14px; color: var(--texto-2); line-height: 1.5; }
.cc-reto-dia-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
:root[data-theme="dark"] .cc-reto-dia { background: var(--widget); }

/* ── Clases ────────────────────────────────────────────────────────────── */
.cc-cursos { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cc-cursos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cc-cursos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.cc-curso { display: flex; flex-direction: column; }
.cc-curso-portada { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--widget-2); }
.cc-curso-portada img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
@media (hover: hover) { .cc-curso:hover .cc-curso-portada img { transform: scale(1.04); } }
.cc-curso-et { position: absolute; left: 12px; top: 12px; background: rgba(76, 0, 0,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cc-curso.bloqueado .cc-curso-portada img { filter: grayscale(.5) brightness(.75); }
.cc-curso-portada img[src*="colonial-retrato"], .cc-bloq-portada img[src*="colonial-retrato"] { object-position: 50% 18%; }
.cc-candado { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center; color: #4C0000; background: rgba(255,255,255,.92); }
.cc-candado svg { width: 22px; height: 22px; }
.cc-curso-cuerpo { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc-curso-cuerpo h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.cc-curso-cuerpo p { font-size: 14px; color: var(--texto-2); line-height: 1.45; flex: 1; }
.cc-curso-prog { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cc-curso-prog .barra-progreso { flex: 1; }
.cc-curso-prog .barra-progreso > span { background: linear-gradient(90deg, #FFCDDC, #D69DA4); }
.cc-curso-prog b { font-size: 13px; font-variant-numeric: tabular-nums; }
.cc-curso-nota { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--texto-3); }
.cc-curso-nota svg { width: 15px; height: 15px; }

/* ── Calendario ────────────────────────────────────────────────────────── */
.cc-cal { display: flex; flex-direction: column; gap: 14px; max-width: 1040px; margin-inline: auto; }
.cc-cal-barra { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cc-zona { position: relative; display: inline-flex; align-items: center; }
.cc-zona svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--texto-2); pointer-events: none; }
.cc-zona select { appearance: none; height: 40px; padding: 0 34px 0 36px; border: 0; border-radius: 999px; background: var(--widget) linear-gradient(45deg, transparent 50%, var(--texto-2) 50%) no-repeat calc(100% - 18px) 18px / 5px 5px; box-shadow: inset 0 0 0 1px var(--linea); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.cc-zona select { background-image: linear-gradient(45deg, transparent 50%, var(--texto-2) 50%), linear-gradient(135deg, var(--texto-2) 50%, transparent 50%); background-position: calc(100% - 20px) 18px, calc(100% - 15px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
.cc-mes { padding: 14px; }
@media (min-width: 768px) { .cc-mes { padding: 20px; } }
.cc-mes-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cc-mes-cab h2 { font-size: 20px; font-weight: 700; text-transform: capitalize; }
.cc-mes-cab .redondo:disabled { opacity: .35; cursor: default; }
.cc-semana, .cc-grilla { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cc-semana span { text-align: center; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-3); padding-bottom: 6px; }
.cc-celda { position: relative; min-height: 52px; padding: 6px 4px; border: 0; border-radius: 10px; background: var(--widget-2); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: left; overflow: hidden; color: var(--texto); }
.cc-celda.vacia { background: transparent; cursor: default; }
.cc-celda:hover { box-shadow: inset 0 0 0 1px var(--acento); }
.cc-celda.sel { box-shadow: inset 0 0 0 2px #4C0000; background: #fff; }
.cc-num { min-height: 24px; display: flex; align-items: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cc-celda.hoy .cc-num { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; background: #4C0000; color: #fff; }
.cc-pills { display: none; }
.cc-puntos { display: flex; gap: 3px; }
.cc-puntos i { width: 6px; height: 6px; border-radius: 999px; background: var(--amarillo); }
@media (min-width: 768px) {
  .cc-celda { min-height: 104px; align-items: stretch; padding: 8px; }
  .cc-pills { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .cc-puntos { display: none; }
  .cc-pill { display: block; padding: 3px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--amarillo); color: #4C0000; cursor: pointer; }
  .cc-pill.tentativo { background: transparent !important; box-shadow: inset 0 0 0 1.5px currentColor; border: 0; opacity: .8; }
}
.t-amarillo { --tono: #FFCDDC; } .t-rosa { --tono: #D69DA4; } .t-lila { --tono: #E4C9B8; } .t-turquesa { --tono: #C9A48C; } .t-oliva { --tono: #E2D9D4; } .t-nude { --tono: #E4C9B8; }
.cc-pill.t-amarillo, .cc-puntos i.t-amarillo, .cc-cal-hoja.t-amarillo { background: #FFCDDC; }
.cc-pill.t-lila, .cc-puntos i.t-lila, .cc-cal-hoja.t-lila { background: #E4C9B8; }
.cc-pill.t-turquesa, .cc-puntos i.t-turquesa, .cc-cal-hoja.t-turquesa { background: #E8D8CC; }
.cc-pill.t-nude, .cc-cal-hoja.t-nude { background: #E4C9B8; }
.cc-puntos i.t-nude { background: #D9C3A3; }
.cc-pill.tentativo.t-lila { color: #735B3F; }
.cc-dia-sel { display: flex; flex-direction: column; gap: 10px; }
.cc-dia-sel h3 { font-size: 17px; font-weight: 700; }
.cc-dia-sel h3::first-letter { text-transform: uppercase; }
@media (min-width: 768px) { .cc-dia-sel { display: none; } }
.cc-ev-fila { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; text-align: left; cursor: pointer; padding: 14px; }
.cc-ev-fila .cc-ev-txt { flex: 1; gap: 2px; }
.cc-ev-fila .cc-ev-txt b { font-size: 15px; line-height: 1.3; }
.cc-ev-det { display: flex; gap: 14px; align-items: flex-start; }
.cc-ev-titulo { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 4px; }
.cc-otras-zonas { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-otras-zonas span { padding: 6px 10px; border-radius: 10px; background: var(--widget); box-shadow: inset 0 0 0 1px var(--linea); font-size: 12.5px; color: var(--texto-2); }
.cc-otras-zonas b { color: var(--texto); margin-right: 4px; }

/* ── Miembros ──────────────────────────────────────────────────────────── */
.cc-miembros-barra { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
@media (min-width: 900px) { .cc-miembros-barra { flex-direction: row; align-items: center; } .cc-miembros-barra .cc-buscador { max-width: 360px; } }
.cc-miembros { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cc-miembros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cc-miembros { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cc-miembro { display: flex; flex-direction: column; gap: 10px; }
.cc-miembro-top { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; min-width: 0; }
.cc-miembro-id { display: flex; flex-direction: column; min-width: 0; }
.cc-miembro-id b { font-size: 16px; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-miembro-id span { font-size: 13px; color: var(--texto-3); }
.cc-miembro-et { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cc-miembro p { font-size: 14px; color: var(--texto-2); line-height: 1.45; flex: 1; }
.cc-miembro-datos { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--texto-3); }
.cc-miembro-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-miembro-acc .btn-sec { padding: 0 10px; }

/* ── Leaderboard ───────────────────────────────────────────────────────── */
.cc-lb-top { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; }
@media (min-width: 900px) { .cc-lb-top { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } }
.cc-mi-nivel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--amarillo) 60%, transparent), transparent 70%), var(--widget); }
.cc-mi-nivel h2 { margin-top: 8px; font-size: 20px; font-weight: 700; }
.cc-mi-nivel-n { font-family: var(--letra-display); font-style: italic; font-size: 22px; font-weight: 600; color: #B4505C; }
.cc-mi-prog { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-size: 13.5px; color: var(--texto-2); }
.cc-mi-prog .barra-progreso > span { background: linear-gradient(90deg, #FFCDDC, #D69DA4); }
.cc-mi-reglas { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--widget-2); font-size: 12.5px; color: var(--texto-2); text-align: left; }
.cc-mi-reglas svg { width: 16px; height: 16px; flex-shrink: 0; }
.cc-reglas-pts { width: 100%; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--widget-2); text-align: left; }
.cc-regla-pt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--texto-2); }
.cc-regla-pt svg { width: 16px; height: 16px; flex-shrink: 0; color: #B4505C; }
.cc-regla-pt span { flex: 1; min-width: 0; }
.cc-regla-pt b { font-weight: 800; color: #735B3F; font-variant-numeric: tabular-nums; }
.cc-mis-pts { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--linea); font-size: 12.5px; color: var(--texto-3); }
.cc-niveles { display: grid; gap: 4px; grid-template-columns: minmax(0, 1fr); padding: 10px; }
@media (min-width: 640px) { .cc-niveles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cc-niveles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cc-nivel { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; }
.cc-nivel.actual { background: color-mix(in srgb, var(--amarillo) 45%, transparent); box-shadow: inset 0 0 0 1.5px #D69DA4; }
.cc-nivel-n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: #4C0000; }
.cc-nivel.bloq .cc-nivel-n { background: var(--widget-2); color: var(--texto-3); }
.cc-nivel-n svg { width: 15px; height: 15px; }
.cc-nivel-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-nivel-t b { font-size: 13.5px; }
.cc-nivel-t span { font-size: 12px; color: var(--texto-2); line-height: 1.35; }
.cc-nivel.bloq .cc-nivel-t { opacity: .75; }
.cc-nivel-pct { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.cc-nivel-pct small { font-weight: 500; font-size: 11px; color: var(--texto-3); }
.cc-lb-seg { display: flex; justify-content: center; margin-bottom: 12px; }
.cc-tablas { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.cc-tabla h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
@media (max-width: 767px) {
  .cc-tablas > div { display: none; }
  .cc-tablas[data-r="7"] .cc-t-7, .cc-tablas[data-r="30"] .cc-t-30, .cc-tablas[data-r="todo"] .cc-t-todo { display: block; }
}
@media (min-width: 768px) { .cc-tablas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── About ─────────────────────────────────────────────────────────────── */
.cc-about-portada { aspect-ratio: 16/8; overflow: hidden; background: var(--amarillo); }
.cc-about-portada img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.cc-about-cuerpo { padding: 20px 18px 24px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .cc-about-cuerpo { padding: 28px 32px 32px; } }
.cc-about-cuerpo h1 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.cc-about-cuerpo h2 { margin-top: 10px; font-size: 18px; font-weight: 700; }
.cc-about-datos { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--texto-2); align-items: center; }
.cc-about-datos > span { display: inline-flex; align-items: center; gap: 6px; }
.cc-about-datos svg { width: 15px; height: 15px; }
.cc-about-lead { font-size: 16px; line-height: 1.6; }
.cc-encuentras { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cc-encuentras { grid-template-columns: 1fr 1fr; } }
.cc-enc { display: flex; gap: 12px; align-items: flex-start; }
.cc-enc > div { display: flex; flex-direction: column; gap: 2px; }
.cc-enc b { font-size: 14.5px; }
.cc-enc span { font-size: 13.5px; color: var(--texto-2); line-height: 1.45; }
.cc-enc .icono svg { fill: none; }
.cc-liz { display: flex; gap: 16px; align-items: flex-start; }
.cc-liz img { flex-shrink: 0; width: 92px; height: 116px; border-radius: 16px; object-fit: cover; }
.cc-liz p { font-size: 14.5px; line-height: 1.55; }
.cc-liz p + p { margin-top: 6px; }
.cc-liz .insignia svg { width: 13px; height: 13px; }
.cc-reglas { margin: 0; padding: 0; list-style: none; counter-reset: regla; display: grid; gap: 10px; }
.cc-reglas li { counter-increment: regla; display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.cc-reglas li::before { content: counter(regla); flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: #4C0000; background: var(--amarillo); }

/* ── Panel: moderación ─────────────────────────────────────────────────── */
.cc-adm { display: flex; flex-direction: column; gap: 16px; min-width: 0; max-width: 100%; }
.cc-adm > * { min-width: 0; max-width: 100%; }
.cc-adm-tabs { display: flex; flex-wrap: nowrap; gap: 6px; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 2px; }
.cc-adm-tabs::-webkit-scrollbar { display: none; }
.cc-adm-tabs a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--texto-2); background: var(--widget); box-shadow: 0 0 0 1px var(--linea); white-space: nowrap; }
.cc-adm-tabs a[aria-current="page"] { color: var(--suelo); background: var(--texto); box-shadow: none; }
.cc-adm-tabs a span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: #D9534F; }
.cc-adm-h { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.cc-adm-dos { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .cc-adm-dos { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.cc-seg-radio { display: flex; flex-wrap: wrap; width: 100%; }
.cc-seg-radio label { flex: 1; cursor: pointer; }
.cc-seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.cc-seg-radio span { display: grid; place-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--texto-2); white-space: nowrap; }
.cc-seg-radio input:checked + span { color: var(--texto); background: var(--perilla); box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.14); }
.cc-pub .solo-reto, .cc-pub .solo-op { display: none; }
.cc-pub:has(input[value="reto"]:checked) .solo-reto { display: grid; }
.cc-pub:has(input[value="oportunidad"]:checked) .solo-op { display: flex; }
.cc-adm-fila { flex-wrap: wrap; }
.cc-adm-fila .cuerpo, .cc-clase-fila .cuerpo { display: flex; flex-direction: column; align-items: flex-start; }
.cc-adm-btns { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .cc-adm-fila .derecha { width: 100%; justify-content: flex-start; } }
.cc-prog-fila .derecha { width: 100%; justify-content: flex-start; }
@media (min-width: 641px) { .cc-prog-fila .derecha { padding-left: 56px; } }
@media (max-width: 420px) { .cc-seg-radio span { padding: 0 8px; } }
.cc-apps { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cc-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc-app { display: flex; flex-direction: column; gap: 10px; }
.cc-app-cab { display: flex; align-items: center; gap: 10px; }
.cc-app-cab > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-app-cab span { font-size: 13px; color: var(--texto-3); }
.cc-app p { font-size: 14px; color: var(--texto-2); line-height: 1.5; flex: 1; }
.cc-app-pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cc-barras { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 180px; padding-top: 16px; }
.cc-barra-col { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.cc-barra { width: 100%; max-width: 30px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #FFCDDC, #D69DA4); }
.cc-barra-col:last-child .cc-barra { background: linear-gradient(180deg, #D69DA4, #B9707B); }
.cc-barra-n { font-size: 11px; font-weight: 700; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.cc-barra-et { font-size: 11px; color: var(--texto-3); font-variant-numeric: tabular-nums; }

/* Panel oscuro: los bloques claros se adaptan */
:root[data-theme="dark"] .cc-op, :root[data-theme="dark"] .cc-reto-caja, :root[data-theme="dark"] .cc-evento-caja { background: var(--widget-2); }
:root[data-theme="dark"] .cc-op-datos > div { background: var(--widget); }

/* ── Auditoría de diseño 12-oct ─────────────────────────────────────────── */
/* A 390 px el nombre del grupo se cortaba por 7 px */
@media (max-width: 420px) { .cc-iconos { gap: 4px; } .cc-fila1 { gap: 8px; } }

/* ── 13-oct · Programadas ───────────────────────────────────────────────── */
.cc-cuando { display: flex; flex-direction: column; gap: 10px; }
.cc-cuando .cc-seg-radio { padding: 3px; border-radius: 999px; background: var(--widget-2); box-shadow: inset 0 0 0 1px var(--linea); }
.cc-cuando .cc-seg-radio span { gap: 6px; display: inline-flex; align-items: center; justify-content: center; width: 100%; }
.cc-cuando .cc-seg-radio svg { width: 15px; height: 15px; }
.cc-cuando-fecha { display: none; }
.cc-cuando:has(input[value="programar"]:checked) .cc-cuando-fecha { display: flex; }
.cc-si-prog { display: none; }
form:has(input[name="cuando"][value="programar"]:checked) .cc-si-ahora { display: none; }
form:has(input[name="cuando"][value="programar"]:checked) .cc-si-prog { display: inline-flex; align-items: center; gap: 6px; }
.cc-si-prog svg { width: 16px; height: 16px; }
.cc-prog-aviso { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; color: #4C0000; background: var(--fondo-rosa); box-shadow: 0 0 0 1px rgba(76, 0, 0,.08); }
.cc-prog-aviso > span { flex: 1; min-width: 0; }
.cc-prog-aviso svg { width: 17px; height: 17px; flex-shrink: 0; }
.cc-prog-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.cc-prog-cab .cc-adm-h { margin: 0; }
.cc-prog-n { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #4C0000; background: var(--rosa); }
.cc-prog-fila { align-items: center; gap: 12px; }
.cc-prog-fila .cuerpo { min-width: 0; flex: 1; }
.cc-prog-fila .cuerpo .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-prog-fila .s svg { width: 13px; height: 13px; vertical-align: -2px; }
.cc-prog-hoja { flex-shrink: 0; width: 44px; height: 48px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #4C0000; background: var(--rosa); }
.cc-prog-hoja b { font-size: 18px; font-weight: 800; }
.cc-prog-hoja span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.cc-prog-pie { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--texto-3); }
.cc-prog-pie svg { width: 14px; height: 14px; flex-shrink: 0; }
.cc-borrar { color: var(--urgente); }

/* ── 13-oct · Clases con candado ────────────────────────────────────────── */
.cc-curso-sub { position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #4C0000; background: var(--rosa); }
.cc-bloq { text-align: center; }
.cc-bloq-portada { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; }
.cc-bloq-portada img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.8); }
.cc-bloq-nota { display: flex; flex-direction: column; gap: 4px; }
.cc-bloq-nota b { font-size: 17px; }
.cc-bloq-nota span { font-size: 14px; color: var(--texto-2); }
.cc-clase-fila { align-items: center; gap: 12px; }
.cc-clase-fila .cuerpo { flex: 1; min-width: 0; }
.cc-clase-mini { width: 56px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.cc-clase-fila .insignia svg { width: 12px; height: 12px; }

/* ── 13-oct · Admins ────────────────────────────────────────────────────── */
.cc-nombrar { display: grid; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linea); }
.cc-nombrar-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cc-nombrar-f .fila-flex { flex-wrap: wrap; gap: 8px; }
.cc-nombrar-f .entrada { flex: 1 1 120px; min-width: 0; }
@media (min-width: 900px) { .cc-nombrar { grid-template-columns: 1fr 1fr; } }
.cc-hacer-admin { margin-bottom: 4px; }

/* Hoja «Sube tu video del reto» */
.cc-hoja-nota { margin: -4px 0 2px; font-size: 14px; font-weight: 600; color: var(--texto-2); }

/* ── 14-oct · retos con racha (círculos por día y fueguito) ── */
.cc-racha { display: flex; flex-direction: column; gap: 16px; }
.cc-racha-cab { display: flex; align-items: center; gap: 12px; }
.cc-racha-icono { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, #C0505C, #8A1C24 50%, #4C0000); box-shadow: 0 8px 18px -10px rgba(185,112,123,.9); }
.cc-racha-icono svg { width: 22px; height: 22px; fill: rgba(255,255,255,.35); }
.cc-racha-icono.chico { width: 32px; height: 32px; border-radius: 9px; }
.cc-racha-icono.chico svg { width: 16px; height: 16px; }
.cc-racha-cab b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #4C0000; }
.cc-racha-cab span { font-size: 12.5px; color: var(--texto-2); }
.cc-racha-dias { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 6px 4px; justify-items: center; }
.cc-rd { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #735B3F; background: #F7E6EA; font-variant-numeric: tabular-nums; }
.cc-rd svg { width: 15px; height: 15px; }
.cc-rd.hecho { background: #D69DA4; color: #4C0000; }
.cc-rd.hoy { background: var(--widget); color: #B4566C; box-shadow: inset 0 0 0 2px #B9707B; }
.cc-rd.perdido { background: transparent; color: var(--texto-3); box-shadow: inset 0 0 0 1px var(--linea); }
.cc-racha-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cc-racha-pie > span { font-size: 13px; color: var(--texto-2); min-width: 0; }
.cc-racha.compacta { gap: 12px; padding: 16px; }
.cc-racha.compacta .cc-racha-icono { width: 36px; height: 36px; border-radius: 10px; }
.cc-racha.compacta .cc-racha-cab b { font-size: 18px; }
.cc-racha.compacta .cc-rd { width: 28px; height: 28px; font-size: 11.5px; }
.cc-racha.compacta .cc-rd svg { width: 13px; height: 13px; }
.cc-racha.compacta .cc-racha-pie { flex-direction: column; align-items: stretch; }
.cc-racha.compacta .cc-racha-btn { width: 100%; }
@media (max-width: 420px) { .cc-rd { width: 30px; height: 30px; } }
:root[data-theme="dark"] .cc-racha-cab b { color: var(--texto); }
:root[data-theme="dark"] .cc-rd { background: var(--widget-2); color: var(--texto-2); }

/* ── grupo del bootcamp ── */
.cc-logo-boot { background: var(--lila, #E4C9B8); }
.cc-logo-boot svg { width: 18px; height: 18px; }
.cc-pest-boot { gap: 6px; color: #8A1C24 !important; font-weight: 600 !important; }
.cc-pest-boot svg { width: 16px; height: 16px; }
.cc-lat-boot { display: flex; flex-direction: column; gap: 10px; }
.cc-lat-boot h3 { font-size: 18px; font-weight: 700; }
.cc-lat-boot p { font-size: 13.5px; color: var(--texto-2); line-height: 1.5; }
.cc-boot-cerrado { margin-top: 20px; }

/* ── panel: clases, puntos, categorías ── */
.cc-clase-cfg { flex-wrap: wrap; }
.cc-clase-modo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.cc-clase-modo select { min-height: 38px; width: auto; min-width: 150px; font-size: 13.5px; }
.cc-clase-pts { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--texto-3); }
.cc-clase-pts input { width: 76px; min-height: 38px; font-size: 13.5px; text-align: center; }
.cc-clase-cfg:has(select option[value="puntos"]:checked) .cc-clase-pts, .cc-nivel-cfg .cc-clase-pts { display: inline-flex; }
.cc-pts-in { width: 76px; min-height: 38px; text-align: center; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.cc-nivel-cfg { align-items: center; gap: 12px; }
.cc-nivel-cfg .cuerpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-nivel-cfg .cuerpo input { min-height: 38px; font-size: 13.5px; }
.cc-cat-fila .derecha .redondo { width: 34px; height: 34px; }
.cc-cat-fila .derecha .redondo[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 560px) { .cc-clase-modo { width: 100%; margin-left: 68px; } .cc-clase-modo select { flex: 1; } }
.cc-adm .fila > .cuerpo { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.cc-adm .fila > .cuerpo .s { font-size: 12.5px; color: var(--texto-3); }
/* En el celular las pestañas no caben: se achican y se nota que siguen a la derecha */
@media (max-width: 767px) {
  .cc-pestanas { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 28px; }
  .cc-pestanas a { padding: 0 11px; font-size: 14px; }
}
/* 18-oct: el grupo del bootcamp tiene 5 pestañas y caben en el celular: repartidas, sin desvanecido.
   Cada una reserva el ancho de su texto en negrita (data-t) para que nada se corra al cambiar de pestaña. */
.cc-pestanas-grupo a { flex-direction: column; justify-content: center; }
.cc-pestanas-grupo a::before { content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; pointer-events: none; }
@media (max-width: 767px) {
  .cc-pestanas.cc-pestanas-grupo { -webkit-mask-image: none; mask-image: none; padding-right: var(--margen); justify-content: space-between; gap: 0; }
  .cc-pestanas-grupo a, .cc-pestanas-grupo a:first-child { padding: 0; }
  .cc-pestanas-grupo a[aria-current="page"]::after, .cc-pestanas-grupo a:first-child[aria-current="page"]::after { left: 0; right: 0; }
}
@media (max-width: 359px) {
  .cc-pestanas.cc-pestanas-grupo { justify-content: flex-start; gap: 16px; }
  .cc-pestanas-grupo a { font-size: 13.5px; }
}

/* Cabecera propia del grupo del bootcamp */
.cc-boot-hero { display: flex; align-items: stretch; gap: 16px; padding: 20px; border-radius: 20px; background: linear-gradient(135deg, #F7ECE4 0%, #EFDCCF 100%); box-shadow: inset 0 0 0 1px rgba(115,91,63,.14); overflow: hidden; }
.cc-boot-hero-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.cc-boot-hero .cc-mini-rotulo { color: #8A1C24; }
.cc-boot-hero h1 { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #4C0000; }
.cc-boot-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: #4C0000; }
.cc-boot-coh { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: #fff; color: #4C0000; font-weight: 700; font-size: 12.5px; }
.cc-boot-hero img { flex-shrink: 0; width: 92px; align-self: stretch; min-height: 104px; object-fit: cover; object-position: center 25%; border-radius: 14px; }
@media (min-width: 768px) { .cc-boot-hero { padding: 24px 26px; } .cc-boot-hero h1 { font-size: 30px; } .cc-boot-hero img { width: 132px; min-height: 120px; } }
:root[data-theme="dark"] .cc-boot-hero { background: linear-gradient(135deg, #1F1214, #2A181A); }
:root[data-theme="dark"] .cc-boot-hero h1, :root[data-theme="dark"] .cc-boot-hero-meta { color: var(--texto); }
.cc-lat-boot h3 { margin-bottom: 2px; }

/* ── 17-oct (segunda vuelta): The Content Casa vuelve, solo para la vista de Liz ──
   Lo que se había quitado con ella: invitar, lateral con portada, caras, precio del About, mapa y selector de espacio. */
.cc-invita-url { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--widget); box-shadow: inset 0 0 0 1px var(--linea); }
.cc-invita-url span { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--texto-2); }
.cc-lat-portada { aspect-ratio: 16/9; overflow: hidden; background: var(--amarillo); }
.cc-lat-portada img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cc-lat-cuerpo { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cc-lat-cuerpo h3 { font-size: 18px; font-weight: 700; }
.cc-url { margin-top: -8px; font-size: 12.5px; color: var(--texto-3); }
.cc-lat-cuerpo p { font-size: 14px; line-height: 1.5; color: var(--texto-2); }
.cc-caras-fila { display: flex; }
.cc-caras-fila .cc-av { box-shadow: 0 0 0 2px var(--widget); }
.cc-caras-fila .cc-av + .cc-av { margin-left: -6px; }
.cc-precio { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .cc-precio { grid-template-columns: 1fr 1fr; } }
.cc-precio > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--amarillo) 45%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, #D69DA4 50%, transparent); }
.cc-precio > div.pronto { background: var(--widget-2); box-shadow: inset 0 0 0 1.5px var(--linea); border: 1.5px dashed color-mix(in srgb, var(--texto) 18%, transparent); }
.cc-precio b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cc-precio b small { font-size: 14px; font-weight: 600; color: var(--texto-2); }
.cc-precio span:last-child { font-size: 13px; color: var(--texto-2); }
/* ── 13-oct · Mapa ──────────────────────────────────────────────────────── */
.cc-mapa-pag { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cc-mapa { overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #FFF6F8 100%); }
.cc-mapa-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cc-mapa-cifra { display: flex; align-items: baseline; gap: 8px; color: #4C0000; }
.cc-mapa-cifra b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.cc-mapa-cifra span { font-size: 14px; color: var(--texto-2); }
.cc-mapa-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cc-mapa-tierra { fill: none; stroke: #D69DA4; stroke-linecap: round; }
.cc-mapa-marca { cursor: pointer; }
.cc-mapa-pin { fill: #E7A0B1; stroke: #FFFFFF; transition: fill .2s var(--curva); }
.cc-mapa-marca:hover .cc-mapa-pin, .cc-mapa-marca:focus-visible .cc-mapa-pin { fill: #B9707B; }
.cc-mapa-marca.sel .cc-mapa-pin { fill: #4C0000; }
.cc-mapa-halo { fill: #D69DA4; opacity: .55; transform-box: fill-box; transform-origin: center; }
.cc-mapa-marca.sel .cc-mapa-halo { animation: cc-latido 2.2s var(--curva) infinite; opacity: .7; }
@keyframes cc-latido { 0% { transform: scale(.55); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cc-mapa-marca.sel .cc-mapa-halo { animation: none; } }
.cc-mapa-n { fill: #4C0000; font-family: var(--letra); font-weight: 800; text-anchor: middle; pointer-events: none; }
.cc-mapa-marca.sel .cc-mapa-n { fill: #FFFFFF; }
.cc-mapa-abajo { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .cc-mapa-abajo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.cc-paises { display: flex; flex-direction: column; }
.cc-pais { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--texto); }
.cc-pais:hover { background: var(--widget-2); }
.cc-pais.activo { background: #FFE1EA; }
.cc-pais-bandera .emoji { font-size: 24px; line-height: 1; }
.cc-pais-cuerpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-pais-n { font-size: 14.5px; font-weight: 600; }
.cc-pais-tu { margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #FFFFFF; background: #4C0000; vertical-align: 1px; }
.cc-pais-barra { height: 6px; border-radius: 999px; background: var(--widget-2); overflow: hidden; }
.cc-pais-barra i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #D69DA4, #E7A0B1); }
.cc-pais-cuenta { font-size: 20px; font-weight: 800; color: #4C0000; font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
.cc-pais-gente h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.cc-pais-gente h3 .emoji { font-size: 22px; }
.cc-pais-gente h3 > span:last-child { margin-left: auto; min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #4C0000; background: var(--rosa); }
.cc-pais-caras { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 14px 8px; }
.cc-pais-cara { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--texto); }
.cc-pais-cara > span:last-child { max-width: 100%; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .cc-mapa-svg { width: calc(100% + 20px); margin-inline: -10px; } }
.cc-lat-bono { display: flex; gap: 12px; align-items: flex-start; }
.cc-lat-bono b { display: block; font-size: 14px; }
.cc-lat-bono span:not(.icono) { font-size: 12.5px; color: var(--texto-2); }
/* ── 15-oct: selector de espacio · The Content Casa | Grupo del bootcamp ── */
.cc-espacios { padding-top: 14px; }
.cc-espacios + .cc-cuerpo { padding-top: 14px; }
.cc-esp-seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--widget-2); box-shadow: inset 0 0 0 1px var(--linea); }
.cc-esp-seg a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 44px; padding: 0 10px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--texto-2); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.cc-esp-seg a > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.cc-esp-seg a:hover { color: var(--texto); }
.cc-esp-seg a.activo { background: #fff; color: #4C0000; box-shadow: 0 1px 2px rgba(76, 0, 0,.08), 0 6px 16px -8px rgba(76, 0, 0,.25); }
.cc-esp-seg a.es-boot.activo { background: #F7ECE4; color: #4C0000; }
.cc-esp-ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--amarillo); color: #4C0000; font-family: var(--letra-display); font-style: italic; font-weight: 700; font-size: 12px; }
.cc-esp-seg a.es-boot .cc-esp-ic { background: var(--lila); font-family: var(--letra); font-style: normal; }
.cc-esp-ic svg { width: 14px; height: 14px; }
@media (min-width: 768px) { .cc-espacios { padding-top: 18px; } .cc-esp-seg { display: inline-flex; } .cc-esp-seg a { padding: 0 18px; } }
@media (max-width: 380px) { .cc-esp-seg a { font-size: 13px; gap: 6px; padding: 0 6px; } }
:root[data-theme="dark"] .cc-esp-seg a.activo, :root[data-theme="dark"] .cc-esp-seg a.es-boot.activo { background: var(--widget); color: var(--texto); }

/* A 375 px «The Content Casa» se cortaba por 3 px */
@media (max-width: 400px) { .cc:not(.cc-boot) .cc-marca { gap: 7px; } .cc:not(.cc-boot) .cc-nombre { letter-spacing: -.02em; } }

/* ==========================================================================
   17-oct (noche) · Grupo del bootcamp en el servidor
   ========================================================================== */
/* Cargando y error */
.cc-estado { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 120px; font-size: 14px; font-weight: 600; color: var(--texto-3); }
.cc-giro { width: 18px; height: 18px; border-radius: 999px; border: 2px solid color-mix(in srgb, #4C0000 18%, transparent); border-top-color: #4C0000; animation: cc-gira .8s linear infinite; flex-shrink: 0; }
@keyframes cc-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cc-giro { animation-duration: 2.4s; } }
.cc-error > svg { color: var(--urgente); }
.cc-error b { max-width: 34ch; }
.cc-lateral .cc-estado, .cc-tabla .cc-estado { min-height: 64px; }

/* Imágenes de los posts */
.cc-imgs { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; }
.cc-imgs.n1 { grid-template-columns: 1fr; }
.cc-imgs.n3 .cc-img:first-child { grid-row: span 2; }
.cc-img { display: block; padding: 0; border: 0; background: var(--widget-2); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.cc-imgs.n1 .cc-img { aspect-ratio: auto; max-height: 520px; }
.cc-imgs.n3 .cc-img:first-child { aspect-ratio: auto; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-imgs.n1 .cc-img img { max-height: 520px; object-fit: contain; background: var(--widget-2); }
.cc-visor-img { margin: 0; border-radius: 16px; overflow: hidden; background: var(--widget-2); }
.cc-visor-img img { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
.cc-mas-img { position: absolute; right: 6px; bottom: 6px; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(76, 0, 0,.72); }

/* Video por enlace */
.cc-video-enlace { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--widget-2); box-shadow: inset 0 0 0 1px var(--linea); color: var(--texto); }
.cc-video-enlace:hover { box-shadow: inset 0 0 0 1.5px #4C0000; }
.cc-video-enlace > svg { width: 16px; height: 16px; color: var(--texto-3); flex-shrink: 0; margin-left: auto; }
.cc-video-t { display: flex; flex-direction: column; min-width: 0; }
.cc-video-t b { font-size: 14.5px; }
.cc-video-t span { font-size: 12.5px; color: var(--texto-3); }
.cc-video-enlace.chico { margin-top: 8px; padding: 8px 10px; gap: 10px; max-width: 280px; background: var(--widget); }
.cc-video-enlace.chico .icono { width: 30px; height: 30px; }

/* Adjuntar imágenes */
.cc-adj { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-adj-it, .cc-adj-mas { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.cc-adj-it { background: var(--widget-2); }
.cc-adj-it img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-adj-carga { display: grid; place-items: center; }
.cc-adj-quitar { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 999px; display: grid; place-items: center; padding: 0; cursor: pointer; color: #fff; background: rgba(76, 0, 0,.78); }
.cc-adj-quitar svg { width: 13px; height: 13px; }
.cc-adj-mas { display: grid; place-items: center; cursor: pointer; color: var(--texto-2); background: var(--widget); box-shadow: inset 0 0 0 1.5px var(--linea); }
.cc-adj-mas:hover { color: var(--texto); box-shadow: inset 0 0 0 1.5px #4C0000; }
.cc-adj-mas svg { width: 22px; height: 22px; }
.cc-adj-mas input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Publicaciones nuevas, ocultas y perfil */
.cc-nuevas { align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 700; color: #4C0000; background: #FFCDDC; box-shadow: 0 10px 22px -14px rgba(76, 0, 0,.6); }
.cc-nuevas svg { width: 15px; height: 15px; }
.cc-post.cc-oculto { opacity: .62; }
.cc-perfil-foto { display: flex; flex-direction: column; align-items: center; gap: 10px; }
[data-cc-foto].cargando { opacity: .5; }
.cc-adm-av { flex-shrink: 0; }
.cc-adm-coh { width: auto; height: 34px; min-width: 150px; max-width: 220px; font-size: 13px; padding: 0 30px 0 10px; }
.cc-noti .icono { flex-shrink: 0; }

/* Tareas del aula: estado y lo que respondió Liz */
.au-tarea-hist { display: flex; flex-direction: column; gap: 10px; }
.au-tarea-v { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--widget); box-shadow: inset 0 0 0 1px var(--linea); }
.au-tarea-v-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--texto-3); }
.au-tarea-v-cab b { color: var(--texto); font-size: 14px; }
.au-tarea-v p { font-size: 14px; line-height: 1.5; white-space: pre-line; color: var(--texto-2); }
.au-tarea-v .cc-imgs { max-width: 360px; }
.au-feedback { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #FFCDDC 45%, var(--widget)); font-size: 14px; line-height: 1.55; white-space: pre-line; color: var(--texto); }
.au-feedback b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8A1C24; }
.au-tarea-enlaces { display: flex; flex-wrap: wrap; gap: 6px; }
.au-tarea-enlaces a { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .cc-adm-coh { flex: 1 1 140px; max-width: none; height: 40px; font-size: 16px; } }
