/* sledbandit.com static site (2026-11-30). Plain CSS, no external fonts or scripts, so the site itself collects nothing. */
:root {
  --bg: #0d1620;
  --panel: #142231;
  --line: #24384d;
  --text: #e8eef4;
  --muted: #9fb2c4;
  --ice: #7fd3ff;
  --warn: #ffcf6b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, #0a121a 0%, var(--bg) 320px);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--ice); }
a:hover { text-decoration: none; }

header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 18, 26, 0.9);
}
.bar {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--ice); }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; margin: 22px 0 4px; }
.lead { color: var(--muted); font-size: 18px; margin-top: 0; }
.updated { color: var(--muted); font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0 0 8px; color: var(--muted); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 15px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
th { color: var(--muted); font-weight: 600; }
.scroll { overflow-x: auto; }

.note {
  background: var(--panel);
  border-left: 3px solid var(--ice);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
}
.note.warn { border-left-color: var(--warn); }

.button {
  display: inline-block;
  background: var(--ice);
  color: #06121c;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin: 6px 0;
}
.button:hover { background: #a6e2ff; }

pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  white-space: pre-wrap;
  font-size: 14px;
}
ol li, ul li { margin-bottom: 6px; }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer .bar { justify-content: space-between; }
footer a { color: var(--muted); }

/* Language dropdown with flags in the main menu (2026-11-30) */
.lang { position: relative; margin-left: auto; }
.lang summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; border: 5px solid transparent; border-top-color: var(--muted); margin-top: 5px; }
.lang[open] summary::after { border-top-color: transparent; border-bottom-color: var(--muted); margin-top: -5px; }
.lang summary:hover, .lang[open] summary { border-color: var(--ice); }
.lang img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 170px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.lang li { margin: 0; }
.lang ul a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
}
.lang ul a:hover { background: var(--line); }
.lang ul a[aria-current="true"] { color: var(--ice); }

/* Game logo (2026-11-30): small in the header, large on the home page */
.brand img { display: block; height: 48px; width: auto; }
.hero { margin: 0 0 4px; text-align: center; }
.hero img { width: min(480px, 100%); height: auto; }
.hero + .lead { text-align: center; }

/* Google Play Families policy statement (2026-11-30) */
.note.family { border-left-color: #6fdc8c; }
