/* Shared styling for the MultiCards guides.
   Lifted from public/privacy-policy.html so the guides read as the same site —
   that page is already live and already this shape, and two stylesheets that
   drift is how a site starts looking like two sites. */
:root {
  color-scheme: dark;
  --bg: #1a1a2e;
  --surface: #16213e;
  --surface-light: #1f2b47;
  --primary: #e94560;
  --text: #ffffff;
  --text-secondary: #8f9bb3;
  --text-muted: #5a6178;
  --hairline: rgba(255, 255, 255, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
.wrap { max-width: 720px; margin: 0 auto; padding: 40px 22px 88px; }

.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.fan { display: flex; }
.fan .card {
  width: 26px; height: 36px; margin-left: -9px;
  background: #fdfdf8; border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.fan .card:first-child { margin-left: 0; }
.fan .card:nth-child(1) { transform: rotate(-21deg) translateY(4px); z-index: 0; }
.fan .card:nth-child(2) { transform: rotate(-7deg); z-index: 1; }
.fan .card:nth-child(3) { transform: rotate(7deg); z-index: 2; }
.fan .card:nth-child(4) { transform: rotate(21deg) translateY(4px); z-index: 3; }
.fan svg { width: 15px; height: 15px; }
.wordmark { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.4px; }
.wordmark span { color: var(--primary); }

nav.crumbs { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 26px; }
nav.crumbs a { border-bottom: none; }

header { margin-bottom: 30px; }
h1 { font-size: 1.9rem; margin: 0 0 8px; letter-spacing: 0.2px; line-height: 1.25; }
.muted { color: var(--text-secondary); font-size: 0.92rem; }
.lede { font-size: 1.06rem; color: var(--text-secondary); }

h2 {
  font-size: 1.2rem; margin: 40px 0 12px;
  display: flex; align-items: center; gap: 10px;
}
h2::before {
  content: ""; width: 8px; height: 8px;
  background: var(--primary); border-radius: 2px; flex-shrink: 0;
}
h3 { font-size: 1.02rem; margin: 22px 0 6px; color: var(--text); }
p, li { font-size: 1rem; color: var(--text-secondary); }
strong { color: var(--text); font-weight: 700; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--primary); text-decoration: none; border-bottom: 1px solid rgba(233, 69, 96, 0.35); }
a:hover { border-bottom-color: var(--primary); }

.card-box {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 18px 20px; margin: 22px 0;
}
.card-box strong { display: block; margin-bottom: 6px; }
.card-box ul, .card-box ol { margin-bottom: 0; }

code {
  background: var(--surface-light); color: var(--text);
  padding: 1px 6px; border-radius: 4px; font-size: 0.9em;
}

/* Tables carry most of the real answers on these pages — seat counts, scoring,
   hand rankings — so they must stay readable on a phone rather than reflow into
   a column of orphaned numbers. */
.tablewrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; min-width: 380px; }
th, td {
  text-align: left; padding: 9px 12px; font-size: 0.95rem;
  border-bottom: 1px solid var(--hairline); color: var(--text-secondary);
}
th { color: var(--text); font-weight: 700; font-size: 0.9rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.suit-r { color: #ff6b81; }
.suit-b { color: var(--text); }

.guide-list { list-style: none; padding: 0; margin: 26px 0 0; }
.guide-list li { margin: 0 0 12px; }
.guide-list a {
  display: block; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--hairline);
}
.guide-list a:hover { border-color: rgba(233, 69, 96, 0.5); }
.guide-list .t { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.guide-list .d { color: var(--text-secondary); font-size: 0.93rem; margin-top: 3px; }

hr.rule { border: none; border-top: 1px solid var(--hairline); margin: 20px 0; }

footer {
  margin-top: 56px; color: var(--text-muted); font-size: 0.88rem;
  border-top: 1px solid var(--hairline); padding-top: 20px;
}
footer a { color: var(--text-secondary); }
