/* Cocoteo FM challenge (/challenge/, /es/reto/). Loaded only on those pages, outside the site.css budget. */
.ch-key { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.ch-key li { margin: 0; }
.ch-list, .ch-result, .ch-progress { max-width: 780px; }
.ch-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
.ch-q { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: clamp(16px, 3vw, 24px); scroll-margin-top: 96px; }
.ch-qt { font: 700 clamp(17px, 2.4vw, 20px)/1.35 var(--body); margin: 0 0 14px; }
.ch-n { display: inline-block; font: 700 12px/1 var(--body); color: var(--cyan); border: 1px solid rgba(25, 227, 255, .45); border-radius: 999px; padding: 5px 9px; margin-right: 6px; vertical-align: 2px; }
.ch-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch-opts li { margin: 0; padding-left: 14px; border-left: 2px solid var(--line); }
.ch-ready .ch-opts li { padding: 0; border: 0; }
button.ch-opt { display: flex; width: 100%; gap: 12px; align-items: center; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--text); font: 500 16px/1.4 var(--body); text-align: left; cursor: pointer; }
button.ch-opt:hover { border-color: var(--cyan); }
button.ch-opt[aria-disabled="true"] { cursor: default; }
button.ch-opt[aria-disabled="true"]:hover { border-color: var(--line); }
button.ch-opt.is-right, button.ch-opt.is-right:hover { border-color: var(--ok); background: rgba(61, 242, 176, .1); }
button.ch-opt.is-wrong, button.ch-opt.is-wrong:hover { border-color: var(--pink); background: rgba(255, 46, 147, .1); }
button.ch-opt.is-right::after, button.ch-opt.is-wrong::after { margin-left: auto; font-weight: 700; }
button.ch-opt.is-right::after { content: "✓"; color: var(--ok); }
button.ch-opt.is-wrong::after { content: "✗"; color: #ff8cc4; }
.ch-verdict { margin: 12px 0 0; font-weight: 700; }
.ch-verdict:empty { display: none; }
.ch-verdict.right { color: var(--ok); }
.ch-verdict.wrong { color: #ff8cc4; }
.ch-ans { margin-top: 12px; }
.ch-ans summary { cursor: pointer; color: var(--cyan); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.ch-ans[open] summary { margin-bottom: 4px; }
.ch-ready .ch-q:not(.answered) .ch-ans { display: none; }
.ch-ready .ch-q.answered .ch-ans summary { display: none; }
.ch-ans p { margin: 10px 0 0; }
.ch-src, .ch-more { font-size: 15px; }
.ch-progress { position: sticky; top: calc(var(--ticker-h, 40px) + 64px); z-index: 2; margin: 18px 0 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 8, 20, .92); font-weight: 700; font-size: 15px; }
.ch-result { margin: 8px 0 28px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--pink); border-radius: 24px; background: linear-gradient(135deg, rgba(255, 46, 147, .14), rgba(25, 227, 255, .08)); }
.ch-result:focus { outline: none; }
.ch-result:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ch-result h2 { margin-top: 0; }
.ch-band strong { color: var(--gold); }
.ch-result .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 8px; }
.ch-shared:empty { display: none; }
@media (prefers-reduced-motion: no-preference) { .ch-ans p { animation: ch-in .25s ease-out; } }
@keyframes ch-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
