.page {
  max-width: none;
  margin: 0;
  padding: 0 0 24px;
  color: var(--body-font-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
}

.desktopDivider {
  display: block;
}

.divider {
  display: block;
}

.desktopNavLinks {
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: left;
  font-size: 13px;
  text-transform: capitalize;
}

.desktopNavLinks a,
.desktopFooterButtons a {
  all: unset;
}

.mobileNavLinks {
  display: none;
  text-align: center;
  text-transform: capitalize;
  margin-top: 5px;
}

.mobileNavLinks button {
  text-transform: capitalize;
  margin: 5px 2px;
}

.mobileNavLinks a:not([class~='button']) {
  all: unset;
}

.desktopFooterButtons {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  text-transform: capitalize;
}

.mobileFooterButtons {
  text-align: center;
  text-transform: capitalize;
}

.mobileFooterButtons button {
  text-transform: capitalize;
  margin: 5px 2px;
}

.mobileFooterButtons a:not([class~='button']) {
  all: unset;
}

.archiveSummary {
  margin: 0 0 12px;
  text-align: center;
  font-size: 10pt;
  font-weight: 700;
}

.error {
  margin-bottom: 8px;
}

.flashListing {
  width: 80%;
  max-width: 810px;
  margin: 10px auto 0;
  border-collapse: separate;
  border-spacing: 1px;
  table-layout: auto;
}

.flashListing td {
  padding: 2px;
  font-size: 12px;
  text-align: center;
}

.flashListing thead td {
  background: #98e;
  border: 1px solid #000;
  font-weight: 700;
}

.arcRow {
  background: transparent;
}

.numberCell,
.viewCell {
  white-space: nowrap;
}

.postblock {
  padding: 5px !important;
  text-align: center;
}

.teaserCol {
  text-align: left !important;
  word-break: break-all;
}

.archiveLink,
.viewLink {
  color: var(--post-link-text-color);
  text-decoration: var(--post-link-text-decoration);
}

.archiveLink:hover,
.viewLink:hover {
  color: var(--post-link-text-color-hover);
}

.footerState {
  margin: 8px 0;
  text-align: center;
}

.loadMoreButton {
  margin-right: 10px;
  background: transparent;
  border: none;
  padding: 0;
  text-transform: lowercase;
  color: var(--button-desktop-text-color);
  text-decoration: var(--button-text-decoration);
  cursor: pointer;
}

.loadMoreButton:hover {
  color: var(--button-desktop-text-color-hover);
}

.garland {
  border-image-slice: 50 0 50 0;
  border-image-width: 40px 0px 0px 0px;
  border-image-outset: 0px 0px 0px 0px;
  border-image-repeat: repeat repeat;
  border-image-source: url('/assets/garland.png');
  border-style: solid;
  padding-top: 50px;
}

@media (max-width: 640px) {
  .desktopDivider,
  .desktopNavLinks {
    display: none;
  }

  .mobileNavLinks {
    display: block;
  }

  .flashListing {
    width: calc(100% - 10px);
    max-width: calc(100% - 10px);
    margin: 10px auto 0 auto;
  }

  .viewCell {
    white-space: nowrap;
  }
}

:global(body.yotsuba) .rowOdd td {
  background: #ede2d4;
}

:global(body.yotsuba) .flashListing thead td {
  background: #ea8;
}

:global(body.yotsuba-b) .rowOdd td {
  background: #e0e5f6;
}

:global(body.futaba) .rowOdd td {
  background: #ede2d4;
}

:global(body.futaba) .flashListing thead td {
  background: #f0e0d6;
}

:global(body.burichan) .rowOdd td {
  background: #e0e5f6;
}

:global(body.burichan) .flashListing thead td {
  background: #c3c9e9;
}

:global(body.tomorrow) .rowOdd td {
  background: rgba(255, 255, 255, 0.1);
}

:global(body.tomorrow) .flashListing thead td {
  background: #b294bb;
}

:global(body.photon) .rowOdd td {
  background: #888;
}

:global(body.photon) .flashListing thead td {
  background: #ddd;
}
