/* Milord — the plain pages of milordgame.com (how to play, guide, FAQ, updates). */
:root { color-scheme: dark; --bg: #14110c; --card: #1e1a12; --ink: #efe4c8; --dim: #b3a37f; --line: #3a3122; --gold: #d9b45a; --red: #a8322b; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(ellipse at top, #241d12, var(--bg) 60%) fixed; color: var(--ink); font: 17px/1.6 Georgia, "Times New Roman", serif; }
a { color: var(--gold); }
a:hover { color: #f0d28a; }
header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px; max-width: 980px; margin: 0 auto; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.brand { font: 600 28px Georgia, serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); text-decoration: none; text-shadow: 0 0 18px rgba(217,180,90,.35); }
header.top nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 15px system-ui, "Segoe UI", Arial, sans-serif; }
header.top nav a { color: var(--dim); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--ink); border-bottom-color: var(--gold); }
main { max-width: 860px; margin: 0 auto; padding: 26px 20px 40px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 6px 0 14px; color: var(--gold); font-weight: 600; }
h2 { font-size: 1.45rem; margin: 34px 0 10px; color: var(--gold); font-weight: 600; }
h3 { font-size: 1.15rem; margin: 22px 0 6px; }
h2 small { color: var(--dim); font-size: .8rem; font-weight: 400; margin-left: 6px; }
.lead { font-size: 1.12rem; color: #f6ecd2; }
.codex h3:first-child { margin-top: 6px; }
.codex > h2 { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 18px; font: 14px/1.45 system-ui, "Segoe UI", Arial, sans-serif; display: block; overflow-x: auto; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
th { color: var(--dim); font-weight: 600; white-space: nowrap; }
kbd { font: 13px system-ui, sans-serif; background: #2a2418; border: 1px solid #4a3f2a; border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cards a { display: block; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--gold); }
.cards b { display: block; color: var(--gold); font-size: 1.1rem; margin-bottom: 4px; }
.cards span { color: var(--dim); font-size: .95rem; }
.faq dt { font-weight: 600; color: var(--gold); margin-top: 20px; }
.faq dd { margin: 6px 0 0; }
.patch ul { margin-top: 4px; }
.cta { margin: 36px 0 10px; text-align: center; }
.play { display: inline-block; padding: 12px 26px; border-radius: 999px; background: linear-gradient(#c9a04a, #8f6c22); color: #1a1408; text-decoration: none; font: 600 16px system-ui, "Segoe UI", Arial, sans-serif; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.play:hover { color: #000; filter: brightness(1.08); }
.ad { margin: 30px 0 0; min-height: 90px; }
.ad small { display: block; color: var(--dim); font: 11px system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
footer.bottom { max-width: 980px; margin: 0 auto; padding: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font: 14px system-ui, "Segoe UI", Arial, sans-serif; }
footer.bottom a { color: var(--dim); }
@media (max-width: 560px) { body { font-size: 16px; } h1 { font-size: 1.7rem; } .brand { font-size: 24px; } }
