/* mahjclub.app: the landing page and guides. Colours match the game: cream paper, navy ink,
   rose tiles, green gingham felt. Type: Bricolage Grotesque (wordmark, headings), Fraunces italic
   (accents), DM Sans (text). */
:root {
  --cream: #f7f1e6;
  --paper: #fffaf1;
  --line: #eadfca;
  --ink: #1f2a4d;
  --body: #3d3b45;
  --muted: #78706a;
  --rose: #d6698d;
  --rose-deep: #b84c72;
  --rose-soft: #f8dde6;
  --green: #2f7d5b;
  --felt: #a8cdb1;
  --felt-deep: #7fb08c;
  --teal: #3aa99b;
  --shadow: 0 18px 50px rgba(31, 42, 77, 0.12);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --accent: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --gingham:
    repeating-linear-gradient(90deg, rgba(47, 125, 91, 0.22) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(47, 125, 91, 0.22) 0 14px, transparent 14px 28px),
    #dcebdf;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--body); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; }
em { font-family: var(--accent); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; justify-content: center;
  background: var(--ink); color: #fff; text-decoration: none; font: 700 16px/1 var(--sans);
  padding: 15px 22px; border-radius: 999px; border: 2px solid var(--ink);
  box-shadow: 0 6px 0 rgba(31, 42, 77, 0.18); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 rgba(31, 42, 77, 0.18); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(31, 42, 77, 0.18); }
.btn.big { font-size: 18px; padding: 19px 28px; }
.btn.small { font-size: 15px; padding: 10px 16px; box-shadow: 0 4px 0 rgba(31, 42, 77, 0.16); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(247, 241, 230, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 223, 202, 0.7);
}
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--rose-deep); }
.wordmark { font: 800 30px/1 var(--display); letter-spacing: -0.05em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--rose); }
.wordmark i { color: var(--green); font-style: normal; }
.wordmark:hover { color: var(--ink); }
.wordmark.small { font-size: 26px; }
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .wordmark { font-size: 26px; }
}

/* ---------- tiles (faces are the game's own art, src/ui/tileArt.ts) */
.tile {
  --tw: 52px;
  display: inline-block; flex: none; width: var(--tw); aspect-ratio: 60 / 80; vertical-align: middle;
  background: linear-gradient(170deg, #fffdf8 0%, #f6eedd 100%);
  border-radius: calc(var(--tw) * 0.16);
  box-shadow: inset 0 0 0 1px rgba(31, 42, 77, 0.07), 0 calc(var(--tw) * 0.07) 0 #3f9a70, 0 calc(var(--tw) * 0.1) calc(var(--tw) * 0.24) rgba(31, 42, 77, 0.22);
}
.tile svg { display: block; width: 100%; height: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main { overflow-x: clip; }
.btn.rose { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 6px 0 var(--rose-deep); }
.btn.rose:hover { color: #fff; box-shadow: 0 8px 0 var(--rose-deep); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------- hero */
.hero {
  max-width: 1180px; margin: 0 auto; padding: 48px 16px 56px;
  display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 980px) { .hero { grid-template-columns: 0.9fr 1.1fr; padding-top: 60px; gap: 64px; } }
.hero > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 700 13px/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); }
.eyebrow .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47, 125, 91, 0.15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47, 125, 91, 0); } }
.hero h1 { font-size: clamp(42px, 6vw, 70px); font-weight: 800; margin: 0 0 18px; line-height: 1.02; }
.hero h1 em { color: var(--rose-deep); }
.lede { font-size: 19px; color: var(--body); margin: 0 0 24px; max-width: 32em; }
.choose { display: grid; gap: 14px; }
.choice {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; text-decoration: none; color: var(--body);
  border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.choice.solo { background: #e2f0e5; }
.choice.host { background: var(--rose-soft); }
.choice:hover { color: var(--body); transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.choice:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--ink); }
.choice-art { flex: none; display: flex; align-items: center; width: 96px; justify-content: center; }
.choice-art .tile { --tw: 38px; }
.choice-art .tile:first-child { transform: rotate(-8deg); }
.choice-art .tile:last-child { transform: rotate(7deg) translateY(4px); margin-left: -8px; }
.choice:hover .choice-art .tile:first-child { transform: rotate(-14deg) translateY(-3px); }
.choice:hover .choice-art .tile:last-child { transform: rotate(12deg) translateY(1px); }
.choice-art .tile { transition: transform 0.2s ease; }
.choice-art.code { gap: 2px; }
.choice-art.code b { display: grid; place-items: center; width: 17px; height: 26px; border-radius: 5px; background: #fff; color: var(--ink); font: 800 14px/1 var(--display); box-shadow: 0 2px 0 var(--rose-deep); }
.choice:hover .choice-art.code b { animation: hop 0.5s ease calc(var(--i, 0) * 60ms); }
.choice-art.code b:nth-child(2) { --i: 1; } .choice-art.code b:nth-child(3) { --i: 2; } .choice-art.code b:nth-child(4) { --i: 3; } .choice-art.code b:nth-child(5) { --i: 4; }
@keyframes hop { 40% { transform: translateY(-6px); } }
.choice-txt { min-width: 0; }
.choice-txt strong { display: block; font: 800 22px/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.choice-txt span { font-size: 15px; }
.choice-go { flex: none; margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; transition: transform 0.15s ease; }
.choice:hover .choice-go { transform: translateX(4px); }
.works { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.works a { font-weight: 700; }
.hero-shot { margin: 0; position: relative; }
.hero-shot::before {
  content: ''; position: absolute; inset: -16px -16px 34px 16px; border-radius: 30px; background: var(--gingham);
  transform: rotate(2.5deg); z-index: 0;
}
.frame { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--felt); }
.hero-shot figcaption { position: relative; z-index: 1; margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.floaty .tile { position: absolute; z-index: 2; --tw: 66px; animation: bob 6s ease-in-out infinite; }
.floaty .f1 { --r: -13deg; top: -34px; left: -26px; }
.floaty .f2 { --r: 10deg; top: -40px; right: 14%; animation-delay: -1.5s; --tw: 56px; }
.floaty .f3 { --r: -7deg; bottom: 26px; left: -30px; animation-delay: -3s; --tw: 58px; }
.floaty .f4 { --r: 14deg; bottom: 52px; right: -26px; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) * 0.6)) translateY(-12px); } }
@media (max-width: 640px) {
  .hero { padding-top: 32px; gap: 52px; }
  .hero-shot::before { inset: -10px -8px 30px 8px; }
  .floaty .tile { --tw: 42px !important; }
  .floaty .f1 { left: -6px; top: -26px; } .floaty .f3 { left: -8px; } .floaty .f4 { right: -6px; }
  .choice { padding: 14px; gap: 12px; }
  .choice-art { width: 64px; }
  .choice-art.code b { width: 12px; height: 20px; font-size: 11px; border-radius: 4px; }
  .choice-art .tile { --tw: 32px; }
  .choice-txt strong { font-size: 19px; }
  .choice-go { width: 36px; height: 36px; }
  .btn.big { width: 100%; }
}

/* ---------- ticker */
.ticker { background: var(--ink); padding: 18px 0 20px; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-track > div { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.ticker-track span { font: 800 22px/1 var(--display); color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.ticker-track span:nth-of-type(3n + 2) { font-family: var(--accent); font-style: italic; font-weight: 600; color: var(--rose-soft); }
.ticker .tile { --tw: 28px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections */
.sec-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; text-align: center; margin: 0 auto 40px; max-width: 18em; }
.sec-title em { color: var(--rose-deep); }
.kicker { margin: 0 0 8px; font: 700 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

.ways { max-width: 1180px; margin: 0 auto; padding: 88px 16px 72px; }
.ways-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .ways-grid { grid-template-columns: 1fr 1fr; } }
.way { display: flex; flex-direction: column; align-items: flex-start; border-radius: 30px; padding: 32px 30px 30px; border: 2px solid var(--ink); position: relative; overflow: hidden; }
.way.solo { background: var(--gingham); }
.way.solo::before { content: ''; position: absolute; inset: 14px; border-radius: 20px; background: rgba(255, 250, 241, 0.9); z-index: 0; }
.way.host { background: var(--rose-soft); }
.way > * { position: relative; z-index: 1; }
.way.solo > :first-child { margin-top: 4px; }
.way h3 { font-size: clamp(28px, 3vw, 36px); margin: 0 0 12px; }
.way p { margin: 0 0 18px; }
.way img { border-radius: 18px; border: 5px solid #fff; box-shadow: var(--shadow); margin: 4px 0 26px; background: var(--felt); transition: transform 0.4s ease; }
.way:hover img { transform: rotate(-1deg) scale(1.015); }
.way.host .btn { background: var(--rose-deep); border-color: var(--rose-deep); }
.way .btn { margin-top: auto; }
@media (max-width: 640px) { .way { padding: 26px 20px 22px; } .way.solo::before { inset: 10px; } .way .btn { width: 100%; } }

/* ---------- the Charleston demo */
.demo { background: var(--gingham); padding: 80px 16px; }
.demo-in { max-width: 900px; margin: 0 auto; background: var(--paper); border-radius: 30px; padding: 40px 36px 34px; box-shadow: 0 20px 60px rgba(31, 42, 77, 0.16); text-align: center; }
.demo h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 10px; }
.demo-goal { margin: 0 auto 28px; max-width: 32em; }
.rack {
  --tw: min(60px, calc((100vw - 150px) / 10));
  display: flex; justify-content: center; gap: 5px; padding: 22px 12px 16px; margin: 0 auto 22px; width: fit-content; max-width: 100%;
  background: linear-gradient(#34477a, #24335c); border-radius: 18px; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18);
}
.rack .tile { --tw: inherit; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.35s ease; }
.rack .tile:hover { transform: translateY(-5px); }
.rack .tile[aria-pressed='true'] { transform: translateY(-16px); box-shadow: 0 0 0 3px var(--rose), 0 calc(var(--tw) * 0.07) 0 #3f9a70, 0 12px 24px rgba(0, 0, 0, 0.3); }
.rack.hinting .tile[data-hint] { animation: glow 1.2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 3px #f7d86b, 0 0 22px 6px rgba(247, 216, 107, 0.8); } }
.rack .tile.shake { animation: shake 0.45s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-5px) rotate(-3deg); } 40%, 80% { transform: translateX(5px) rotate(3deg); } }
.rack .tile.gone { transform: translate(60vw, -30px) rotate(20deg); opacity: 0; pointer-events: none; }
.rack .tile.new { animation: arrive 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.rack .tile.new:nth-child(2) { animation-delay: 0.1s; } .rack .tile.new:nth-child(3) { animation-delay: 0.2s; }
@keyframes arrive { from { transform: translateX(-60vw) rotate(-20deg); opacity: 0; } }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.demo-bar .btn { font-size: 16px; }
.demo-count { font-size: 14px; color: var(--muted); min-width: 7em; }
.demo-msg { min-height: 1.65em; margin: 18px auto 0; max-width: 34em; font-weight: 600; color: var(--ink); }
.demo-play { margin-top: 14px; }
.demo-play[hidden] { display: none; }
@media (max-width: 640px) {
  .demo { padding: 56px 12px; }
  .demo-in { padding: 30px 14px 26px; border-radius: 24px; }
  .rack { --tw: min(50px, calc((100vw - 110px) / 5)); flex-wrap: wrap; gap: 18px 6px; width: calc(var(--tw) * 5 + 44px); padding: 22px 10px 14px; }
}

/* ---------- bento */
.bento { max-width: 1180px; margin: 0 auto; padding: 88px 16px 24px; }
.bento-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .bento-grid { grid-template-columns: 1fr 1fr; } .b-card.big, .b-card.note { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .bento-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .b-card.big { grid-column: 1; grid-row: 1 / span 2; }
  .b-card.note { grid-column: 2 / span 2; }
}
.b-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 22px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.b-card:hover { color: var(--body); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(31, 42, 77, 0.12); }
.b-card img { border-radius: 16px; margin-bottom: 12px; background: var(--felt); }
.b-card .kicker, .b-card strong, .b-card > span:last-child { padding: 0 8px; }
.b-card .kicker { margin: 0; }
.b-card strong { font: 800 24px/1.15 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.b-card.big strong { font-size: 30px; }
.b-card > span:last-child { font-size: 16px; }
.b-card.note { background: var(--ink); color: #dfe3f0; border-color: var(--ink); padding-top: 26px; }
.b-card.note strong { color: #fff; }
.b-card.note .kicker { color: #8fd8b2; }
.b-card.note b { color: #fff; }
.note-tiles { display: flex; gap: 8px; padding: 0 8px 10px; }
.note-tiles .tile { --tw: 40px; }
.note-tiles .tile:nth-child(odd) { transform: rotate(-4deg); } .note-tiles .tile:nth-child(even) { transform: rotate(4deg) translateY(3px); }

.learn { max-width: 1180px; margin: 0 auto; padding: 72px 16px 24px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.g-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31, 42, 77, 0.1); color: var(--body); }
.g-card strong { font: 700 20px/1.2 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.g-card span:last-child { font-size: 15px; color: var(--muted); }
.g-kicker { font: 700 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose-deep); }
.more { text-align: center; margin: 24px 0 0; font-weight: 700; }

.faq { max-width: 820px; margin: 0 auto; padding: 72px 16px 40px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font: 700 18px/1.35 var(--display); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--rose); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 8px; }
.faq details > div p { margin: 0 0 12px; }

.closer { margin: 56px 16px 0; padding: 88px 16px; border-radius: 32px 32px 0 0; background: var(--ink); text-align: center; position: relative; overflow: hidden; }
.closer::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 18px, transparent 18px 36px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 18px, transparent 18px 36px); }
.closer h2 { position: relative; color: #fff; font-size: clamp(34px, 5.4vw, 58px); margin: 0 0 30px; }
.closer h2 em { color: var(--rose-soft); }
.closer-ctas { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.closer .btn.light { box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); }
.closer-tiles .tile { position: absolute; --tw: 60px; opacity: 0.95; animation: bob 7s ease-in-out infinite; }
.closer-tiles .c1 { --r: -14deg; left: 6%; top: 22%; }
.closer-tiles .c2 { --r: 12deg; right: 7%; top: 16%; animation-delay: -2s; }
.closer-tiles .c3 { --r: 8deg; left: 12%; bottom: 14%; animation-delay: -4s; --tw: 48px; }
.closer-tiles .c4 { --r: -10deg; right: 13%; bottom: 18%; animation-delay: -5.5s; --tw: 50px; }
@media (max-width: 760px) { .closer-tiles .tile { --tw: 38px !important; } .closer-tiles .c1, .closer-tiles .c2 { top: 7%; } .closer-tiles .c3, .closer-tiles .c4 { bottom: 5%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- footer */
.foot { background: #18213f; color: #c9cee0; padding: 56px 16px 28px; }
.home .foot { margin-top: 0; }
.guide .foot { margin-top: 72px; }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foot .wordmark { color: #fff; }
.foot .wordmark span { color: #f19ab6; }
.foot .wordmark i { color: #6fcf9f; }
.foot h2 { color: #fff; font: 700 14px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; margin: 6px 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 8px; }
.foot a:not(.btn):not(.wordmark) { color: #e3e6f0; text-decoration: none; }
.foot a:not(.btn):not(.wordmark):hover { color: #fff; text-decoration: underline; }
.foot .btn { background: var(--rose); border-color: var(--rose); box-shadow: none; }
.fine { max-width: 1180px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: #9aa1bb; }

/* ---------- guides */
.article, .wide { max-width: 760px; margin: 0 auto; padding: 32px 16px 0; }
.wide { max-width: 1180px; }
.wide .lede { max-width: 40em; }
.wide h1 { font-size: clamp(36px, 5vw, 54px); margin: 8px 0 12px; }
.sec { font-size: 24px; margin: 44px 0 16px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(34px, 5vw, 50px); margin: 14px 0 10px; }
.article h2 { font-size: 28px; margin: 40px 0 12px; }
.article h3 { font-size: 21px; margin: 28px 0 8px; }
.byline { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.answer { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--felt-deep); border-radius: 14px; padding: 18px 22px; font-size: 18px; }
.note { background: var(--rose-soft); border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: 0 0 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15px; background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.article th, .article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: #efe6d4; color: var(--ink); font-weight: 700; }
.article tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .article table { display: block; overflow-x: auto; white-space: normal; }
  .article th, .article td { min-width: 120px; }
}
.play-box { margin: 48px 0 8px; display: grid; gap: 0; background: var(--ink); color: #e9ecf5; border-radius: 22px; overflow: hidden; }
@media (min-width: 700px) { .play-box { grid-template-columns: 1fr 1.1fr; } }
.play-box img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.play-box > div { padding: 26px 26px 28px; }
.play-box h2 { color: #fff; margin: 0 0 10px !important; font-size: 26px !important; }
.play-box p { margin: 0 0 18px; }
.play-box .btn { background: var(--rose); border-color: var(--rose); box-shadow: none; }
.article .faq, .article .related { padding: 0; max-width: none; }
.article .faq { margin-top: 48px; }
.page .contact { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--rose); border-radius: 14px; padding: 16px 20px; margin: 24px 0; }
.page h3 { font-size: 19px; margin: 24px 0 6px; }
.center { text-align: center; padding-top: 80px; }
.center .btn { margin: 6px; }
