* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  color: #dcdcdc;
  font: 12px/1.45 Verdana, Arial, sans-serif;
  background:
    linear-gradient(180deg, #050101 0, #260407 96px, #5b1015 101px, #f0a30b 106px, #260407 112px, #380a0c 100%),
    #380a0c;
}

a {
  color: #ff2d26;
  text-decoration: none;
}

a:hover {
  color: #ffbf14;
}

img {
  display: block;
  max-width: 100%;
}

p {
  margin: 12px 0;
}

ul {
  margin-top: 8px;
}

.page {
  width: 970px;
  margin: 0 auto;
}

.masthead {
  height: 120px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 48%, rgba(254, 191, 15, .22), transparent 18%),
    linear-gradient(90deg, #020202 0 2px, transparent 2px 34px),
    linear-gradient(180deg, rgba(255, 191, 15, .12), transparent 54%),
    #070303;
  border-bottom: 6px solid #8c1a1f;
}

.brand {
  float: left;
  width: 530px;
  height: 120px;
  padding: 20px 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: .86;
  letter-spacing: -2px;
  font-variant: small-caps;
  color: #febf0f;
  text-shadow:
    4px 4px 0 #c5252c,
    8px 8px 0 rgba(0, 0, 0, .72),
    0 0 18px rgba(254, 191, 15, .45);
}

.brand span {
  display: block;
  margin-top: 4px;
  font: bold 12px Verdana, Arial, sans-serif;
  letter-spacing: 2px;
  color: #d62f23;
  text-transform: uppercase;
  text-shadow: none;
}

.subhead {
  float: left;
  width: 440px;
  height: 120px;
  padding-top: 72px;
}

.menu {
  margin: 0;
  padding: 0;
  height: 28px;
  list-style: none;
  line-height: 28px;
  font-family: Arial, sans-serif;
}

.menu li {
  float: right;
  height: 28px;
  padding-left: 4px;
}

.menu a {
  display: block;
  padding: 0 10px 0 8px;
  color: #febf0f;
  background: linear-gradient(#250405, #0a0101);
  border-left: 2px solid #8c1a1f;
  border-top: 1px solid rgba(254, 191, 15, .24);
}

.menu .selected a,
.menu a:hover {
  color: #fff;
  border-left-color: #c5252c;
  background: linear-gradient(#8c1a1f, #1a0304);
}

.leaderboard {
  width: 734px;
  height: 90px;
  margin: 10px 0 10px 6px;
  float: left;
  border: 10px solid #8c1a1f;
  background:
    linear-gradient(135deg, rgba(254, 191, 15, .92), rgba(197, 37, 44, .94)),
    #460d10;
  overflow: hidden;
}

.leaderboard a {
  display: grid;
  grid-template-columns: 1fr 190px;
  align-items: center;
  height: 70px;
  padding: 0 20px;
  color: #130101;
  font: bold 23px/1.05 "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: -1px;
}

.leaderboard small {
  display: block;
  margin-top: 5px;
  color: #5b1015;
  font: 11px Verdana, Arial, sans-serif;
  letter-spacing: 0;
}

.mini-stack {
  justify-self: end;
  width: 166px;
  height: 48px;
  position: relative;
}

.mini-book {
  position: absolute;
  width: 42px;
  height: 48px;
  bottom: 0;
  border: 3px solid #210303;
  background: #111;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .28);
}

.mini-book:nth-child(1) { left: 0; background: #131313; }
.mini-book:nth-child(2) { left: 38px; background: #febf0f; }
.mini-book:nth-child(3) { left: 76px; background: #c5252c; }
.mini-book:nth-child(4) { left: 114px; background: #1b695e; }

.layout {
  clear: both;
}

.sidebar {
  width: 200px;
  padding: 5px 0;
  float: left;
  font-size: 11px;
  overflow: hidden;
}

.column {
  width: 560px;
  padding: 5px 0 20px;
  float: left;
  overflow: hidden;
}

.sidebar h2,
.sidebar h2 a {
  margin: 0;
  color: #febf0f;
  font-size: 16px;
  letter-spacing: -1px;
}

.sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar li {
  margin: 0 0 14px 10px;
  padding: 0;
}

.ad-tower {
  width: 160px;
  min-height: 560px;
  margin: 10px 0 18px 15px;
  padding: 14px 10px;
  border: 10px solid #febf0f;
  background:
    linear-gradient(180deg, #a2660f, #35100c),
    #a2660f;
  color: #180202;
}

.ad-tower h2 {
  color: #220304;
  font: bold 21px/1 "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: -1px;
}

.ad-tower p,
.ad-tower a {
  color: #240303;
}

.searchbox {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 4px;
}

.searchbox input,
.searchbox button {
  min-height: 27px;
  border: 1px solid #130101;
  font: 12px Arial, sans-serif;
}

.searchbox input {
  width: 100%;
  padding: 4px 5px;
  color: #111;
  background: #f2e8d6;
}

.searchbox button,
.button {
  color: #fff;
  background: #8c1a1f;
  border: 1px solid #2d0507;
  cursor: pointer;
}

.button {
  display: inline-block;
  padding: 7px 10px;
  font-weight: bold;
}

.button.secondary {
  color: #240303;
  background: #febf0f;
}

.note {
  color: #aaa;
  font-size: 11px;
}

.post-head {
  height: 119px;
  position: relative;
  padding: 30px 28px 0 120px;
  background:
    linear-gradient(135deg, transparent 0 70%, rgba(255, 255, 255, .12) 70% 71%, transparent 71%),
    linear-gradient(180deg, #121212, #050505);
  border: 1px solid #333;
  border-bottom: 0;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 26px rgba(255, 255, 255, .09);
}

.post-head:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  width: 70px;
  height: 58px;
  background:
    linear-gradient(90deg, transparent 0 38%, #eee 38% 48%, transparent 48%),
    linear-gradient(135deg, transparent 0 42%, #eee 42% 51%, transparent 51%),
    #111;
  clip-path: polygon(49% 0, 59% 35%, 100% 20%, 66% 48%, 95% 90%, 52% 66%, 14% 100%, 30% 55%, 0 33%, 40% 34%);
}

.post-head h1,
.post-head h2,
.post-head h3 {
  margin: 38px 0 0;
  color: #d62f23;
  font: bold 20px/1.05 "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: -1px;
}

.post-head h1 {
  font-size: 22px;
}

.postdate {
  margin-top: 3px;
  color: #8c1a1f;
  font-size: 11px;
}

.post {
  padding: 16px 30px 18px;
  color: #e7e7e7;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 10px, transparent calc(100% - 10px), rgba(255, 255, 255, .08)),
    #030303;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}

.post-foot {
  height: 20px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, #050505, #121212);
  border: 1px solid #333;
  border-top: 0;
}

.deck {
  color: #f5f5f5;
  font-size: 13px;
}

.cover-row,
.product-grid {
  display: grid;
  gap: 12px;
}

.cover-row {
  grid-template-columns: 126px 1fr;
  align-items: start;
}

.pixel-cover {
  width: 126px;
  min-height: 176px;
  padding: 10px;
  border: 4px solid #febf0f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 34%),
    #161616;
  color: #fff;
  box-shadow: 7px 7px 0 #230507;
}

.pixel-cover strong {
  display: block;
  color: #febf0f;
  font: bold 18px/1 "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: -1px;
}

.pixel-cover span {
  display: block;
  margin-top: 38px;
  color: #d62f23;
  font-size: 10px;
  text-transform: uppercase;
}

.product-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.product {
  min-height: 132px;
  padding: 12px;
  border: 1px solid #2a2a2a;
  background: #111;
}

.product h3,
.product h2 {
  margin: 0 0 7px;
  color: #febf0f;
  font: bold 17px/1.08 "Trebuchet MS", Verdana, sans-serif;
}

.product p {
  margin: 6px 0 10px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  color: #eee;
}

.table th,
.table td {
  padding: 8px;
  border: 1px solid #262626;
  vertical-align: top;
  text-align: left;
}

.table th {
  color: #febf0f;
  background: #151515;
}

.series-button {
  width: 200px;
  height: 160px;
  position: relative;
  margin-bottom: 3px;
  background:
    radial-gradient(circle at 50% 36%, rgba(254, 191, 15, .34), transparent 34%),
    linear-gradient(135deg, #173f38 0 44%, #061412 44% 100%);
  overflow: hidden;
}

.series-button a {
  display: block;
  height: 160px;
  padding-top: 118px;
  color: #ff2d26;
  font: bold 18px/1.05 "Trebuchet MS", Verdana, sans-serif;
  text-align: center;
}

.series-art {
  position: absolute;
  top: 28px;
  left: 32px;
  width: 136px;
  height: 72px;
  border: 6px solid #febf0f;
  box-shadow: 5px 5px 0 #11433b, 9px 9px 0 #0a1a17;
  background:
    linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, .09) 14px 16px, transparent 16px 32px),
    linear-gradient(180deg, #111, #000);
}

.series-art:after {
  content: "";
  position: absolute;
  inset: 14px 22px;
  background:
    linear-gradient(90deg, #f7f7f7 0 12px, transparent 12px 17px, #d62f23 17px 31px, transparent 31px 42px, #febf0f 42px 56px),
    #090909;
}

.archive-list a {
  display: block;
  padding: 3px 0;
}

.tags {
  margin-top: 14px;
  color: #aaa;
  font-size: 11px;
}

.tags a {
  margin-right: 6px;
}

.pagenav {
  padding: 24px 20px 0;
  color: #fff;
  font-weight: bold;
  overflow: hidden;
}

.pagenav-left {
  float: left;
}

.pagenav-right {
  float: right;
}

.footer {
  clear: both;
  padding: 40px 0 20px;
  text-align: center;
  color: #aaa;
  font-size: 11px;
  background: #000;
}

.footer p {
  width: 970px;
  margin: 0 auto 8px;
}

.li-counter {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.clear {
  clear: both;
}

@media (max-width: 980px) {
  .page,
  .footer p {
    width: min(100%, 740px);
  }

  .masthead {
    height: auto;
  }

  .brand,
  .subhead,
  .leaderboard,
  .sidebar,
  .column {
    float: none;
    width: 100%;
  }

  .brand {
    height: auto;
    min-height: 92px;
    padding: 18px 16px 8px;
    font-size: 42px;
  }

  .subhead {
    height: auto;
    padding: 0 8px 10px;
  }

  .menu {
    height: auto;
    line-height: 28px;
    overflow: hidden;
  }

  .menu li {
    float: left;
  }

  .leaderboard {
    height: auto;
    margin: 10px 0;
  }

  .leaderboard a {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 74px;
    padding: 13px 16px;
  }

  .mini-stack {
    display: none;
  }

  .layout {
    display: flex;
    flex-direction: column;
  }

  .left-rail {
    order: 2;
  }

  .column {
    order: 1;
  }

  .right-rail {
    order: 3;
  }

  .ad-tower {
    width: auto;
    min-height: 0;
    margin: 8px 10px 18px;
  }

  .sidebar li {
    margin-right: 10px;
  }

  .post-head {
    padding-left: 96px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 12px;
  }

  .brand {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .post-head {
    min-height: 112px;
    height: auto;
    padding: 20px 18px 18px 88px;
  }

  .post-head h1,
  .post-head h2,
  .post-head h3 {
    margin-top: 24px;
    font-size: 18px;
  }

  .post-head:before {
    left: 16px;
    top: 25px;
    width: 54px;
    height: 48px;
  }

  .post {
    padding: 14px 16px;
  }

  .cover-row,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .pixel-cover {
    width: 100%;
    min-height: 118px;
  }

  .series-button {
    margin-left: auto;
    margin-right: auto;
  }
}
