
:root {
  --ts-black: #080808;
  --ts-ink: #111113;
  --ts-panel: #171719;
  --ts-panel-2: #201b1e;
  --ts-red: #b51f2f;
  --ts-red-bright: #ef3346;
  --ts-red-soft: #ff8d98;
  --ts-line: #412027;
  --ts-text: #f1e7e8;
  --ts-muted: #a99a9e;
  --ts-bone: #fff4f2;
}

*,
*:before,
*:after { box-sizing: border-box; }

html,
body {
  min-width: 0;
  margin: 0;
  background: var(--ts-black);
  color: var(--ts-text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

body {
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(8,8,8,.92), rgba(8,8,8,.96)),
    url(../../../images/forge-holographic-footer.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

a:link,
a:visited { color: var(--ts-red-soft); }
a:hover,
a:active { color: #fff; text-decoration: none; }
img { max-width: 100%; border: 0; }
table { border-spacing: 0; }
form { margin: 0; }
.clear { clear: both; }
.float_left { float: left; }
.float_right { float: right; }
.smalltext { color: var(--ts-muted); font-size: 12px; }

#container,
#header,
#content,
#footer { position: relative; z-index: 1; width: 100%; }
#header { z-index: 3; }
.wrapper,
#container .wrapper {
  width: calc(100% - 36px) !important;
  max-width: 1180px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

#logo {
  position: relative;
  min-height: 226px;
  overflow: hidden;
  border-bottom: 1px solid #6e1e2c;
  background:
    linear-gradient(100deg, rgba(5,5,5,.96), rgba(20,5,10,.67) 47%, rgba(5,5,5,.96)),
    url(../../../images/forge-holographic-header.png) center 32% / cover no-repeat;
  box-shadow: inset 0 -52px 70px rgba(0,0,0,.8), 0 8px 28px rgba(0,0,0,.5);
}
#logo:after {
  position: absolute;
  right: 9%;
  bottom: 18px;
  width: 180px;
  height: 46px;
  border-top: 1px solid rgba(239,51,70,.8);
  border-bottom: 1px solid rgba(239,51,70,.35);
  content: "";
  transform: skewX(-34deg);
  opacity: .7;
}
#logo .wrapper { position: relative; z-index: 1; min-height: 226px; }
.ts-brand {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  flex-direction: column;
  padding: 49px 0 25px 2px !important;
  color: var(--ts-bone) !important;
  text-decoration: none !important;
}
.ts-brand__eyebrow {
  color: var(--ts-red-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.ts-brand__name {
  margin-top: 3px;
  color: #fff;
  font-size: clamp(34px, 7vw, 66px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .95;
  text-shadow: 0 2px 20px #000, 0 0 22px rgba(239,51,70,.23);
}
.ts-brand__name span { color: var(--ts-red-bright); }
.ts-brand__tagline {
  max-width: 440px;
  margin-top: 12px;
  color: #d3bfc3;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ts-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ts-red-bright);
  border-radius: 50%;
  background: #18090c;
  color: var(--ts-red-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.06em;
}
.ts-nav {
  position: absolute;
  right: 0;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.ts-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(255,141,152,.35);
  border-radius: 3px;
  background: rgba(7,7,8,.72);
  color: #fff1f1 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.ts-nav a:hover { border-color: var(--ts-red-bright); background: rgba(181,31,47,.28); }

#panel {
  border-bottom: 1px solid var(--ts-line);
  background: #0e0e10;
  box-shadow: 0 5px 16px rgba(0,0,0,.32);
}
#panel .upper {
  min-height: 54px;
  border-top: 1px solid #2f171d;
  background: rgba(17,17,19,.96);
}
#panel .wrapper { padding: 12px 0; }
.ts-welcome-line {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ts-avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--ts-red);
  border-radius: 50%;
  background: #220c11;
}
.ts-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ts-welcome-copy { min-width: 0; }
.ts-welcome-copy .welcome { display: block; }
.ts-welcome-copy strong { color: #fff; }
.ts-user-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 9px 20px;
  margin-top: 8px;
}
.ts-user-nav ul,
.ts-guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ts-user-nav a,
.ts-guest-actions a { font-size: 12px; text-decoration: none; }
.ts-guest { display: block; color: var(--ts-muted); }
.ts-guest-actions { margin-top: 7px; }
.ts-guest-actions a {
  padding: 5px 9px;
  border: 1px solid #5f2630;
  border-radius: 3px;
  background: #1c0d11;
}
.ts-alerts > * {
  display: block;
  margin-top: 6px;
  padding: 7px 10px;
  border-left: 3px solid var(--ts-red-bright);
  background: #241217;
}

#content { min-height: 430px; }
#content > .wrapper { padding-top: 24px; padding-bottom: 35px; }
.ts-forge-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ts-line);
}
.ts-forge-nav a {
  padding: 5px 9px;
  color: var(--ts-muted) !important;
  font-size: 12px;
  text-decoration: none;
}
.ts-forge-nav a:hover { color: #fff !important; }

.tborder {
  width: 100%;
  border: 1px solid var(--ts-line);
  background: var(--ts-panel);
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
}
.thead {
  border-bottom: 1px solid #702432;
  background: linear-gradient(90deg, #49101b, #241014 70%, #171013);
  color: #fff;
}
.thead a,
.thead strong { color: #fff; }
.tcat {
  border-top: 1px solid #2c171c;
  border-bottom: 1px solid #2c171c;
  background: #251a1d;
  color: #f6e9e9;
}
.trow1 { background: #151517; }
.trow2 { background: #1b181a; }
.trow1:hover,
.trow2:hover { background: #26171b; }
.trow_shaded,
.trow_selected,
tr.trow_selected td { background: #35161d; }
.tfoot,
.bottommenu { background: #171215; color: var(--ts-muted); }
input.textbox,
textarea,
select {
  max-width: 100%;
  border: 1px solid #62313a;
  border-radius: 3px;
  background: #0d0d0f;
  color: var(--ts-text);
}
input.textbox:focus,
textarea:focus,
select:focus { outline: 2px solid rgba(239,51,70,.22); border-color: var(--ts-red-bright); }
input.button,
button,
.button {
  border: 1px solid #a51d2d;
  border-radius: 3px;
  background: linear-gradient(#df3042, #991525);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 2px 0 #4c0b15;
}
input.button:hover,
button:hover,
.button:hover { background: linear-gradient(#f04b5b, #b51f2f); }
.pagination a {
  border-color: #5b2b35;
  background: #191417;
  color: var(--ts-red-soft);
}
.pagination .pagination_current { border-color: var(--ts-red); background: var(--ts-red); color: #fff; }
blockquote,
.codeblock { border-color: #57303a; background: #111012; color: #e6d7da; }
fieldset { border-color: #4c2931; }
div.error,
.pm_alert { border-color: #a43a49; background: #30151b; color: #ffd9dd; }

.ts-category {
  margin-bottom: 18px !important;
  overflow: hidden;
  border-color: #4a1b25;
  background: rgba(15,15,16,.88);
}
.ts-category > thead > tr > td.thead { padding: 13px 15px !important; }
.ts-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ts-category-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ts-category-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-category-title:before { color: var(--ts-red-soft); content: "◆"; font-size: 12px; }
.ts-collapse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ts-red-soft);
  font-size: 11px;
  white-space: nowrap;
}
.ts-collapse img { width: 22px; height: 22px; cursor: pointer; }
.ts-forum-row .ts-forum-cell { min-width: 0; }
.ts-forum-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ts-forum-heading strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-forum-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #5a252f;
  border-radius: 50%;
  background: #1d0d11;
  color: var(--ts-red-soft);
  font-size: 12px;
}
.ts-forum-row:hover .ts-forum-icon { border-color: var(--ts-red-bright); color: #fff; }
.ts-forum-description { display: block; margin: 4px 0 0 39px; }
.ts-subforums {
  display: block;
  margin-top: 9px;
  padding: 7px 9px;
  border-left: 2px solid #722431;
  background: rgba(10,10,11,.52);
}
.ts-subforums__label {
  display: block;
  margin-bottom: 4px;
  color: var(--ts-red-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ts-subforums__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 15px; }
.ts-subforum { display: flex; gap: 6px; min-width: 0; }
.ts-subforum a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-subforum-status { color: var(--ts-red-soft); }
.forum_legend { display: flex; flex-wrap: wrap; gap: 7px 15px; color: var(--ts-muted); }

.ts-stats { margin-top: 18px; }
.ts-stats-title { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.ts-stats-title:before { color: var(--ts-red-soft); content: "TS"; font-size: 10px; letter-spacing: -.08em; }
.ts-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.ts-stat { padding: 11px; border-left: 2px solid var(--ts-red); background: #171416; color: var(--ts-muted); font-size: 12px; }

.threadstore-hero,
.threadstore-page-head,
.threadstore-product,
.threadstore-confirm,
.threadstore-message,
.threadstore-delivery {
  border: 1px solid #60232d;
  background:
    linear-gradient(105deg, rgba(16,8,10,.98), rgba(39,12,20,.87)),
    url(../../../images/forge-holographic-header.png) center / cover;
  box-shadow: 0 16px 38px rgba(0,0,0,.38);
}
.threadstore-hero {
  display: grid;
  min-height: 280px;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 25px;
  align-items: center;
  margin-bottom: 27px;
  padding: 32px;
}
.threadstore-hero h1,
.threadstore-page-head h1,
.threadstore-product h1,
.threadstore-confirm h1,
.threadstore-message h1,
.threadstore-delivery h1 { margin: 5px 0 12px; color: #fff7f6; font-size: clamp(30px,5vw,52px); letter-spacing: -.05em; line-height: 1; }
.threadstore-hero p:not(.threadstore-kicker),
.threadstore-page-head > p:not(.threadstore-kicker) { max-width: 650px; color: #d5c0c4; font-size: 16px; }
.threadstore-hero-art {
  min-height: 190px;
  border: 1px solid rgba(239,51,70,.52);
  background:
    linear-gradient(145deg, rgba(7,6,8,.3), rgba(57,10,23,.2)),
    url(../../../images/forge-holographic-header.png) 74% 45% / 360% auto;
  box-shadow: inset 0 0 32px rgba(0,0,0,.55);
}
.threadstore-kicker {
  margin: 0;
  color: var(--ts-red-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.threadstore-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.threadstore-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid #d32a3d;
  border-radius: 3px;
  background: linear-gradient(#d52c40, #911323);
  color: #fff !important;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none !important;
}
.threadstore-button:hover { background: linear-gradient(#ef4657, #ad1a2e); }
.threadstore-button--quiet { border-color: #61313a; background: #1d1518; color: #efadb4 !important; }
.threadstore-section { margin-top: 26px; }
.threadstore-section--compact { padding-top: 20px; border-top: 1px solid var(--ts-line); }
.threadstore-section__head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.threadstore-section__head h2 { margin: 2px 0 0; color: #fff5f4; font-size: 23px; letter-spacing: -.03em; }
.threadstore-text-link { font-size: 12px; text-decoration: none; }
.threadstore-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.threadstore-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px;
  border: 1px solid #432027;
  background: linear-gradient(145deg, #1c1517, #111012);
}
.threadstore-card__stripe { height: 3px; margin: -18px -18px 16px; background: linear-gradient(90deg, var(--ts-red-bright), transparent); }
.threadstore-card__head,
.threadstore-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.threadstore-card__mode { color: var(--ts-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.threadstore-price { color: var(--ts-red-soft); font-size: 17px; font-weight: 900; white-space: nowrap; }
.threadstore-card h2 { margin: 14px 0 7px; font-size: 19px; line-height: 1.15; }
.threadstore-card h2 a { color: #fff2f0; text-decoration: none; }
.threadstore-card p { min-height: 45px; margin: 0 0 18px; color: var(--ts-muted); font-size: 13px; }
.threadstore-card__foot { color: #bfabb0; font-size: 11px; }
.threadstore-card__foot a,
.threadstore-card__thread { font-size: 11px; text-decoration: none; }
.threadstore-card__thread { display: block; margin-top: 13px; padding-top: 10px; border-top: 1px solid #332027; color: #caa1a8 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.threadstore-empty { padding: 22px; border: 1px dashed #5a2630; color: var(--ts-muted); text-align: center; }
.threadstore-comments { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ts-line); }
.threadstore-comments__list { display: grid; gap: 9px; max-width: 820px; }
.threadstore-comment { border: 1px solid #432027; background: #151214; }
.threadstore-comment__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #332027; color: #fff; font-size: 12px; }
.threadstore-comment__meta time { color: var(--ts-muted); font-size: 11px; }
.threadstore-comment__body { padding: 13px 12px; color: #decdd0; overflow-wrap: anywhere; }
.threadstore-comment__body img { max-height: 420px; }
.threadstore-comments__empty { max-width: 820px; padding: 16px; border: 1px dashed #5a2630; color: var(--ts-muted); }
.threadstore-quickreply { max-width: 820px; margin-top: 14px; padding: 15px; border: 1px solid #5b2934; background: #191113; }
.threadstore-quickreply label { display: block; margin-bottom: 6px; color: #fff; font-size: 13px; font-weight: 800; }
.threadstore-quickreply textarea { display: block; width: 100%; min-height: 110px; padding: 10px; resize: vertical; }
.threadstore-quickreply__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--ts-muted); font-size: 11px; }
.threadstore-quickreply .threadstore-button { width: auto; }
.ts-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.threadstore-page-head { padding: 30px; }
.threadstore-forum-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.threadstore-forum-choice { display: flex; flex-direction: column; gap: 4px; padding: 15px; border: 1px solid #49212a; background: #171215; text-decoration: none !important; }
.threadstore-forum-choice strong { color: #fff; font-size: 15px; }
.threadstore-forum-choice span { min-height: 22px; color: var(--ts-muted); font-size: 12px; }
.threadstore-forum-choice b { color: var(--ts-red-soft); font-size: 11px; }
.threadstore-table-wrap { overflow-x: auto; }
.threadstore-table { width: 100%; border-collapse: collapse; }
.threadstore-table th,
.threadstore-table td { padding: 10px; border-bottom: 1px solid #382027; text-align: left; }
.threadstore-table th { color: var(--ts-red-soft); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.threadstore-table td { color: #dbc8cb; }
.threadstore-product { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 24px; padding: 32px; }
.threadstore-product__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--ts-muted); }
.threadstore-product__description { max-width: 750px; color: #d7c4c8; font-size: 16px; white-space: normal; }
.threadstore-product__side { align-self: start; }
.threadstore-side-card { padding: 20px; border-left: 3px solid var(--ts-red); background: rgba(9,8,9,.6); }
.threadstore-side-card__mark { display: block; margin-bottom: 15px; color: var(--ts-red-soft); font-size: 22px; font-weight: 900; }
.threadstore-side-card strong { display: block; color: #fff; }
.threadstore-side-card p { color: var(--ts-muted); font-size: 12px; }
.threadstore-side-card a { font-size: 12px; }
.threadstore-thread-link { display: flex; max-width: 750px; flex-direction: column; gap: 2px; margin: 18px 0; padding: 12px 14px; border-left: 3px solid #6a2632; background: #171113; text-decoration: none !important; }
.threadstore-thread-link span,
.threadstore-thread-link small { color: var(--ts-muted); font-size: 11px; }
.threadstore-thread-link strong { color: #fff; }
.threadstore-callout,
.threadstore-delivery-box { margin-top: 19px; padding: 16px; border: 1px solid #63303a; background: #1d1115; color: #ddc8cb; }
.threadstore-callout--paid { border-color: #a93243; background: #291117; color: #ffdbe0; }
.threadstore-buy { display: flex; max-width: 690px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 15px; border: 1px solid #562530; background: #191113; }
.threadstore-buy p { margin: 2px 0 0; color: var(--ts-muted); font-size: 12px; }
.threadstore-delivery-box { max-width: 760px; }
.threadstore-delivery-text { margin-top: 10px; padding: 14px; border: 1px solid #402129; background: #0d0c0e; color: #fff1f1; white-space: pre-wrap; }
.threadstore-confirm,
.threadstore-message,
.threadstore-delivery { padding: 36px; }
.threadstore-confirm__mark { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ts-red-bright); border-radius: 50%; background: #260b12; color: #ff9ba4; font-size: 22px; }
.threadstore-confirm p:not(.threadstore-kicker),
.threadstore-message p:not(.threadstore-kicker),
.threadstore-delivery p:not(.threadstore-kicker) { max-width: 680px; color: #d4c0c4; }

.threadstore-sell-cell { padding: 0 !important; background: #130d0f !important; }
.threadstore-sellbox { margin: 13px; padding: 14px; border: 1px solid #6b2935; background: #1b1114; }
.threadstore-sellbox legend { padding: 0 7px; color: #fff; font-size: 15px; font-weight: 900; }
.threadstore-sellbox .threadstore-mark { width: 25px; height: 25px; margin-right: 4px; vertical-align: middle; font-size: 8px; }
.threadstore-sellbox label { display: block; margin-top: 10px; color: #d9c5c8; font-size: 12px; font-weight: 700; }
.threadstore-sellbox input,
.threadstore-sellbox textarea,
.threadstore-sellbox select { display: block; width: 100%; margin-top: 4px; padding: 8px; }
.threadstore-form-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 9px; }
.threadstore-form-status { margin: 10px 0 0; color: var(--ts-red-soft); font-size: 11px; }
.threadstore-profile-row td { padding: 10px !important; border-top: 1px solid #4a222b; background: #191114; }

.post { display: grid; grid-template-columns: 180px minmax(0,1fr); border: 1px solid var(--ts-line); background: #171517; }
.post + .post { margin-top: 12px; }
.post_author { padding: 14px; background: #130f11; border-right: 1px solid #3b2027; }
.post_content { min-width: 0; padding: 15px; background: #1a1719; }
.post_head { padding-bottom: 9px; border-bottom: 1px solid #372127; color: var(--ts-muted); font-size: 12px; }
.post_body { padding: 17px 0; color: #eee2e4; overflow-wrap: anywhere; }
.post_controls { grid-column: 1 / -1; padding: 7px 10px; border-top: 1px solid #382027; background: #120f10; }
.post_meta { color: var(--ts-muted); font-size: 11px; }

#footer {
  margin-top: 26px;
  border-top: 1px solid #5d1e2a;
  background:
    linear-gradient(rgba(10,7,9,.9), rgba(10,7,9,.96)),
    url(../../../images/forge-holographic-footer.png) center / cover;
  color: var(--ts-muted);
}
#footer .upper { border-bottom: 1px solid #321a22; background: rgba(12,8,10,.74); }
#footer .wrapper { padding-top: 26px; padding-bottom: 20px; }
.ts-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(2,1fr); gap: 22px; }
.ts-footer-brand { color: #fff; font-size: 23px; font-weight: 900; letter-spacing: -.05em; }
.ts-footer-brand span { color: var(--ts-red-bright); }
.ts-footer-copy { max-width: 290px; color: #ad969c; font-size: 12px; }
.ts-footer-heading { margin: 0 0 7px; color: var(--ts-red-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.ts-footer-list { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.9; }
.ts-footer-list a { color: #d0b9be; }
#footer .bottom_links { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid #392027; list-style: none; }
#footer .bottom_links a { color: #d1b5bb; font-size: 11px; }
#footer .lower { background: #080708; }
#footer .lower .wrapper { padding-top: 13px; padding-bottom: 13px; }
#copyright { color: #8b747b; font-size: 11px; }

@media (max-width: 800px) {
  .wrapper, #container .wrapper { width: calc(100% - 22px) !important; }
  #logo, #logo .wrapper { min-height: 250px; }
  .ts-brand { padding-top: 35px !important; }
  .ts-nav { position: relative; right: auto; bottom: auto; justify-content: flex-start; padding-bottom: 17px; }
  .ts-forge-nav { margin-bottom: 14px; }
  .ts-forum-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .ts-forum-row > td:first-child { display: none; }
  .ts-forum-row > td:nth-child(2) { grid-column: 1 / -1; }
  .ts-forum-row > td:nth-child(3),
  .ts-forum-row > td:nth-child(4),
  .ts-forum-row > td:nth-child(5) { padding: 8px 6px !important; text-align: left !important; }
  .ts-forum-row > td:nth-child(3):before { display: block; color: var(--ts-muted); content: "Threads"; font-size: 9px; text-transform: uppercase; }
  .ts-forum-row > td:nth-child(4):before { display: block; color: var(--ts-muted); content: "Posts"; font-size: 9px; text-transform: uppercase; }
  .ts-forum-row > td:nth-child(5):before { display: block; color: var(--ts-muted); content: "Last"; font-size: 9px; text-transform: uppercase; }
  .threadstore-hero,
  .threadstore-product { grid-template-columns: 1fr; padding: 24px; }
  .threadstore-hero-art { min-height: 130px; }
  .threadstore-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .threadstore-form-grid,
  .threadstore-forum-list { grid-template-columns: 1fr 1fr; }
  .post { grid-template-columns: 130px minmax(0,1fr); }
  .ts-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  html, body { font-size: 13px; }
  #logo, #logo .wrapper { min-height: 265px; }
  .ts-brand__name { font-size: 40px; }
  .ts-brand__tagline { max-width: 260px; font-size: 9px; }
  .ts-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ts-nav a { justify-content: center; }
  .ts-user-nav { align-items: flex-start; flex-direction: column; }
  #content > .wrapper { padding-top: 14px; }
  .ts-category-head { align-items: flex-start; flex-direction: column; }
  .ts-collapse { align-self: flex-end; }
  .ts-subforums__list { grid-template-columns: 1fr; }
  .ts-stat-grid { grid-template-columns: 1fr 1fr; }
  .threadstore-hero,
  .threadstore-page-head,
  .threadstore-product,
  .threadstore-confirm,
  .threadstore-message,
  .threadstore-delivery { padding: 20px; }
  .threadstore-hero h1,
  .threadstore-page-head h1,
  .threadstore-product h1,
  .threadstore-confirm h1,
  .threadstore-message h1,
  .threadstore-delivery h1 { font-size: 34px; }
  .threadstore-grid,
  .threadstore-form-grid,
  .threadstore-forum-list { grid-template-columns: 1fr; }
  .threadstore-buy { align-items: stretch; flex-direction: column; }
   .threadstore-quickreply__foot { align-items: stretch; flex-direction: column; }
   .threadstore-quickreply .threadstore-button { width: 100%; }
  .threadstore-button { width: 100%; }
  .threadstore-actions { display: grid; grid-template-columns: 1fr; }
  .post { display: block; }
  .post_author { border-right: 0; border-bottom: 1px solid #3b2027; }
  .post_controls { overflow: hidden; }
  .ts-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; }
}
