
:root {
  --hw-ground: #000000;
  --hw-panel: #161616;
  --hw-panel-line: #333333;
  --hw-ink: #e8e8e8;
  --hw-ink-dim: #a8a8a8;
  --hw-accent: #ff9933;
  --hw-accent-hot: #ff5a1f;
}

html, body {
  background: var(--hw-ground);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--hw-ink);
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: var(--hw-accent);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--hw-accent-hot);
  text-decoration: underline;
}
a:has(> img) {
  display: inline-block;
}
a:has(> img):hover {
  box-shadow: 0 2px 0 var(--hw-accent);
}

h1, h2, h3 {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  color: var(--hw-ink);
  letter-spacing: 0.02em;
}

hr {
  border: none;
  border-top: 1px solid var(--hw-panel-line);
  margin: 10px 0;
}

td[bgcolor="#222222"] {
  border: 1px solid var(--hw-panel-line);
}

.imgborder {
  border: 1px solid var(--hw-panel-line);
}

input[type="text"], input[type="submit"], textarea, select {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--hw-panel);
  color: var(--hw-ink);
  border: 1px solid var(--hw-panel-line);
  padding: 4px 6px;
}
input[type="submit"] {
  background: var(--hw-accent);
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: var(--hw-accent-hot);
}

@media (max-width: 767px) {
  html, body {
    height: auto !important;
    min-height: 100% !important;
  }
  table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  tbody, tr {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  td, th {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 3px 8px;
  }
  td[width="400"], td[width="700"] {
    padding-left: 4px;
    padding-right: 4px;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  td > a > img {
    display: inline-block;
    margin: 2px auto;
  }
  input[type="text"] {
    width: 100%;
    box-sizing: border-box;
  }
  input[type="submit"] {
    min-height: 40px;
    min-width: 44px;
  }
}
