/* bntk.fun, in the game's Mực tàu colours (client/src/ui/themes.ts) and its fonts. Radius 0, as in the game. */
:root {
  --ground: #111315;
  --line: #6a7078;
  --text: #e6e8ea;
  --text-strong: #ffffff;
  --text-dim: #a7acb3;
  --accent: #e8e2d0;
  --accent-ink: #111315;
  --good: #9fd6a0;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 15px/1.6 "Be Vietnam Pro", system-ui, sans-serif;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.7);
}
a { color: var(--text-strong); }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg video, .bg img { width: 100%; height: 100%; object-fit: cover; }
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* No sheets over the video (release.md §12): the text column gets a dark band instead. */
  background: linear-gradient(90deg, rgb(17 19 21 / 0.45), rgb(17 19 21 / 0.82) 28%, rgb(17 19 21 / 0.82) 72%, rgb(17 19 21 / 0.45));
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { font: 600 20px/1.2 "Noto Serif", Georgia, serif; color: var(--text-strong); text-decoration: none; }
nav { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text-strong); }
.lang { display: flex; gap: 5px; }
.lang button {
  height: 32px; min-width: 40px; padding: 0 10px;
  font: 600 13px "Be Vietnam Pro", sans-serif;
  color: var(--text-dim); background: transparent; border: 0; border-radius: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); box-shadow: none; }
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.hero { text-align: center; padding: 12vh 0 40px; }
.hero h1 { margin: 0 0 10px; font: 600 clamp(36px, 7vw, 64px)/1.15 "Noto Serif", Georgia, serif; color: var(--text-strong); text-shadow: 0 2px 16px rgb(0 0 0 / 0.6); }
.hero p { margin: 0 auto 30px; max-width: 560px; color: var(--text); }
.tag { display: inline-block; margin-bottom: 16px; padding: 2px 10px; font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--accent-ink); background: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px;
  font-weight: 600; color: var(--accent-ink); background: var(--accent); text-decoration: none;
}
.btn, .tag, .lang button { text-shadow: none; }
.note { color: var(--text-dim); font-size: 13px; }
.panel { margin-top: 40px; }
.panel h2 { margin-top: 0; }
h1, h2, h3 { font-family: "Noto Serif", Georgia, serif; font-weight: 600; color: var(--text-strong); }
h1 { font-size: 32px; line-height: 1.25; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
code { font-size: 13px; word-break: break-all; color: var(--text-strong); }
ol, ul { padding-left: 22px; }
footer { max-width: 1080px; margin: 0 auto; padding: 20px; color: var(--text-dim); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--text-dim); }
[lang="vi"] .en, [lang="en"] .vi { display: none; }
