.archive-preview {
  font-size: 18px;
  line-height: 1.5;
}

.archive-preview .my_bigtable {
  max-width: 1200px;
}

.archive-preview #submenu {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 10px;
}

.archive-preview #submenu > a {
  display: inline-block;
  font-size: 21px;
  line-height: 1.5;
}

.archive-preview .globalmesswarnwrap .globalmesswarncontent {
  font-size: 18px;
  line-height: 1.5;
}

.archive-preview #navstrip {
  line-height: 1.5;
}

.archive-preview .copyright,
.archive-preview .postdetails,
:is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable td {
  font-size: 16px;
  line-height: 1.5;
}

:is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable th,
:is(.archive-preview-home, .archive-preview-forum) .forumdesc,
:is(.archive-preview-home, .archive-preview-forum) .forumdesc a,
.archive-preview :is(.pagelink, .pagelinklast, .pagecurrent) {
  font-size: 16px;
  line-height: 1.5;
}

.archive-preview :is(.pagelink, .pagelinklast, .pagecurrent) {
  display: inline-block;
  padding: 1px 3px;
}

.archive-preview :is(.pagelink, .pagelinklast) > a {
  font-size: inherit;
  line-height: inherit;
}

:is(.archive-preview-home, .archive-preview-forum) .maintitle a,
:is(.archive-preview-home, .archive-preview-forum) .maintitlecollapse a,
:is(.archive-preview-home, .archive-preview-forum) .my_forumname,
:is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] td[nowrap] span a:first-of-type {
  font-size: 18px;
  line-height: 1.5;
}

.archive-preview .maintitle:has(.topic-heading, .forum-heading) {
  background: #3d628e;
}

.archive-preview-forum .forum-heading {
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.archive-preview-forum .forum-topic-list :is(th, .desc) {
  font-size: 16px;
  line-height: 1.5;
}

.archive-preview-forum .forum-topic-list :is(td, .lastaction) {
  font-size: 14px;
  line-height: 1.5;
}

.archive-preview-topic .topic-heading {
  font-family: "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.archive-preview-topic .topic-heading small {
  color: #ddd;
  display: block;
  font-size: 19px;
}

.archive-preview-topic .normalname,
.archive-preview-topic .normalname a {
  font-size: 16px;
  line-height: 1.5;
}

.archive-preview-topic .postcolor {
  --archive-post-font-size: 20px;
  font-size: var(--archive-post-font-size);
  line-height: 1.5;
  overflow-wrap: anywhere;
  padding: 16px 24px 8px;
}

.archive-preview-topic .postcolor .archive-post-size-4 {
  font-size: var(--archive-post-font-size) !important;
}

.archive-preview-topic .postcolor .archive-post-subheading {
  font-size: 26px !important;
}

.archive-preview-topic .quotetop {
  font-size: 16px;
}

.archive-preview-topic .quotemain,
.archive-preview-topic .quotemain :where(p, div) {
  font-size: 18px;
  line-height: 1.5;
}

.archive-preview-topic .postcolor img {
  max-width: 100%;
  height: auto !important;
}

.archive-preview-topic .postcolor pre {
  overflow-x: auto;
  max-width: 100%;
}

.archive-preview-topic a[href="javascript:scroll(0,0);"] {
  font-size: 13px;
}

.archive-preview-topic .signature {
  font-size: 16px;
}

.archive-preview-topic .my_thanks_wrapper,
.archive-preview-topic .my_thanks_wrapper .my_thanks {
  font-size: 14px;
}

.archive-preview-topic .postcolor .edit {
  font-size: 13px;
}

.archive-preview-topic .postcolor .edit {
  font-size: 13px;
}

.archive-preview-topic .postcolor span[style*="#0066aa" i] > kbd:not(pre kbd) {
  font-size: 18px;
  line-height: 1.5;
}

.archive-preview-topic .postcolor pre kbd {
  font-size: 18px;
}

.archive-preview form[data-archive-jump] :is(select, option, input[type="submit"]) {
  font-size: 16px;
}

@media (max-width: 900px) {
  .archive-preview > br {
    display: none;
  }

  .archive-preview .my_bigtable {
    width: 100%;
    box-sizing: border-box;
    table-layout: fixed;
  }

  .archive-preview #ipbwrapper {
    width: auto;
    margin: 12px 8px;
  }

  .archive-preview #submenu {
    row-gap: 1px !important;
    padding-block: 5px !important;
  }

  .archive-preview #submenu > a {
    line-height: 1.3;
    padding: 2px 5px;
  }

  .archive-preview #hdrtable1 .bigname_rm {
    font-size: 20px !important;
  }

  .archive-preview #hdrtable1 .bigname_link {
    overflow-wrap: anywhere;
  }

  .archive-preview .bigname_link img {
    max-width: 100%;
    height: auto;
  }

  .archive-preview #hdrtable1 .bigname_rm2 {
    font-size: 17px !important;
  }

  .archive-preview #navstrip,
  .archive-preview .copyright {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable,
  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable > tbody,
  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable > tbody > tr:has(a.my_forumname),
  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable > tbody > tr:has(a.my_forumname) > td {
    display: block;
    box-sizing: border-box;
    width: 100%;
  }

  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable > tbody > tr:not(:has(a.my_forumname)),
  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable > tbody > tr:has(a.my_forumname) > td:is(:first-child, :nth-child(3), :nth-child(4)) {
    display: none;
  }

  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable td {
    padding: 8px 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  :is(.archive-preview-home, .archive-preview-forum) [id^="fo_"] .ipbtable tr:has(a.my_forumname) + tr:has(a.my_forumname) {
    margin-top: 6px;
  }

  .archive-preview-forum .forum-topic-list,
  .archive-preview-forum .forum-topic-list > tbody,
  .archive-preview-forum .forum-topic-list > tbody > tr:has(a[id^="tid-link-"]),
  .archive-preview-forum .forum-topic-list > tbody > tr:has(a[id^="tid-link-"]) > td {
    display: block;
    box-sizing: border-box;
    width: 100%;
  }

  .archive-preview-forum .forum-topic-list > tbody > tr:not(:has(a[id^="tid-link-"])),
  .archive-preview-forum .forum-topic-list > tbody > tr:has(a[id^="tid-link-"]) > td:is(:nth-child(-n+2), :nth-child(4), :nth-child(6)) {
    display: none;
  }

  .archive-preview-forum .forum-topic-list td {
    padding: 6px 10px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .archive-preview-forum .forum-topic-list > tbody > tr + tr:has(a[id^="tid-link-"]) {
    margin-top: 6px;
  }

  .archive-preview-forum .maintitle td:has(#forummenu-options) {
    width: 8rem;
    white-space: normal;
  }

  .archive-preview-forum #forummenu-options {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .archive-preview-forum .ipbtable:has(form[data-archive-jump]) :is(tbody, tr, td) {
    display: block;
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .archive-preview-forum .ipbtable:has(form[data-archive-jump]) {
    display: block;
    max-width: 100%;
  }

  .archive-preview-forum form[data-archive-jump] {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 4px;
  }

  .archive-preview-forum form[data-archive-jump] select {
    min-width: 0;
  }

  .archive-preview-topic .ipbtable:has(> tbody > tr > td[id^="post-main-"]) {
    display: block;
    width: 100%;
  }

  .archive-preview-topic .ipbtable:has(> tbody > tr > td[id^="post-main-"]) > tbody,
  .archive-preview-topic .ipbtable:has(> tbody > tr > td[id^="post-main-"]) > tbody > tr,
  .archive-preview-topic .ipbtable:has(> tbody > tr > td[id^="post-main-"]) > tbody > tr > td {
    display: block;
    width: auto;
  }

  .archive-preview-topic .ipbtable:has(> tbody > tr > td[id^="post-main-"]) > tbody > tr:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .archive-preview-topic .ipbtable:has(> tbody > tr > td[id^="post-main-"]) > tbody > tr:first-child > td:first-child {
    order: 1;
  }

  .archive-preview-topic td[id^="post-main-"] + td,
  .archive-preview-topic img[src$="/spacer.gif"] {
    display: none !important;
  }

  .archive-preview-topic .postcolor {
    padding: 12px 8px 8px;
  }

  .archive-preview-topic .postcolor pre {
    white-space: pre-wrap;
  }

  .archive-preview-topic table[id^="ipb-attach-table-"] {
    display: inline-block !important;
    max-width: 100%;
    vertical-align: top;
  }

  .archive-preview-topic table[id^="ipb-attach-table-"] :is(tbody, tr, td) {
    display: block;
    max-width: 100%;
  }

  .archive-preview-topic .postcolor :is(iframe, object, embed) {
    max-width: 100%;
  }

  .archive-preview-topic :is(.pagelink, .pagelinklast, .pagecurrent) {
    padding: 3px 5px;
  }

  .archive-preview form[data-archive-jump] select {
    max-width: 100%;
  }

  .archive-preview .ipbtable[cellspacing="4"]:has(#pp-main-photo),
  .archive-preview .ipbtable[cellspacing="4"]:has(#pp-main-photo) > tbody,
  .archive-preview .ipbtable[cellspacing="4"]:has(#pp-main-photo) > tbody > tr,
  .archive-preview .ipbtable[cellspacing="4"]:has(#pp-main-photo) > tbody > tr > td {
    display: block;
    width: auto !important;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .archive-preview:not(.archive-preview-home, .archive-preview-forum, .archive-preview-topic) #ipbwrapper {
    overflow-x: auto;
  }
}

.archive-preview #submenu {
  background: #e1e9f5;
  gap: 2px 12px;
}

.archive-preview #submenu > a {
  font-size: 17px;
  text-decoration: none;
}

.archive-preview #hdrtable1 .bigname_rm {
  font-size: 22px !important;
}

.archive-preview #hdrtable1 .bigname_rm2 {
  font-size: 16px !important;
}

.archive-preview #hdrtable1 {
  background: #5176b6 linear-gradient(to bottom, #5176b6, #77b0f2) no-repeat !important;
}

@media (max-width: 760px) {
  .archive-preview-topic .postcolor {
    --archive-post-font-size: 18px;
  }

  .archive-preview-topic .quotetop,
  .archive-preview-topic .signature {
    font-size: 15px;
  }

  .archive-preview-topic .quotemain,
  .archive-preview-topic .quotemain :where(p, div),
  .archive-preview-topic .postcolor span[style*="#0066aa" i] > kbd:not(pre kbd),
  .archive-preview-topic .postcolor pre kbd {
    font-size: 17px;
  }

  .archive-preview-topic .postcolor .archive-post-subheading {
    font-size: 23px !important;
  }

  .archive-preview-topic .postcolor .archive-mobile-verse {
    font-size: 18px !important;
  }

  .archive-preview-topic .signature {
    overflow-wrap: anywhere;
  }

  .archive-best {
    overflow-wrap: anywhere;
  }

  .archive-best table[width="80%"],
  .archive-best table[width="100%"] {
    table-layout: fixed;
    width: 100%;
  }

  .archive-best td[rowspan="3"]:has(> img.img0) {
    width: 72px;
    padding-left: 4px !important;
  }

  .archive-best img.img0 {
    max-width: 100%;
    height: auto;
  }

  .archive-best td > table > tbody > tr:has(> td .link_talant) > td {
    display: block;
    text-align: left;
  }
}

@media (min-width: 901px) {
  .archive-preview-topic .ipbtable:has(> tbody > tr:first-child .normalname > a:is([href="showuser-2-index.htm"], [href$="/showuser-2-index.htm"]))
    > tbody > tr > td[id^="post-main-"] + td > .postdetails:not(:has(img))::before {
    content: url("../uploads/av-2.jpg") / "";
    display: block;
    width: 100px;
    height: 120px;
    margin-inline: auto;
  }

  .archive-preview #submenu > a {
    padding-block: 2px;
  }
}
