/* Rilostes Play — atelier design system
   Palette
   --cloth      #2A2C30  charcoal suiting, the base fabric
   --cloth-deep #1C1D20  lining shadow
   --cloth-lift #34373C  raised panel on cloth
   --silver     #C3C7CC  polished shears
   --silver-hi  #EEF0F2  blade highlight
   --silver-lo  #8B9096  blade shadow
   --chalk      #EEE9DF  tailor's chalk / pattern paper
   --chalk-dim  #D6CFC1  chalk on cloth, worn
   --ink        #232428  text on chalk
   --thread     #A9443F  basting thread, used only for losses and red suits
   Type: Playfair Display SC (label display) + Reddit Sans (body)
   Signature: .stitch (chalk-line stitch border), .shears-list (crossed shears bullets),
              .pinstripe (fabric texture section background), .chalk-rule (tailor's tack line)
*/

:root {
  --cloth: #2A2C30;
  --cloth-deep: #1C1D20;
  --cloth-lift: #34373C;
  --silver: #C3C7CC;
  --silver-hi: #EEF0F2;
  --silver-lo: #8B9096;
  --chalk: #EEE9DF;
  --chalk-dim: #D6CFC1;
  --ink: #232428;
  --ink-soft: #55575D;
  --thread: #A9443F;
  --display: "Playfair Display SC", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Reddit Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --radius: 6px;
  --shears: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='6.4' cy='18.2' r='3'/%3E%3Ccircle cx='17.6' cy='18.2' r='3'/%3E%3Cpath d='M8.5 16 19.2 2.6M15.5 16 4.8 2.6'/%3E%3C/g%3E%3Ccircle cx='12' cy='10.3' r='1.1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cloth);
  color: var(--chalk);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .45em; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
:focus-visible { outline: 2px solid var(--silver-hi); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--chalk); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- signature: pinstripe fabric ---------- */
.pinstripe {
  background-color: var(--cloth);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 17px, rgba(238,233,223,.075) 17px 18px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0,0,0,.07) 5px 6px),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.12));
}
.pinstripe--deep { background-color: var(--cloth-deep); }

/* ---------- signature: chalk-line stitch border ---------- */
.stitch { position: relative; }
.stitch::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(238,233,223,.42);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}
.on-chalk .stitch::after, .stitch--ink::after { border-color: rgba(35,36,40,.38); }

/* ---------- signature: crossed shears marker ---------- */
.shears {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: var(--shears) center / contain no-repeat;
          mask: var(--shears) center / contain no-repeat;
}
.shears-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.shears-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.shears-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 17px; height: 17px;
  background: var(--silver);
  -webkit-mask: var(--shears) center / contain no-repeat;
          mask: var(--shears) center / contain no-repeat;
}
.on-chalk .shears-list li::before { background: var(--ink); }

/* ---------- signature: chalk tack line ---------- */
.chalk-rule {
  display: flex; align-items: center; gap: 12px;
  font: 600 .74rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 18px;
}
.chalk-rule::before {
  content: ""; width: 12px; height: 12px; flex: none;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 44% 56%, transparent 56%);
}
.chalk-rule::after {
  content: ""; flex: 1; max-width: 140px; height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 14px);
  opacity: .55; border-radius: 2px;
}
.on-chalk .chalk-rule { color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(195,199,204,.18); }
.site-header .pinstripe { background-color: rgba(28,29,32,.96); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--chalk); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--silver-hi), var(--silver) 45%, var(--silver-lo));
  color: var(--cloth-deep); font-size: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 2px 6px rgba(0,0,0,.35);
}
.brand-name { font-family: var(--display); font-size: 1.45rem; line-height: 1; letter-spacing: .03em; }
.brand-name small { display: block; font: 600 .62rem/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--silver); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: 4px; color: var(--chalk-dim);
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--silver-hi); background: rgba(238,233,223,.06); }
.nav a[aria-current="page"] { color: var(--silver-hi); box-shadow: inset 0 -2px 0 var(--silver); border-radius: 0; }
.nav .nav-cta {
  margin-left: 10px; color: var(--cloth-deep); font-weight: 700; border-radius: 999px; padding: 10px 20px;
  background: linear-gradient(180deg, var(--silver-hi), var(--silver));
}
.nav .nav-cta:hover { color: var(--cloth-deep); background: var(--silver-hi); }
.nav .nav-cta[aria-current="page"] { color: var(--cloth-deep); box-shadow: 0 0 0 2px var(--cloth-deep), 0 0 0 3px var(--silver); border-radius: 999px; }
.menu-btn { display: none; }

@media (max-width: 899px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    background: transparent; color: var(--chalk); border: 1.5px dashed rgba(238,233,223,.5);
    border-radius: 999px; padding: 9px 16px 9px 14px; font: 600 .82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  }
  .menu-btn .shears { font-size: 18px; color: var(--silver); transition: transform .25s; }
  .menu-btn[aria-expanded="true"] .shears { transform: rotate(90deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--chalk); color: var(--ink); padding: 10px var(--gutter) 22px;
    border-bottom: 1px solid var(--silver-lo); box-shadow: 0 18px 30px rgba(0,0,0,.35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { color: var(--ink); padding: 15px 4px; border-bottom: 1.5px dashed rgba(35,36,40,.22); border-radius: 0; font-size: 1.05rem; }
  .nav a:hover { background: transparent; color: var(--ink); }
  .nav a[aria-current="page"] { box-shadow: none; font-weight: 700; }
  .nav a[aria-current="page"]::before { content: "\2715  "; color: var(--thread); }
  .nav .nav-cta { margin: 16px 0 0; text-align: center; border: 0; background: var(--cloth); color: var(--chalk); }
  .nav .nav-cta:hover { color: var(--chalk); background: var(--cloth-deep); }
  .nav .nav-cta[aria-current="page"] { box-shadow: none; color: var(--chalk); }
  .nav .nav-cta[aria-current="page"]::before { content: none; }
  .brand-name small { display: none; }
}

/* ---------- generic sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.on-chalk { background: var(--chalk); color: var(--ink); }
.on-chalk a { color: var(--ink); }
.lede { font-size: 1.16rem; color: var(--chalk-dim); max-width: 62ch; }
.on-chalk .lede { color: var(--ink-soft); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose a { text-underline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .95rem/1 var(--body); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, var(--silver-hi), var(--silver)); color: var(--cloth-deep);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 16px rgba(0,0,0,.25);
}
.btn:hover { background: var(--silver-hi); }
.btn--ghost { background: transparent; color: var(--chalk); box-shadow: none; border: 1.5px dashed rgba(238,233,223,.55); }
.btn--ghost:hover { background: rgba(238,233,223,.07); }
.on-chalk .btn--ghost { color: var(--ink); border-color: rgba(35,36,40,.5); }
.btn .shears { font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 80px; border-bottom: 1px solid rgba(195,199,204,.16); }
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 280px);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  margin-bottom: 44px;
}
.hero h1 { margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--silver); }
.age-seal {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 22px;
  font-weight: 600; font-size: .9rem; color: var(--chalk);
  border: 1.5px dashed rgba(238,233,223,.45); border-radius: 999px; padding: 7px 16px 7px 7px;
}
.age-seal b { background: var(--chalk); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .82rem; letter-spacing: .06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hero-notes { border-top: 1px solid rgba(195,199,204,.2); padding-top: 22px; margin: 0; }
.hero-visual { margin: 0; width: min(100%, 280px); justify-self: end; }
.hero-visual a, .hero-visual img { display: block; width: 100%; height: auto; }
.hero-visual img {
  border-radius: 12px;
  border: 1px solid rgba(195,199,204,.35);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.hero-game { max-width: 720px; margin: 0 auto; width: 100%; }
@media (max-width: 900px) {
  .hero-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .hero-visual { justify-self: start; width: min(100%, 240px); }
}

.page-head { padding: 64px 0 56px; border-bottom: 1px solid rgba(195,199,204,.16); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

/* ---------- panels & grids ---------- */
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.panel { background: var(--cloth-lift); border-radius: var(--radius); padding: 34px 30px 30px; }
.on-chalk .panel { background: #F8F5EF; box-shadow: 0 1px 0 rgba(35,36,40,.08), 0 10px 26px rgba(35,36,40,.08); }
.panel .num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--silver-lo); display: block; margin-bottom: 12px; }
.on-chalk .panel .num { color: #A7A298; }
.panel p:last-child { margin-bottom: 0; }

.strip { padding: 34px 0; border-top: 1px solid rgba(195,199,204,.18); border-bottom: 1px solid rgba(195,199,204,.18); }
.strip-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .strip-list { grid-template-columns: repeat(4, 1fr); } }
.strip-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--chalk-dim); }
.strip-list li .shears { color: var(--silver); font-size: 20px; margin-top: 2px; }
.strip-list b { display: block; color: var(--chalk); font-weight: 700; }

.cta-band { text-align: center; }
.cta-band .lede { margin: 0 auto 28px; }

/* FAQ (open, not collapsed) */
.faq { display: grid; gap: 18px; margin: 0; }
.faq > div { background: #F8F5EF; border-radius: var(--radius); padding: 26px 28px 24px; }
.faq dt { font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; display: flex; gap: 12px; }
.faq dt .shears { margin-top: 4px; font-size: 18px; }
.faq dd { margin: 0 0 0 30px; color: var(--ink-soft); }

.contact-card { background: var(--cloth); color: var(--chalk); border-radius: var(--radius); padding: 34px 30px; }
.contact-card a { color: var(--silver-hi); font-weight: 700; font-size: 1.15rem; word-break: break-all; }

.legal-meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: 2em; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid rgba(195,199,204,.2); font-size: .94rem; color: var(--chalk-dim); }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }
.site-footer h2 { font-size: 1.1rem; color: var(--chalk); margin-bottom: 14px; letter-spacing: .06em; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 8px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--silver-hi); text-decoration: underline; text-underline-offset: 3px; }
.foot-age { display: flex; gap: 16px; align-items: flex-start; }
.foot-age b {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px dashed var(--chalk-dim); color: var(--chalk); font-size: 1rem; letter-spacing: .03em;
}
.foot-base {
  margin-top: 48px; padding-top: 22px; border-top: 1.5px dashed rgba(238,233,223,.22);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .86rem; color: var(--silver-lo);
}

/* ---------- Cut to Twenty-One: the table ---------- */
.table {
  border-radius: 10px; padding: 26px 22px 24px;
  background-color: #303338;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(238,233,223,.06) 21px 22px),
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.06), transparent 60%);
  box-shadow: 0 0 0 1px rgba(195,199,204,.28), 0 24px 50px rgba(0,0,0,.4);
}
@media (min-width: 640px) { .table { padding: 32px 34px 30px; } }
.table-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; position: relative; z-index: 1; }
.table-title { font-family: var(--display); font-size: 1.55rem; margin: 0; }
.table-rule { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }

.hand { position: relative; z-index: 1; padding: 12px 0; }
.hand-label { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--chalk-dim); margin-bottom: 10px; }
.hand-score {
  min-width: 38px; text-align: center; padding: 3px 10px; border-radius: 999px;
  background: rgba(238,233,223,.1); color: var(--chalk); letter-spacing: .04em; font-size: .85rem;
}
.hand-score:empty { visibility: hidden; }
.cards { display: flex; flex-wrap: wrap; gap: 8px; min-height: 118px; perspective: 900px; }

.card { width: 78px; height: 110px; position: relative; flex: none; animation: slide-in .32s cubic-bezier(.2,.8,.2,1) both; }
@media (max-width: 420px) { .card { width: 62px; height: 88px; } .cards { min-height: 94px; gap: 6px; } }
@keyframes slide-in { from { transform: translate(40px, -24px) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.card-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(180deg); transition: transform .26s cubic-bezier(.7, 0, .15, 1.35);
}
.card.up .card-inner { transform: rotateY(0deg); }
.card-face, .card-back { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-face {
  background: #FBF9F4; color: var(--ink); box-shadow: 0 2px 0 #D8D1C3, 0 6px 14px rgba(0,0,0,.3);
  display: grid; grid-template-rows: auto 1fr auto; padding: 6px 7px; font-weight: 700;
}
.card-face.red { color: var(--thread); }
.card-corner { font: 700 1.05rem/1 var(--body); display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.card-corner span { font-size: .85rem; }
.card-corner.bottom { transform: rotate(180deg); }
.card-pip { display: grid; place-items: center; font-size: 2.1rem; line-height: 1; font-family: var(--display); }
@media (max-width: 420px) { .card-pip { font-size: 1.6rem; } .card-corner { font-size: .9rem; } }
.card-back {
  transform: rotateY(180deg);
  background-color: #26282C;
  background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(238,233,223,.16) 6px 7px);
  box-shadow: 0 0 0 1px rgba(195,199,204,.35), 0 6px 14px rgba(0,0,0,.3);
  display: grid; place-items: center; color: var(--silver);
}
.card-back::before { content: ""; position: absolute; inset: 5px; border: 1.2px dashed rgba(238,233,223,.5); border-radius: 4px; }
.card-back .shears { font-size: 26px; }

.callout {
  position: relative; z-index: 1; min-height: 56px; margin: 6px 0; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; text-align: center; gap: 12px;
  font-family: var(--display); font-size: 1.35rem; padding: 8px 14px;
  color: var(--chalk-dim); border: 1.5px dashed rgba(238,233,223,.18);
}
.callout small { font-family: var(--body); font-size: .9rem; letter-spacing: .02em; }
.callout.snap { animation: snap .38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes snap { from { transform: scale(.94); opacity: .2; } to { transform: none; opacity: 1; } }
.callout.win { background: var(--chalk); color: var(--ink); border-color: transparent; }
.callout.blackjack { background: linear-gradient(180deg, var(--silver-hi), var(--silver)); color: var(--cloth-deep); border-color: transparent; }
.callout.lose { background: rgba(169,68,63,.16); color: #F0CFCB; border-color: rgba(169,68,63,.6); border-style: solid; }
.callout.push { background: rgba(238,233,223,.08); color: var(--chalk); border-style: solid; }

.meters { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 14px; }
.meter { background: rgba(28,29,32,.55); border-radius: 6px; padding: 10px 12px; }
.meter span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-lo); }
.meter output { display: block; font-size: 1.3rem; font-weight: 700; color: var(--chalk); font-variant-numeric: tabular-nums; }
.meter output.pos { color: var(--silver-hi); }
.meter output.neg { color: #E6A7A1; }

.controls { position: relative; z-index: 1; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font: 700 .9rem/1 var(--body);
  background: radial-gradient(circle at 50% 40%, var(--silver-hi), var(--silver) 60%, var(--silver-lo));
  color: var(--cloth-deep); border: 0; position: relative;
  box-shadow: 0 3px 0 #6D7278, 0 6px 12px rgba(0,0,0,.3);
}
.chip::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.3px dashed rgba(28,29,32,.45); }
.chip:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #6D7278; }
.chip-clear {
  background: transparent; color: var(--chalk-dim); border: 1.5px dashed rgba(238,233,223,.4); border-radius: 999px;
  padding: 10px 16px; font: 600 .85rem/1 var(--body); cursor: pointer;
}
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.act {
  padding: 14px 6px; border-radius: 6px; cursor: pointer; font: 700 .95rem/1 var(--body); letter-spacing: .05em;
  border: 1.5px solid rgba(195,199,204,.45); background: rgba(28,29,32,.5); color: var(--chalk);
}
.act:hover:not(:disabled) { border-color: var(--silver-hi); background: rgba(28,29,32,.8); }
.act--deal { background: linear-gradient(180deg, var(--silver-hi), var(--silver)); color: var(--cloth-deep); border-color: transparent; }
.act--deal:hover:not(:disabled) { background: var(--silver-hi); }
.table button:disabled { opacity: .38; cursor: not-allowed; }
.notice { font-size: .92rem; color: var(--chalk-dim); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.notice.warn .notice-text { color: #F0CFCB; font-weight: 600; }
.reset { background: none; border: 0; color: var(--silver-hi); font: 600 .9rem/1 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }
.free-note { position: relative; z-index: 1; margin: 16px 0 0; padding-top: 14px; border-top: 1.5px dashed rgba(238,233,223,.18); font-size: .82rem; color: var(--silver); text-align: center; }

/* rules card */
.rules { background: #F8F5EF; color: var(--ink); border-radius: var(--radius); padding: 34px 30px 28px; }
.rules h2 { font-size: 1.7rem; }
.rules h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; margin: 1.3em 0 .4em; }
.rules p { color: var(--ink-soft); }
.pay { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 6px; }
.pay td { padding: 9px 0; border-bottom: 1.5px dashed rgba(35,36,40,.2); }
.pay td:last-child { text-align: right; font-weight: 700; }
.game-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1040px) { .game-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; } }

@media (prefers-reduced-motion: reduce) {
  .card, .callout.snap { animation: none; }
  .card-inner { transition: none; }
}
