/*
 * CHEXX Casino recension — bitcoinbettingsidor.com/articulos/chexx-casino-recension/
 * Тема whitemouse_theme (тёмная: фон #121212, поверхности #1e1e1e, тёплые рамки #3a3630,
 * оранжевый акцент #e58919, скругления 4/8px). Подключается только на этой странице: is_page( 223 ).
 * Корень изоляции: .page-id-223 .cx-review — у <body> темы есть page-id-N, обёртка — из архива.
 * На оранжевом (кнопка, номера шагов) — тёмный текст. Шрифты и цвета обычных ссылок не переопределяются.
 */

.page-id-223 .cx-review {
  --cx-card: var(--bg-surface, #1e1e1e);
  --cx-surface: #262421;                         /* чуть светлее поверхности темы — поля и строки инструментов */
  --cx-border: var(--border, #3a3630);
  --cx-border-strong: var(--border-strong, #55504a);
  --cx-text: var(--text-primary, #e0e0e0);
  --cx-head: #ffffff;
  --cx-muted: var(--text-secondary, #9a958b);    /* 5.9:1 на #1e1e1e */
  --cx-accent: var(--accent, #e58919);           /* оранжевый акцент темы: тёмный текст на нём 7.6:1 */
  --cx-accent-2: var(--accent-hover, #f0a040);   /* светлее — для цифр и выделений: 8.4:1 на #1e1e1e */
  --cx-pos: var(--success, #6eab5c);
  --cx-neg: #e56b62;                             /* --danger темы (#d9544a) светлее на ступень — для текста на тёмном */
  --cx-accent-soft: rgba(229, 137, 25, .12);
  --cx-pos-soft: rgba(110, 171, 92, .1);
  --cx-neg-soft: rgba(217, 84, 74, .1);
  --cx-radius: var(--radius-md, 8px);
  --cx-radius-sm: 6px;
  --cx-gap: 1.5rem;

  display: block;
  color: var(--cx-text);
}

/* ---------- Базовый ритм ---------- */
.page-id-223 .cx-review > header,
.page-id-223 .cx-review > aside {
  margin: 0 0 var(--cx-gap);
}
.page-id-223 .cx-review h2 {
  margin: 2.5rem 0 1rem;
  scroll-margin-top: 90px;
}
.page-id-223 .cx-review h3 {
  margin: 1.75rem 0 .75rem;
  color: var(--cx-head);
}
.page-id-223 .cx-review p { margin: 0 0 1rem; }
.page-id-223 .cx-review ul,
.page-id-223 .cx-review ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.page-id-223 .cx-review li { margin-bottom: .45rem; }
.page-id-223 .cx-review li::marker { color: var(--cx-accent); }
.page-id-223 .cx-review strong { color: var(--cx-head); }
.page-id-223 .cx-review small { color: var(--cx-muted); font-size: .85em; }


/* ---------- Hero ---------- */
.page-id-223 .cx-hero {
  padding: 1.5rem 1.5rem .5rem;
  background: linear-gradient(135deg, var(--cx-accent-soft), transparent 60%), var(--cx-card);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
}
.page-id-223 .cx-lead {
  font-size: 1.1em;
  line-height: 1.65;
  color: var(--cx-head);
}
.page-id-223 .cx-score {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--cx-accent-soft);
  border: 1px solid var(--cx-accent);
  color: var(--cx-text);
}
.page-id-223 .cx-score strong { color: var(--cx-accent-2); font-size: 1.15em; }
.page-id-223 .cx-hero ul { list-style: none; padding-left: 0; }
.page-id-223 .cx-hero ul li {
  position: relative;
  padding-left: 1.6rem;
}
.page-id-223 .cx-hero ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cx-pos);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.page-id-223 .cx-cta {
  margin: 1.5rem 0 2rem;
  text-align: center;
}
/* Кнопка — не обычная ссылка: цвет текста задаём для контраста на оранжевом фоне */
.page-id-223 .cx-review a.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 240px;
  padding: .75rem 2rem;
  margin-bottom: .35rem;
  border-radius: 999px;
  background: var(--cx-accent);
  color: #121212;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(229, 137, 25, .22);
  transition: background-color .18s ease, transform .18s ease;
}
.page-id-223 .cx-review a.cx-btn:hover { background: var(--cx-accent-2); transform: translateY(-1px); }
.page-id-223 .cx-review a.cx-btn:focus-visible { outline: 3px solid var(--cx-head); outline-offset: 3px; }
.page-id-223 .cx-cta small { display: inline-block; }

/* ---------- Карточки-выноски ---------- */
.page-id-223 .cx-takeaways,
.page-id-223 .cx-tip,
.page-id-223 aside.cx-note {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--cx-card);
  border: 1px solid var(--cx-border);
  border-left: 4px solid var(--cx-accent);
  border-radius: var(--cx-radius-sm);
}
.page-id-223 .cx-takeaways > p:first-child,
.page-id-223 .cx-tip > p:first-child,
.page-id-223 aside.cx-note > p:first-child {
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85em;
}
.page-id-223 .cx-takeaways > p:first-child strong,
.page-id-223 .cx-tip > p:first-child strong { color: var(--cx-accent-2); }
.page-id-223 .cx-takeaways ul,
.page-id-223 .cx-tip p:last-child,
.page-id-223 aside.cx-note p:last-child { margin-bottom: 0; }

.page-id-223 .cx-tip { border-left-color: var(--cx-accent-2); }

/* Предупреждение о доступе из страны */
.page-id-223 aside.cx-note {
  border-left-color: var(--cx-neg);
  background: linear-gradient(90deg, var(--cx-neg-soft), transparent 70%), var(--cx-card);
}
.page-id-223 aside.cx-note > p:first-child strong { color: var(--cx-neg); }

/* Дисклеймер в конце */
.page-id-223 p.cx-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cx-border);
  color: var(--cx-muted);
  font-size: .85em;
  line-height: 1.6;
}

/* ---------- Таблицы ---------- */
.page-id-223 .cx-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  background: var(--cx-card);
}
.page-id-223 .cx-table-wrap:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 2px; }
.page-id-223 .cx-review table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: .9em;
  line-height: 1.5;
}
.page-id-223 .cx-review caption {
  padding: .8rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--cx-head);
  border-bottom: 1px solid var(--cx-border);
}
.page-id-223 .cx-review th,
.page-id-223 .cx-review td {
  padding: .7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--cx-border);
}
.page-id-223 .cx-review thead th {
  background: var(--cx-surface);
  color: var(--cx-accent-2);
  font-size: .82em;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
}
.page-id-223 .cx-review tbody tr:last-child > * { border-bottom: 0; }
.page-id-223 .cx-review tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.page-id-223 .cx-review tbody tr:hover { background: var(--cx-accent-soft); }
.page-id-223 .cx-review tbody th[scope="row"] {
  color: var(--cx-muted);
  font-weight: 500;
  width: 38%;
}
.page-id-223 .cx-review tbody td:first-child { color: var(--cx-head); font-weight: 600; }
.page-id-223 .cx-facts tbody td:first-child { font-weight: 400; color: var(--cx-text); }

/* ---------- Оценки по категориям ---------- */
.page-id-223 .cx-scorecard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  padding: 0;
}
.page-id-223 .cx-scorecard li {
  display: block;
  margin: 0;
  padding: .85rem 1rem;
  background: var(--cx-card);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  font-size: .85em;
  color: var(--cx-muted);
  line-height: 1.35;
}
.page-id-223 .cx-scorecard strong {
  font-size: 1.45em;
  line-height: 1.1;
  color: var(--cx-accent-2);
}

/* ---------- Пошаговые инструкции ---------- */
.page-id-223 .cx-steps {
  counter-reset: cx-step;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.page-id-223 .cx-steps > li {
  counter-increment: cx-step;
  position: relative;
  margin: 0;
  padding: 0 0 1.1rem 3.25rem;
  min-height: 2.25rem;
}
.page-id-223 .cx-steps > li::before {
  content: counter(cx-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cx-accent);
  color: #111;
  font-weight: 700;
  font-size: .95em;
}
/* Соединительная линия между шагами */
.page-id-223 .cx-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.125rem - 1px);
  top: 2.5rem;
  bottom: .25rem;
  width: 2px;
  background: var(--cx-border);
}
.page-id-223 .cx-steps > li strong { display: inline-block; margin-bottom: .1rem; }

/* ---------- Yap / Yapma ---------- */
.page-id-223 .cx-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.page-id-223 .cx-pos,
.page-id-223 .cx-neg {
  padding: 1.1rem 1.25rem .4rem;
  border: 1px solid var(--cx-border);
  border-top: 4px solid var(--cx-pos);
  border-radius: var(--cx-radius-sm);
  background: linear-gradient(180deg, var(--cx-pos-soft), transparent 60%), var(--cx-card);
}
.page-id-223 .cx-neg {
  border-top-color: var(--cx-neg);
  background: linear-gradient(180deg, var(--cx-neg-soft), transparent 60%), var(--cx-card);
}
.page-id-223 .cx-h { margin-bottom: .6rem; }
.page-id-223 .cx-pos .cx-h strong { color: var(--cx-pos); }
.page-id-223 .cx-neg .cx-h strong { color: var(--cx-neg); }
.page-id-223 .cx-pos ul,
.page-id-223 .cx-neg ul { list-style: none; padding-left: 0; }
.page-id-223 .cx-pos li,
.page-id-223 .cx-neg li { position: relative; padding-left: 1.5rem; font-size: .95em; }
.page-id-223 .cx-pos li::before,
.page-id-223 .cx-neg li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.page-id-223 .cx-pos li::before { content: "✓"; color: var(--cx-pos); }
.page-id-223 .cx-neg li::before { content: "✕"; color: var(--cx-neg); }

/* ---------- Картинки ---------- */
.page-id-223 .cx-review figure { margin: 1.5rem 0; }
.page-id-223 .cx-review figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cx-radius-sm);
  border: 1px solid var(--cx-border);
  background: var(--cx-surface);
}
.page-id-223 .cx-review figcaption {
  margin-top: .55rem;
  font-size: .85em;
  line-height: 1.5;
  color: var(--cx-muted);
  text-align: center;
}

/* ---------- Интерактив: калькулятор сетей и чек-лист ---------- */
.page-id-223 .cx-tool {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem 1rem;
  background: var(--cx-card);
  border: 1px solid var(--cx-accent);
  border-radius: var(--cx-radius);
  box-shadow: 0 0 0 4px var(--cx-accent-soft);
}
.page-id-223 .cx-tool > h3 { margin-top: 0; }
.page-id-223 .cx-tool > p:first-of-type { color: var(--cx-muted); font-size: .95em; }

.page-id-223 .cx-tool progress {
  display: block;
  width: 100%;
  height: 10px;
  margin: .75rem 0 .35rem;
  border: 0;
  border-radius: 999px;
  background: var(--cx-surface);
  color: var(--cx-accent);
  accent-color: var(--cx-accent);
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
}
.page-id-223 .cx-tool progress::-webkit-progress-bar { background: var(--cx-surface); border-radius: 999px; }
.page-id-223 .cx-tool progress::-webkit-progress-value { background: var(--cx-accent); border-radius: 999px; transition: width .25s ease; }
.page-id-223 .cx-tool progress::-moz-progress-bar { background: var(--cx-accent); border-radius: 999px; }
.page-id-223 .cx-tool [data-out="count"] { color: var(--cx-accent-2); font-size: .9em; }

.page-id-223 .cx-check { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.page-id-223 .cx-check li { margin: 0 0 .5rem; }
.page-id-223 .cx-check label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-height: 44px;
  padding: .65rem .85rem;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  background: var(--cx-surface);
  cursor: pointer;
  line-height: 1.45;
  transition: border-color .18s ease, background-color .18s ease;
}
.page-id-223 .cx-check label:hover { border-color: var(--cx-accent); }
.page-id-223 .cx-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin: .15rem 0 0;
  accent-color: var(--cx-accent);
  cursor: pointer;
}
.page-id-223 .cx-check input:focus-visible { outline: 2px solid var(--cx-accent-2); outline-offset: 2px; }
.page-id-223 .cx-check label:has(input:checked) {
  border-color: var(--cx-pos);
  background: var(--cx-pos-soft);
}
.page-id-223 .cx-check label:has(input:checked) > span { color: var(--cx-muted); }
.page-id-223 .cx-tool p.cx-tip[data-out="done"] {
  margin: .5rem 0 0;
  border-left-color: var(--cx-pos);
  color: var(--cx-head);
  font-weight: 600;
}
.page-id-223 .cx-tool p.cx-tip[hidden] { display: none; }

/* Калькулятор сетей: минимумы и комиссии */
.page-id-223 .cx-tool label[for] {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  color: var(--cx-head);
}
.page-id-223 .cx-tool select {
  min-height: 44px;
  min-width: 220px;
  padding: .5rem .85rem;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  background-color: var(--cx-surface);
  color: var(--cx-text);
  font: inherit;
  cursor: pointer;
}
.page-id-223 .cx-tool select:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 2px; }
.page-id-223 .cx-tool .cx-table-wrap { margin-top: 1rem; }
.page-id-223 .cx-review tr.cx-best > * { background: var(--cx-pos-soft); }
.page-id-223 .cx-review tr.cx-best > th { color: var(--cx-pos); }
.page-id-223 .cx-tool > p.cx-note {
  margin: .5rem 0 .75rem;
  color: var(--cx-muted);
  font-size: .9em;
}

/* ---------- FAQ ---------- */
.page-id-223 div.cx-faq {
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  background: var(--cx-card);
  overflow: hidden;
}
.page-id-223 .cx-faq details { border-bottom: 1px solid var(--cx-border); }
.page-id-223 .cx-faq details:last-child { border-bottom: 0; }
.page-id-223 .cx-faq summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: .9rem 3rem .9rem 1.25rem;
  font-weight: 600;
  color: var(--cx-head);
  cursor: pointer;
  list-style: none;
  line-height: 1.45;
}
.page-id-223 .cx-faq summary::-webkit-details-marker { display: none; }
.page-id-223 .cx-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4em;
  line-height: 1;
  color: var(--cx-accent);
  transition: transform .18s ease;
}
.page-id-223 .cx-faq details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.page-id-223 .cx-faq summary:hover { background: var(--cx-accent-soft); }
.page-id-223 .cx-faq summary:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: -2px; }
.page-id-223 .cx-faq details > p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--cx-text);
}

/* ---------- Итог ---------- */
.page-id-223 section.cx-verdict {
  margin: 2rem 0 1rem;
  padding: 1.25rem 1.5rem .5rem;
  background: linear-gradient(135deg, var(--cx-accent-soft), transparent 60%), var(--cx-card);
  border: 1px solid var(--cx-border);
  border-left: 4px solid var(--cx-accent);
  border-radius: var(--cx-radius);
}
.page-id-223 section.cx-verdict > p:first-child strong {
  font-size: 1.25em;
  color: var(--cx-accent-2);
}

/* ---------- Адаптив ---------- */
@media (max-width: 860px) {
  .page-id-223 .cx-scorecard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-id-223 .cx-tool { padding: 1.1rem 1.1rem .85rem; }
}

@media (max-width: 600px) {
  .page-id-223 .cx-review { --cx-gap: 1.1rem; }
  .page-id-223 .cx-hero { padding: 1.1rem 1rem .25rem; }
  .page-id-223 .cx-two { grid-template-columns: 1fr; }
  .page-id-223 .cx-scorecard { gap: .5rem; }
  .page-id-223 .cx-scorecard li { padding: .7rem .8rem; }
  .page-id-223 .cx-review a.cx-btn { width: 100%; min-width: 0; }
  .page-id-223 .cx-review th,
  .page-id-223 .cx-review td { padding: .6rem .75rem; }
  .page-id-223 .cx-review thead th { white-space: normal; }
  .page-id-223 .cx-review tbody th[scope="row"] { width: 45%; }
  .page-id-223 .cx-steps > li { padding-left: 2.85rem; }
  .page-id-223 .cx-tool select { width: 100%; }
  .page-id-223 .cx-takeaways,
  .page-id-223 .cx-tip,
  .page-id-223 aside.cx-note { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .page-id-223 .cx-review *,
  .page-id-223 .cx-review *::before,
  .page-id-223 .cx-review *::after { transition: none !important; }
}
