:root {
  --acp-night: #06110e;
  --acp-night-raised: #0a1915;
  --acp-felt: #0b3d30;
  --acp-felt-raised: #10513f;
  --acp-ivory: #f5f0e6;
  --acp-muted: #b6c4bb;
  --acp-line: rgba(215, 173, 92, 0.24);
  --acp-red: #d62332;
  --acp-red-dark: #a71622;
  --acp-gold: #d7ad5c;
  --acp-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

html[data-acp-poker-theme='v2'] {
  background: var(--acp-night);
  scroll-padding-top: 24px;
}

body.acp-v2-ready {
  margin: 0 !important;
  overflow-x: hidden;
  background: var(--acp-night) !important;
  color: var(--acp-ivory) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px;
  line-height: 1.65;
}

body.acp-v2-ready *,
body.acp-v2-ready *::before,
body.acp-v2-ready *::after {
  box-sizing: border-box;
}

body.acp-v2-ready > .acp-v2-retired,
body.acp-v2-ready .acp-v2-retired {
  display: none !important;
}

.acp-v2-shell,
.acp-v2-footer {
  position: relative;
  z-index: 1000;
  color: var(--acp-ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.acp-v2-skip {
  position: absolute;
  left: 18px;
  top: -120px;
  z-index: 1002;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--acp-ivory);
  color: var(--acp-night) !important;
  text-decoration: none !important;
}

.acp-v2-skip:focus {
  top: 12px;
}

.acp-v2-disclosure {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #030a08;
  color: #d8e1db;
  font-size: 12px;
  letter-spacing: 0.025em;
  text-align: center;
}

.acp-v2-disclosure span:first-child { color: var(--acp-gold); }
.acp-v2-disclosure span:last-child { color: var(--acp-red); }

.acp-v2-header {
  width: 100%;
  border-bottom: 1px solid var(--acp-line);
  background: rgba(6, 17, 14, 0.98);
}

.acp-v2-header-inner {
  display: flex;
  width: min(1220px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  gap: 30px;
}

.acp-v2-brand {
  display: inline-flex !important;
  min-width: max-content;
  align-items: center;
  gap: 13px;
  color: var(--acp-ivory) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  text-decoration: none !important;
}

.acp-v2-brand small {
  display: block;
  margin-top: 7px;
  color: var(--acp-gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.acp-v2-brand-cards {
  position: relative;
  display: block;
  width: 49px;
  height: 52px;
}

.acp-v2-brand-cards b,
.acp-v2-brand-cards i {
  position: absolute;
  display: grid;
  width: 34px;
  height: 46px;
  place-items: start;
  padding: 5px;
  border: 2px solid var(--acp-ivory);
  border-radius: 5px;
  background: #fffdf7;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: normal;
  line-height: 1;
}

.acp-v2-brand-cards b {
  left: 1px;
  top: 4px;
  z-index: 2;
  color: #111;
  transform: rotate(-7deg);
}

.acp-v2-brand-cards i {
  right: 0;
  top: 1px;
  color: var(--acp-red);
  transform: rotate(8deg);
}

.acp-v2-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 8px;
}

.acp-v2-nav a,
.acp-v2-menu nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  color: #e8eee9 !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
}

.acp-v2-nav a:hover,
.acp-v2-menu nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.acp-v2-nav .acp-v2-nav-cta,
.acp-v2-menu .acp-v2-nav-cta {
  margin-left: 6px;
  border: 1px solid #ef4d58;
  background: var(--acp-red);
  color: white !important;
}

.acp-v2-nav .acp-v2-nav-cta:hover,
.acp-v2-menu .acp-v2-nav-cta:hover {
  background: var(--acp-red-dark);
}

.acp-v2-languages,
.acp-v2-menu {
  position: relative;
}

.acp-v2-menu { display: none; }

.acp-v2-languages summary,
.acp-v2-menu summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #e8eee9;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.acp-v2-languages summary::-webkit-details-marker,
.acp-v2-menu summary::-webkit-details-marker { display: none; }

.acp-v2-languages summary::after,
.acp-v2-menu summary::after {
  content: '▾';
  margin-left: 9px;
  color: var(--acp-gold);
}

.acp-v2-languages[open] summary::after,
.acp-v2-menu[open] summary::after { content: '▴'; }

.acp-v2-languages > div,
.acp-v2-menu > nav {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 9px;
  border: 1px solid var(--acp-line);
  border-radius: 8px;
  background: #0c201a;
  box-shadow: var(--acp-shadow);
}

.acp-v2-languages a {
  display: block;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 5px;
  color: #edf2ee !important;
  font-size: 13px;
  text-decoration: none !important;
}

.acp-v2-languages a:hover { background: rgba(255, 255, 255, 0.07); }

body.acp-v2-ready :focus-visible {
  outline: 3px solid var(--acp-gold) !important;
  outline-offset: 3px !important;
}

body.acp-v2-ready main,
body.acp-v2-ready .page-wrap,
body.acp-v2-ready .gradient-wrap,
body.acp-v2-ready .main,
body.acp-v2-ready #content {
  background-color: transparent !important;
  color: var(--acp-ivory) !important;
}

body.acp-v2-ready .page-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
}

body.acp-v2-ready main a:not(.button):not(.btn):not(.wp-block-button__link),
body.acp-v2-ready .page-wrap a:not(.button):not(.btn):not(.wp-block-button__link) {
  color: #f0c978;
  text-decoration-color: rgba(240, 201, 120, 0.6);
  text-underline-offset: 4px;
}

body.acp-v2-ready main p,
body.acp-v2-ready main li,
body.acp-v2-ready main dd,
body.acp-v2-ready .entry-content p,
body.acp-v2-ready .entry-content li {
  color: var(--acp-muted) !important;
}

body.acp-v2-ready main h1,
body.acp-v2-ready main h2,
body.acp-v2-ready main h3,
body.acp-v2-ready main h4,
body.acp-v2-ready .entry-content h1,
body.acp-v2-ready .entry-content h2,
body.acp-v2-ready .entry-content h3,
body.acp-v2-ready .entry-content h4 {
  color: var(--acp-ivory) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  letter-spacing: -0.025em !important;
}

body.acp-v2-ready main h1,
body.acp-v2-ready .entry-content h1 {
  font-size: clamp(38px, 5.2vw, 68px) !important;
  line-height: 1.05 !important;
}

body.acp-v2-ready main h2,
body.acp-v2-ready .entry-content h2 {
  font-size: clamp(28px, 3.6vw, 43px) !important;
  line-height: 1.14 !important;
}

body.acp-v2-ready .button,
body.acp-v2-ready .btn,
body.acp-v2-ready .wp-block-button__link,
body.acp-v2-ready .banner-cta-wrapper a,
body.acp-v2-ready a[class*='button']:not(.text-link) {
  display: inline-flex !important;
  min-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 18px !important;
  border: 1px solid #ef4d58 !important;
  border-radius: 6px !important;
  background: var(--acp-red) !important;
  box-shadow: 0 10px 24px rgba(214, 35, 50, 0.18) !important;
  color: white !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

body.acp-v2-ready .button:hover,
body.acp-v2-ready .btn:hover,
body.acp-v2-ready .wp-block-button__link:hover,
body.acp-v2-ready .banner-cta-wrapper a:hover {
  background: var(--acp-red-dark) !important;
}

body.acp-v2-ready table {
  overflow: hidden;
  border: 1px solid var(--acp-line) !important;
  border-collapse: collapse !important;
  background: #091914 !important;
  color: var(--acp-ivory) !important;
}

.acp-v2-table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.acp-v2-table-scroll > table {
  margin: 0 !important;
}

body.acp-v2-ready th,
body.acp-v2-ready td {
  padding: 14px !important;
  border-color: rgba(215, 173, 92, 0.18) !important;
  background: transparent !important;
  color: var(--acp-muted) !important;
}

body.acp-v2-ready th,
body.acp-v2-ready thead td {
  background: var(--acp-felt) !important;
  color: var(--acp-ivory) !important;
}

body.acp-v2-ready details:not(.acp-v2-languages):not(.acp-v2-menu) {
  border-color: rgba(215, 173, 92, 0.22) !important;
  background-color: rgba(10, 25, 21, 0.56) !important;
}

body.acp-v2-ready .card,
body.acp-v2-ready [class*='card--'],
body.acp-v2-ready .field-note,
body.acp-v2-ready .summary,
body.acp-v2-ready blockquote {
  border-color: rgba(215, 173, 92, 0.25) !important;
  border-radius: 10px !important;
  background: #0b201a !important;
  box-shadow: none !important;
  color: var(--acp-ivory) !important;
}

body.acp-v2-ready .container,
body.acp-v2-ready .wrap,
body.acp-v2-ready .w {
  max-width: 1180px;
}

body.acp-v2-ready .entry-content,
body.acp-v2-ready .article-body,
body.acp-v2-ready .prose {
  color: var(--acp-ivory) !important;
}

body.acp-v2-ready .entry-content {
  width: min(100%, 1180px);
  margin-inline: auto;
}

body.acp-v2-ready .hero:not(.acp-v2-header),
body.acp-v2-ready .home-banner,
body.acp-v2-ready [class*='hero-banner'] {
  background-color: var(--acp-felt) !important;
  color: var(--acp-ivory) !important;
}

body.acp-v2-ready .home-banner,
body.acp-v2-ready .cta--community {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.acp-v2-ready .article,
body.acp-v2-ready .m {
  padding-top: clamp(38px, 6vw, 76px) !important;
  padding-bottom: clamp(56px, 8vw, 100px) !important;
}

body.acp-v2-ready .article-heading,
body.acp-v2-ready .hero .w {
  position: relative;
  padding-top: 22px;
}

body.acp-v2-ready .article-heading::before,
body.acp-v2-ready .hero .w::before {
  content: '♠  ♦  ♣  ♥';
  display: block;
  margin-bottom: 16px;
  color: var(--acp-gold);
  font-size: 15px;
  letter-spacing: 0.55em;
}

body.acp-v2-home .hero.wrap {
  position: relative;
  display: grid !important;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px !important;
  margin: 42px auto 58px !important;
  padding: clamp(42px, 6vw, 76px) !important;
  overflow: hidden;
  border: 1px solid rgba(215, 173, 92, 0.4);
  border-radius: 18px;
  background-color: var(--acp-felt) !important;
  box-shadow: inset 0 0 0 10px rgba(2, 17, 13, 0.18), var(--acp-shadow);
}

body.acp-v2-home .hero.wrap::before {
  content: '♠        ♦        ♣        ♥';
  position: absolute;
  right: -40px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-5deg);
}

body.acp-v2-home .hero h1 {
  color: #fffdf8 !important;
  font-size: clamp(50px, 6.6vw, 84px) !important;
}

body.acp-v2-home .hero h1 em { color: #ffd172 !important; }
body.acp-v2-home .hero .lead { color: #d9e6df !important; }
body.acp-v2-home .hero .eyebrow { color: #ffcf72 !important; }

body.acp-v2-home .field-note {
  position: relative;
  z-index: 1;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(3, 19, 14, 0.68) !important;
  backdrop-filter: blur(3px);
}

body.acp-v2-home .field-note p { color: #bcd0c4 !important; }
body.acp-v2-home .field-note li,
body.acp-v2-home .field-note .note-top,
body.acp-v2-home .field-note > a { border-color: rgba(255, 255, 255, 0.14) !important; }

.acp-v2-table-art {
  position: relative;
  display: flex;
  width: 240px;
  height: 116px;
  margin: 28px 0 10px;
  align-items: end;
}

.acp-playing-card {
  position: absolute;
  bottom: 6px;
  display: flex;
  width: 64px;
  height: 92px;
  flex-direction: column;
  padding: 8px;
  border: 2px solid #fff;
  border-radius: 7px;
  background: #fffdf7;
  box-shadow: 0 13px 23px rgba(0, 0, 0, 0.3);
  color: #10110f;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

.acp-playing-card b { font-size: 20px; }
.acp-playing-card em { margin: auto; font-size: 31px; font-style: normal; }
.acp-playing-card.red { color: var(--acp-red); }
.acp-card-one { left: 8px; transform: rotate(-13deg); }
.acp-card-two { left: 57px; z-index: 2; transform: rotate(-2deg); }
.acp-card-three { left: 108px; transform: rotate(10deg); }

.acp-poker-chip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 48px;
  height: 48px;
  border: 5px dashed rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3), inset 0 0 0 5px currentColor;
}

.chip-red { background: var(--acp-red); color: #8d101a; }
.chip-gold { right: -12px; bottom: 38px; width: 42px; height: 42px; background: var(--acp-gold); color: #806224; }

body.acp-v2-home .section,
body.acp-v2-home .editorial {
  border-color: rgba(215, 173, 92, 0.18) !important;
}

body.acp-v2-home .guide,
body.acp-v2-home .library > a {
  border-color: rgba(215, 173, 92, 0.35) !important;
}

body.acp-v2-home .guide:hover,
body.acp-v2-home .library > a:hover {
  background: rgba(11, 61, 48, 0.35);
}

body.acp-v2-home .download-section {
  border-block: 1px solid rgba(215, 173, 92, 0.25);
  background: #0b2d24 !important;
}

body.acp-v2-home .download-section p,
body.acp-v2-home .download-section small { color: #bcd0c4 !important; }

.acp-v2-footer {
  border-top: 1px solid var(--acp-line);
  background: #030a08;
}

.acp-v2-footer-inner {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 190px;
  margin: 0 auto;
  padding: 42px 0;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: start;
  gap: 44px;
}

.acp-v2-footer p {
  margin: 6px 0 0 !important;
  color: #96a89d !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

.acp-v2-brand-footer { font-size: 19px !important; }
.acp-v2-brand-footer .acp-v2-brand-cards { transform: scale(0.82); transform-origin: left center; }

@media (max-width: 1040px) {
  .acp-v2-header-inner { gap: 17px; }
  .acp-v2-nav { gap: 2px; }
  .acp-v2-nav a { padding-inline: 9px; }
}

@media (max-width: 820px) {
  .acp-v2-header-inner {
    width: min(100% - 32px, 1180px);
    min-height: 80px;
    gap: 12px;
  }

  .acp-v2-brand { margin-right: auto; font-size: 18px !important; }
  .acp-v2-brand-cards { width: 40px; height: 46px; transform: scale(0.86); transform-origin: left center; }
  .acp-v2-nav { display: none; }
  .acp-v2-menu { display: block; }
  .acp-v2-menu > nav { display: grid; left: auto; right: 0; }
  .acp-v2-menu nav a { width: 100%; }
  .acp-v2-menu .acp-v2-nav-cta { margin: 5px 0 0; }
  .acp-v2-languages > div { right: 0; }

  body.acp-v2-home .hero.wrap {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr !important;
    margin-top: 22px !important;
    padding: 34px 24px !important;
    border-radius: 13px;
  }

  body.acp-v2-home .hero.wrap::before { font-size: 72px; }
  body.acp-v2-home .hero h1 { font-size: clamp(40px, 11vw, 48px) !important; }
  .acp-v2-table-art { margin-top: 18px; }

  body.acp-v2-ready main h1,
  body.acp-v2-ready .entry-content h1 { font-size: clamp(36px, 10vw, 52px) !important; overflow-wrap: anywhere; }
  body.acp-v2-ready main h2,
  body.acp-v2-ready .entry-content h2 { font-size: clamp(27px, 8vw, 36px) !important; overflow-wrap: anywhere; }

  .acp-v2-footer-inner {
    width: min(100% - 36px, 1180px);
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .acp-v2-disclosure { gap: 8px; font-size: 10px; }
  .acp-v2-header-inner { width: calc(100% - 24px); }
  .acp-v2-brand small { display: none; }
  .acp-v2-brand-cards { width: 34px; transform: scale(0.76); }
  .acp-v2-menu summary,
  .acp-v2-languages summary { padding-inline: 9px; font-size: 12px; }
  .acp-v2-languages > div,
  .acp-v2-menu > nav { position: fixed; top: 124px; right: 12px; left: 12px; width: auto; }
  body.acp-v2-home .hero.wrap { padding: 30px 20px !important; }
  .acp-v2-table-art { transform: scale(0.88); transform-origin: left center; }
  body.acp-v2-ready th,
  body.acp-v2-ready td { padding: 11px 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
