/* doorwin168: legacy fixed-width layout alignment (2026) */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 998px;
}
/* Header (including menu/flash area) and content must share the same origin. */
body > table:first-of-type,
body > table:nth-of-type(2) {
  width: 998px !important;
  min-width: 998px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Position old absolute menu layers relative to the centered header, not viewport. */
body > table:first-of-type > tbody > tr > td {
  position: relative !important;
}
#Layer2, #Layerx {
  left: 0 !important;
  width: 998px !important;
  box-sizing: border-box;
}
/* The legacy header art and its replacement should not create text baselines. */
body > table:first-of-type embed,
body > table:first-of-type ruffle-player,
body > table:first-of-type img.doorwin-header {
  display: block;
}
