:root {
  color-scheme: light;
  --bg: #0e1220;
  --card: #ffffff;
  --text: #1c2230;
  --muted: #5b6472;
  --accent: #ff6b4a;
  --border: #e6e8ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

header.top {
  text-align: center;
  margin-bottom: 28px;
}

header.top .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}

header.top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

nav.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

nav.tabs a {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd4e0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

nav.tabs a.active {
  background: var(--accent);
  color: #1c1206;
}

h1 {
  font-size: 26px;
  margin: 0 0 4px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

h2 {
  font-size: 18px;
  margin: 32px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

p, li {
  font-size: 15px;
  color: var(--text);
}

ul {
  padding-left: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 4px;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

a { color: #d6491f; }

footer.page {
  text-align: center;
  color: #8990a3;
  font-size: 13px;
  margin-top: 28px;
}

.lang {
  text-align: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: #cfd4e0;
}
.lang a { color: #cfd4e0; text-decoration: none; padding: 0 6px; }
.lang a.active { color: var(--accent); font-weight: 700; }
.note {
  background: #f6f7fa;
  border-left: 3px solid var(--accent);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
