/* The site's public pages: privacy, terms, support, data deletion, child
   safety (public/privacidade, termos, suporte, excluir-dados,
   seguranca-infantil). The game's navy and gold, the HUD's face, and nothing
   that needs the game to load. */
:root {
  --bg: #06263c;
  --panel: #0b2233;
  --ink: #eaf7ff;
  --muted: #a9c3d8;
  --gold: #ffc24a;
  --aqua: #2ad4ff;
  --rule: rgba(128, 176, 222, 0.22);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #eef6fb;
    --panel: #ffffff;
    --ink: #10263a;
    --muted: #4a6478;
    --gold: #a86400;
    --aqua: #0a6fa8;
    --rule: rgba(16, 38, 58, 0.14);
    color-scheme: light;
  }
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding: 0 16px 48px;
}
.top, main, .foot { max-width: 760px; margin: 0 auto; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 8px;
}
.brand {
  font: 700 30px/1 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.brand .s { color: var(--aqua); }
.brand .u { color: var(--gold); }
.langs { display: flex; gap: 4px; }
.langs a {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.langs a[aria-current='true'] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
article {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 8px 22px 18px;
  margin: 12px 0;
}
h1, h2 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: 34px; margin: 18px 0 4px; }
h2 { font-size: 23px; margin: 26px 0 6px; color: var(--gold); }
.meta { color: var(--muted); font-size: 14px; margin-top: 0; }
.summary li { margin: 4px 0; }
a { color: var(--aqua); }
.foot { color: var(--muted); font-size: 14px; text-align: center; padding-top: 12px; }
/* Every page links to every other, and to the game. 44px-high targets, the
   same as the language switch: these are tapped on phones, in the Play app's
   full-screen Chrome, as often as clicked. Wraps onto two rows at 390px. */
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.foot nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.foot nav a[aria-current='page'] { color: var(--bg); background: var(--aqua); border-color: var(--aqua); }
.foot nav a.play { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.foot .fine { margin: 10px 0 0; }
h3 { font-size: 18px; margin: 18px 0 4px; }
/* What must not be missed on a page (the IP note, the emergency numbers). */
.callout {
  border-left: 4px solid var(--gold);
  background: rgba(255, 194, 74, 0.08);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  margin: 14px 0;
}
.callout p { margin: 4px 0; }
ol.steps li, ul.steps li { margin: 6px 0; }
kbd {
  font: 700 14px/1 ui-monospace, 'SF Mono', Menlo, monospace;
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
}
/* Long addresses (an e-mail, a URL) must break rather than widen a 390px page. */
p, li { overflow-wrap: anywhere; }
/* With JavaScript, one language at a time (legal.js). */
.js article[hidden] { display: none; }
.nowrap { white-space: nowrap; }
/* /excluir-conta/: deleting the account right here (conta.js). */
.account-web {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 6px 16px 12px;
  margin: 10px 0;
}
.account-web label.confirm { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; font-weight: 700; }
.account-web input {
  min-height: 44px;
  max-width: 320px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: 700 18px/1.2 system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.account-web button.danger {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #c81e24;
  color: #fff;
  font: 700 16px/1 system-ui, sans-serif;
  cursor: pointer;
}
.account-web button.danger:disabled { opacity: 0.45; cursor: not-allowed; }
.account-web .error { color: #ff8f86; }
.account-web .done { font-weight: 700; color: var(--gold); }
.account-web [hidden] { display: none; }
