:root {
  --fg: #1d1d1f; --bg: #fff; --muted: #6e6e73; --line: #d2d2d7;
  --accent: #0b5cad;
  --nav-top: #f6f5f6; --nav-line: #d6d6d6; --nav-link: #003399;
}
@media (prefers-color-scheme: dark) {
  :root { --fg: #f2f2f2; --bg: #161617; --muted: #a1a1a6; --line: #3a3a3c;
          --accent: #6cb4ff;
          --nav-top: #232325; --nav-line: #3a3a3c; --nav-link: #8cb8ff; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif;
       color: var(--fg); background: var(--bg); }
/* top navigation, as on the legacy site (#navi_top) */
#navi_top { position: sticky; top: 0; z-index: 10; text-align: center;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  background: var(--bg); }
#navi_top .firstline { font-size: 24px; padding: .1em .5rem;
  background: linear-gradient(var(--nav-top), var(--bg) 40%);
  border-bottom: 1px solid var(--nav-line); }
#navi_top .secondline { font-size: 20px; padding: .3em .2em;
  background: linear-gradient(var(--nav-top), var(--bg) 40%);
  border-bottom: 1px solid var(--nav-line); }
#navi_top ul { list-style: none; margin: 0; padding: 0; display: flex;
  flex-wrap: wrap; justify-content: center; gap: 0 10px; }
#navi_top a { color: var(--nav-link); padding: .1em .3em;
  text-decoration: none; }
#navi_top a.cur { font-weight: 600; color: var(--fg); }
#navi_top a:hover { background: #333; color: #fff; }
@media (max-width: 40rem) {
  #navi_top .firstline { font-size: 18px; }
  #navi_top .secondline { font-size: 16px; }
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
main { max-width: 60rem; margin: 0 auto; padding: .75rem 1rem; }
h1 { font-size: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem;
     align-items: baseline; }
.rating, .vs { color: var(--muted); font-weight: normal; }
.result { margin-left: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr;
         gap: .25rem 1rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
table.moves { border-collapse: collapse; width: 100%; max-width: 30rem; }
table.moves th, table.moves td { padding: .15rem .5rem;
  border-bottom: 1px solid var(--line); text-align: left; }
table.moves td.t { color: var(--muted); text-align: right;
  font-variant-numeric: tabular-nums; }
.error { color: #c0392b; }
/* search page: compact two-column forms, as on the legacy site */
.search-page { display: grid; gap: .75rem; max-width: 46rem; }
form.compact fieldset { border: 1px solid var(--line); border-radius: 4px;
  padding: .35rem .75rem .5rem; margin: 0; }
form.compact legend { font-weight: bold; padding: 0 .3rem; }
form.compact .rows { display: grid; grid-template-columns: max-content 1fr;
  gap: .3rem .9rem; align-items: center; }
form.compact .rows > label, form.compact .lbl { font-weight: bold; }
form.compact .rows > div { display: flex; flex-wrap: wrap;
  align-items: center; gap: .2rem .8rem; }
form.compact .rows > div label { display: inline-flex; align-items: center;
  gap: .25rem; font-weight: normal; }
form.compact input, form.compact select, form.compact button {
  padding: .15rem .3rem; }
form.compact .nowrap { white-space: nowrap; }
form.compact .buttons { gap: .4rem .6rem; }
form.compact .note { font-size: .9rem; }
/* landing search page: small controls and buttons as on the legacy
   index.html (13px, gray buttons, square fieldsets) */
.landing form.compact fieldset { border: 2px groove var(--line);
  border-radius: 0; padding: .4rem 1rem .8rem; min-width: 0; }
@media (max-width: 40rem) {
  .landing form.compact fieldset { padding: .4rem .5rem .6rem; }
}
.landing form.compact .rows { gap: .45rem 1rem;
  grid-template-columns: max-content minmax(0, 1fr); }
@media (max-width: 40rem) {
  .landing form.compact .rows { column-gap: .5rem; }
}
.landing form.compact input:not([type=checkbox]):not([type=radio]),
.landing form.compact select, .landing form.compact button,
.landing form.compact a.btn {
  font: 13px Arial, Helvetica, sans-serif; padding: 2px 4px; }
.landing form.compact button, .landing form.compact a.btn {
  padding: 2px 7px; line-height: 1.3; color: var(--fg);
  background: var(--btn-bg); border: 1px solid var(--btn-line);
  border-radius: 2px; cursor: pointer; }
.landing form.compact button:hover, .landing form.compact a.btn:hover {
  background: var(--line); text-decoration: none; }
.landing form.compact .buttons { gap: .35rem; align-items: center;
  grid-column: 1 / -1; margin-top: .2rem; }
.landing form.compact .rows > span:empty { display: none; }
input, select, button { font: inherit; padding: .3rem .4rem; }
/* links that look like buttons (search results actions) */
:root { --btn-bg: #f0f0f2; --btn-line: #8e8e93; }
@media (prefers-color-scheme: dark) {
  :root { --btn-bg: #2c2c2e; --btn-line: #636366; }
}
a.btn { display: inline-block; padding: .2rem .6rem; color: var(--fg);
  background: var(--btn-bg); border: 1px solid var(--btn-line);
  border-radius: 4px; text-decoration: none; line-height: 1.4; }
a.btn:hover { background: var(--line); text-decoration: none; }
a.btn.btn-sm { padding: 0 .4rem; font-size: .85em; line-height: 1.5; }
table.results td.acts { white-space: nowrap; }
/* search results (and explorer games): wide page, compact rows, so the
   action buttons fit */
main:has(table.results:not(.compact)) { max-width: 76rem; }
table.results:not(.compact) { font-size: .9rem; }
table.results:not(.compact) th, table.results:not(.compact) td {
  padding: .25rem .32rem; }
/* player cells may wrap (rating under the name) when space is short */
table.results:not(.compact) td:nth-child(3),
table.results:not(.compact) td:nth-child(4) { white-space: normal; }
p.actions:has(a.btn) { align-items: center; gap: .5rem; }
.scroll { overflow-x: auto; }
/* tournaments: search fields on one line, compact table */
form.tsearch { display: flex; flex-wrap: wrap; align-items: center;
  gap: .3rem .7rem; margin: .25rem 0 .75rem; font-size: .85rem; }
main:has(form.tsearch) { max-width: 72rem; }
form.tsearch label { white-space: nowrap; }
form.tsearch input, form.tsearch button { font: inherit;
  padding: .15rem .3rem; }
table.results.compact { font-size: .85rem; }
table.results.compact th, table.results.compact td { padding: .2rem .35rem;
  white-space: nowrap; }
table.results { border-collapse: collapse; width: 100%; font-size: .95rem; }
table.results th, table.results td { padding: .3rem .5rem; text-align: left;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
table.results td.num { text-align: right;
  font-variant-numeric: tabular-nums; }
h1 small { color: var(--muted); font-weight: normal; font-size: 1rem; }
nav.tabs { display: flex; flex-wrap: wrap; gap: .25rem .75rem;
  margin: .5rem 0 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line); }
nav.tabs a[aria-current] { font-weight: bold; color: var(--fg); }
/* statistics: tabs and overview table as on the legacy stats.html
   (#tabmenu, .stats-table) */
:root { --th-bg: #e0e0e0; --grid: #666; }
@media (prefers-color-scheme: dark) {
  :root { --th-bg: #2c2c2e; --grid: #8e8e93; }
}
nav.tabmenu { display: block; border-bottom: 0; padding: 0;
  margin: .75rem 0 0; font-size: 80%; }
nav.tabmenu > div { display: flex; flex-wrap: wrap; justify-content: center;
  gap: 3px 2px; margin-top: 3px; }
nav.tabmenu a { color: var(--fg); background: var(--bg);
  border: 1px solid var(--grid); border-bottom: none; font-weight: bold;
  padding: 1px 5px 0; text-decoration: none; }
nav.tabmenu a[aria-current] { background: var(--th-bg); }
nav.tabmenu a:hover { background: var(--fg); color: var(--bg); }
.legacy-stats { overflow-x: auto; }
main:has(.legacy-stats) { max-width: none; }
table.stats-table a { text-decoration: underline; }
table.stats-table { border-collapse: collapse; margin: 0 auto;
  font-size: .9em; }
table.stats-table th, table.stats-table td { border: 1px solid var(--grid);
  padding: .5em; text-align: left; }
table.stats-table th { background: var(--th-bg); font-weight: bold; }
table.stats-table .num { text-align: right;
  font-variant-numeric: tabular-nums; }
table.stats-table tr.total td { font-weight: bold; }
table.stats-table th.c { text-align: center; }
table.stats-table td.links a { margin-right: .5rem; white-space: nowrap; }
table.stats-table td.links a:last-child { margin-right: 0; }
table.player-stats, table.player-summary { margin: 0 auto 1rem; }
table.player-stats { font-size: .85em; }
table.player-stats th, table.player-stats td { padding: .4em .45em; }
.legacy-stats p.note { text-align: center; }
.legacy-stats p.actions { justify-content: center; }
table.stats { border-collapse: collapse; font-size: .95rem; }
table.stats.years { margin: .5rem auto 0; }    /* stats "Per year" tab */
.scroll:has(table.stats.years) + p.note { text-align: center; }
table.stats th, table.stats td { padding: .3rem .6rem; text-align: left;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
table.stats td.num { text-align: right; font-variant-numeric: tabular-nums; }
/* tables centred under the centred period tabs (player long results,
   frequent opponents) */
table.stats.center { margin-left: auto; margin-right: auto; }
p.center { text-align: center; }
/* player pages: everything centred under the period tabs; table cells
   keep their own alignment */
main.player { text-align: center; }
main.player table { margin-left: auto; margin-right: auto; }
main.player .actions { justify-content: center; }
main.player dl.facts { width: max-content; max-width: 100%;
  margin-left: auto; margin-right: auto; text-align: left; }
table.stats tr.total td { font-weight: bold; }
table.highlights td { white-space: normal; }
.note, .facts-inline { color: var(--muted); }

/* tournaments */
table.tinfo th { font-weight: bold; color: var(--muted); }
table.tinfo td { padding-right: 1.25rem; }
table.grid td.c, table.grid th.c, table.stats td.c { text-align: center;
  white-space: nowrap; }
table.grid td.self { color: var(--muted); }
/* pairings: two rounds per row (one on narrow screens) */
div.pairings { display: grid; gap: 1rem; align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 40rem) {
  div.pairings { grid-template-columns: minmax(0, 1fr); }
}
div.pairings caption { text-align: left; font-weight: bold;
  padding: .3rem 0; }
table.stats tr.sub th { text-align: left; color: var(--muted); }

/* charts */
:root { --s1: #7aa7d6; --s2: #c0392b; --win: #2e8b57; --draw: #a1a1a6;
        --loss: #c0392b;
        --b1: #2ca02c; --b2: #d62728; --b3: #7b2d8b; --b4: #a8d02a;
        --b5: #2f5584; --l1: #000000; --l2: #5c3317; }
@media (prefers-color-scheme: dark) {
  :root { --s1: #4f7fae; --s2: #ff6b5b; --win: #4cc38a; --draw: #6e6e73;
          --loss: #ff6b5b;
          --b1: #3fb43f; --b2: #e5484d; --b3: #a35bb3; --b4: #b8de3c;
          --b5: #4a74a8; --l1: #f2f2f2; --l2: #e0a060; }
}
figure.chart { margin: 1rem 0; }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart text { font-size: 12px; fill: var(--muted); }
svg.chart .grid { stroke: var(--line); stroke-width: 1; }
svg.chart line.ax { stroke: var(--muted); }
svg.chart polyline { fill: none; stroke-linejoin: round; }
svg.chart .s1 { stroke: var(--s1); stroke-width: 1.2; }
svg.chart .s2 { stroke: var(--s2); stroke-width: 2.5; }
.legend { color: var(--muted); font-size: .9rem; }
.key { display: inline-block; width: .9rem; height: .6rem;
  margin: 0 .25rem 0 .75rem; vertical-align: middle; }
.key:first-child { margin-left: 0; }
.key.s1 { background: var(--s1); } .key.s2 { background: var(--s2); }
svg.members .b1 { fill: var(--b1); } svg.members .b2 { fill: var(--b2); }
svg.members .b3 { fill: var(--b3); } svg.members .b4 { fill: var(--b4); }
svg.members .b5 { fill: var(--b5); }
svg.members rect { opacity: .9; }
svg.members g.partial rect { opacity: .45; }
svg.members polyline { stroke-width: 2.5; }
svg.members polyline.l1 { stroke: var(--l1); } circle.l1 { fill: var(--l1); }
svg.members polyline.l2 { stroke: var(--l2); } circle.l2 { fill: var(--l2); }
svg.members text.axt { font-weight: bold; }
.key.b1 { background: var(--b1); } .key.b2 { background: var(--b2); }
.key.b3 { background: var(--b3); } .key.b4 { background: var(--b4); }
.key.b5 { background: var(--b5); }
.key.l1 { background: var(--l1); } .key.l2 { background: var(--l2); }
.key.line { height: .2rem; }
/* rating distribution: rating classes on the x axis */
svg.rdist rect.bar { fill: var(--s1); }
svg.rdist g:hover rect.bar { fill: var(--q3); }
svg.rdist text { font-size: 10px; }
svg.rdist text.val { font-size: 8.5px; }
svg.rdist text.axt { font-size: 12px; font-weight: bold; }
/* openings: games per opening, white / black score */
:root { --sw: #d9d9de; --sb: #48484a; }
@media (prefers-color-scheme: dark) {
  :root { --sw: #d1d1d6; --sb: #636366; }
}
svg.eco rect.bar { fill: var(--s1); }
svg.eco rect.sw { fill: var(--sw); } svg.eco rect.sb { fill: var(--sb); }
svg.eco a:hover rect.bar, svg.eco a:hover rect.sb { fill: var(--q3); }
svg.eco text { font-size: 10px; }
svg.eco text.axt { font-size: 12px; font-weight: bold; }
svg.eco line.mid { stroke: var(--fg); stroke-dasharray: 4 3; }
.key.sw, span.bar.white { background: var(--sw); }
.key.sb, span.bar.black { background: var(--sb); }
/* expected vs. actual results */
svg.expected text.axt { font-weight: bold; }
svg.expected polygon.band, .key.band { fill: var(--s1); background: var(--s1);
  opacity: .25; }
svg.expected polyline.exp { stroke: var(--b3); stroke-width: 2; }
svg.expected polyline.act { stroke: var(--q3); stroke-width: 2; }
svg.expected circle.act { fill: var(--q3); }
svg.expected circle.act:hover { stroke: var(--fg); stroke-width: 1.5; }
svg.expected path.err { fill: none; stroke: var(--q3); stroke-width: 1; }
svg.expected polyline.drw { stroke: var(--muted); stroke-width: 1.2;
  stroke-dasharray: 5 4; }
.key.act { background: var(--q3); } .key.exp { background: var(--b3); }
.key.drw { background: var(--muted); }
/* weekday x hour heatmap: one blue ramp, light -> dark = few -> many
   games (dark mode: dark -> light); 5 steps, checked for lightness steps
   and contrast against the page background */
:root { --q0: #d2d2d7; --q1: #86b6ef; --q2: #5598e7; --q3: #2a78d6;
        --q4: #1c5cab; --q5: #0d366b; --qtot: #2a78d6; }
@media (prefers-color-scheme: dark) {
  :root { --q0: #3a3a3c; --q1: #184f95; --q2: #2a78d6; --q3: #5598e7;
          --q4: #86b6ef; --q5: #cde2fb; --qtot: #5598e7; }
}
svg.heatmap .q0, .key.q0 { fill: var(--q0); background: var(--q0); }
svg.heatmap .q1, .key.q1 { fill: var(--q1); background: var(--q1); }
svg.heatmap .q2, .key.q2 { fill: var(--q2); background: var(--q2); }
svg.heatmap .q3, .key.q3 { fill: var(--q3); background: var(--q3); }
svg.heatmap .q4, .key.q4 { fill: var(--q4); background: var(--q4); }
svg.heatmap .q5, .key.q5 { fill: var(--q5); background: var(--q5); }
svg.heatmap rect.tot { fill: var(--qtot); }
svg.heatmap rect:hover { stroke: var(--fg); stroke-width: 1.5; }
.key.hm { margin: 0; width: 1.2rem; }
nav.switch { margin: .5rem 0; }
p.tzline { margin: .25rem 0 1rem; }
table.hm-table th, table.hm-table td { padding: .2rem .35rem; }
.key.win, span.bar.win { background: var(--win); }
.key.draw, span.bar.draw { background: var(--draw); }
.key.loss, span.bar.loss { background: var(--loss); }
table.bars td.bar { width: 40%; min-width: 8rem; }
td.stack { white-space: nowrap; font-size: 0; }
span.bar { display: inline-block; height: .8rem; vertical-align: middle; }
span.bar.s1 { background: var(--s1); }
section { margin-bottom: 2rem; }

/* help, about */
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }
.prose code { font-size: .95em; }

/* site statistics */
td.links a { margin-right: .6rem; }
span.bar.white { background: var(--s1); }
span.bar.black { background: var(--fg); opacity: .55; }

/* board viewer */
.game-body { display: grid; gap: 1rem 2rem; align-items: start; }
@media (min-width: 52rem) {
  .game-body { grid-template-columns: minmax(16rem, 28rem) 1fr; }
  .moves-wrap { max-height: 32rem; overflow-y: auto; }
}
.viewer { width: 100%; max-width: 28rem; }
.board { display: grid; grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1; container-type: inline-size;
  border: 1px solid var(--line); user-select: none; }
.board.flipped { transform: rotate(180deg); }
.board.flipped .pc { display: inline-block; transform: rotate(180deg); }
.sq { display: flex; align-items: center; justify-content: center;
  line-height: 1; font-size: 10cqw; }
.sq.l { background: #eeeed2; } .sq.d { background: #769656; }
.sq.hi.l { background: #f6f669; } .sq.hi.d { background: #baca2b; }
.pc { font-family: "DejaVu Sans", "Segoe UI Symbol", "Noto Sans Symbols 2",
  serif; }
.pc.w { color: #fff; text-shadow: 0 0 1px #000, 0 0 1px #000,
  0 0 1px #000; }
.pc.b { color: #111; }
.hold { min-height: 1.6rem; font-size: 1.4rem; line-height: 1.2;
  color: var(--fg); }
.controls { display: flex; flex-wrap: wrap; align-items: center;
  gap: .4rem; margin-top: .5rem; }
.controls button { min-width: 2.5rem; cursor: pointer; }
.controls .ply { color: var(--muted); margin-left: .5rem; }
table.moves td.mv[data-ply] { cursor: pointer; }
table.moves td.mv.cur { background: var(--accent); color: var(--bg);
  border-radius: 3px; }
[id] { scroll-margin-top: 6rem; }
form.compact .types { display: grid !important;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: .15rem 1.5rem; }
/* download: game type options one line each, two columns */
.download-page { max-width: 60rem; }
.download-page form.compact .types { font-size: .8rem; gap: .1rem 1.2rem; }
.download-page form.compact .types label { white-space: nowrap; }
@media (max-width: 40rem) {
  form.compact .types { grid-template-columns: 1fr; }
  .download-page form.compact .types label,
  .download-page form.compact .types .nowrap { white-space: normal; }
}
@media (max-width: 56rem) {
  .download-page form.compact .types { grid-template-columns: 1fr; }
}

/* legacy game viewers (pgnviewer.js, zhviewer.js, aviewer.js and the
   analysis board): their markup expects the old site's light look and
   content-box sizing, also in dark mode */
.legacy-viewer, .aboard-page {
  color-scheme: light; background: #fff; color: #000;
  font: 16px/1.2 Arial, Helvetica, Verdana, sans-serif;
}
.legacy-viewer { overflow-x: auto; padding: .5rem 0; }
.legacy-viewer *, .aboard-page * { box-sizing: content-box; }
.legacy-viewer img, .aboard-page img { vertical-align: top; }
.legacy-viewer input, .legacy-viewer select, .legacy-viewer button,
.aboard-page input, .aboard-page select, .aboard-page button {
  font: 13px Arial, Helvetica, sans-serif; padding: 1px 6px;
}
/* move navigation row below the board: not wider than the board
   (pgnviewer 8 x 33px + labels, atomic 8 x 40px) */
.legacy-viewer .nav td { padding: 0 1px 0 0; }
.legacy-viewer .nav input, .legacy-viewer .nav button {
  font-size: 12px; padding: 1px 0; text-align: center; }
.legacy-viewer .nav button { width: 26px; }
.legacy-viewer .nav button#autoplay { width: 36px; }
.legacy-viewer .nav select { font-size: 12px; padding: 0; }
/* command buttons (Flip Board ...): two per row, as wide as the board
   (the table fills the board column) */
.legacy-viewer table.cmds { width: 100%; table-layout: fixed; }
.legacy-viewer table.cmds td { width: 50%; padding: 1px 0 0 0; }
.legacy-viewer table.cmds td + td { padding-left: 2px; }
.legacy-viewer table.cmds input, .legacy-viewer table.cmds button {
  box-sizing: border-box; width: 100%; padding: 1px 2px;
  font-size: 12px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.legacy-viewer a.move, .legacy-viewer a.move:visited
  { color: #000; text-decoration: none; font-weight: normal; }
.legacy-viewer a.moveOn, .legacy-viewer a.moveOn:visited
  { color: #000; text-decoration: none; font-weight: bold;
    background-color: #0f0; }
.legacy-viewer a.move:hover, .legacy-viewer a.moveOn:hover
  { text-decoration: underline; }
.legacy-viewer td.aboard { line-height: 0; }
.aboard-page { margin: 0; min-height: 100vh; }
.aboard-page #pos_fixed { position: fixed; top: 3%; left: 2%; }
.aboard-page #pos_right { margin-left: 350px; margin-top: 2%;
  width: 350px; }

/* opening explorer: legacy openings.html layout (main.css rules) */
.explorer-page .explorer-frame-table { width: 700px; border-collapse: collapse;
  border: 0; margin-left: auto; margin-right: auto; }
.explorer-page .explorer-frame-table td { vertical-align: top; }
/* legacy body line-height: 120% (19.2px, inherited as a length) */
.explorer-page { line-height: 120%; }
/* border-box as on the legacy page: the win/draw cell is then 250px and
   the boxes (254px with borders) wrap onto two lines, as there */
.explorer-page .move-table { padding: .2em; margin: 0; border: 0;
  color: #000; width: 540px; box-sizing: border-box; }
.explorer-page .move-table a:link { color: blue; text-decoration: underline; }
.explorer-page .move-table a:visited { color: black; }
.explorer-page .move-table a:hover { text-decoration: none; }
.explorer-page .move-table th { font-size: .8em; text-align: left;
  font-weight: bold; }
.explorer-page .move-table td { color: black; text-decoration: none;
  text-align: left; width: auto; margin: 12px; }
.explorer-page .move-table td.right { text-align: right; }
.explorer-page .move-table td.sanmove { color: black;
  text-decoration: underline; }
.explorer-page .move-table td.bold { font-weight: bold; }
.explorer-page .move-table td.rightbold { text-align: right;
  font-weight: bold; }
.explorer-page a.blackwinbox, .explorer-page a.drawbox,
.explorer-page a.whitewinbox { float: right; clear: none; margin: 0;
  text-align: center; vertical-align: middle; font-size: .8em;
  position: relative; height: 15px; text-decoration: none; }
.explorer-page a.blackwinbox { background-color: black;
  border: 1px solid #000; color: #fff; }
.explorer-page a.drawbox { background-color: #828282;
  border: 1px solid #828282; border-right: none; border-left: none;
  color: #fff; }
.explorer-page a.whitewinbox { background-color: white;
  border: 1px solid #000; border-right: 1px solid #828282; color: #000; }
.explorer-page .feninput { font-family: monospace; }
/* buttons are border-box in browsers (and on the legacy page), so the
   30px wide board buttons keep the board column as narrow as there */
.explorer-page input { padding: 1px 2px; }
.explorer-page input[type=button] { box-sizing: border-box;
  padding: 1px 6px; }

/* maintenance page: the operator's note (var/maintenance) */
p.maintenance { font-weight: bold; }
