/* Game guide (server/guide.js): the colours of the legal pages, readable on a phone.
   Tables scroll sideways instead of turning into blocks, so the columns stay comparable. */
html { background: #11291f; }
body { margin: 0; font-family: system-ui, sans-serif; color: #f4f1e6; line-height: 1.6; background: linear-gradient(160deg, #123d4f, #11291f) fixed; }
header.site { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; max-width: 960px; margin: 0 auto; padding: 18px 16px 0; }
.brand { color: #e9c46a; font-size: 20px; font-weight: 800; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.nav a { color: #b9c7a8; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #e9c46a; }
.play { margin-left: auto; padding: 8px 16px; border-radius: 8px; background: #e9c46a; color: #11291f; font-weight: 700; text-decoration: none; }
.play:hover { background: #f2d488; }
main { max-width: 860px; margin: 0 auto; padding: 24px 16px 56px; }
.crumbs { margin: 0 0 14px; color: #b9c7a8; font-size: 13px; }
.crumbs a { color: #e9c46a; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1 { margin: 0 0 6px; color: #e9c46a; font-size: 34px; }
h2 { margin: 34px 0 10px; color: #e9c46a; font-size: 22px; }
h3 { margin: 22px 0 6px; color: #f4f1e6; font-size: 17px; }
.lead { margin: 0 0 10px; color: #f4f1e6; font-size: 18px; }
p, li { color: #d8dfcc; }
a { color: #e9c46a; }
kbd { padding: 1px 6px; border: 1px solid #6b8f4e; border-radius: 4px; background: rgba(0, 0, 0, 0.3); font: inherit; font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 20px 0 8px; }
.card { display: block; padding: 14px 16px; border: 2px solid #6b8f4e; border-radius: 12px; background: rgba(43, 58, 36, 0.85); text-decoration: none; }
.card b { display: block; margin-bottom: 4px; color: #e9c46a; font-size: 16px; }
.card span { color: #d8dfcc; font-size: 14px; }
.card:hover { border-color: #e9c46a; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 8px; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: rgba(43, 58, 36, 0.55); font-size: 14px; }
th, td { padding: 8px 10px; border-top: 1px solid rgba(107, 143, 78, 0.5); text-align: left; vertical-align: top; }
thead th { border-top: 0; }
th { background: rgba(17, 41, 31, 0.6); color: #e9c46a; font-weight: 600; white-space: nowrap; }
table.wide { min-width: 640px; }
table.stats td:first-child { width: 38%; color: #b9c7a8; }
table.keys kbd { white-space: nowrap; }
/* Pictures of the game's own drawings (client/guide-img/): the species picture on its page, the small pictures in the
   tables. The transparent WebP stands on a soft panel, so a dark animal is not lost on the dark page. */
/* The panel hugs the 320 px picture (320 + 2 x 14 px padding) and shrinks with the page on a phone */
.hero { display: block; box-sizing: border-box; width: 100%; max-width: 348px; height: auto; margin: 16px auto 12px; padding: 14px;
  border: 1px solid rgba(107, 143, 78, 0.45); border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, rgba(74, 96, 58, 0.55), rgba(43, 58, 36, 0.2) 72%); }
.cell { display: flex; align-items: center; gap: 8px 10px; }
.cell img { flex: 0 0 auto; }
img.dino-thumb { width: 64px; height: 64px; }
img.item-icon { width: 24px; height: 24px; }
footer { max-width: 860px; margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid rgba(107, 143, 78, 0.4); color: #b9c7a8; font-size: 14px; }
footer a { color: #b9c7a8; font-weight: 600; text-decoration: none; }
footer a:hover { color: #e9c46a; }
footer .meta { font-size: 13px; }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  header.site { padding-top: 14px; }
  .nav { font-size: 13px; }
  .play { margin-left: 0; }
  main { padding-top: 18px; }
  .hero { padding: 10px; border-radius: 14px; }
  img.dino-thumb { width: 48px; height: 48px; }
}
