/* Página /competitions — competencias de clippers de Kick */
.cp-main { max-width: 1200px; margin: 0 auto; padding: 0 20px 90px; min-height: 70vh; }
.cp-hero { text-align: center; padding: 58px 0 30px; }
.cp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 11px; border: 1px solid rgba(83,252,24,.28); border-radius: 999px; background: rgba(83,252,24,.07); color: var(--green); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cp-hero h1 { margin: 18px 0 14px; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; font-weight: 900; }
.cp-hero p { margin: 0 auto; max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* barra de filtros */
.cp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 18px; }
.cp-seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: #0c1012; }
.cp-seg button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 10px; transition: background .2s, color .2s; }
.cp-seg button:hover { color: var(--text); }
.cp-seg button.on { background: var(--green); color: #0b0e0f; }
.cp-seg em { font-style: normal; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.09); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.cp-seg button.on em { background: rgba(7,19,10,.16); }
.cp-seg.wide { display: flex; width: 100%; }
.cp-seg.wide button { flex: 1; justify-content: center; }
.cp-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #0c1012; color: var(--muted); transition: border-color .15s, box-shadow .15s; }
.cp-search:focus-within { border-color: rgba(83,252,24,.55); box-shadow: 0 0 0 4px rgba(83,252,24,.1); }
.cp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font-size: 15px; }
.cp-bar select { height: 46px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #0c1012 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238d9a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.500 5 5 5-5'/%3E%3C/svg%3E") right 14px center no-repeat; color: var(--text); font-size: 14px; font-weight: 600; appearance: none; -webkit-appearance: none; outline: 0; cursor: pointer; transition: border-color .15s; }
.cp-bar select:hover, .cp-bar select:focus-visible { border-color: #3a4549; }
.cp-count { margin: 4px 2px 14px; color: var(--muted); font-size: 13.5px; }

/* tarjetas */
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.cp-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #151a1c, #101416); color: inherit; text-decoration: none;
  box-shadow: 0 18px 50px -28px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04); transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; }
.cp-card:hover { transform: translateY(-4px); border-color: rgba(83,252,24,.4); box-shadow: 0 26px 60px -26px rgba(83,252,24,.28), 0 18px 50px -28px rgba(0,0,0,.9); }
.cp-ban { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c1012; }
.cp-ban img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.cp-card:hover .cp-ban img { transform: scale(1.05); }
.cp-ban::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(180deg, transparent, rgba(8,11,12,.82)); pointer-events: none; }
.cp-ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(83,252,24,.5); background: radial-gradient(circle at 50% 40%, rgba(83,252,24,.14), transparent 60%), #0e1416; }
.cp-ph svg { width: 44px; height: 44px; }
.cp-flag { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #0b0e0f; font-size: 14px; box-shadow: 0 6px 18px rgba(83,252,24,.4); }
.cp-chips { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.cp-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(10,13,14,.72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); color: #dfe7e4; font-size: 12.5px; font-weight: 500; }
.cp-chip b { color: #fff; font-weight: 800; } .cp-chip i { opacity: .5; font-style: normal; }
.cp-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.cp-body h3 { margin: 0; font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-kv { display: flex; justify-content: space-between; gap: 14px; }
.cp-kv small, .cp-sprize small, .cp-stats small, .cp-pz small, .cp-org small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; margin-bottom: 3px; }
.cp-kv b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cp-kv .r { text-align: right; min-width: 0; } .cp-kv .r b { font-size: 15px; color: #dfe7e4; }
.cp-money { color: var(--green); }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #20282b; }
.cp-time { display: inline-flex; align-items: center; gap: 8px; color: #c9d3d0; font-size: 13px; font-weight: 600; }
.cp-time i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(83,252,24,.5); animation: cpPulse 2s infinite; flex: none; }
.cp-time.soon i { background: #f5c451; animation: none; } .cp-time.end i { background: #5d6a6e; animation: none; }
@keyframes cpPulse { 70% { box-shadow: 0 0 0 7px rgba(83,252,24,0); } 100% { box-shadow: 0 0 0 0 rgba(83,252,24,0); } }
.cp-go { padding: 8px 14px; border-radius: 10px; background: rgba(83,252,24,.12); color: var(--green); font-size: 13.5px; font-weight: 800; transition: background .2s, color .2s; white-space: nowrap; }
.cp-card:hover .cp-go { background: var(--green); color: #0b0e0f; }
.cp-note { margin: 34px 0 0; color: #6c7a7e; font-size: 12.5px; line-height: 1.6; text-align: center; }
.cp-empty { display: grid; place-items: center; gap: 10px; padding: 70px 20px; border: 1px dashed #2b3539; border-radius: 20px; color: var(--muted); text-align: center; }
.cp-empty svg { width: 34px; height: 34px; color: rgba(83,252,24,.55); } .cp-empty p { margin: 0; max-width: 420px; line-height: 1.6; } .cp-empty h2 { margin: 4px 0 0; color: var(--text); }
.cp-empty.big { margin-top: 20px; padding: 90px 20px; }
.cp-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--green); animation: cpSpin .8s linear infinite; }
@keyframes cpSpin { to { transform: rotate(360deg); } }

/* ficha */
.cp-back { display: inline-flex; align-items: center; gap: 6px; margin: 26px 0 18px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s, transform .15s; }
.cp-back:hover { color: var(--text); transform: translateX(-2px); }
.cp-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.cp-side { order: 2; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.cp-main2 { order: 1; min-width: 0; }
.cp-sc { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #151a1c, #101416); box-shadow: 0 18px 50px -28px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04); }
.cp-sban { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cp-sb { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.cp-sb h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 900; letter-spacing: -.02em; }
.cp-sum { margin: -4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.cp-org { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #0f1416; color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.cp-org:hover { border-color: #36444a; background: #121a1c; } .cp-org b { font-size: 15px; } .cp-org small { margin: 0 0 1px; }
.cp-av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; object-fit: cover; background: hsl(var(--h, 140) 38% 24%); color: #fff; font-weight: 800; }
.cp-av.sm { width: 34px; height: 34px; font-size: 14px; } .cp-av.md { width: 40px; height: 40px; font-size: 16px; } .cp-av.lg { width: 56px; height: 56px; font-size: 22px; }
.cp-plats { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-pl { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #0f1416; color: #d4dcda; font-size: 13px; font-weight: 600; }
.cp-pl svg { color: #9aa8ab; }
.cp-sline { display: flex; align-items: center; }
.cp-join { width: 100%; height: 48px; font-size: 15px; font-weight: 800; border-radius: 14px; box-shadow: 0 12px 30px -12px rgba(83,252,24,.55); }
.cp-sprize { padding: 20px; } .cp-money.big { display: block; margin-top: 2px; font-size: 32px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cp-pay { display: inline-block; margin-top: 6px; color: #c4cfcc; font-size: 13.5px; }
.cp-pbar { height: 6px; margin: 16px 0 8px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; } .cp-pbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2fb40e, var(--green)); }
.cp-pleg { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12.5px; } .cp-pleg b { color: var(--text); font-weight: 700; }
.cp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #20282b; }
.cp-stats b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }

.cp-pane { margin-top: 18px; animation: cpIn .28s ease; }
@keyframes cpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cp-prizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.cp-pz { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #151a1c, #101416); }
.cp-pz b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; } .cp-pz small { margin: 0 0 1px; }
.cp-medal { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #1f272a; color: #c4cfcc; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-medal.m1, .cp-rk.m1 { background: linear-gradient(145deg, #ffe08a, #e0a526); color: #3a2800; box-shadow: 0 6px 18px rgba(245,196,81,.3); }
.cp-medal.m2, .cp-rk.m2 { background: linear-gradient(145deg, #eef3f5, #aab7bd); color: #25303a; }
.cp-medal.m3, .cp-rk.m3 { background: linear-gradient(145deg, #f0b183, #bd7240); color: #3a1c08; }
.cp-medal.big { width: 40px; height: 40px; font-size: 17px; }
.cp-rmeta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin: 4px 2px 14px; } .cp-rmeta b { font-size: 17px; } .cp-rmeta span { color: var(--muted); font-size: 13px; }
.cp-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin-bottom: 16px; }
.cp-pod { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #151a1c, #101416); text-align: center; min-width: 0; }
.cp-pod.p1 { padding-top: 28px; padding-bottom: 24px; border-color: rgba(245,196,81,.4); background: radial-gradient(120% 90% at 50% 0, rgba(245,196,81,.14), transparent 60%), linear-gradient(180deg, #171c1d, #101416); box-shadow: 0 26px 60px -30px rgba(245,196,81,.35); }
.cp-pod .n { max-width: 100%; font-size: 15.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cp-pod .n a { color: inherit; text-decoration: none; } .cp-pod .n a:hover { color: var(--green); }
.cp-pod .v { color: #c4cfcc; font-size: 13px; font-variant-numeric: tabular-nums; } .cp-pod .p { padding: 4px 11px; border-radius: 999px; background: rgba(83,252,24,.12); color: var(--green); font-size: 13px; font-weight: 800; }
.cp-rows { display: flex; flex-direction: column; gap: 8px; }
.cp-row { display: grid; grid-template-columns: 34px 34px minmax(0, 1fr) auto 96px; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; border: 1px solid #1f282b; border-radius: 14px; background: #101517; transition: border-color .15s, background .15s; }
.cp-row:hover { border-color: #33403f; background: #131a1c; } .cp-row.win { border-color: rgba(83,252,24,.22); background: linear-gradient(90deg, rgba(83,252,24,.06), #101517 45%); }
.cp-rk { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1b2326; color: #c4cfcc; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-nm { min-width: 0; } .cp-nm b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cp-nm a { color: inherit; text-decoration: none; } .cp-nm a:hover { color: var(--green); }
.cp-vw { text-align: right; font-variant-numeric: tabular-nums; } .cp-vw b { font-size: 15px; } .cp-vw small { color: var(--muted); font-size: 12px; }
.cp-pr { text-align: right; color: var(--green); font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cp-line { display: flex; align-items: center; gap: 12px; margin: 6px 0; color: #7d8a8e; font-size: 12.5px; } .cp-line::before, .cp-line::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, #34413f 0 6px, transparent 6px 12px); }

.cp-ch { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; } .cp-ch h3 { margin: 0 0 4px; font-size: 19px; } .cp-ch p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.cp-acts { display: grid; gap: 12px; }
.cp-act { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #151a1c, #101416); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.cp-act:hover { border-color: rgba(83,252,24,.4); transform: translateX(3px); background: linear-gradient(180deg, #171e20, #11181a); }
.cp-act .ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(83,252,24,.1); color: var(--green); }
.cp-act div { flex: 1; min-width: 0; } .cp-act b { display: block; font-size: 15.5px; } .cp-act small { color: var(--muted); font-size: 13.5px; } .cp-act .ar { color: #5d6a6e; font-size: 24px; transition: color .2s, transform .2s; } .cp-act:hover .ar { color: var(--green); transform: translateX(3px); }
.cp-prose { color: #cfd8d5; font-size: 15.5px; line-height: 1.75; } .cp-prose p { margin: 0 0 14px; } .cp-prose ul { margin: 0 0 14px; padding-left: 22px; } .cp-prose li { margin: 6px 0; } .cp-prose li::marker { color: var(--green); }
.cp-h { margin: 28px 0 12px; font-size: 17px; font-weight: 800; }
.cp-links { display: flex; flex-wrap: wrap; gap: 10px; } .cp-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #0f1416; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; } .cp-links a:hover { border-color: rgba(83,252,24,.45); color: var(--green); }

@media (max-width: 980px) {
  .cp-detail { grid-template-columns: 1fr; }
  .cp-side { order: 0; position: static; } .cp-main2 { order: 1; }
}
@media (max-width: 640px) {
  .cp-main { padding: 0 14px 70px; } .cp-hero { padding: 38px 0 22px; } .cp-hero p { font-size: 15.5px; }
  .cp-grid { grid-template-columns: 1fr; gap: 16px; }
  .cp-bar { gap: 8px; } .cp-seg { width: 100%; } .cp-seg button { flex: 1; justify-content: center; } .cp-bar select { flex: 1 1 140px; }
  .cp-podium { grid-template-columns: 1fr; } .cp-podium .p1 { order: -1; } .cp-pod { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 14px 16px !important; gap: 10px 12px; } .cp-pod .n { flex: 1; width: auto; } .cp-pod .cp-av.lg { width: 44px; height: 44px; font-size: 18px; }
  .cp-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; } .cp-row .cp-av { display: none; } .cp-row .cp-pr { grid-column: 2 / 4; text-align: left; font-size: 12.5px; } .cp-row .cp-pr:empty { display: none; }
  .cp-sb h1 { font-size: 21px; } .cp-money.big { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .cp-card, .cp-ban img, .cp-pane, .cp-time i { transition: none; animation: none; } }
.cp-flag.draft { width: auto; height: auto; padding: 5px 11px; border-radius: 999px; background: rgba(255, 90, 90, .92); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: none; }
@media (max-width: 640px) { .cp-pod .cp-av.lg { display: none; } .cp-pod .n { flex: 1 1 110px; } .cp-pod .v, .cp-pod .p { white-space: nowrap; } }
.cp-page .topbar .nav-right { margin-left: auto; }

/* selector propio */
.ks { position: relative; }
.ks-b { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; min-width: 170px; padding: 0 14px 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #0c1012; color: var(--text); font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s, box-shadow .15s; }
.ks-b:hover { border-color: #3a4549; } .ks.open .ks-b, .ks-b:focus-visible { border-color: rgba(83,252,24,.55); box-shadow: 0 0 0 4px rgba(83,252,24,.1); outline: 0; }
.ks-b > svg { color: #7d8a8e; transition: transform .2s; } .ks.open .ks-b > svg { transform: rotate(180deg); color: var(--green); }
.ks-t, .ks-l { display: inline-flex; align-items: center; gap: 9px; min-width: 0; } .ks-t svg, .ks-l svg { color: #9aa8ab; flex: none; }
.ks-m { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; min-width: 100%; max-height: 320px; overflow: auto; padding: 6px; border: 1px solid #2c363a; border-radius: 16px; background: rgba(16,21,23,.97); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -12px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.03) inset; transform-origin: top; animation: ksIn .16s cubic-bezier(.2,.8,.2,1); }
.ks.up .ks-m { top: auto; bottom: calc(100% + 8px); transform-origin: bottom; } .ks-m[hidden] { display: none; }
@keyframes ksIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.ks-o { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: #d4dcda; font-size: 14px; font-weight: 600; text-align: left; white-space: nowrap; transition: background .12s, color .12s; }
.ks-o > svg { color: var(--green); opacity: 0; flex: none; } .ks-o.on > svg { opacity: 1; } .ks-o.on { color: #fff; }
.ks-o:hover, .ks-o:focus-visible { background: rgba(255,255,255,.07); color: #fff; outline: 0; }

/* participar */
.cp-cta { display: flex; flex-direction: column; gap: 10px; }
.cp-cta:empty { display: none; }
.cp-join2 { width: 100%; height: 46px; border-radius: 14px; font-weight: 700; }
.cp-regbox { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(83,252,24,.32); border-radius: 14px; background: linear-gradient(90deg, rgba(83,252,24,.1), rgba(83,252,24,.03)); }
.cp-regbox .ok { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #0b0e0f; }
.cp-regbox b { display: block; font-size: 14.5px; } .cp-regbox small { display: block; margin-top: 2px; color: #9fb1ac; font-size: 12.5px; overflow-wrap: anywhere; } .cp-regbox > div:nth-child(2) { flex: 1; min-width: 0; }
.cp-regbox .act button { padding: 7px 12px; border: 1px solid rgba(83,252,24,.35); border-radius: 10px; background: transparent; color: var(--green); font-size: 13px; font-weight: 700; transition: background .15s; } .cp-regbox .act button:hover { background: rgba(83,252,24,.12); }
.cp-ratebox { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid rgba(83,252,24,.28); border-radius: 18px; background: radial-gradient(120% 140% at 0 0, rgba(83,252,24,.12), transparent 60%), linear-gradient(180deg, #151a1c, #101416); }
.cp-ratei { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(83,252,24,.14); color: var(--green); } .cp-ratebox small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 2px; } .cp-ratebox b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }

/* ventana de inscripción */
html.cp-lock { overflow: hidden; }
.cp-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(5,8,9,.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; overflow-y: auto; }
.cp-modal.in { opacity: 1; }
.cp-dlg { position: relative; width: min(460px, 100%); padding: 28px 26px 24px; border: 1px solid #2a3438; border-radius: 24px; background: linear-gradient(180deg, #171d1f, #111618); box-shadow: 0 40px 100px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05); transform: translateY(12px) scale(.98); transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.cp-modal.in .cp-dlg { transform: none; }
.cp-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: #9aa8ab; transition: background .15s, color .15s; } .cp-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.cp-mh { margin-bottom: 18px; padding-right: 30px; } .cp-mh h2 { margin: 0; font-size: 21px; letter-spacing: -.015em; line-height: 1.25; } .cp-mh p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cp-mi { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: rgba(83,252,24,.12); color: var(--green); }
.cp-mp { margin: 0 0 18px; color: #b7c3c0; font-size: 14.5px; line-height: 1.6; }
.cp-mload { display: grid; place-items: center; padding: 50px 0; }
.cp-auths { display: grid; gap: 10px; } .cp-auth { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 14px; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: filter .15s, transform .1s; } .cp-auth:hover { filter: brightness(1.1); } .cp-auth:active { transform: scale(.98); }
.cp-auth.discord { background: #5865f2; } .cp-auth.google { background: #fff; color: #1f2933; }
.cp-mlink { display: inline-flex; align-items: center; gap: 7px; align-self: center; margin-top: 14px; padding: 8px 4px; border: 0; background: none; color: #9aa8ab; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; } .cp-mlink:hover { color: var(--green); }
.cp-dlg > .cp-mlink { display: flex; justify-content: center; }
.cp-who { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #0f1416; } .cp-who small { display: block; color: var(--muted); font-size: 12px; } .cp-who b { font-size: 14.5px; }
.cp-form { display: grid; gap: 12px; }
.cp-fld > span { display: block; margin-bottom: 6px; color: #aab7b4; font-size: 12.5px; font-weight: 600; }
.cp-inp { display: flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 13px; background: #0c1012; transition: border-color .15s, box-shadow .15s; } .cp-inp:focus-within { border-color: rgba(83,252,24,.55); box-shadow: 0 0 0 4px rgba(83,252,24,.1); }
.cp-inp i { display: grid; place-items: center; width: 44px; color: #8d9a9e; flex: none; } .cp-inp em { font-style: normal; color: #6d7a7e; margin-right: 2px; } .cp-inp input { flex: 1; min-width: 0; height: 100%; padding: 0 12px 0 0; border: 0; background: none; outline: 0; color: var(--text); font-size: 15px; }
.cp-chk { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; color: #c4cfcc; font-size: 13.5px; line-height: 1.5; cursor: pointer; } .cp-chk input { margin-top: 2px; width: 17px; height: 17px; accent-color: #53fc18; flex: none; } .cp-chk a { color: var(--green); }
.cp-err { margin: 0; padding: 10px 12px; border-radius: 11px; background: rgba(255,90,90,.1); color: #ff9a9a; font-size: 13.5px; } .cp-err[hidden] { display: none; }
.cp-priv { margin: 0; color: #6f7c80; font-size: 12.5px; line-height: 1.5; }
.cp-mact { display: grid; gap: 8px; margin-top: 4px; } .cp-mbtn { width: 100%; height: 48px; border-radius: 14px; font-size: 15px; font-weight: 800; }
.cp-leave { padding: 8px; border: 0; background: none; color: #8d9a9e; font-size: 13px; font-weight: 600; } .cp-leave:hover { color: #ff9a9a; }
.cp-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 0 0; } .cp-done h2 { margin: 6px 0 0; font-size: 22px; } .cp-done p { margin: 0 0 12px; color: #b7c3c0; font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.cp-tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #0b0e0f; box-shadow: 0 0 0 10px rgba(83,252,24,.12); animation: cpPop .4s cubic-bezier(.2,1.4,.4,1); } @keyframes cpPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .ks-b { min-width: 0; width: 100%; } .cp-bar .ks { flex: 1 1 140px; } .cp-dlg { padding: 24px 18px 20px; border-radius: 20px; } }
.ks-t > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- ronda 3: pie fijo abajo, cabecera más compacta, requisitos, comunidad ---- */
body.cp-page { display: flex; flex-direction: column; }
.cp-page .cp-main { width: 100%; flex: 1 0 auto; }
.cp-page .site-footer { display: block; margin-top: 40px; }
.cp-hero { padding: 30px 0 24px; } .cp-hero h1 { margin: 0 0 12px; }
.sf-disc { max-width: 1288px; margin: 0 auto; padding: 0 24px 22px; display: flex; align-items: flex-start; gap: 12px; color: #8f9ca0; font-size: 13px; line-height: 1.6; }
.sf-disc svg { flex: none; margin-top: 3px; color: var(--green); opacity: .8; } .sf-disc p { margin: 0; max-width: 820px; }
.cp-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-reqs li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #151a1c, #101416); }
.cp-reqs .ck { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: rgba(83,252,24,.14); color: var(--green); }
.cp-reqs p { margin: 0; color: #dfe7e4; font-size: 15px; line-height: 1.55; } .cp-reqs li > div { min-width: 0; flex: 1; }
.cp-copy { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 5px 5px 5px 12px; border: 1px solid #263034; border-radius: 12px; background: #0b0f10; max-width: 100%; }
.cp-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c8d3d0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.cp-copy button { flex: none; padding: 7px 13px; border: 0; border-radius: 9px; background: rgba(255,255,255,.08); color: #e5ecea; font-size: 12.5px; font-weight: 700; transition: background .15s, color .15s; } .cp-copy button:hover { background: rgba(255,255,255,.14); } .cp-copy button.ok { background: var(--green); color: #0b0e0f; }
.cp-comm { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #151a1c, #101416); color: inherit; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.cp-comm:hover { border-color: rgba(88,101,242,.6); background: linear-gradient(180deg, #181d24, #11151b); transform: translateY(-1px); }
.cp-comm .ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(88,101,242,.16); color: #8c97ff; } .cp-comm > div { flex: 1; min-width: 0; } .cp-comm small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 1px; } .cp-comm b { font-size: 15px; } .cp-comm > svg { color: #6d7a7e; flex: none; }
.cp-auth { gap: 10px; } .cp-auth svg { flex: none; } .cp-auth.off { background: #2b3236; color: #7d8a8e; cursor: not-allowed; }
@media (max-width: 640px) { .cp-hero { padding: 20px 0 18px; } .cp-hero h1 { font-size: clamp(30px, 9vw, 40px); } .cp-page .site-footer { margin-top: 28px; } .sf-disc { padding: 0 18px 18px; } }

/* más aire entre el contenido y el pie de página */
.cp-page .cp-main { padding-bottom: 110px; }
.cp-page .site-footer { margin-top: 96px; }
@media (max-width: 640px) { .cp-page .cp-main { padding-bottom: 64px; } .cp-page .site-footer { margin-top: 56px; } }

/* ---- más aire en toda la página (ritmo vertical generoso) ---- */
.cp-hero { padding: 40px 0 52px; } .cp-hero h1 { margin: 0 0 20px; } .cp-hero p { line-height: 1.75; }
.cp-bar { margin: 0 0 34px; gap: 12px; }
.cp-count { margin: 0 2px 22px; }
.cp-grid { gap: 30px; }
.cp-body { gap: 18px; padding: 22px 24px 24px; }
.cp-foot { padding-top: 18px; }
.cp-back { margin: 40px 0 26px; }
.cp-detail { gap: 40px; } .cp-side { gap: 22px; } .cp-pane { margin-top: 28px; }
.cp-sb { gap: 18px; padding: 24px; } .cp-sprize { padding: 24px; }
.cp-page .cp-main { padding-bottom: 170px; }
.cp-page .site-footer { margin-top: 130px; }
.cp-page .site-footer .sf-in { padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 640px) {
  .cp-hero { padding: 26px 0 32px; } .cp-bar { margin-bottom: 24px; } .cp-grid { gap: 22px; } .cp-back { margin: 28px 0 18px; } .cp-detail { gap: 26px; }
  .cp-page .cp-main { padding-bottom: 90px; } .cp-page .site-footer { margin-top: 72px; } .cp-page .site-footer .sf-in { padding-top: 44px; }
}
