:root {
  --bg: #12100d; --surface: #1e1a14; --text: #f2ece1;
  --muted: #b0a08c; --accent: #b4763a; --accent2: #e0b25e;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.top { display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  padding: 18px 24px; background: var(--surface); border-bottom: 1px solid #00000055; }
.brand { font-weight: 700; letter-spacing: .04em; color: var(--text); font-size: 20px; }
.top nav { display: flex; gap: 16px; flex-wrap: wrap; }
main { max-width: 920px; margin: 0 auto; padding: 28px 20px 60px; }
h1 { font-size: 30px; margin: 8px 0 6px; }
h2 { font-size: 21px; margin: 30px 0 10px; color: var(--accent2); }
.lead { color: var(--muted); margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid #ffffff14; border-radius: 10px; padding: 16px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); }
ul { padding-left: 20px; }
li { margin: 6px 0; }
.news li { margin: 12px 0; }
.date { color: var(--muted); font-size: 13px; }
dl { margin: 0; }
dt { font-weight: 600; margin-top: 10px; }
dd { margin: 0 0 6px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #ffffff14; font-size: 15px; }
th { color: var(--muted); font-weight: 600; }
code { background: #00000055; padding: 2px 6px; border-radius: 5px; font-size: 14px; }
.bottom { border-top: 1px solid #ffffff14; margin-top: 40px; padding: 20px 24px 40px;
  color: var(--muted); text-align: center; }
.small { font-size: 13px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: #ffffff14; color: var(--accent2); font-size: 13px; }
.hero { position: relative; margin: 18px 0 26px; border-radius: 12px; overflow: hidden;
  border: 1px solid #ffffff1a; line-height: 0; }
.hero img { width: 100%; display: block; image-rendering: pixelated; }
.hero .hint { position: absolute; left: 12px; bottom: 10px; background: #000000aa;
  color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 8px; line-height: 1.4; }
.blocks { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin: 6px 0 2px; }
.blocks img { width: 42px; height: 42px; image-rendering: pixelated;
  filter: drop-shadow(0 2px 0 #00000055); }
.blocks img:nth-child(2) { animation: hop 2.4s ease-in-out infinite; }
.blocks img:nth-child(4) { animation: hop 2.4s .5s ease-in-out infinite; }
.sprite { image-rendering: pixelated; vertical-align: middle; }
.torch { animation: glow 1.6s ease-in-out infinite alternate; }
.creeper { animation: creep 2.2s ease-in-out infinite; }
.clouds { width: 100%; display: block; image-rendering: pixelated; }
figure { margin: 18px 0; }
figure img { width: 100%; border-radius: 10px; border: 1px solid #ffffff1a; image-rendering: pixelated; }
figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }
@keyframes hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes glow {
  from { filter: brightness(1) drop-shadow(0 0 2px #ffb34766); }
  to { filter: brightness(1.25) drop-shadow(0 0 10px #ffb347cc); }
}
@keyframes creep {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .blocks img, .torch, .creeper { animation: none; }
}
