:root {
  color-scheme: light;
  font-family: "Bahnschrift", "Segoe UI", "Microsoft YaHei", sans-serif;
  --ink: #111315;
  --muted: #687078;
  --paper: #f3f0e8;
  --panel: #fffdf7;
  --panel-2: #ebe7dc;
  --line: #22262b;
  --hairline: rgba(17, 19, 21, 0.14);
  --green: #126a55;
  --green-2: #dcece4;
  --amber: #b15c18;
  --shadow: 8px 8px 0 #111315;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(17, 19, 21, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
}

button,
select,
input {
  font: inherit;
}

.pageShell {
  margin: 0 auto;
  max-width: 1080px;
  padding: 76px 18px 18px;
}

.shell {
  min-width: 0;
}

.adRail {
  display: none;
  gap: 14px;
  align-content: start;
  padding-top: 18px;
  position: sticky;
  top: 0;
}

.adBox {
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 #111315;
  min-height: 150px;
  padding: 14px;
}

.adBox span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 8px;
}

.adBox strong {
  color: var(--ink);
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.adBox.muted {
  background: var(--panel-2);
}

.masthead {
  align-items: stretch;
  background: var(--ink);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  color: #fffdf7;
  min-height: 218px;
  overflow: hidden;
  position: relative;
}

.brandBlock {
  display: grid;
  align-content: center;
  justify-items: center;
  margin: 0 auto;
  max-width: 920px;
  min-height: 218px;
  padding: 0 34px;
  position: relative;
  transform: translateY(26px);
  z-index: 1;
}

.masthead::after {
  display: none;
}

h1 {
  font-size: clamp(54px, 8.6vw, 104px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
  text-align: center;
}

h1::after {
  background: linear-gradient(90deg, transparent, rgba(255, 159, 28, 0.66), transparent);
  content: "";
  display: block;
  height: 3px;
  margin: 18px auto 0;
  width: min(270px, 42%);
}

h1 span {
  color: #ff9f1c;
}

p {
  color: #cfd5d1;
  margin: 0;
}

.brandBlock p {
  font-size: 17px;
}

button {
  background: var(--green);
  border: 2px solid var(--line);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 42px;
  padding: 0 18px;
}

button:hover,
.openLink:hover {
  transform: translateY(-1px);
}

.commandBar {
  align-items: end;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 #111315;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1.6fr) minmax(220px, 0.9fr);
  margin-top: 18px;
  padding: 16px;
}

.relayBanner {
  align-items: center;
  background: var(--ink);
  color: #fffdf7;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  padding: 14px 16px;
  text-decoration: none;
}

.relayBanner span {
  background: #ff9f1c;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  padding: 5px 8px;
}

.relayBanner strong {
  font-size: 18px;
}

.relayBanner em {
  color: #b6c7bf;
  font-style: normal;
  font-weight: 850;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  text-transform: uppercase;
}

input,
select {
  background: #fff;
  border: 2px solid var(--line);
  color: var(--ink);
  min-height: 44px;
  outline: none;
  padding: 0 12px;
  width: 100%;
}

input:focus,
select:focus {
  box-shadow: 0 0 0 4px var(--green-2);
}

.workspace {
  margin-top: 18px;
}

.marketPanel {
  background: var(--panel);
  border: 2px solid var(--line);
  min-width: 0;
  overflow: hidden;
}

.metricRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.metricRow div {
  background: var(--panel-2);
  border-bottom: 2px solid var(--line);
  border-right: 2px solid var(--line);
  padding: 13px 18px;
}

.metricRow div:last-child {
  border-right: 0;
}

.metricRow span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 6px;
}

.metricRow strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.tableWrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--hairline);
  padding: 13px 14px;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #fffdf7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  position: sticky;
  top: 0;
  z-index: 1;
}

tbody tr:hover {
  background: #f8f1df;
}

.productCell {
  display: block;
  min-width: 320px;
}

.name {
  color: var(--ink);
  display: -webkit-box;
  font-weight: 850;
  line-height: 1.35;
  max-width: 680px;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.price {
  color: var(--amber);
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}

.openLink {
  background: var(--ink);
  color: #fffdf7;
  display: inline-block;
  font-weight: 850;
  padding: 8px 11px;
  text-decoration: none;
  white-space: nowrap;
}

.siteFooter {
  border-top: 2px solid rgba(17, 19, 21, 0.14);
  color: var(--muted);
  margin: 96px auto 10px;
  max-width: 1040px;
  padding: 36px 18px 28px;
  text-align: center;
}

.sponsorLine {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

.siteFooter p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.disclaimer {
  color: #a52828 !important;
  margin: 8px auto 0;
  max-width: 780px;
}

@media (min-width: 921px) and (max-width: 1180px) {
  .pageShell {
    max-width: 980px;
  }

  .commandBar {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 920px) {
  .pageShell {
    display: block;
    padding: 36px 12px 12px;
  }

  .adRail {
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
    padding-top: 0;
    position: static;
  }

  .adRailLeft {
    display: none;
  }

  .adBox {
    min-height: 96px;
  }

  .masthead {
    display: block;
  }

  .masthead {
    min-height: auto;
  }

  .brandBlock {
    min-height: 190px;
    padding: 0 22px;
    transform: translateY(18px);
  }

  h1 {
    font-size: clamp(48px, 15vw, 78px);
  }

  .commandBar,
  .metricRow {
    grid-template-columns: 1fr;
  }

  .relayBanner {
    grid-template-columns: 1fr;
  }

  .metricRow div {
    border-right: 0;
  }

  .marketPanel {
    background: transparent;
    border: 0;
  }

  .tableWrap {
    overflow: visible;
  }

  table,
  thead,
  tbody,
  tr,
  td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  tbody tr {
    background: var(--panel);
    border: 2px solid var(--line);
    box-shadow: 4px 4px 0 #111315;
    padding: 13px;
  }

  td {
    border-bottom: 0;
    padding: 0;
  }

  td + td {
    margin-top: 10px;
  }

  .productCell {
    min-width: 0;
  }

  .name {
    -webkit-line-clamp: 3;
  }

  .price {
    display: block;
    margin-top: 4px;
  }

  .openLink {
    display: block;
    text-align: center;
  }

  .siteFooter {
    margin-top: 56px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
