/* Daily Plate — shared styles for content pages */
:root {
  --bg: #1c1c1e;
  --bg-2: #232325;
  --line: #353538;
  --muted: #a0a0a0;
  --gold: #d6a23a;
  --good: #6fdc8c;
  --plate-cream: #f0ebda;
  --plate-green: #143d2b;
}
* { box-sizing: border-box; }
html, body {
  background: radial-gradient(circle at 50% 0%, #2a2a2c, var(--bg) 70%);
  background-attachment: fixed;
  color: #e6e6e6;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  margin: 0; padding: 0;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 18px 90px; }

/* ---- Header nav ---- */
.sitehead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 14px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.sitehead .brand {
  font-weight: 800; font-size: 20px; color: #fff; text-decoration: none; white-space: nowrap;
}
.sitehead .brand .dot { color: var(--gold); }
.sitenav { display: flex; gap: 16px; flex-wrap: wrap; }
.sitenav a {
  color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap;
}
.sitenav a:hover, .sitenav a[aria-current="page"] { color: #fff; }
.playbtn {
  background: #1f5c3d; color: #fff; text-decoration: none;
  padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.playbtn:hover { filter: brightness(1.12); }

/* ---- Typography ---- */
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 6px; color: #fff; }
h2 { font-size: 21px; margin: 34px 0 10px; color: #fff; }
h3 { font-size: 16px; margin: 24px 0 6px; color: #f0f0f0; }
.lede { font-size: 17px; color: #c8c8c8; margin: 0 0 8px; }
p, li { color: #d2d2d2; font-size: 16px; }
a { color: var(--gold); }
code, .mono {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  background: #1a1a1c; border: 1px solid #333; border-radius: 5px;
  padding: 1px 6px; font-size: 14px; color: #ecead8;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.muted { color: var(--muted); font-size: 13px; }

/* ---- Components ---- */
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; margin: 16px 0;
}
.rules { list-style: none; padding: 0; margin: 14px 0; }
.rules li {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px;
}
.rules b { color: #fff; }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
td.num { font-variant-numeric: tabular-nums; }

.wordlist { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.pill {
  background: var(--plate-green); color: #ecead8; padding: 5px 11px;
  border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
}
.pill.bonus { background: #7a5c1a; color: #f6e6c2; }

.miniplate {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg,#f7f3e4,#e9e2cc);
  border: 3px solid #c7c1a8; border-radius: 10px;
  padding: 8px 14px; margin: 4px 0;
}
.miniplate .ltr {
  font-weight: 900; font-size: 26px; color: #0d2418; letter-spacing: 0.08em;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.miniplate .ltr.mid { color: var(--plate-green); }
.miniplate .st {
  font-family: Georgia, serif; font-style: italic; font-size: 12px;
  color: var(--plate-green); border-left: 1px solid #b9b3a0; padding-left: 10px;
}

.archive-day {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; margin: 12px 0;
}
.archive-day h3 { margin: 0 0 2px; font-size: 15px; color: #fff; }
.archive-day .meta { color: var(--muted); font-size: 12px; margin-bottom: 8px; }

.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; }
.stat .n { font-size: 24px; font-weight: 800; color: #fff; }
.stat .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

.cta {
  display: block; text-align: center; background: #1f5c3d; color: #fff;
  text-decoration: none; padding: 14px; border-radius: 10px; font-weight: 700;
  margin: 30px 0 10px;
}
.cta:hover { filter: brightness(1.12); }

footer.sitefoot {
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 18px;
  color: #6f6f6f; font-size: 13px; text-align: center; line-height: 2;
}
footer.sitefoot a { color: #999; text-decoration: none; margin: 0 7px; }
footer.sitefoot a:hover { color: #fff; }
