:root {
  --cp-ink: #07080c;
  --cp-ink-soft: #11141d;
  --cp-paper: #f4f1ea;
  --cp-white: #fff;
  --cp-muted: #a9afbd;
  --cp-line: rgba(255, 255, 255, .12);
  --cp-orange: #ed6435;
  --cp-orange-soft: #ff8a57;
  --cp-blue: #2868ff;
  --cp-radius: 28px;
  --cp-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

/* Desktop application manuals ------------------------------------------------ */
.cp-legacy-page .desktop-guide {
  --cp-desktop-ink: #161b27;
  --cp-desktop-muted: #626b7a;
  --cp-desktop-line: #d9d8d2;
  --cp-desktop-soft: #f1eee7;
  padding: 0 0 72px;
  color: var(--cp-desktop-ink);
}

.cp-legacy-page .desktop-guide *,
.cp-legacy-page .desktop-guide *::before,
.cp-legacy-page .desktop-guide *::after { box-sizing: border-box; }

.cp-legacy-page .desktop-guide .guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  column-gap: clamp(38px, 4.5vw, 64px);
  align-items: center;
  overflow: hidden;
  margin: 50px 0 42px;
  padding: clamp(148px, 11vw, 166px) clamp(36px, 4.5vw, 56px) clamp(54px, 5vw, 68px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 20%, rgba(57,72,170,.42), transparent 33%),
    radial-gradient(circle at 6% 100%, rgba(237,100,53,.22), transparent 32%),
    linear-gradient(145deg, #07090e 0%, #0c1019 58%, #080a10 100%);
  box-shadow: 0 34px 84px rgba(12,17,28,.28);
  color: #fff;
  isolation: isolate;
}

.cp-legacy-page .desktop-guide .guide-hero::before {
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  aspect-ratio: 1.43;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background-color: #10141e;
  background-image:
    linear-gradient(to bottom, #171c28 0, #171c28 38px, transparent 38px),
    url("https://my.chesspairings.org/assets/desktop-tutorial/01-dashboard.png");
  background-position: 0 0, 8px 46px;
  background-size: 100% 100%, calc(100% - 16px) auto;
  background-repeat: no-repeat;
  box-shadow: 0 36px 70px rgba(0,0,0,.44), 0 0 0 8px rgba(255,255,255,.035);
  content: "";
  transform: perspective(1100px) rotateY(-4deg) rotateX(1deg);
  transform-origin: left center;
}

.cp-legacy-page .desktop-guide .guide-hero::after {
  display: none;
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: start;
  justify-self: start;
  width: 8px;
  height: 8px;
  margin: 17px 0 0 18px;
  border-radius: 50%;
  background: #ff6e45;
  box-shadow: 15px 0 #ffc15a, 30px 0 #59c779;
  content: "";
}

.cp-legacy-page .desktop-guide .guide-kicker {
  grid-column: 1;
  margin: 0 0 12px;
  color: var(--cp-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cp-legacy-page .desktop-guide .guide-hero h1 {
  position: relative;
  z-index: 1;
  grid-column: 1;
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 3.7vw, 56px);
  line-height: .96;
  letter-spacing: -.045em;
}

.cp-legacy-page .desktop-guide .guide-hero > p:not(.guide-kicker) {
  position: relative;
  z-index: 1;
  grid-column: 1;
  max-width: 570px;
  margin: 21px 0 0;
  color: #c5cad4;
  font-size: 17px;
  line-height: 1.62;
}

.cp-legacy-page .desktop-guide .guide-badges {
  position: relative;
  z-index: 1;
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
}

.cp-legacy-page .desktop-guide .guide-badges span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cp-legacy-page .desktop-guide .guide-hero-actions { position: relative; z-index: 1; grid-column: 1; margin-top: 24px; }
.cp-legacy-page .desktop-guide .guide-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cp-orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(237,100,53,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cp-legacy-page .desktop-guide .guide-hero-actions a:hover { box-shadow: 0 18px 34px rgba(237,100,53,.34); transform: translateY(-2px); }

.cp-legacy-page .desktop-guide .guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 256px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.cp-legacy-page .desktop-guide .guide-toc {
  position: sticky;
  top: 130px;
  overflow: hidden;
  padding: 25px 22px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(51,72,171,.28), transparent 36%),
    #0c0f16;
  box-shadow: 0 22px 48px rgba(19,23,33,.18);
}

.cp-legacy-page .desktop-guide .guide-toc strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cp-legacy-page .desktop-guide .guide-toc a {
  display: block;
  position: relative;
  padding: 8px 10px 8px 22px;
  border-radius: 9px;
  color: #aeb5c3;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.cp-legacy-page .desktop-guide .guide-toc a::before {
  position: absolute;
  top: 13px;
  left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #485061;
  content: "";
  transition: background .2s ease, transform .2s ease;
}
.cp-legacy-page .desktop-guide .guide-toc a:hover { background: rgba(255,255,255,.06); color: #fff; }
.cp-legacy-page .desktop-guide .guide-toc a:hover::before { background: var(--cp-orange); transform: scale(1.5); }
.cp-legacy-page .desktop-guide .guide-content { min-width: 0; counter-reset: desktop-chapter; }

.cp-legacy-page .desktop-guide .guide-section {
  position: relative;
  overflow: hidden;
  margin: 0 0 30px;
  padding: clamp(30px, 4vw, 46px);
  scroll-margin-top: 130px;
  border: 1px solid var(--cp-desktop-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(31,37,49,.075);
}

.cp-legacy-page .desktop-guide .guide-section-number {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: auto;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0e9;
  color: var(--cp-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  justify-self: start;
}
.cp-legacy-page .desktop-guide .guide-section-number::before {
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.cp-legacy-page .desktop-guide .guide-section h2 {
  margin: 0 0 14px;
  color: var(--cp-desktop-ink);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.cp-legacy-page .desktop-guide .guide-section h3 { margin: 26px 0 9px; color: #30394c; font-size: 19px; }
.cp-legacy-page .desktop-guide .guide-section p,
.cp-legacy-page .desktop-guide .guide-section li { color: var(--cp-desktop-muted); line-height: 1.72; }
.cp-legacy-page .desktop-guide .guide-section ol,
.cp-legacy-page .desktop-guide .guide-section ul { padding-left: 23px; }
.cp-legacy-page .desktop-guide .guide-section li + li { margin-top: 7px; }

.cp-legacy-page .desktop-guide .guide-shot { margin: 28px 0 8px; }
.cp-legacy-page .desktop-guide .guide-shot a {
  position: relative;
  display: block;
  overflow: hidden;
  padding-top: 30px;
  border: 1px solid #cfd2d9;
  border-radius: 16px;
  background:
    radial-gradient(circle at 18px 15px, #ff6e45 0 4px, transparent 4.5px),
    radial-gradient(circle at 33px 15px, #ffc15a 0 4px, transparent 4.5px),
    radial-gradient(circle at 48px 15px, #59c779 0 4px, transparent 4.5px),
    #e8eaf0;
  box-shadow: 0 20px 46px rgba(18,25,39,.17);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cp-legacy-page .desktop-guide .guide-shot a:hover { box-shadow: 0 26px 58px rgba(18,25,39,.24); transform: translateY(-3px); }
.cp-legacy-page .desktop-guide .guide-shot img { display: block; width: 100%; height: auto; }
.cp-legacy-page .desktop-guide .guide-shot figcaption { margin-top: 12px; color: #777e8b; font-size: 12px; text-align: left; }

.cp-legacy-page .desktop-guide .guide-tip,
.cp-legacy-page .desktop-guide .guide-warning { margin: 19px 0; padding: 15px 17px; border-radius: 10px; line-height: 1.6; }
.cp-legacy-page .desktop-guide .guide-tip { border-left: 4px solid #4a9a6c; background: #eef8f2; color: #315d43; }
.cp-legacy-page .desktop-guide .guide-warning { border-left: 4px solid var(--cp-orange); background: #fff4ee; color: #704431; }

.cp-legacy-page .desktop-guide .guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.cp-legacy-page .desktop-guide .guide-card { padding: 18px; border: 1px solid var(--cp-desktop-line); border-radius: 12px; background: var(--cp-desktop-soft); }
.cp-legacy-page .desktop-guide .guide-card strong { display: block; margin-bottom: 5px; color: #30394c; }
.cp-legacy-page .desktop-guide .guide-card p { margin: 0; font-size: 14px; }
.cp-legacy-page .desktop-guide .guide-cta { padding: 42px 34px; border: 1px solid #e5c7b9; border-radius: 24px; background: linear-gradient(135deg, #fff2ec, #fff 72%); box-shadow: 0 18px 42px rgba(82,44,28,.08); text-align: center; }

/* Chapters without a screenshot become compact dark pauses in the manual. */
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) {
  border-color: rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 100% 0, rgba(52,69,157,.22), transparent 32%),
    #10131a;
  color: #fff;
}
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) h2,
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) h3,
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) .guide-card strong { color: #fff; }
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) p,
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) li { color: #b8bfcb; }
.cp-legacy-page .desktop-guide .guide-section:not(:has(> .guide-shot)) .guide-card { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.055); }

@media (min-width: 1180px) {
  .cp-legacy-page .desktop-guide .guide-section:has(> .guide-shot:only-of-type) {
    display: grid;
    grid-template-columns: minmax(250px, .78fr) minmax(420px, 1.22fr);
    column-gap: clamp(28px, 3vw, 40px);
    align-items: start;
  }

  .cp-legacy-page .desktop-guide .guide-section:has(> .guide-shot:only-of-type) > *:not(.guide-shot) { grid-column: 1; }
  .cp-legacy-page .desktop-guide .guide-section:has(> .guide-shot:only-of-type) > .guide-shot {
    grid-column: 2;
    grid-row: 1 / span 20;
    align-self: center;
    margin: 0;
  }
  .cp-legacy-page .desktop-guide .guide-section:has(> .guide-shot:only-of-type) h2 { font-size: clamp(30px, 2.4vw, 39px); }
}

@media (max-width: 1040px) {
  .cp-legacy-page .desktop-guide .guide-hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }
  .cp-legacy-page .desktop-guide .guide-hero::before {
    grid-column: 1;
    grid-row: 6;
    width: min(760px, 100%);
    margin-top: 38px;
    transform: none;
  }
  .cp-legacy-page .desktop-guide .guide-hero::after { display: none; }
}

@media (max-width: 900px) {
  .cp-legacy-page .desktop-guide { padding-top: 0; }
  .cp-legacy-page .desktop-guide .guide-layout { grid-template-columns: 1fr; }
  .cp-legacy-page .desktop-guide .guide-toc { position: static; columns: 2; }
  .cp-legacy-page .desktop-guide .guide-toc strong { column-span: all; }
}

@media (max-width: 620px) {
  .cp-legacy-page .desktop-guide { padding: 0 0 34px; }
  .cp-legacy-page .desktop-guide .guide-hero { margin-top: 0; padding: 128px 22px 36px; border-radius: 0 0 20px 20px; }
  .cp-legacy-page .desktop-guide .guide-hero h1 { font-size: clamp(34px, 9.5vw, 42px); }
  .cp-legacy-page .desktop-guide .guide-hero::before { margin-top: 30px; border-radius: 12px; background-position: 0 0, 6px 43px; background-size: 100% 100%, calc(100% - 12px) auto; }
  .cp-legacy-page .desktop-guide .guide-badges { gap: 7px; }
  .cp-legacy-page .desktop-guide .guide-badges span { font-size: 11px; }
  .cp-legacy-page .desktop-guide .guide-toc { columns: 1; }
  .cp-legacy-page .desktop-guide .guide-grid { grid-template-columns: 1fr; }
  .cp-legacy-page .desktop-guide .guide-section { padding: 26px 20px; border-radius: 20px; }
  .cp-legacy-page .desktop-guide .guide-shot a { padding-top: 24px; border-radius: 11px; }
}

body.cp-public-site {
  background: var(--cp-ink);
}

body.cp-public-site .site-main,
body.cp-public-site .entry-content {
  margin: 0;
}

body.cp-public-site .entry-content > * {
  max-width: none;
}

/* Keep the Blocksy chrome in proportion with the custom editorial layout. */
body.cp-public-site #header .site-logo-container img {
  width: clamp(172px, 15vw, 210px) !important;
  max-width: none !important;
  max-height: 38px !important;
  height: auto !important;
}

body.cp-public-site #header [data-row="middle"] {
  --height: 88px;
}

@media (min-width: 1000px) {
  body.cp-public-site #header [data-id="trigger"] { display: none !important; }
}

.cp-site,
.cp-legacy-page,
.cp-changelog-page {
  color: #15171d;
  background: var(--cp-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: clip;
}

.cp-site *,
.cp-legacy-page *,
.cp-changelog-page * {
  box-sizing: border-box;
}

.cp-shell {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.cp-legacy-page .container {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.cp-section {
  padding: 116px 0;
}

.cp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--cp-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cp-eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.cp-site h1,
.cp-site h2,
.cp-site h3,
.cp-legacy-page h1,
.cp-legacy-page h2,
.cp-legacy-page h3,
.cp-changelog-page h1,
.cp-changelog-page h2,
.cp-changelog-page h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.045em;
}

.cp-site h2,
.cp-legacy-page h2,
.cp-changelog-page h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
}

.cp-site p {
  line-height: 1.7;
}

.cp-hero {
  position: relative;
  min-height: 820px;
  padding: 178px 0 50px;
  color: var(--cp-white);
  background:
    radial-gradient(circle at 76% 22%, rgba(35, 89, 255, .38), transparent 28%),
    radial-gradient(circle at 28% 78%, rgba(237, 100, 53, .16), transparent 26%),
    linear-gradient(180deg, #030407 0%, #080b12 100%);
}

.cp-hero::after {
  position: absolute;
  right: -16%;
  bottom: 0;
  left: -16%;
  height: 170px;
  content: "";
  background: repeating-linear-gradient(100deg, transparent 0 48px, rgba(255,255,255,.04) 50px, transparent 52px);
  transform: skewY(-3deg);
  pointer-events: none;
}

.cp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr);
  gap: 50px;
  align-items: center;
}

.cp-hero-copy h1 {
  max-width: 650px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 820;
  line-height: .98;
}

.cp-hero-copy > p {
  max-width: 590px;
  margin: 0;
  color: #c9ced8;
  font-size: clamp(17px, 1.45vw, 20px);
}

.cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cp-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.cp-button:hover {
  transform: translateY(-2px);
}

.cp-button-primary {
  color: #fff;
  background: var(--cp-orange);
  box-shadow: 0 14px 35px rgba(237, 100, 53, .25);
}

.cp-button-primary:hover {
  color: #fff;
  background: var(--cp-orange-soft);
}

.cp-button-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}

.cp-button-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.11);
}

.cp-button-dark {
  color: #fff;
  background: #101218;
}

.cp-button-dark:hover {
  color: #fff;
  background: #242832;
}

.cp-hero-art {
  position: relative;
  width: calc(100% + 28px);
}

.cp-hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px 30px 112px 30px;
  box-shadow: 0 36px 100px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.04);
}

.cp-hero-art::before {
  position: absolute;
  inset: -22px 42px 28px -22px;
  z-index: -1;
  border: 1px solid rgba(75,118,255,.28);
  border-radius: 40px 40px 130px 40px;
  content: "";
  transform: rotate(-2deg);
}

.cp-floating-proof {
  position: absolute;
  display: grid;
  min-width: 112px;
  min-height: 112px;
  place-content: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 12, 22, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  text-align: center;
}

.cp-floating-proof b {
  display: block;
  font-size: 27px;
  line-height: 1;
}

.cp-proof-one { right: -20px; bottom: 11%; }
.cp-proof-two { top: -24px; left: 8%; min-width: 98px; min-height: 98px; background: var(--cp-orange); }

.cp-proof-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--cp-line);
  border-bottom: 1px solid var(--cp-line);
}

.cp-proof-strip div {
  display: grid;
  gap: 5px;
  padding: 22px 22px;
  border-right: 1px solid var(--cp-line);
}

.cp-proof-strip div:last-child { border-right: 0; }
.cp-proof-strip b { color: #fff; font-size: 16px; }
.cp-proof-strip span { color: var(--cp-muted); font-size: 13px; }

.cp-intro {
  background: var(--cp-paper);
}

.cp-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: end;
}

.cp-intro-grid p {
  margin: 0 0 6px;
  color: #555b66;
  font-size: 21px;
}

.cp-features {
  color: #fff;
  background: #0a0b0f;
}

.cp-section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.cp-section-head h2 { margin-bottom: 22px; }
.cp-section-head p { margin: 0; color: #666d79; font-size: 19px; }
.cp-features .cp-section-head p,
.cp-section-dark .cp-section-head p,
.cp-forum .cp-section-head p { color: #aeb4c0; }

.cp-site .cp-features h2,
.cp-site .cp-section-dark h2,
.cp-site .cp-forum h2 {
  color: #fff !important;
}

.cp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cp-feature-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--cp-radius);
  background: #11131a;
}

.cp-feature-card img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  opacity: .94;
  transition: transform .45s ease;
}

.cp-feature-card:hover img { transform: scale(1.025); }
.cp-feature-card > div { padding: 30px 32px 34px; }
.cp-feature-card > div > span { color: var(--cp-orange); font-size: 13px; font-weight: 800; }
.cp-feature-card h3 { margin: 8px 0 10px; color: #fff; font-size: 30px; }
.cp-feature-card p { margin: 0; color: #adb4c1; }

.cp-standard-section {
  color: #fff;
  background: var(--cp-orange);
}

.cp-standard-section .cp-eyebrow { color: #19130f; }
.cp-standard-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.cp-standard-grid h2 { color: #fff; }
.cp-standard-grid > div > p { max-width: 650px; color: rgba(255,255,255,.82); font-size: 20px; }
.cp-standard-cards { display: grid; gap: 12px; }
.cp-standard-cards article {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 23px 26px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 18px;
  background: rgba(0,0,0,.09);
}
.cp-standard-cards b { min-width: 100px; color: #fff; font-size: 40px; }
.cp-standard-cards span { color: #fff; font-weight: 700; }

.cp-section-dark,
.cp-forum {
  color: #fff;
  background: #08090d;
}

.cp-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cp-live-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.cp-live-card:hover {
  border-color: rgba(237,100,53,.7);
  color: #fff;
  transform: translateY(-3px);
}

.cp-live-card-top,
.cp-live-meta,
.cp-live-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cp-live-card-top strong { max-width: 72%; font-size: 19px; }
.cp-live-meta { justify-content: flex-start; color: #aab1bd; font-size: 13px; }
.cp-live-stats { justify-content: flex-start; color: #d6d9df; font-size: 13px; }
.cp-live-stats span { padding-right: 12px; border-right: 1px solid rgba(255,255,255,.13); }
.cp-live-stats span:last-child { border-right: 0; }

.cp-status {
  padding: 7px 10px;
  border-radius: 999px;
  color: #111;
  background: #d8dde7;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.cp-status-in_corso { color: #07160b; background: #79e99c; }
.cp-status-iscrizioni { color: #101536; background: #91a7ff; }
.cp-status-concluso { color: #2d2104; background: #f5c760; }

.cp-wordpress { background: #ebe7df; }
.cp-wordpress-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 46px;
  border-radius: var(--cp-radius);
  background: #fff;
  box-shadow: 0 20px 65px rgba(26,30,40,.08);
}
.cp-wordpress-card h2 { margin-bottom: 12px; font-size: clamp(34px, 4vw, 58px); }
.cp-wordpress-card p { max-width: 700px; margin: 0; color: #5a606b; }
.cp-wp-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-content: center;
  border-radius: 20px;
  color: #fff;
  background: #21759b;
  font-family: Georgia, serif;
  font-size: 42px;
}

.cp-forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cp-forum-card {
  display: grid;
  min-height: 180px;
  gap: 18px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  color: #fff;
  background: rgba(255,255,255,.04);
  text-decoration: none;
}
.cp-forum-card:hover { color: #fff; border-color: var(--cp-orange); }
.cp-forum-card > span:last-child { align-self: end; color: #999fab; font-size: 13px; }
.cp-forum-category { color: var(--cp-orange); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cp-text-link { display: inline-block; margin-top: 28px; color: var(--cp-orange); font-weight: 800; }

.cp-section-accent { background: #dce3ff; }
.cp-release-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.cp-release-layout h2 { margin-bottom: 18px; }
.cp-release-layout > div:first-child p { margin-bottom: 28px; color: #535b70; }
.cp-release-card .version,
.cp-changelog-page .version {
  padding: 30px;
  border: 1px solid rgba(22,31,57,.1);
  border-radius: 22px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 24px 70px rgba(37,51,95,.1);
}
.cp-release-card .version-header,
.cp-changelog-page .version-header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.cp-release-card .version-number,
.cp-changelog-page .version-number { font-size: 25px; font-weight: 900; }
.cp-release-card .version-date,
.cp-changelog-page .version-date { color: #697086; }
.cp-release-card .version-badge,
.cp-changelog-page .version-badge { padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--cp-orange); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.cp-release-card h3,
.cp-changelog-page h3 { margin: 22px 0 10px; font-size: 19px; }
.cp-release-card ul,
.cp-changelog-page ul { margin: 0; padding-left: 22px; }

.cp-languages { background: var(--cp-paper); }
.cp-resources { background: #dfe5ff; }
.cp-resources .cp-section-head p { color: #555e75; }
.cp-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.cp-resource-grid a {
  position: relative;
  display: block;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(23,33,65,.1);
  border-radius: 20px;
  color: #151823;
  background: rgba(255,255,255,.68);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cp-resource-grid a:hover {
  border-color: rgba(237,100,53,.48);
  color: #151823;
  box-shadow: 0 20px 55px rgba(37,51,95,.12);
  transform: translateY(-3px);
}
.cp-resource-grid a > span { color: var(--cp-orange); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.cp-resource-grid h3 { max-width: 260px; margin: 32px 0 10px; font-size: 25px; line-height: 1.05; }
.cp-resource-grid p { margin: 0; color: #606779; font-size: 14px; line-height: 1.55; }
.cp-resource-grid a::after {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--cp-orange);
  content: "↗";
  font-size: 20px;
}
.cp-language-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cp-language-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border: 1px solid rgba(10,14,24,.1);
  border-radius: 14px;
  color: #16181e;
  background: rgba(255,255,255,.55);
  font-weight: 750;
  text-decoration: none;
}
.cp-language-grid a:hover { border-color: var(--cp-orange); color: #16181e; }
.cp-language-grid span { font-size: 22px; }

.cp-final-cta {
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(42,98,255,.35), transparent 30%),
    #08090d;
  text-align: center;
}
.cp-final-cta h2 { max-width: 900px; margin: 0 auto 20px; color: #fff; }
.cp-final-cta p { max-width: 680px; margin: 0 auto 30px; color: #afb5c1; font-size: 19px; }

.cp-empty { padding: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.04); }

/* Imported changelog */
.cp-changelog-page { padding: 0 0 110px; }
.cp-page-hero {
  position: relative;
  margin: 0;
  padding: 176px 0 82px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 24%, rgba(43,101,255,.42), transparent 26%),
    radial-gradient(circle at 20% 110%, rgba(237,100,53,.18), transparent 35%),
    #08090d;
}
.cp-page-hero::after {
  position: absolute;
  top: 42%;
  right: 7%;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018);
}
.cp-page-hero h1 { max-width: 820px; margin: 0 0 18px; color: #fff; font-size: clamp(48px, 6vw, 76px); line-height: .98; }
.cp-page-hero p { max-width: 680px; margin: 0; color: #b9c0cd; font-size: 19px; }

/* Country tournament landing pages */
.cp-country-page { background: var(--cp-paper); }
.cp-country-hero .cp-shell { position: relative; z-index: 1; }
.cp-country-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; color: #8f96a5; font-size: 13px; }
.cp-country-breadcrumb a { color: #c2c8d3; text-decoration: none; }
.cp-country-breadcrumb a:hover { color: var(--cp-orange-soft); }
.cp-country-breadcrumb b { color: #fff; font-weight: 750; }
.cp-country-hero h1 { display: flex; align-items: center; gap: 18px; }
.cp-country-flag { flex: 0 0 auto; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px rgba(0,0,0,.24); }
.cp-country-hero .cp-actions { margin-top: 30px; }
.cp-country-live { background: #08090d; }
.cp-country-back { display: inline-flex; margin-top: 34px; color: var(--cp-orange-soft); font-weight: 800; text-decoration: none; }
.cp-country-index { color: #15171d; background: var(--cp-paper); }
.cp-country-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cp-country-grid a { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 13px 15px; border: 1px solid rgba(17,21,31,.09); border-radius: 14px; color: #292d36; background: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 10px 28px rgba(20,26,40,.045); transition: transform .2s ease, border-color .2s ease; }
.cp-country-grid a:hover { border-color: rgba(237,100,53,.35); transform: translateY(-2px); }
.cp-country-grid img { flex: 0 0 auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(17,21,31,.09); }
.cp-changelog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 66px;
}
.cp-changelog-toolbar > div { display: grid; gap: 4px; }
.cp-changelog-toolbar strong { font-size: 22px; letter-spacing: -.025em; }
.cp-changelog-toolbar span { color: #737887; font-size: 14px; }
.cp-changelog-toolbar a { color: var(--cp-orange); font-size: 14px; font-weight: 850; text-decoration: none; }
.cp-changelog-list { display: grid; gap: 14px; padding-top: 28px; }
.cp-changelog-page .version {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cp-changelog-page .version-header {
  display: grid;
  gap: 9px;
  align-content: start;
  align-items: start;
  margin: 0;
  padding-right: 28px;
  border-right: 1px solid rgba(22,31,57,.1);
}
.cp-changelog-page .version-number { font-size: 23px; line-height: 1; }
.cp-changelog-page .version-date { font-size: 13px; }
.cp-changelog-page .version-badge { width: fit-content; grid-row: auto; }
.cp-changelog-page .version-content { min-width: 0; }
.cp-changelog-page .version-content > :first-child { margin-top: 0; }
.cp-changelog-page .version-content > :last-child { margin-bottom: 0; }
.cp-changelog-page .version-content h3 { margin: 24px 0 10px; font-size: 17px; letter-spacing: -.02em; }
.cp-changelog-page .version-content ul { display: grid; gap: 10px; color: #454a55; font-size: 15px; line-height: 1.65; }
.cp-changelog-page .version-content li::marker { color: var(--cp-orange); }
.cp-changelog-page .version:hover {
  border-color: rgba(237,100,53,.34);
  box-shadow: 0 22px 60px rgba(29,34,48,.08);
  transform: translateY(-2px);
}
.cp-changelog-archive {
  margin-top: 34px;
  border: 1px solid rgba(22,31,57,.1);
  border-radius: 24px;
  background: #e9e5dc;
}
.cp-changelog-archive > summary {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  cursor: pointer;
  list-style: none;
}
.cp-changelog-archive > summary::-webkit-details-marker { display: none; }
.cp-changelog-archive > summary > span { display: grid; gap: 4px; }
.cp-changelog-archive > summary strong { font-size: 23px; letter-spacing: -.025em; }
.cp-changelog-archive > summary small { color: #737887; }
.cp-changelog-archive > summary > b { color: var(--cp-orange); font-size: 14px; }
.cp-changelog-archive[open] > summary { border-bottom: 1px solid rgba(22,31,57,.1); }
.cp-changelog-list-archive { padding: 22px; }

/* Imported Italian pages */
.cp-legacy-page { padding-bottom: 90px; }
.cp-legacy-page > .breadcrumb { padding-top: 116px; background: #08090d; }
.cp-legacy-page .breadcrumb ol { display: flex; gap: 10px; margin: 0; padding: 18px 0; color: #9299a8; list-style: none; }
.cp-legacy-page .breadcrumb a { color: #fff; }
.cp-legacy-page .hero {
  position: relative;
  padding: 168px 0 78px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 25%, rgba(42,98,255,.42), transparent 25%),
    radial-gradient(circle at 14% 110%, rgba(237,100,53,.16), transparent 32%),
    #08090d;
  text-align: left;
}
.cp-legacy-page > .breadcrumb + .hero { padding-top: 50px; }
.cp-legacy-page .hero .container { position: relative; z-index: 1; }
.cp-legacy-page .hero .container::after {
  position: absolute;
  top: 50%;
  right: 2%;
  z-index: -1;
  width: clamp(190px, 23vw, 290px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 34px;
  content: "";
  background:
    linear-gradient(45deg, rgba(255,255,255,.055) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.055) 75%),
    linear-gradient(45deg, rgba(255,255,255,.055) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.055) 75%);
  background-position: 0 0, 28px 28px;
  background-size: 56px 56px;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
  transform: translateY(-50%) rotate(7deg);
}
.cp-legacy-page .hero h1 { max-width: 780px; margin: 0 0 22px; color: #fff; font-size: clamp(46px, 5.4vw, 70px); line-height: .99; }
.cp-legacy-page .hero-subtitle { max-width: 690px; margin: 0; color: #b7bdc9; font-size: 19px; line-height: 1.65; }
.cp-legacy-page .hero [class*="cta"],
.cp-legacy-page .hero [class*="button"] { justify-content: flex-start !important; }
.cp-legacy-page .hero-badge,
.cp-legacy-page .free-badge { display: inline-flex; margin-bottom: 18px; padding: 8px 12px; border-radius: 999px; color: var(--cp-orange); background: rgba(237,100,53,.12); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.cp-legacy-page .section { padding: 96px 0; }
.cp-legacy-page .section-light { background: #eae6dd; }
.cp-legacy-page .section-header { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.cp-legacy-page .section-header h2 { margin-bottom: 16px; }
.cp-legacy-page .section-header p { color: #646a76; font-size: 18px; }
.cp-legacy-page .features-grid,
.cp-legacy-page .why-grid,
.cp-legacy-page .modi-grid,
.cp-legacy-page .steps-grid,
.cp-legacy-page .explore-grid,
.cp-legacy-page .export-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cp-legacy-page .feature-card,
.cp-legacy-page .why-card,
.cp-legacy-page .step-card,
.cp-legacy-page .explore-card,
.cp-legacy-page .info-card,
.cp-legacy-page .export-card {
  padding: 28px;
  border: 1px solid rgba(17,21,31,.09);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(20,26,40,.06);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cp-legacy-page .feature-card:hover,
.cp-legacy-page .why-card:hover,
.cp-legacy-page .step-card:hover,
.cp-legacy-page .explore-card:hover,
.cp-legacy-page .info-card:hover,
.cp-legacy-page .export-card:hover {
  border-color: rgba(237,100,53,.35);
  box-shadow: 0 22px 60px rgba(20,26,40,.1);
  transform: translateY(-3px);
}
.cp-legacy-page .feature-card h3,
.cp-legacy-page .why-card h3,
.cp-legacy-page .step-card h3,
.cp-legacy-page .explore-card h3 { margin: 12px 0; font-size: 24px; }
.cp-legacy-page .feature-icon,
.cp-legacy-page .why-icon { display: grid; width: 54px; height: 54px; place-content: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--cp-orange-soft), var(--cp-orange)); box-shadow: 0 12px 28px rgba(237,100,53,.24); }
.cp-legacy-page .feature-icon svg,
.cp-legacy-page .why-icon svg { width: 26px; height: 26px; }
.cp-legacy-page .fide-content,
.cp-legacy-page .intro-content,
.cp-legacy-page .guide-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cp-legacy-page .fide-section { color: #fff; background: #10131a; }
.cp-legacy-page .fide-section h2,
.cp-legacy-page .fide-section h3 { color: #fff; }
.cp-legacy-page .fide-changes { padding: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.05); }
.cp-legacy-page .faq-container { display: grid; max-width: 900px; gap: 12px; margin-inline: auto; }
.cp-legacy-page .faq-item,
.cp-legacy-page .tiebreak-item { overflow: visible; border: 1px solid rgba(17,21,31,.1); border-radius: 16px; background: #fff; }
.cp-legacy-page .faq-question,
.cp-legacy-page .tiebreak-header { width: 100%; padding: 20px 24px; border: 0; color: #17191f; background: transparent; font-weight: 800; text-align: left; }
.cp-legacy-page .faq-answer,
.cp-legacy-page .tiebreak-content { display: block !important; max-height: none !important; padding: 0 24px 22px; opacity: 1 !important; visibility: visible !important; }
.cp-legacy-page .tiebreak-category { margin: 55px 0 20px; font-size: 31px; }
.cp-legacy-page .tiebreak-list { display: grid; gap: 12px; }
.cp-legacy-page .cta-section,
.cp-legacy-page .free-section { margin-top: 30px; color: #fff; background: var(--cp-orange); text-align: center; }
.cp-legacy-page .cta-section h2,
.cp-legacy-page .free-section h2 { color: #fff; }
.cp-legacy-page .btn { display: inline-flex; padding: 13px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.cp-legacy-page .btn-primary { color: #fff; background: var(--cp-orange); }
.cp-legacy-page .btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.3); }
.cp-legacy-page .btn-white { color: #12141a; background: #fff; }
.cp-legacy-page .icon,
.cp-legacy-page .modi-icon-svg { width: 24px; height: 24px; }
.cp-legacy-page .hero-image { max-width: 950px; margin: 55px auto 0; }
.cp-legacy-page .hero-image img { border-radius: 28px; box-shadow: var(--cp-shadow); }

/* Italian tiebreak reference */
.cp-tiebreak-page .section { padding: 88px 0; }
.cp-tiebreak-page .section-header { max-width: 820px; margin-bottom: 42px; }
.cp-tiebreak-page .section-header h2 { font-size: clamp(38px, 4.6vw, 60px); }
.cp-tiebreak-page .intro-content { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
.cp-tiebreak-page .intro-text p { color: #4f5561; font-size: 17px; line-height: 1.75; }
.cp-tiebreak-page .intro-highlight { display: grid; gap: 14px; }
.cp-tiebreak-page .highlight-box { padding: 23px; border: 1px solid rgba(17,21,31,.09); border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 14px 42px rgba(20,26,40,.06); }
.cp-tiebreak-page .highlight-number { display: block; color: var(--cp-orange); font-size: 36px; font-weight: 900; line-height: 1; }
.cp-tiebreak-page .highlight-label { display: block; margin-top: 8px; color: #69707c; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.cp-tiebreak-page #tiebreaks-list { background: #f4f1ea; }
.cp-tiebreak-page .tiebreaks-container { width: min(100%, 980px); margin-inline: auto; }
.cp-tiebreak-page .tiebreak-category { margin: 54px 0 5px; padding: 0 0 12px; border-bottom: 1px solid rgba(17,21,31,.12); color: #171a21; font-size: clamp(24px, 3vw, 32px); }
.cp-tiebreak-page .tiebreak-category:first-child { margin-top: 0; }
.cp-tiebreak-page .tiebreak-category-desc { margin: 0 0 19px; color: #6a707c; font-size: 15px; }
.cp-tiebreak-page .tiebreak-item { margin-bottom: 12px; overflow: hidden; border-color: rgba(17,21,31,.09); border-radius: 15px; box-shadow: 0 10px 34px rgba(20,26,40,.045); }
.cp-tiebreak-page .tiebreak-question { display: grid; grid-template-columns: 44px minmax(190px, .75fr) minmax(220px, 1.25fr) 24px; align-items: center; gap: 14px; width: 100%; padding: 17px 20px; border: 0; color: #171a21; background: #fff; cursor: pointer; text-align: left; }
.cp-tiebreak-page .tiebreak-question:hover { background: #fbfaf7; }
.cp-tiebreak-page .tiebreak-question br { display: none; }
.cp-tiebreak-page .tiebreak-question::after { justify-self: end; color: var(--cp-orange); content: "+"; font-size: 25px; font-weight: 500; transition: transform .2s ease; }
.cp-tiebreak-page .tiebreak-item.active > .tiebreak-question::after { transform: rotate(45deg); }
.cp-tiebreak-page .tiebreak-icon { display: grid; width: 40px; height: 40px; place-content: center; border-radius: 11px; color: var(--cp-orange); background: rgba(237,100,53,.1); font-size: 13px; font-weight: 900; }
.cp-tiebreak-page .tiebreak-name { font-size: 16px; font-weight: 850; }
.cp-tiebreak-page .tiebreak-short { color: #717783; font-size: 14px; }
.cp-tiebreak-page .tiebreak-answer { display: none; border-top: 1px solid rgba(17,21,31,.08); background: #fff; }
.cp-tiebreak-page .tiebreak-item.active > .tiebreak-answer { display: block; }
.cp-tiebreak-page .tiebreak-answer-inner { padding: 22px 24px 25px; }
.cp-tiebreak-page .tiebreak-explanation h4 { margin: 0 0 10px; color: #1d2027; font-size: 18px; }
.cp-tiebreak-page .tiebreak-explanation p,
.cp-tiebreak-page .tiebreak-explanation li { color: #545b67; line-height: 1.7; }
.cp-tiebreak-page .example-box { margin: 18px 0 0; padding: 18px 20px; border: 1px solid rgba(40,104,255,.14); border-radius: 13px; background: rgba(40,104,255,.045); }
.cp-tiebreak-page .example-box h5 { margin: 0 0 8px; color: var(--cp-blue); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cp-tiebreak-page .technical-toggle { margin-top: 18px; padding-top: 17px; border-top: 1px dashed rgba(17,21,31,.15); }
.cp-tiebreak-page .technical-btn { padding: 9px 14px; border: 1px solid rgba(237,100,53,.22); border-radius: 999px; color: var(--cp-orange); background: rgba(237,100,53,.06); cursor: pointer; font-size: 12px; font-weight: 850; }
.cp-tiebreak-page .technical-content { display: none; margin-top: 15px; padding: 18px; border-radius: 12px; background: #f4f1ea; }
.cp-tiebreak-page .technical-toggle.active > .technical-content { display: block; }
.cp-tiebreak-page .special-cases-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.cp-tiebreak-page .special-case-card,
.cp-tiebreak-page .recommendation-card,
.cp-tiebreak-page .vur-explanation { border: 1px solid rgba(17,21,31,.09); border-radius: 18px; background: #fff; box-shadow: 0 14px 42px rgba(20,26,40,.055); }
.cp-tiebreak-page .special-case-card { padding: 24px 20px; }
.cp-tiebreak-page .special-case-icon { display: grid; width: 46px; height: 46px; margin-bottom: 15px; place-content: center; border-radius: 12px; color: var(--cp-orange); background: rgba(237,100,53,.1); font-weight: 900; }
.cp-tiebreak-page .special-case-card h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.025em; }
.cp-tiebreak-page .special-case-card p,
.cp-tiebreak-page .special-case-card li { color: #626975; font-size: 14px; line-height: 1.6; }
.cp-tiebreak-page .special-case-card ul { padding-left: 18px; }
.cp-tiebreak-page .vur-explanation { padding: 26px 28px; border-left: 3px solid var(--cp-orange); }
.cp-tiebreak-page .vur-explanation h3 { margin: 0 0 10px; color: #1d2027; font-size: 24px; }
.cp-tiebreak-page .recommendations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cp-tiebreak-page .recommendation-card { padding: 28px; }
.cp-tiebreak-page .recommendation-card h3 { margin: 0 0 8px; color: #1d2027; font-size: 23px; }
.cp-tiebreak-page .recommendation-desc { color: #656c78; }
.cp-tiebreak-page .recommendation-list { padding-left: 20px; }
.cp-tiebreak-page .recommendation-list li { padding: 5px 0; color: #3f4550; }
.cp-tiebreak-page .recommendation-card-full { grid-column: 1 / -1; }
.cp-tiebreak-page .recommendation-list-inline { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.cp-tiebreak-page .recommendation-list-inline li { padding: 9px 13px; border-radius: 999px; background: #f4f1ea; }
.cp-tiebreak-page .faq-container { width: min(100%, 900px); }
.cp-tiebreak-page .faq-item { overflow: hidden; box-shadow: 0 10px 34px rgba(20,26,40,.04); }
.cp-tiebreak-page .faq-question { position: relative; padding-right: 58px; cursor: pointer; }
.cp-tiebreak-page .faq-question::after { position: absolute; top: 16px; right: 22px; color: var(--cp-orange); content: "+"; font-size: 24px; font-weight: 500; transition: transform .2s ease; }
.cp-tiebreak-page .faq-item.active > .faq-question::after { transform: rotate(45deg); }
.cp-tiebreak-page .faq-answer { display: none !important; padding: 0 24px 22px; }
.cp-tiebreak-page .faq-item.active > .faq-answer { display: block !important; }
body.cp-public-site footer .cp-site-credit { max-width: 780px; margin: 10px auto 0; color: #c4c8d1 !important; opacity: 1; line-height: 1.65; }
body.cp-public-site footer .cp-site-credit a { color: #fff !important; text-decoration-color: rgba(237,100,53,.65); text-underline-offset: 3px; }

@media (max-width: 860px) {
  .cp-tiebreak-page .intro-content,
  .cp-tiebreak-page .recommendations-grid { grid-template-columns: 1fr; }
  .cp-tiebreak-page .special-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-tiebreak-page .recommendation-card-full { grid-column: auto; }
}

@media (max-width: 620px) {
  .cp-tiebreak-page .section { padding: 70px 0; }
  .cp-tiebreak-page .tiebreak-question { grid-template-columns: 38px 1fr 20px; gap: 10px; padding: 15px; }
  .cp-tiebreak-page .tiebreak-short { grid-column: 2; }
  .cp-tiebreak-page .tiebreak-question::after { grid-column: 3; grid-row: 1 / span 2; }
  .cp-tiebreak-page .special-cases-grid { grid-template-columns: 1fr; }
}

/* Long-form Italian guide chapters */
.cp-guide-article .section:not(.cta-section) { background: var(--cp-paper); }
.cp-guide-article .guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 300px;
  grid-template-areas: "body sidebar";
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  gap: 40px;
  align-items: start;
}
.cp-guide-article .guide-layout > p { display: none; }
.cp-guide-article .guide-body { grid-area: body; min-width: 0; overflow-wrap: break-word; }
.cp-guide-article .guide-body > p:empty { display: none; }
.cp-guide-article .guide-body h2 {
  margin: 48px 0 18px;
  padding-top: 32px;
  border-top: 1px solid rgba(17,21,31,.1);
  color: #15171d;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.06;
  scroll-margin-top: 130px;
}
.cp-guide-article .guide-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cp-guide-article .guide-body h3 { margin: 30px 0 10px; color: #1b1e26; font-size: 21px; letter-spacing: -.025em; }
.cp-guide-article .guide-body p,
.cp-guide-article .guide-body li { color: #4f5561; font-size: 16px; line-height: 1.78; }
.cp-guide-article .guide-body a { color: var(--cp-orange); }
.cp-guide-article .guide-lead {
  margin: 0 0 34px;
  padding: 5px 0 5px 22px;
  border-left: 3px solid var(--cp-orange);
  color: #343944;
  font-size: 18px;
  line-height: 1.75;
}
.cp-guide-article .guide-toc,
.cp-guide-article .guide-info-box,
.cp-guide-article .guide-fide-ref,
.cp-guide-article .guide-example,
.cp-guide-article .round-tracker,
.cp-guide-article .warning-box,
.cp-guide-article .inline-cta,
.cp-guide-article .final-banner {
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid rgba(17,21,31,.1);
  border-left: 3px solid var(--cp-orange);
  border-radius: 14px;
  background: rgba(255,255,255,.7);
}
.cp-guide-article .guide-toc,
.cp-guide-article .guide-info-box,
.cp-guide-article .guide-fide-ref,
.cp-guide-article .inline-cta,
.cp-guide-article .final-banner { padding: 22px 24px; }
.cp-guide-article .guide-toc-title,
.cp-guide-article .guide-sidebar-title,
.cp-guide-article .info-label,
.cp-guide-article .warning-label,
.cp-guide-article .warn-label,
.cp-guide-article .guide-example-header,
.cp-guide-article .rt-header {
  color: var(--cp-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.cp-guide-article .guide-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 14px 0 0; padding: 0; counter-reset: guide-toc; list-style: none; }
.cp-guide-article .guide-toc li { counter-increment: guide-toc; }
.cp-guide-article .guide-toc li::before { margin-right: 8px; color: #9ba0aa; content: counter(guide-toc, decimal-leading-zero) "."; font-size: 12px; font-weight: 800; }
.cp-guide-article .guide-toc a { color: #4c5260; text-decoration: none; }
.cp-guide-article .guide-toc a:hover { color: var(--cp-orange); }
.cp-guide-article .guide-example-header,
.cp-guide-article .rt-header { padding: 13px 20px; border-bottom: 1px solid rgba(17,21,31,.08); background: #eeebe4; }
.cp-guide-article .guide-example-body,
.cp-guide-article .rt-round { padding: 18px 20px; }
.cp-guide-article .rt-round + .rt-round { border-top: 1px solid rgba(17,21,31,.08); }
.cp-guide-article .rt-round-title { margin-bottom: 12px; color: #1c1f27; font-weight: 850; }
.cp-guide-article .rt-pairings { display: grid; gap: 6px; }
.cp-guide-article .rt-pair { display: flex; gap: 8px; align-items: center; color: #555c68; font-size: 14px; }
.cp-guide-article .rt-pair .board { min-width: 36px; color: #989eaa; }
.cp-guide-article .rt-pair .result { margin-left: auto; color: var(--cp-orange); font-weight: 850; }
.cp-guide-article .rt-scores { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.cp-guide-article .rt-score-chip,
.cp-guide-article .badge,
.cp-guide-article [class^="badge-"] { padding: 5px 9px; border-radius: 999px; background: #eeebe4; font-size: 12px; }
.cp-guide-article .guide-table,
.cp-guide-article .standings-table,
.cp-guide-article .schev-table { width: 100%; border: 1px solid rgba(17,21,31,.09); border-collapse: separate; border-spacing: 0; border-radius: 14px; margin: 24px 0; overflow: hidden; background: #fff; font-size: 14px; box-shadow: 0 12px 34px rgba(20,26,40,.045); }
.cp-guide-article .guide-table th,
.cp-guide-article .standings-table th,
.cp-guide-article .schev-table th { padding: 12px 13px; color: #1c2029; background: #e9e5dc; text-align: left; }
.cp-guide-article .guide-table td,
.cp-guide-article .standings-table td,
.cp-guide-article .schev-table td { padding: 11px 13px; border-bottom: 1px solid rgba(17,21,31,.08); color: #535966; }
.cp-guide-article .guide-table tr:last-child td,
.cp-guide-article .standings-table tr:last-child td,
.cp-guide-article .schev-table tr:last-child td { border-bottom: 0; }
.cp-guide-article .guide-table tbody tr:nth-child(even),
.cp-guide-article .standings-table tbody tr:nth-child(even),
.cp-guide-article .schev-table tbody tr:nth-child(even) { background: rgba(244,241,234,.58); }
.cp-guide-article .table-wrapper,
.cp-guide-article .schev-wrap,
.cp-guide-article .berger-wrap { max-width: 100%; overflow-x: auto; }
.cp-guide-article .variant-grid,
.cp-guide-article .equip-grid,
.cp-guide-article .req-grid,
.cp-guide-article .prevention-grid,
.cp-guide-article .hall-grid,
.cp-guide-article .scoring-split,
.cp-guide-article .phase-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.cp-guide-article .variant-card,
.cp-guide-article .equip-card,
.cp-guide-article .req-card,
.cp-guide-article .prev-card,
.cp-guide-article .phase-col,
.cp-guide-article .tb-card,
.cp-guide-article .match-card,
.cp-guide-article .ruling-card,
.cp-guide-article .checklist-section,
.cp-guide-article .berger-section {
  padding: 20px;
  border: 1px solid rgba(17,21,31,.09);
  border-radius: 14px;
  background: #fff;
}
.cp-guide-article .variant-card-name,
.cp-guide-article .equip-name,
.cp-guide-article .req-card-title,
.cp-guide-article .prev-title,
.cp-guide-article .phase-title,
.cp-guide-article .tb-name,
.cp-guide-article .match-header,
.cp-guide-article .ruling-card-header,
.cp-guide-article .checklist-title,
.cp-guide-article .berger-title { color: #1b1e26; font-weight: 850; }
.cp-guide-article .variant-card-tag,
.cp-guide-article .check-tag,
.cp-guide-article .criterion-priority { display: inline-flex; margin: 7px 0; padding: 4px 7px; border-radius: 6px; color: var(--cp-orange); background: rgba(237,100,53,.1); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.cp-guide-article .pros-cons { display: grid; gap: 4px; margin-top: 12px; }
.cp-guide-article .pro { color: #18854c; font-size: 13px; }
.cp-guide-article .con { color: #b5453d; font-size: 13px; }
.cp-guide-article .step-list,
.cp-guide-article .criterion-list,
.cp-guide-article .checklist { display: grid; gap: 10px; margin: 20px 0; }
.cp-guide-article .step-item,
.cp-guide-article .criterion-item,
.cp-guide-article .check-item-text,
.cp-guide-article .penalty-row { padding: 16px; border: 1px solid rgba(17,21,31,.08); border-radius: 12px; background: rgba(255,255,255,.72); }
.cp-guide-article .step-num,
.cp-guide-article .criterion-num,
.cp-guide-article .bd-num,
.cp-guide-article .p-num { color: var(--cp-orange); font-weight: 900; }
.cp-guide-article .guide-sidebar { grid-area: sidebar; position: sticky; top: 128px; }
.cp-guide-article .guide-sidebar-card { margin-bottom: 15px; padding: 20px; border: 1px solid rgba(17,21,31,.09); border-radius: 15px; background: #fff; }
.cp-guide-article .guide-sidebar-title { margin-bottom: 11px; padding-bottom: 11px; border-bottom: 1px solid rgba(17,21,31,.08); }
.cp-guide-article .guide-chapter-list { margin: 0; padding: 0; list-style: none; }
.cp-guide-article .guide-chapter-list li { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(17,21,31,.05); font-size: 13px; }
.cp-guide-article .guide-chapter-list a { color: #666d79; text-decoration: none; }
.cp-guide-article .guide-chapter-list li.active a,
.cp-guide-article .guide-chapter-list a:hover { color: var(--cp-orange); }
.cp-guide-article .ch-num { min-width: 22px; color: #a7acb5; font-size: 11px; font-weight: 850; }
.cp-guide-article .guide-chapter-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(17,21,31,.1); }
.cp-guide-article .guide-nav-link { display: block; padding: 17px; border: 1px solid rgba(17,21,31,.09); border-radius: 12px; color: #1e222b; background: #fff; text-decoration: none; }
.cp-guide-article .guide-nav-link.next { text-align: right; }
.cp-guide-article .guide-nav-label { display: block; margin-bottom: 4px; color: #989da7; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.cp-guide-article .guide-nav-title { color: var(--cp-orange); font-size: 14px; font-weight: 800; }
.cp-guide-article .cta-section { margin-top: 0; padding: 86px 0; }
.cp-guide-article .cta-section h2 { color: #fff; }

/* Italian release summaries */
.cp-it-updates-intro { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-top: 62px; }
.cp-it-updates-intro strong { font-size: 24px; letter-spacing: -.025em; }
.cp-it-updates-intro p { max-width: 620px; margin: 0; color: #676d79; }
.cp-it-updates-intro a { color: var(--cp-orange); }
.cp-update-stats { display: flex !important; flex-wrap: wrap; gap: 9px !important; margin: 0 !important; padding: 0 !important; list-style: none; }
.cp-update-stats li { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; color: #535966; background: #eeebe4; }
.cp-update-stats b { color: var(--cp-orange); font-size: 19px; }
.cp-update-stats span { font-size: 13px; font-weight: 750; }

@media (max-width: 1024px) {
  .cp-hero { min-height: auto; padding-top: 180px; }
  .cp-hero-grid,
  .cp-intro-grid,
  .cp-standard-grid,
  .cp-release-layout { grid-template-columns: 1fr; }
  .cp-hero-copy { text-align: center; }
  .cp-hero-copy > p { margin-inline: auto; }
  .cp-actions { justify-content: center; }
  .cp-hero-art { width: min(100%, 860px); margin-inline: auto; }
  .cp-proof-strip { grid-template-columns: repeat(2, 1fr); }
  .cp-proof-strip div:nth-child(2) { border-right: 0; }
  .cp-wordpress-card { grid-template-columns: auto 1fr; }
  .cp-wordpress-card .cp-button { grid-column: 2; justify-self: start; }
  .cp-forum-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-language-grid { grid-template-columns: repeat(3, 1fr); }
  .cp-resource-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-legacy-page .features-grid,
  .cp-legacy-page .why-grid,
  .cp-legacy-page .modi-grid,
  .cp-legacy-page .steps-grid,
  .cp-legacy-page .explore-grid,
  .cp-legacy-page .export-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-guide-article .guide-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "sidebar";
  }
  .cp-guide-article .guide-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cp-country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .cp-shell { width: min(100% - 28px, 1220px); }
  .cp-section { padding: 78px 0; }
  .cp-hero { padding: 155px 0 48px; }
  .cp-hero-grid { gap: 48px; }
  .cp-hero-copy h1 { font-size: clamp(44px, 14vw, 66px); }
  .cp-hero-art img { border-radius: 22px 22px 80px 22px; }
  .cp-hero-art::before { inset: -12px 22px 18px -10px; border-radius: 28px 28px 90px 28px; }
  .cp-floating-proof { min-width: 88px; min-height: 88px; padding: 10px; font-size: 11px; }
  .cp-floating-proof b { font-size: 22px; }
  .cp-proof-one { right: -4px; bottom: -24px; }
  .cp-proof-two { top: -28px; left: 4%; min-width: 82px; min-height: 82px; }
  .cp-proof-strip { margin-top: 72px; }
  .cp-proof-strip div { padding: 20px 14px; }
  .cp-feature-grid,
  .cp-live-grid,
  .cp-forum-grid,
  .cp-resource-grid,
  .cp-language-grid { grid-template-columns: 1fr; }
  .cp-feature-card { min-height: 460px; }
  .cp-feature-card img { height: 280px; }
  .cp-standard-cards b { min-width: 74px; font-size: 30px; }
  .cp-wordpress-card { grid-template-columns: 1fr; padding: 30px; }
  .cp-wordpress-card .cp-button { grid-column: auto; justify-self: start; }
  .cp-legacy-page .features-grid,
  .cp-legacy-page .why-grid,
  .cp-legacy-page .modi-grid,
  .cp-legacy-page .steps-grid,
  .cp-legacy-page .explore-grid,
  .cp-legacy-page .export-grid,
  .cp-legacy-page .fide-content,
  .cp-legacy-page .intro-content,
  .cp-legacy-page .guide-layout { grid-template-columns: 1fr; }
  .cp-page-hero { padding: 145px 0 62px; }
  .cp-page-hero::after,
  .cp-legacy-page .hero .container::after { display: none; }
  .cp-changelog-toolbar { align-items: flex-start; flex-direction: column; padding-top: 48px; }
  .cp-changelog-page .version { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .cp-changelog-page .version-header { grid-template-columns: auto 1fr; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid rgba(22,31,57,.1); }
  .cp-changelog-page .version-header .version-date { grid-column: 1 / -1; }
  .cp-changelog-archive > summary { padding: 22px; }
  .cp-changelog-archive > summary > b { text-align: right; }
  .cp-changelog-list-archive { padding: 12px; }
  .cp-legacy-page .hero { padding: 140px 0 66px; }
  .cp-legacy-page > .breadcrumb + .hero { padding-top: 55px; }
  .cp-legacy-page .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .cp-guide-article .variant-grid,
  .cp-guide-article .equip-grid,
  .cp-guide-article .req-grid,
  .cp-guide-article .prevention-grid,
  .cp-guide-article .hall-grid,
  .cp-guide-article .scoring-split,
  .cp-guide-article .phase-timeline,
  .cp-guide-article .guide-sidebar,
  .cp-guide-article .guide-chapter-nav { grid-template-columns: 1fr; }
  .cp-guide-article .guide-toc ol,
  .cp-country-grid { grid-template-columns: 1fr; }
  .cp-country-hero h1 { align-items: flex-start; flex-direction: column; }
  .cp-guide-article .guide-nav-link.next { text-align: left; }
  .cp-it-updates-intro { align-items: flex-start; flex-direction: column; padding-top: 48px; }
}
