/* The plain reference pages (tools/pages/gen.mjs): readable without the app, for search engines and anyone browsing. */
:root {
  --navy: #14213d;
  --ink: #1b2333;
  --muted: #5b6577;
  --line: #e2ddd2;
  --paper: #fbf8f2;
  --tile: #fbf3e2;
  --orange: #e8772e;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a {
  color: #1d4ed8;
}
.top {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--navy);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fbf3e2;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}
.brand img {
  border-radius: 9px;
}
.play {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
}
.play.big {
  font-size: 19px;
  padding: 12px 26px;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}
h1 {
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.1;
  margin: 12px 0 14px;
  color: var(--navy);
}
h2 {
  font-size: 24px;
  margin: 34px 0 10px;
  color: var(--navy);
}
h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.lede {
  font-size: 19px;
}
.t {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 3px;
  border-radius: 5px;
  background: var(--tile);
  color: var(--navy);
  font: 800 19px/1 Inter, 'DM Sans', sans-serif;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}
.t i {
  position: absolute;
  right: 3px;
  bottom: 1px;
  font-style: normal;
  font-size: 9px;
}
.t.blank {
  background: #f1ead9;
}
.power {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.power li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}
.power span {
  font-size: 15px;
  line-height: 1.35;
}
.letter {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
}
.letter dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0;
}
.letter dt {
  font: 800 17px/1.6 Inter, 'DM Sans', sans-serif;
  letter-spacing: 0.04em;
}
.letter dd {
  margin: 0;
  color: var(--muted);
}
.modes dt {
  font-weight: 800;
  margin-top: 10px;
}
.modes dd {
  margin: 2px 0 0;
}
.tiles {
  border-collapse: collapse;
  width: 100%;
  max-width: 420px;
  background: #fff;
}
.tiles th,
.tiles td {
  border-bottom: 1px solid var(--line);
  padding: 6px 10px;
  text-align: left;
}
.rungs {
  list-style: none;
  padding: 0;
}
.rungs li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.rungs .e {
  display: inline-block;
  width: 34px;
  font-size: 22px;
}
.cta {
  margin-top: 40px;
  padding: 22px;
  border-radius: 16px;
  background: var(--navy);
  color: #e8edf5;
}
.cta h2 {
  margin-top: 0;
  color: #fbf3e2;
}
footer {
  text-align: center;
  padding: 18px 16px 32px;
  font-size: 15px;
  color: var(--muted);
}
.ts {
  display: flex;
  flex: none;
}
