html { background: #008080; }
body {
  margin: 0;
  background: #008080;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}
a:link { color: #0000ee; }
a:visited { color: #551a8b; }
a:focus-visible { outline: 2px dotted #ffff00; }
.outer { width: min(980px, 100%); margin: 12px auto 36px; }
.banner {
  background: #000080;
  color: #ffff00;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 13px;
  padding: 6px 10px;
}
.banner b { color: #fff; }
table.shell {
  width: 100%;
  table-layout: fixed;
  border: 4px ridge #c0c0c0;
  background: #c0c0c0;
}
td.sidebar {
  width: 260px;
  background: #000080;
  color: #fff;
  vertical-align: top;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 13px;
  padding: 14px 12px 18px;
}
td.sidebar a { color: #ffff66; }
td.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #ffff00;
  font-size: 16px;
  letter-spacing: 0.5px;
}
td.sidebar .brand img { width: 28px; height: 28px; }
td.sidebar .home-link {
  display: block;
  margin: 0 0 14px;
  color: #fff;
  font-size: 12px;
}
td.sidebar .list-head {
  margin: 0 0 8px;
  padding: 4px 6px;
  background: #ffff00;
  color: #000080;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
td.sidebar .shelf {
  margin: 12px 0 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #c9a227;
  color: #c9a227;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
td.sidebar .ring { display: block; margin: 0 0 2px; }
td.sidebar .ring-link {
  display: block;
  padding: 5px 6px;
  margin: 0 0 1px;
  color: #ffff99;
  text-decoration: none;
  border-left: 3px solid transparent;
  line-height: 1.3;
}
td.sidebar .ring-link:hover,
td.sidebar .ring-link.here {
  background: #00005c;
  border-left-color: #ffff00;
  color: #ffff00;
}
td.sidebar .hit {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid #c9a227;
  font-size: 11px;
}
td.pad {
  background: #ffffcc;
  padding: 14px 16px 22px;
  vertical-align: top;
}
h1 {
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
  color: #000080;
  font-size: 28px;
  margin: 0 0 8px;
}
h2 { font-size: 18px; color: #800000; margin: 22px 0 8px; }
hr { border: 0; border-top: 3px groove #c0c0c0; }
.note { color: #ff0000; font-weight: bold; font-family: Tahoma, sans-serif; font-size: 12px; }
.counter { font-family: "Courier New", monospace; background: #000; color: #0f0; padding: 2px 6px; }
.btn {
  display: inline-block;
  background: #c0c0c0;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-right: 3px solid #404040;
  border-bottom: 3px solid #404040;
  padding: 8px 14px;
  text-decoration: none !important;
  color: #000 !important;
  font-family: Tahoma, sans-serif;
  font-weight: bold;
}
.btn:active {
  border-top: 3px solid #404040;
  border-left: 3px solid #404040;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}
.legal { font-size: 12px; background: #fff; border: 1px dashed #800000; padding: 8px; }
.muted { font-size: 12px; }
ul { margin-top: 6px; }
table.list { width: 100%; border-collapse: collapse; background: #fff; }
table.list td, table.list th {
  border: 1px solid #808080;
  padding: 6px 8px;
  text-align: left;
  font-size: 14px;
}
table.list th { background: #000080; color: #ffff00; font-family: Tahoma, sans-serif; }
footer.site {
  font-size: 12px;
  text-align: center;
  color: #ffff00;
  font-family: Tahoma, sans-serif;
  padding: 10px;
}
footer.site a { color: #ffff00; }
.stars { color: #c9a227; letter-spacing: 1px; font-size: 15px; }
.rating { margin: 6px 0 8px; font-family: Tahoma, Verdana, sans-serif; font-size: 13px; }
.rate-label { color: #555; font-size: 11px; }
.marks { color: #333; }
.banner a.brand { color: #ffff00; text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Tahoma, Verdana, sans-serif;
  font-weight: bold;
  color: #ffff00;
  text-decoration: none;
}
.brand img { width: 22px; height: 22px; background: #000080; vertical-align: middle; }
.mast { margin: 0 0 10px; }
.mast img { display: block; width: min(420px, 100%); height: auto; border: 2px inset #c0c0c0; }
.tools {
  background: #fff;
  border: 2px inset #c0c0c0;
  padding: 8px 10px;
  margin: 12px 0;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 13px;
}
.tools input, .tools select {
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 13px;
  margin-right: 6px;
}
.toolbtn {
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  margin: 0 4px 4px 0;
  padding: 3px 8px;
  cursor: pointer;
}
.toolbtn.on { background: #ffff00; }
.nav-toggle { position: absolute; left: -9999px; }
.menu-btn, .menu-close, .veil, .nav-top { display: none; }
.banner i { font-style: normal; color: #ffff99; font-weight: normal; }
@media (max-width: 720px) {
  html, body { background: #008080; }
  body { -webkit-text-size-adjust: 100%; }
  body.nav-open { overflow: hidden; }
  .outer { width: 100%; margin: 0; }
  .banner {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 8px 12px;
    padding-top: max(8px, env(safe-area-inset-top));
  }
  .banner .brand { min-width: 0; }
  .banner .brand span { white-space: nowrap; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    background: #c0c0c0;
    color: #000;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 13px;
    font-weight: bold;
    padding: 7px 10px;
    cursor: pointer;
  }
  .burger {
    display: block;
    width: 16px;
    height: 12px;
    background:
      linear-gradient(#000 0 2px, transparent 2px 5px, #000 5px 7px, transparent 7px 10px, #000 10px 12px);
  }
  .nav-toggle:checked ~ .banner .menu-btn {
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: #ffff00;
  }
  .veil {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 32, 0.55);
    z-index: 45;
  }
  .nav-toggle:checked ~ .veil { display: block; }
  table.shell {
    display: block;
    width: 100%;
    table-layout: auto;
    border-width: 2px;
  }
  table.shell tbody, table.shell tr { display: block; width: 100%; }
  td.pad {
    display: block;
    width: auto;
    padding: 14px 14px 28px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
  td.sidebar {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 50;
    padding: 0 0 20px;
    padding-top: env(safe-area-inset-top);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 4px 0 18px rgba(0, 0, 0, 0.35);
  }
  .nav-toggle:checked ~ .shell td.sidebar { transform: translateX(0); }
  .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: sticky;
    top: 0;
    background: #000080;
    padding: 10px 12px;
    border-bottom: 1px solid #c9a227;
    color: #ffff00;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
  }
  .menu-close {
    display: inline-block;
    background: #c0c0c0;
    color: #000;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    cursor: pointer;
  }
  td.sidebar .side-brand,
  td.sidebar .list-head { display: none; }
  td.sidebar .home-link,
  td.sidebar .ring-link {
    padding: 11px 14px;
    font-size: 15px;
  }
  td.sidebar .shelf { margin: 14px 12px 4px; }
  td.sidebar .hit { padding: 12px 14px 0; }
  h1 { font-size: 24px; }
  h2 { font-size: 17px; }
  .mast { margin: 0 -4px 12px; }
  .mast img { width: 100%; border-width: 1px; }
  .tools { padding: 10px; }
  .tools input, .tools select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 8px;
    font-size: 16px;
    padding: 8px;
  }
  .toolbtn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .btn {
    display: block;
    text-align: center;
    padding: 12px 14px;
    font-size: 16px;
  }
  table.list, table.list thead, table.list tbody, table.list tr, table.list td, table.list th {
    display: block;
    width: auto;
  }
  table.list thead { display: none; }
  table.list { border-collapse: separate; background: transparent; }
  table.list tr.shelf-head { margin: 16px 0 8px; }
  table.list tr.shelf-head th {
    border: 0;
    padding: 6px 8px;
  }
  table.list tr.item {
    background: #fff;
    border: 2px inset #c0c0c0;
    margin: 0 0 10px;
    padding: 8px 10px 6px;
  }
  table.list tr.item td {
    border: 0;
    padding: 4px 2px;
    font-size: 15px;
  }
  table.list tr.item td:first-child a { font-weight: bold; font-size: 17px; }
  footer.site { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
