:root {
  color-scheme: dark;
  --green: #04160d;
  --panel: #09271a;
  --cream: #f6eed9;
  --gold: #f2c94c;
  --muted: #b8c9c1;
  --red: #d94b62;
  --line: #bca35535;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--green);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  background: radial-gradient(ellipse at 85% 8%, #155f3833, transparent 30%);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
  border-radius: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(52px, 5.8vw, 88px);
}
h2 {
  font-size: clamp(38px, 4vw, 56px);
}
em {
  font-weight: 400;
  color: var(--gold);
}
.wrap {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -90px;
  padding: 12px 20px;
  z-index: 20;
  background: var(--cream);
  color: var(--green);
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  line-height: 1.05;
  flex-shrink: 0;
  min-height: 44px;
}
.brand svg {
  width: 37px;
  height: 37px;
  color: var(--red);
}
.brand > span {
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: 750;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 7px;
  letter-spacing: 0.5em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.main-nav a:hover,
.main-nav [aria-current] {
  color: var(--gold);
}
.header-tag {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
.header-tag span {
  margin-left: 13px;
  color: var(--gold);
  font-size: 18px;
  vertical-align: middle;
}
.hero {
  min-height: 624px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 14px;
  padding-block: 56px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.6;
  margin-bottom: 24px;
}
.little-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  margin-bottom: 26px;
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  background: var(--gold);
  color: var(--green);
  border: 1px solid var(--gold);
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #ffdc71;
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-decoration: none;
}
.text-link:hover {
  color: var(--gold);
}
.release-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.release-note span {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-art {
  height: 470px;
  position: relative;
  isolation: isolate;
}
.table-ring {
  position: absolute;
  border-radius: 50%;
  inset: 4% -1%;
  border: 1px solid #c6aa5740;
}
.ring-outer {
  background: radial-gradient(
    ellipse,
    #18724880,
    #0a392430 67%,
    transparent 70%
  );
}
.ring-inner {
  inset: 7% 2%;
  border-color: #c6aa5724;
}
.table-caption {
  position: absolute;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #b7bd9d;
  text-align: center;
  inset-inline: 0;
}
.top-caption {
  top: 11%;
}
.card-fan {
  position: absolute;
  inset: 0;
}
.hero-card {
  position: absolute;
  top: 24%;
  width: 37%;
  border-radius: 9px;
  box-shadow: 0 24px 40px #0008;
  transform-origin: center 90%;
}
.card-back {
  left: 15%;
  transform: rotate(-23deg);
}
.card-queen {
  left: 32%;
  top: 19%;
  transform: rotate(-3deg);
}
.card-heart {
  left: 49%;
  top: 25%;
  transform: rotate(18deg);
}
.art-suit {
  position: absolute;
  color: #c4a641;
  font-size: 34px;
  opacity: 0.45;
}
.suit-one {
  left: 8%;
  top: 28%;
  transform: rotate(-18deg);
}
.suit-two {
  right: 7%;
  bottom: 28%;
  transform: rotate(13deg);
}
.point-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #cfb35465;
  border-radius: 5px;
  background: #0b261a;
  font-size: 8px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 28px #0005;
  white-space: nowrap;
  z-index: 3;
}
.point-chip > span {
  font-size: 21px;
}
.point-chip strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}
.chip-heart {
  top: 26%;
  right: -1%;
  transform: rotate(5deg);
}
.chip-heart > span {
  color: var(--red);
}
.chip-queen {
  bottom: 21%;
  left: 0;
  transform: rotate(-5deg);
}
.game-facts {
  min-height: 89px;
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
}
.game-facts p {
  font-size: 13px;
}
.game-facts p span {
  color: #aca37d;
  font-size: 10px;
  margin-right: 17px;
}
.fact-diamond {
  color: var(--gold);
  font-size: 11px;
  opacity: 0.7;
}
.section {
  padding-block: 96px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
  margin-bottom: 40px;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 6px;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mode-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px 28px 0;
  background:
    radial-gradient(ellipse at 50% 20%, #1767404d, transparent 60%),
    var(--panel);
  overflow: hidden;
}
.mode-number {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.mode-card img {
  width: 192px;
  margin: 15px auto 22px;
}
.mode-card h3 {
  font-size: 31px;
  letter-spacing: -0.035em;
  margin-bottom: 15px;
}
.mode-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  max-width: 30ch;
}
.mode-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-block: 17px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.mode-label span {
  font-size: 17px;
}
.section-note {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  margin-top: 24px;
}
.rules-band {
  background: var(--cream);
  color: var(--green);
  padding-block: 80px;
  position: relative;
}
.rules-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}
.rules-preview .eyebrow {
  color: #52634b;
}
.rules-preview em {
  color: #28603f;
}
.rules-preview h2 {
  margin-bottom: 24px;
}
.rules-preview p {
  font-size: 14px;
  max-width: 46ch;
}
.dark-button {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
  margin-top: 30px;
}
.dark-button:hover {
  background: #17432b;
}
.rules-band a:focus-visible {
  outline-color: #8a4613;
}
.score-note {
  border: 1px solid #7e82554d;
  border-radius: 5px;
  padding: 28px;
  transform: rotate(2deg);
  box-shadow: 8px 10px 0 #c6c0a329;
}
.score-note-title {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.18em;
  border-bottom: 1px solid #7e82554d;
  padding-bottom: 17px;
}
.score-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  border-bottom: 1px solid #7e825533;
  font-size: 13px;
}
.score-symbol {
  width: 43px;
  flex-shrink: 0;
  font-family: Georgia, serif;
  font-size: 25px;
}
.red-suit {
  color: #a52a42;
}
.score-line strong {
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}
.moon-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-block: 24px;
}
.moon-note > span {
  font-size: 43px;
  color: #52634b;
  line-height: 1;
}
.moon-note p {
  font-size: 13px;
}
.moon-note strong {
  font-weight: 600;
}
.ink-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 12px;
  text-decoration: none;
}
.ink-link:hover {
  text-decoration: underline;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 22px 35px 22px 0;
  position: relative;
  list-style: none;
  font-size: 14px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--gold);
  font-size: 22px;
  top: 15px;
  font-weight: 300;
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 0 28px 24px 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-brand {
  min-height: 52px;
  transform-origin: left center;
  transform: scale(0.85);
}
.site-footer p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.site-footer nav {
  display: flex;
  gap: 25px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  text-decoration: none;
}
.site-footer nav a:hover {
  color: var(--gold);
}
.footer-credit {
  text-align: right;
}
.guide-heading {
  padding-block: 35px 70px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 30px;
}
.guide-heading h1 {
  font-size: clamp(46px, 5.7vw, 76px);
  margin-bottom: 25px;
}
.guide-heading > p:last-child {
  color: var(--muted);
  max-width: 57ch;
}
.guide-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 65px;
  padding-bottom: 90px;
}
.guide-nav {
  position: sticky;
  top: 30px;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.guide-nav .eyebrow {
  margin-bottom: 15px;
}
.guide-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.guide-nav a:hover {
  color: var(--gold);
}
.guide-content {
  max-width: 780px;
}
.guide-content section {
  border-top: 1px solid var(--line);
  padding-block: 30px 44px;
}
.chapter {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.guide-content h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 24px;
}
.guide-content p {
  margin-block: 16px;
  color: var(--muted);
  line-height: 1.9;
}
.guide-content strong {
  color: var(--cream);
  font-weight: 600;
}
.pass-cycle {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-block: 25px;
}
.pass-cycle li {
  padding: 18px;
  border-right: 1px solid var(--line);
}
.pass-cycle li:last-child {
  border: 0;
}
.pass-cycle strong,
.pass-cycle span {
  display: block;
}
.pass-cycle span {
  color: var(--muted);
  font-size: 12px;
}
.guide-callout {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-block: 25px;
}
.guide-callout > span {
  font-size: 37px;
  line-height: 1;
  color: var(--gold);
}
.guide-callout h3 {
  font-size: 28px;
}
.guide-callout p {
  margin-bottom: 0;
  font-size: 15px;
}
.guide-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-block: 1px solid var(--line);
  padding-block: 25px;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 26px;
}
.guide-next small {
  display: block;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 9px;
  margin-bottom: 10px;
}
.guide-next:hover {
  color: var(--gold);
}
.strategy-content {
  margin-bottom: 90px;
}
.not-found {
  padding-block: 100px;
  min-height: 65vh;
}
.not-found p {
  margin-block: 25px;
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .card-fan {
    animation: settle-in 0.7s ease-out both;
  }
  @keyframes settle-in {
    from {
      opacity: 0;
      transform: translateY(16px) rotate(-3deg);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-tag {
    display: none;
  }
  .hero {
    min-height: 560px;
  }
  .hero-art {
    height: 420px;
  }
  .rules-preview {
    gap: 50px;
  }
  .mode-card {
    padding-inline: 22px;
  }
  .mode-card h3 {
    font-size: 28px;
  }
  .mode-card img {
    width: 160px;
  }
  .point-chip {
    gap: 7px;
    padding: 7px 9px;
    font-size: 7px;
  }
  .faq-section {
    gap: 45px;
  }
  .guide-layout {
    grid-template-columns: 190px 1fr;
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 92px;
    gap: 20px;
  }
  .brand > span {
    font-size: 19px;
  }
  .brand svg {
    width: 30px;
    height: 30px;
  }
  .brand small {
    font-size: 8px;
  }
  .main-nav {
    gap: 16px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .main-nav a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 48px 16px;
  }
  .hero h1 {
    font-size: clamp(50px, 9vw, 72px);
  }
  .hero-art {
    width: min(470px, 95%);
    height: 400px;
    justify-self: center;
    margin-top: 25px;
  }
  .hero-description {
    font-size: 15px;
  }
  .point-chip {
    font-size: 8px;
  }
  .hero-card {
    width: 34%;
  }
  .card-queen {
    left: 31%;
  }
  .card-heart {
    left: 47%;
  }
  .game-facts {
    gap: 8px;
    min-height: 70px;
  }
  .game-facts p {
    font-size: 11px;
  }
  .game-facts p span {
    display: none;
  }
  .fact-diamond {
    font-size: 8px;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .mode-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mode-card {
    position: relative;
    padding: 24px 22px 0;
  }
  .mode-card img {
    width: 125px;
    float: right;
    margin: 15px -5px 15px 15px;
  }
  .mode-number {
    display: block;
    font-size: 8px;
  }
  .mode-card h3 {
    font-size: 30px;
    margin-top: 25px;
  }
  .mode-card p {
    font-size: 13px;
    min-height: 70px;
  }
  .mode-label {
    clear: both;
    margin-top: 24px;
  }
  .section-note {
    text-align: left;
    line-height: 1.8;
  }
  .rules-band {
    padding-block: 55px;
  }
  .rules-preview {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .score-note {
    transform: none;
    max-width: 500px;
    width: 100%;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 16px 30px;
  }
  .site-footer nav {
    margin-left: auto;
    flex-direction: column;
    gap: 0;
  }
  .site-footer .footer-credit {
    text-align: left;
    width: 100%;
    font-size: 10px;
  }
  .guide-heading {
    padding-bottom: 45px;
  }
  .guide-heading h1 {
    font-size: 46px;
  }
  .guide-layout {
    display: block;
    padding-bottom: 60px;
  }
  .guide-nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
  }
  .guide-nav .eyebrow {
    grid-column: 1 / -1;
  }
  .guide-content p {
    font-size: 15px;
  }
  .pass-cycle li {
    padding: 12px 9px;
    font-size: 13px;
  }
  .guide-callout {
    padding: 22px 18px;
    gap: 14px;
  }
  .guide-callout > span {
    font-size: 30px;
  }
  .guide-callout h3 {
    font-size: 24px;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .main-nav {
    gap: 12px;
  }
  .main-nav a {
    font-size: 11px;
  }
  .brand {
    gap: 7px;
  }
  .brand > span {
    font-size: 17px;
  }
  .brand svg {
    width: 26px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .actions {
    gap: 16px;
  }
  .button {
    gap: 16px;
    padding-inline: 17px;
  }
  .hero-art {
    height: 340px;
  }
  .point-chip {
    font-size: 6px;
  }
  .mode-card img {
    width: 104px;
  }
  .mode-card h3 {
    font-size: 27px;
  }
  .score-note {
    padding: 20px;
  }
  .score-line {
    gap: 8px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover {
    transform: none;
  }
}
