/* challenge-v1 (25 Nov 2026): the ScoreProb Challenge page ("coming soon", reserve your username). Light and dark. */
.chx {
    --cx-card: #ffffff; --cx-card2: #f5f8fb; --cx-line: #dbe3ed; --cx-ink: #0b1526; --cx-soft: #526174;
    --cx-accent: #2f67f6; --cx-accent-ink: #ffffff; --cx-gold: #8a5a00; --cx-gold-bg: #fff6e0; --cx-gold-line: #f0d48a;
    --cx-ok: #0f7a55; --cx-bad: #b42318; --cx-warn: #8a5a00; --cx-blue-bg: #eef3ff; --cx-blue-line: #c9d8ff; --cx-band: #17306e;
    padding: 36px 0 64px; color: var(--cx-ink);
}
html[data-theme="dark"] .chx {
    --cx-card: #131d2d; --cx-card2: #0f1828; --cx-line: #22314a; --cx-ink: #e6ecf7; --cx-soft: #a9b6cc;
    --cx-accent: #2f67f6; --cx-gold: #f5c451; --cx-gold-bg: #2a2412; --cx-gold-line: #4a3c17;
    --cx-ok: #45d19d; --cx-bad: #ff8a80; --cx-warn: #f5c451; --cx-blue-bg: #142347; --cx-blue-line: #263f7a;
}
.chx .cx-wrap { display: flex; flex-direction: column; gap: 36px; }
.chx .cx-hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.chx .cx-hero-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.chx .cx-kicker { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--cx-gold); background: var(--cx-gold-bg); border: 1px solid var(--cx-gold-line); padding: 5px 11px; border-radius: 999px; }
.chx h1 { margin: 0; font-size: clamp(36px, 6vw, 56px); line-height: 1.03; font-weight: 800; letter-spacing: -.03em; }
.chx h1 span { display: block; }
.chx .cx-lead { margin: 0; font-size: 18px; color: var(--cx-soft); max-width: 620px; }
.chx .cx-badge { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--cx-card); border: 1px solid var(--cx-line);
    border-radius: 16px; padding: 14px 16px; max-width: 620px; }
.chx .cx-badge-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--cx-gold-bg); border: 1.5px solid var(--cx-gold);
    display: flex; align-items: center; justify-content: center; flex: 0 0 48px; color: var(--cx-gold); }
.chx .cx-badge-text { flex: 1 1 240px; }
.chx .cx-badge-text b { display: block; }
.chx .cx-badge-text span { font-size: 13.5px; color: var(--cx-soft); }

.chx .cx-res { flex: 1 1 360px; min-width: 0; background: var(--cx-card); border: 1px solid var(--cx-blue-line); border-radius: 20px;
    padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 50px rgba(9, 17, 31, .08); }
.chx .cx-res h2 { margin: 0; font-size: 22px; font-weight: 800; }
.chx .cx-hint { margin: 0; font-size: 13.5px; color: var(--cx-soft); }
.chx .cx-small { margin: 0; font-size: 12.5px; color: var(--cx-soft); }
.chx .cx-label { font-size: 13px; font-weight: 600; }
.chx .cx-field { display: flex; align-items: center; background: var(--cx-card2); border: 1.5px solid var(--cx-line); border-radius: 12px;
    padding: 0 14px; min-height: 50px; }
.chx .cx-field.is-ok { border-color: var(--cx-ok); }
.chx .cx-field.is-bad { border-color: var(--cx-bad); }
.chx .cx-field.is-warn { border-color: var(--cx-warn); }
.chx .cx-at { font-size: 17px; font-weight: 700; color: var(--cx-soft); }
.chx .cx-field input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none; color: var(--cx-ink);
    font: inherit; font-size: 17px; font-weight: 600; padding: 12px 6px; }
.chx .cx-msg { font-size: 13px; font-weight: 600; min-height: 18px; color: var(--cx-soft); }
.chx .cx-msg.is-ok { color: var(--cx-ok); } .chx .cx-msg.is-bad { color: var(--cx-bad); } .chx .cx-msg.is-warn { color: var(--cx-warn); }
.chx .cx-check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; min-height: 44px; }
.chx .cx-check input { width: 20px; height: 20px; accent-color: var(--cx-accent); flex: 0 0 20px; }
.chx .cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px; min-height: 50px;
    padding: 0 18px; font: inherit; font-size: 16px; font-weight: 700; background: var(--cx-accent); color: #fff; cursor: pointer; text-decoration: none; }
.chx .cx-btn:hover { filter: brightness(1.06); color: #fff; }
.chx .cx-btn[disabled] { background: var(--cx-line); color: var(--cx-soft); cursor: not-allowed; filter: none; }
.chx .cx-btn.ghost { background: transparent; color: var(--cx-ink); border: 1px solid var(--cx-line); }
.chx .cx-btns { display: flex; flex-direction: column; gap: 8px; }
.chx .cx-done { display: flex; flex-direction: column; gap: 10px; }
.chx .cx-me { display: flex; align-items: center; gap: 12px; background: var(--cx-card2); border: 1px solid var(--cx-line); border-radius: 14px; padding: 12px 14px; }
.chx .cx-av { width: 48px; height: 48px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px; flex: 0 0 48px; }
.chx .cx-me b { font-size: 18px; }
.chx .cx-pill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--cx-gold); background: var(--cx-gold-bg);
    border: 1px solid var(--cx-gold-line); border-radius: 999px; padding: 2px 9px; margin-top: 4px; }
.chx .cx-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--cx-accent); cursor: pointer; text-align: left; min-height: 44px; }

.chx h2.cx-h { margin: 0 0 14px; font-size: 24px; font-weight: 800; }
.chx .cx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.chx .cx-tile { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.chx .cx-tile .n { font-size: 12px; font-weight: 700; color: var(--cx-accent); letter-spacing: .04em; }
.chx .cx-tile b { font-size: 17px; }
.chx .cx-tile span { font-size: 14px; color: var(--cx-soft); }
.chx .cx-tile.now { background: var(--cx-blue-bg); border-color: var(--cx-blue-line); }
.chx .cx-pot { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.chx .cx-pot-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.chx .cx-pot-text h2 { margin: 0; font-size: 24px; font-weight: 800; }
.chx .cx-pot-text p { margin: 0; color: var(--cx-soft); }
.chx .cx-pot-text strong { color: var(--cx-gold); }
.chx .cx-pot-nums { flex: 1 1 400px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chx .cx-pot-nums div { background: var(--cx-card2); border: 1px solid var(--cx-line); border-radius: 14px; padding: 14px; }
.chx .cx-pot-nums span { display: block; font-size: 12.5px; color: var(--cx-soft); }
.chx .cx-pot-nums b { display: block; font-size: 24px; font-weight: 800; color: var(--cx-gold); }
.chx ol.cx-grid { margin: 0; padding: 0; list-style: none; }
.chx .cx-fine { margin: 0; font-size: 12.5px; color: var(--cx-soft); }
.chx .cx-fine a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
    .chx { padding: 20px 0 40px; }
    .chx .cx-res { padding: 18px; }
    .chx .cx-pot-nums { grid-template-columns: 1fr; }
}

/* challenge-v2 (26 Nov 2026): overview, 4 steps, two worked examples, FAQ and the closing call to action. Light and dark. */
.chx { --cx-num: #2f67f6; --cx-up-bg: rgba(15, 122, 85, .10); --cx-down-bg: rgba(180, 35, 24, .08); }
html[data-theme="dark"] .chx { --cx-num: #8fb0ff; --cx-up-bg: rgba(69, 209, 157, .12); --cx-down-bg: rgba(255, 138, 128, .12); }
.chx #reserve, .chx [id^="cx-"] { scroll-margin-top: 96px; }
.chx .cx-jump { align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--cx-num); text-decoration: none; }
.chx .cx-jump:hover { text-decoration: underline; }

.chx .cx-ov { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.chx .cx-ov-text { flex: 1 1 380px; min-width: 0; }
.chx .cx-ov-text p { margin: 0; font-size: 17px; line-height: 1.6; }
.chx .cx-facts { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chx .cx-facts div { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.chx .cx-facts b { font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--cx-num); }
.chx .cx-facts .gold { background: var(--cx-gold-bg); border-color: var(--cx-gold-line); }
.chx .cx-facts .gold b { color: var(--cx-gold); }
.chx .cx-facts span { font-size: 13.5px; line-height: 1.4; color: var(--cx-soft); }

.chx .cx-steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.chx .cx-steps .n { width: 28px; height: 28px; border-radius: 999px; background: var(--cx-blue-bg); border: 1px solid var(--cx-blue-line);
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--cx-num); margin-bottom: 4px; }

.chx .cx-ex { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.chx .cx-ex-head { display: flex; flex-direction: column; gap: 8px; }
.chx .cx-ex-head .cx-h { margin: 0; }
.chx .cx-ex-tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cx-num);
    background: var(--cx-blue-bg); border: 1px solid var(--cx-blue-line); border-radius: 999px; padding: 3px 10px; }
.chx .cx-ex-body { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; }
.chx .cx-ex-body > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.chx .cx-ex-p { margin: 0; color: var(--cx-soft); font-size: 15px; line-height: 1.55; }
.chx .cx-ex-p strong { color: var(--cx-ink); }

.chx .cx-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 10px; }
.chx .cx-opt { position: relative; background: var(--cx-card2); border: 1.5px solid var(--cx-line); border-radius: 14px; padding: 20px 6px 12px;
    text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; min-width: 0; }
.chx .cx-opt-l { font-size: 13px; line-height: 1.25; color: var(--cx-soft); font-weight: 600; }
.chx .cx-opt-p { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.chx .cx-opt-pts { font-size: 13px; font-weight: 700; color: var(--cx-gold); }
.chx .cx-opt-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); max-width: calc(100% + 8px); overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; }
.chx .cx-opt.sp { border-color: var(--cx-soft); }
.chx .cx-opt.sp .cx-opt-tag { background: var(--cx-ink); color: var(--cx-card); }
.chx .cx-opt.you { border-color: var(--cx-accent); background: var(--cx-blue-bg); }
.chx .cx-opt.you .cx-opt-tag { background: var(--cx-accent); color: #fff; }

.chx .cx-tcap { margin: 0 0 -6px; font-weight: 700; font-size: 15px; color: var(--cx-ink); }
.chx .cx-tbox { border: 1px solid var(--cx-line); border-radius: 14px; overflow: hidden; }
.chx .cx-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.chx .cx-tbl th, .chx .cx-tbl td { padding: 10px 12px; text-align: right; border-top: 1px solid var(--cx-line); font-variant-numeric: tabular-nums; vertical-align: middle; }
.chx .cx-tbl thead th { border-top: 0; background: var(--cx-card2); font-size: 12px; font-weight: 700; color: var(--cx-soft); letter-spacing: .02em; }
.chx .cx-tbl th:first-child, .chx .cx-tbl td:first-child { text-align: left; }
.chx .cx-tbl tbody th { font-weight: 600; }
.chx .cx-delta { display: inline-block; min-width: 58px; text-align: center; font-weight: 800; border-radius: 8px; padding: 2px 8px; }
.chx .cx-delta.up { color: var(--cx-ok); background: var(--cx-up-bg); }
.chx .cx-delta.down { color: var(--cx-bad); background: var(--cx-down-bg); }
.chx .cx-delta.zero { color: var(--cx-soft); background: var(--cx-card2); }

.chx .cx-stats { margin: 0; border: 1px solid var(--cx-line); border-radius: 14px; overflow: hidden; }
.chx .cx-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--cx-line); }
.chx .cx-stats div:first-child { border-top: 0; }
.chx .cx-stats dt { color: var(--cx-soft); font-size: 14.5px; }
.chx .cx-stats dd { margin: 0; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.chx .cx-stats dd small { font-weight: 600; color: var(--cx-soft); font-size: 12.5px; }
.chx .cx-stats .tot { background: var(--cx-up-bg); }
.chx .cx-stats .tot dt { color: var(--cx-ink); font-weight: 700; }
.chx .cx-stats .tot dd { color: var(--cx-ok); font-size: 20px; }

.chx .cx-ladder tr.you th, .chx .cx-ladder tr.you td { background: var(--cx-blue-bg); }
.chx .cx-ladder td.money { font-weight: 800; color: var(--cx-gold); }
.chx .cx-ladder tr.badge td.money { font-weight: 600; color: var(--cx-soft); }
.chx .cx-ladder tfoot td { text-align: left; font-size: 13px; color: var(--cx-soft); border-top: 2px dashed var(--cx-soft); }
.chx .cx-ladder tfoot b { color: var(--cx-ink); }
.chx .cx-chip { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .02em; border-radius: 999px; padding: 1px 7px; margin-left: 8px;
    vertical-align: 1px; white-space: nowrap; }
.chx .cx-chip.you { background: var(--cx-accent); color: #fff; }
.chx .cx-chip.pv { color: var(--cx-gold); background: var(--cx-gold-bg); border: 1px solid var(--cx-gold-line); }

.chx .cx-faq { display: flex; flex-direction: column; gap: 8px; }
.chx .cx-q { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 14px; }
.chx .cx-q summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between;
    align-items: center; gap: 12px; min-height: 52px; }
.chx .cx-q summary::-webkit-details-marker { display: none; }
.chx .cx-q summary::after { content: '+'; font-size: 22px; font-weight: 500; line-height: 1; color: var(--cx-soft); flex: 0 0 auto; }
.chx .cx-q[open] summary::after { content: '\2212'; }
.chx .cx-q summary:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 2px; border-radius: 14px; }
.chx .cx-q p { margin: 0; padding: 0 18px 16px; color: var(--cx-soft); line-height: 1.6; font-size: 15px; }

.chx .cx-cta { background: #0b1220; border: 1px solid #22314a; border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px 24px;
    align-items: center; justify-content: space-between; }
.chx .cx-cta > div { flex: 1 1 320px; min-width: 0; }
.chx .cx-cta h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: #fff; }
.chx .cx-cta p { margin: 0; color: #c8d3e6; font-size: 14.5px; }
.chx .cx-cta .cx-btn { background: #f5c451; color: #1a1405; }
.chx .cx-cta .cx-btn:hover { color: #1a1405; }

@media (max-width: 640px) {
    .chx .cx-ex { padding: 18px 14px; }
    .chx .cx-tbl { font-size: 13.5px; }
    .chx .cx-tbl th, .chx .cx-tbl td { padding: 9px 8px; }
    .chx .cx-delta { min-width: 0; padding: 2px 6px; }
    .chx .cx-opt-p { font-size: 20px; }
    .chx .cx-opt-l { font-size: 12px; }
    .chx .cx-facts b { font-size: 23px; }
    .chx .cx-cta { padding: 20px 16px; }
    .chx .cx-cta .cx-btn { width: 100%; }
}

/* share-v1 (26 Nov 2026): "invited by" note, share buttons, the invite box. Light and dark. */
.chx .cx-invited { display: flex; align-items: center; gap: 12px; max-width: 620px; background: var(--cx-blue-bg); border: 1px solid var(--cx-blue-line);
    border-radius: 14px; padding: 10px 14px; }
.chx .cx-invited .cx-av { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; font-size: 15px; }
.chx .cx-invited b { display: block; font-size: 15.5px; }
.chx .cx-invited div > span { display: block; font-size: 13.5px; color: var(--cx-soft); }
.chx .cx-at-name { color: var(--cx-num); }

.chx .cx-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; max-width: 620px; }
.chx .cx-share-l { font-size: 13px; font-weight: 700; color: var(--cx-soft); }
.chx .cx-sh-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chx .cx-sh { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cx-line);
    background: var(--cx-card); color: var(--cx-ink); font: inherit; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.chx .cx-sh:hover { border-color: var(--cx-soft); color: var(--cx-ink); }
.chx .cx-sh:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 2px; }
.chx .cx-sh svg { width: 17px; height: 17px; flex: 0 0 17px; }
.chx .cx-sh[hidden] { display: none; }
.chx .cx-sh.is-main { background: var(--cx-accent); border-color: var(--cx-accent); color: #fff; }
.chx .cx-sh.is-main:hover { filter: brightness(1.06); color: #fff; }
.chx .cx-sh.wa svg { color: #1faa59; }
.chx .cx-sh.tg svg { color: #2aa3df; }
.chx .cx-sh.is-done { border-color: var(--cx-ok); color: var(--cx-ok); }

.chx .cx-inv { border-top: 1px solid var(--cx-line); margin-top: 6px; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.chx .cx-inv h3 { margin: 0; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chx .cx-inv h3 .cx-pill { margin-top: 0; }
.chx .cx-inv-field { min-height: 46px; }
.chx .cx-inv-field input { font-size: 14px; font-weight: 600; padding: 10px 2px; }
.chx .cx-inv-count { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--cx-ink); }

.chx .cx-cta-share { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 16px; border-top: 1px solid #22314a; }
.chx .cx-cta .cx-share-l { color: #c8d3e6; }
.chx .cx-cta .cx-sh { background: #131d2d; border-color: #2b3a55; color: #e6ecf7; }
.chx .cx-cta .cx-sh:hover { border-color: #8fa3c4; color: #fff; }
.chx .cx-cta .cx-sh.is-main { background: #2f67f6; border-color: #2f67f6; color: #fff; }
.chx .cx-cta .cx-sh.is-done { border-color: #45d19d; color: #45d19d; }
.chx .cx-cta .cx-cta-share .cx-btn { width: auto; }

@media (max-width: 640px) {
    .chx .cx-sh { min-height: 44px; padding: 0 13px; }
    .chx .cx-share-l { flex: 1 1 100%; }
}

/* share-v1 (26 Nov 2026): the hidden attribute always wins inside the page. Until now .cx-btn, .cx-check and .cx-done (display: flex)
   beat the site-wide [hidden] rule, so guests saw the empty reserved view, the country tick box and the Reserve button. */
.chx [hidden] { display: none !important; }

/* game-v1e: the practice season is on */
.chx .cx-live { display: flex; flex-direction: column; gap: 8px; max-width: 620px; background: var(--cx-blue-bg); border: 1px solid var(--cx-blue-line);
    border-radius: 16px; padding: 16px; }
.chx .cx-live b { font-size: 18px; }
.chx .cx-live span { font-size: 14.5px; color: var(--cx-soft); }
.chx .cx-live .cx-live-a { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.chx .cx-live .cx-btn { min-height: 46px; padding: 0 20px; }

/* golive-v1b: before the practice season, the date and the steps */
.chx .cx-open-steps { margin: 2px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--cx-ink); }
.chx .cx-open-steps li::marker { font-weight: 800; color: var(--cx-accent); }

/* prizejan-v1 (29 Nov 2026): the two key dates (practice season, first prize month) in the open / live box. Light and dark. */
.chx .cx-dates { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.chx .cx-dates li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 9px 12px; border-radius: 10px;
    background: var(--cx-card); border: 1px solid var(--cx-blue-line); }
.chx .cx-dates .k { flex: 0 0 auto; min-width: 9.5em; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--cx-accent); }
.chx .cx-live .cx-dates span { flex: 1 1 240px; font-size: 14.5px; color: var(--cx-ink); }
.chx .cx-dates li.prize { background: var(--cx-gold-bg); border-color: var(--cx-gold-line); }
.chx .cx-dates li.prize .k { color: var(--cx-gold); }
