/* holyweapon.download stylesheet */

html {
  scrollbar-color: #990000 #000000;
}

body {
  margin: 0;
  padding: 20px 16px 40px;
  background: #000000;
  color: #cccccc;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  cursor: crosshair;
}

a { color: #ff0000; cursor: pointer; }
a:visited { color: #ff0000; }
a:hover { color: #ffff00; background: #660000; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px dotted #ffff00;
  outline-offset: 2px;
}

h1 { margin: 0; font-weight: normal; }

h2 {
  margin: 0 0 8px;
  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: bold;
  color: #ff0000;
}

h3 {
  margin: 0;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mono { font-family: "Courier New", Courier, monospace; }
.dim { color: #999999; }

.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { visibility: hidden; } }

/* logo */

.logo {
  font-family: "Times New Roman", Times, serif;
  font-size: 48px;
  font-weight: bold;
  line-height: 1;
  color: #ff0000;
  text-decoration: none;
  letter-spacing: 1px;
}
.logo:visited { color: #ff0000; }
.logo:hover { color: #ffff00; background: none; }

.domain {
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  font-weight: bold;
  color: #ffcc00;
  letter-spacing: 2px;
}

/* buttons */

.btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 4px 10px;
  background: #660000;
  color: #ffcc00;
  border: 2px outset #990000;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:visited { color: #ffcc00; }
.btn:hover { background: #990000; color: #ffff00; }
.btn:active { border-style: inset; }
.btn[aria-current="page"] {
  background: #cc0000;
  color: #ffff00;
  border-style: inset;
}

/* landing page */

.landing {
  padding-top: 120px;
  text-align: center;
}
.landing .logo { font-size: 64px; }
.landing .domain { display: block; margin-top: 6px; }
.landing .nav { margin-top: 28px; }
.landing .btn { width: 96px; margin: 0 2px 6px; }

/* main layout table */

.layout {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border: 2px outset #990000;
  border-collapse: collapse;
}

.head {
  padding: 14px 16px;
  border-bottom: 1px solid #990000;
  vertical-align: top;
}

.side {
  width: 150px;
  padding: 14px 12px;
  border-right: 1px solid #990000;
  vertical-align: top;
}
.side .btn {
  display: block;
  margin-bottom: 6px;
  text-align: left;
}

.main {
  padding: 14px 18px 20px;
  vertical-align: top;
}

.foot {
  padding: 10px 16px;
  border-top: 1px solid #990000;
  font-size: 10px;
  color: #999999;
  text-align: center;
}

/* panels */

.panel {
  border: 2px outset #990000;
  margin-bottom: 16px;
}
.panel h3 {
  padding: 3px 8px;
  background: #660000;
  border-bottom: 1px solid #990000;
}
.panel p, .panel ul { margin: 0; padding: 10px 12px; }

.usage { margin-top: 20px; }
.usage ol { margin: 0; padding: 0 12px 0 34px; }
.usage li { margin-bottom: 8px; }
.usage li b { color: #ffcc00; }
.usage ol ul { margin: 4px 0 6px; padding: 0 0 0 18px; list-style: square; }
.usage ol ul li { margin-bottom: 2px; }

.updates { list-style: none; }
.updates .date {
  color: #ff0000;
  font-family: "Courier New", Courier, monospace;
  margin-right: 8px;
}

marquee {
  display: block;
  margin-bottom: 16px;
  padding: 2px 0;
  border: 1px solid #990000;
  color: #ffcc00;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
}

.counter {
  padding: 0 3px;
  background: #000000;
  border: 1px inset #990000;
  color: #ffff00;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 2px;
}

/* 88x31 badges */

.badges { display: block; margin-top: 8px; }
.badge {
  display: inline-block;
  width: 86px;
  height: 23px;
  padding-top: 6px;
  vertical-align: middle;
  border: 1px solid;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
}
.badge.b1 { background: #cc0000; color: #ffff00; border-color: #ffff00; }

/* link tables (socials) */

.linktable { width: 100%; border-collapse: collapse; }
.linktable td { padding: 6px 8px; border-bottom: 1px dashed #660000; }
.linktable td.site { color: #ffcc00; width: 34%; }
.linktable td.go { text-align: right; white-space: nowrap; }

/* loop player */

.player {
  margin-bottom: 16px;
  padding: 8px;
  background: #660000;
  border: 2px outset #990000;
}

.player .screen {
  width: 100%;
  background: #000000;
  border: 2px inset #990000;
  border-collapse: collapse;
  font-family: "Courier New", Courier, monospace;
}
.player .screen td { padding: 2px 8px; }
.player .time {
  width: 1%;
  white-space: nowrap;
  color: #ffff00;
  font-size: 24px;
  vertical-align: middle;
}
.player .title { color: #ff0000; font-size: 13px; padding-top: 6px; }
.player .meta { color: #999999; font-size: 11px; padding-bottom: 6px; }

.player input { accent-color: #ffcc00; cursor: pointer; }
.player .seek { display: block; width: 100%; margin: 8px 0 0; }

.player .controls { margin-top: 6px; overflow: hidden; }
.player .controls .btn { padding: 2px 10px; }
.player .controls .btn[aria-pressed="true"] {
  background: #cc0000;
  color: #ffff00;
  border-style: inset;
}
.player .volume { float: right; font-size: 10px; color: #cccccc; }
.player .volume input { width: 80px; vertical-align: middle; }

/* loop list */

.looplist { width: 100%; border-collapse: collapse; font-size: 12px; }
.looplist th {
  padding: 4px 6px;
  background: #660000;
  border-bottom: 1px solid #990000;
  color: #ffcc00;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}
.looplist td {
  padding: 6px;
  border-bottom: 1px dashed #660000;
  vertical-align: top;
}
.looplist td.num, .looplist td.bpm, .looplist td.key, .looplist td.date {
  font-family: "Courier New", Courier, monospace;
  white-space: nowrap;
}
.looplist td.num { width: 2.5em; color: #cc0000; }
.looplist .name { color: #cccccc; }
.looplist .new { margin-left: 4px; color: #ffff00; font-size: 10px; font-weight: bold; }
.looplist tr.playing td { background: #660000; }
.looplist tr.playing .name, .looplist tr.playing td.num { color: #ffff00; }
.looplist td.act { white-space: nowrap; text-align: right; }
.looplist td.act .btn { padding: 1px 7px; font-size: 10px; }

/* small screens: stack the layout table */

@media (max-width: 640px) {
  body { padding: 12px 16px 32px; }
  .landing { padding-top: 80px; }
  .landing .logo { font-size: 48px; }
  .head .logo { font-size: 40px; }
  .layout, .layout > tbody, .layout > tbody > tr, .layout > tbody > tr > td {
    display: block;
    width: auto;
  }
  .side { border-right: 0; border-bottom: 1px solid #990000; }
  .side .btn { display: inline-block; width: 48%; margin-bottom: 6px; text-align: center; }
  .main { padding: 14px 12px; }
  .looplist .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
}
