@font-face {
  font-family: "G1R Boucherie";
  src: url(../../../images/g1rmp_colony/boucherie-block.otf) format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "G1R Noto Serif";
  src: url(../../../images/g1rmp_colony/noto-serif.ttf) format("truetype");
  font-display: swap;
}

:root,
.theme-dark,
.theme-light {
  --g1r-ink: #090b0a;
  --g1r-coal: #101411;
  --g1r-iron: #171d19;
  --g1r-stone: #242924;
  --g1r-mist: #aeb3a8;
  --g1r-parchment: #ddd2b6;
  --g1r-bone: #f1ead7;
  --g1r-ore: #b88b45;
  --g1r-ore-bright: #e2bd73;
  --g1r-barrier: #68a2a2;
  --g1r-line: rgba(218, 194, 145, .22);
  --g1r-line-soft: rgba(218, 194, 145, .1);
  --g1r-danger: #a95c4d;
  --g1r-success: #789875;
  --bg-body: var(--g1r-ink);
  --bg-content: var(--g1r-coal);
  --bg-row: var(--g1r-iron);
  --font-color: var(--g1r-parchment);
  --primary: var(--g1r-ore);
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(104, 162, 162, .08), transparent 30rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 5px),
    var(--g1r-ink) !important;
  color: var(--g1r-parchment) !important;
  font-family: "G1R Noto Serif", Georgia, serif !important;
  font-size: 15px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .24;
  background:
    repeating-linear-gradient(17deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(103deg, rgba(0,0,0,.05) 0 1px, transparent 1px 6px);
  mix-blend-mode: soft-light;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

a {
  color: var(--g1r-ore-bright);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

a:hover {
  color: var(--g1r-bone);
}

button,
input,
select,
textarea {
  font: inherit;
}

#container,
.content-bg,
.wrapp-1500 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.wrapp-1500 > :not(.g1r-forum-hero),
.box-index,
.forumdisplay-box,
.information-thread,
.pnss,
#posts,
.Saassca,
.float_right + .clear,
.usercp-flex,
.memberlist-box,
.profile-box,
.portal-box {
  width: min(1180px, calc(100% - 2.5rem));
  margin-right: auto;
  margin-left: auto;
}

.g1r-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  border-bottom: 1px solid rgba(197, 160, 93, .3);
  background: rgba(7, 9, 8, .96);
  box-shadow: 0 12px 30px rgba(0,0,0,.26);
  backdrop-filter: blur(14px);
}

.g1r-header-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.g1r-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .65rem;
}

.g1r-brand img {
  display: block;
  width: 168px;
  height: 46px;
  object-fit: contain;
}

.g1r-alpha {
  padding: .28rem .48rem .24rem;
  border: 1px solid rgba(226, 189, 115, .45);
  background: linear-gradient(180deg, rgba(184,139,69,.11), rgba(0,0,0,.18));
  color: var(--g1r-ore-bright);
  font-family: "G1R Noto Serif", Georgia, serif;
  font-size: .52rem;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.g1r-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .05rem;
  margin-left: auto;
}

.g1r-nav a {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .62rem .58rem;
  color: #c0c0b5;
  font-size: .67rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.g1r-nav a i {
  color: #9d743d;
  font-size: .76rem;
}

.g1r-nav a:hover,
.g1r-nav a.current {
  background: rgba(184,139,69,.08);
  color: var(--g1r-ore-bright);
}

.g1r-member-area {
  flex: 0 0 auto;
}

.g1r-auth,
.g1r-user-links {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.g1r-auth a,
.g1r-user-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 38px;
  padding: .55rem .72rem;
  border: 1px solid var(--g1r-line);
  color: #c8c3b4;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.g1r-auth .primary,
.g1r-user-links .g1r-profile-link {
  border-color: rgba(226, 189, 115, .5);
  color: var(--g1r-ore-bright);
}

.g1r-user-links .avatar-user {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(226,189,115,.35);
  border-radius: 0;
  object-fit: cover;
}

.g1r-pm-count {
  min-width: 18px;
  padding: .08rem .28rem;
  background: #6c3d34;
  color: var(--g1r-bone);
  font-size: .52rem;
  text-align: center;
}

.g1r-mail-symbol {
  color: var(--g1r-ore-bright);
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1;
}

.g1r-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--g1r-line);
  background: transparent;
  color: var(--g1r-ore-bright);
  cursor: pointer;
}

.g1r-forum-hero {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--g1r-line);
  background:
    linear-gradient(90deg, rgba(8,10,9,.96), rgba(8,10,9,.66), rgba(8,10,9,.92)),
    url(../../../images/g1rmp_colony/colony-bg.jpg) center 37% / cover no-repeat;
}

.g1r-forum-hero::after {
  content: "FORUM";
  position: absolute;
  right: 5vw;
  bottom: -3rem;
  color: rgba(226,189,115,.055);
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: clamp(7rem, 18vw, 15rem);
  line-height: 1;
}

.g1r-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  padding: 3rem 0;
}

.g1r-eyebrow {
  display: block;
  margin-bottom: .6rem;
  color: var(--g1r-ore-bright);
  font-size: .66rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.g1r-forum-hero h1 {
  margin: 0;
  color: var(--g1r-bone);
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .015em;
}

.g1r-forum-hero p {
  max-width: 680px;
  margin: .8rem 0 0;
  color: #b8baaf;
  font-size: .9rem;
}

.g1r-forum-main {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.g1r-forum-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.35rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--g1r-line);
  background: rgba(15,19,16,.86);
}

.g1r-forum-welcome p {
  margin: 0;
  color: #92978f;
  font-size: .76rem;
}

.g1r-forum-welcome strong {
  color: var(--g1r-bone);
}

.g1r-forum-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .65rem;
}

.g1r-button,
.button,
input.button,
button.button,
a.button,
.postbit_buttons a,
.pagination a,
.pagination .pagination_current {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 38px;
  padding: .56rem .85rem !important;
  border: 1px solid rgba(226,189,115,.42) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(184,139,69,.15), rgba(184,139,69,.05)) !important;
  color: var(--g1r-ore-bright) !important;
  font-family: "G1R Noto Serif", Georgia, serif !important;
  font-size: .62rem !important;
  font-weight: 500 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: inset 0 0 12px rgba(0,0,0,.24);
  cursor: pointer;
}

.g1r-button:hover,
.button:hover,
.postbit_buttons a:hover,
.pagination a:hover {
  border-color: var(--g1r-ore-bright) !important;
  color: var(--g1r-bone) !important;
}

.g1r-button.secondary {
  border-color: var(--g1r-line) !important;
  background: rgba(255,255,255,.018) !important;
  color: #aaa99f !important;
}

.box-index {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.forums-box,
.sidebar-box {
  width: auto !important;
  margin: 0 !important;
}

.sidebar-box,
.swiper.swpindex,
.swpindex-pagination,
.swpindex-button-prev,
.swpindex-button-next,
.topnav,
#stickyy-nav-mob,
.themeslidercontainer {
  display: none !important;
}

.thead-forums {
  position: relative;
  margin-top: 2rem;
  padding: 1.15rem 1.4rem 1rem 1.75rem !important;
  border: 1px solid var(--g1r-line);
  border-bottom: 0;
  background: linear-gradient(100deg, #171d18, #111511) !important;
}

.thead-forums::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--g1r-ore);
}

.thead-forums .forum-name,
.thead-forums .forum-name span {
  color: var(--g1r-bone) !important;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.65rem !important;
  font-weight: 400 !important;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.description-forums {
  margin: .15rem 0 0 !important;
  color: #767c75 !important;
  font-size: .68rem !important;
}

.forumm-box {
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  border: 1px solid var(--g1r-line);
  background: rgba(12,15,13,.9) !important;
}

.box-forummmm {
  display: grid !important;
  grid-template-columns: 52px minmax(260px, 1.3fr) 145px minmax(230px, .8fr);
  align-items: center;
  gap: 1.2rem;
  min-height: 112px;
  margin: 0 !important;
  padding: 1.15rem 1.35rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--g1r-line-soft) !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg, rgba(23,29,25,.9), rgba(12,15,13,.96)) !important;
}

.box-forummmm:last-child {
  border-bottom: 0 !important;
}

.box-forummmm:hover {
  background: linear-gradient(100deg, rgba(29,36,30,.94), rgba(14,18,15,.98)) !important;
}

.icon-forum {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(226,189,115,.32);
  background: rgba(184,139,69,.06);
  transform: rotate(45deg);
}

.forum_status {
  width: 12px !important;
  height: 12px !important;
  border: 1px solid var(--g1r-ore-bright);
  border-radius: 50%;
  background: var(--g1r-ore) !important;
  box-shadow: 0 0 12px rgba(226,189,115,.45);
}

.forum_off,
.forum_offlock,
.forum_offlink {
  border-color: #666b65;
  background: #565b55 !important;
  box-shadow: none;
}

.nameanddescription,
.pointerr-forums,
.last-post-forum {
  width: auto !important;
  margin: 0 !important;
}

.namee-forums,
.namee-forums a {
  color: var(--g1r-bone) !important;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.22rem !important;
  font-weight: 400 !important;
  letter-spacing: .025em;
}

.descriptionnn-forum,
.subforum-and-moderations,
.last-post-forum,
.last-post-forum a {
  color: #858b83 !important;
  font-size: .68rem !important;
}

.pointerr-forums {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.ilosc-temat,
.ilosc-post {
  min-width: 0 !important;
  padding: .45rem !important;
  border-left: 1px solid var(--g1r-line-soft);
  color: #aaa99f;
  font-size: .72rem;
  text-align: center;
}

.pointerr-forums img,
.lt_gradient,
.lt_border {
  display: none !important;
}

.last-post-forum {
  padding-left: 1rem;
  border-left: 1px solid var(--g1r-line-soft);
}

.tborder,
table.tborder {
  width: 100%;
  border: 1px solid var(--g1r-line) !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0 !important;
  background: rgba(12,15,13,.94) !important;
  box-shadow: none !important;
}

.thead,
.tcat {
  padding: .85rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--g1r-line) !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg, #1a211b, #111511) !important;
  color: var(--g1r-ore-bright) !important;
  font-family: "G1R Noto Serif", Georgia, serif !important;
  font-size: .65rem !important;
  font-weight: 600 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.trow1,
.trow2,
.trow_sep {
  padding: .8rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--g1r-line-soft) !important;
  background: rgba(20,25,21,.78) !important;
  color: var(--g1r-parchment) !important;
}

tr:hover > .trow1,
tr:hover > .trow2 {
  background: rgba(27,33,28,.9) !important;
}

.smalltext {
  color: #848a82 !important;
  font-size: .68rem !important;
}

.navigation,
.breadcrumb,
.navbit {
  color: #7f857d !important;
  font-size: .68rem !important;
}

.navigation a,
.breadcrumb a,
.navbit a {
  color: #aaa99f !important;
}

input.textbox,
textarea,
select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"] {
  border: 1px solid var(--g1r-line) !important;
  border-radius: 0 !important;
  outline: 0;
  background: #0f1310 !important;
  color: var(--g1r-parchment) !important;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.2) !important;
}

input.textbox:focus,
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus {
  border-color: rgba(226,189,115,.62) !important;
  box-shadow: 0 0 0 2px rgba(184,139,69,.1) !important;
}

.modal {
  border: 1px solid rgba(226,189,115,.32) !important;
  border-radius: 0 !important;
  background: #0e120f !important;
  color: var(--g1r-parchment) !important;
  box-shadow: 0 25px 80px rgba(0,0,0,.65) !important;
}

.blocker {
  background: rgba(2,4,3,.82) !important;
}

.popup_menu,
.dropdown-content,
.ensettings {
  border: 1px solid var(--g1r-line) !important;
  border-radius: 0 !important;
  background: #101411 !important;
  color: var(--g1r-parchment) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.5) !important;
}

.popup_item,
.dropdown-content a {
  border-bottom: 1px solid var(--g1r-line-soft) !important;
  background: transparent !important;
  color: #aaa99f !important;
}

.popup_item:hover,
.dropdown-content a:hover {
  background: rgba(184,139,69,.08) !important;
  color: var(--g1r-bone) !important;
}

.post-post {
  display: grid !important;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch !important;
  min-height: 230px;
  margin: 1.15rem auto !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--g1r-line) !important;
  border-radius: 0 !important;
  background: linear-gradient(105deg, #171d19, #0f1310) !important;
  box-shadow: inset 3px 0 0 rgba(184,139,69,.45), 0 15px 40px rgba(0,0,0,.18);
}

.post-left-author {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.4rem 1.15rem !important;
  border-right: 1px solid var(--g1r-line-soft);
  background: rgba(7,9,8,.3);
}

.post-right-text {
  min-width: 0;
  padding: 1.35rem 1.6rem !important;
}

.avatar-post-nickname img,
img#aaaavatar-post,
.author_avatar img {
  width: 92px !important;
  height: 92px !important;
  border: 1px solid rgba(226,189,115,.35) !important;
  border-radius: 0 !important;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.nickaneasas,
.nickaneasas a {
  color: var(--g1r-ore-bright) !important;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
}

.post-informacje {
  margin-top: 1.25rem !important;
  padding: .85rem 0 0 !important;
  border-top: 1px solid var(--g1r-line-soft);
  color: #7f857d;
  font-size: .65rem;
}

.post_head {
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--g1r-line-soft);
  color: #777d76;
  font-size: .68rem;
}

.post_body {
  min-height: 110px;
  padding: 1.25rem 0 !important;
  color: #d4cbb4 !important;
  font-size: .86rem;
  line-height: 1.8;
}

.post_body blockquote {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border: 0;
  border-left: 3px solid var(--g1r-ore);
  background: rgba(0,0,0,.22);
  color: #aead9f;
}

.information-thread {
  margin-top: 2.5rem !important;
  padding: 1.5rem !important;
  border: 1px solid var(--g1r-line) !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg, #171d19, #0f1310) !important;
}

.thread-name-left {
  color: var(--g1r-bone) !important;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
}

.pnss {
  margin-top: 1rem !important;
}

#dvz_shoutbox,
.dvz_shoutbox {
  margin: 0 0 1.5rem !important;
  border: 1px solid var(--g1r-line) !important;
  border-radius: 0 !important;
  background: #101411 !important;
}

.g1r-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--g1r-line);
  background: #070908;
}

.g1r-footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.6rem 0 1.8rem;
}

.g1r-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.g1r-footer-brand img {
  width: 210px;
  height: 58px;
  object-fit: contain;
}

.g1r-footer-brand p {
  max-width: 420px;
  color: #777d76;
  font-size: .72rem;
}

.g1r-footer h3 {
  margin: 0 0 1rem;
  color: var(--g1r-ore-bright);
  font-family: "G1R Noto Serif", Georgia, serif;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.g1r-footer-links a {
  display: block;
  width: fit-content;
  margin: .42rem 0;
  color: #999b93;
  font-size: .75rem;
}

.g1r-legal {
  margin-top: 2.5rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(221,210,182,.08);
  background: rgba(255,255,255,.012);
  color: #666c66;
  font-size: .61rem;
  line-height: 1.7;
}

.g1r-legal p {
  margin: 0;
}

.g1r-legal p + p {
  margin-top: .4rem;
}

.g1r-legal strong {
  color: #958364;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.g1r-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--g1r-line-soft);
  color: #5f645f;
  font-size: .6rem;
}

.g1r-footer-credits a {
  color: #81745b;
}

a.toTop.g1r-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(226,189,115,.48) !important;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #171d19, #090c0a) !important;
  color: var(--g1r-ore-bright) !important;
  box-shadow: inset 0 0 12px rgba(184,139,69,.08), 0 10px 30px rgba(0,0,0,.45) !important;
  transform: rotate(45deg);
}

a.toTop.g1r-to-top span {
  display: block;
  color: inherit;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1;
  transform: rotate(-45deg);
}

a.toTop.g1r-to-top:hover {
  border-color: var(--g1r-ore-bright) !important;
  background: linear-gradient(145deg, #20271f, #0c100d) !important;
  color: var(--g1r-bone) !important;
}

/* Forum structure refinement -------------------------------------------- */
.g1r-forum-row {
  display: grid;
  grid-template-columns: 58px minmax(260px, 1.25fr) 180px minmax(250px, .75fr);
  align-items: center;
  gap: 1.3rem;
  min-height: 124px;
  padding: 1.25rem 1.45rem;
  border-bottom: 1px solid var(--g1r-line-soft);
  background: linear-gradient(100deg, rgba(23,29,25,.94), rgba(11,14,12,.98));
}

.g1r-forum-row:last-child {
  border-bottom: 0;
}

.g1r-forum-row:hover {
  background: linear-gradient(100deg, rgba(29,36,30,.96), rgba(14,18,15,.99));
}

.g1r-forum-rune {
  position: relative;
  width: 46px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--g1r-ore-bright);
  clip-path: polygon(50% 0, 92% 22%, 82% 78%, 50% 100%, 18% 78%, 8% 22%);
  background: linear-gradient(145deg, rgba(184,139,69,.28), rgba(8,10,9,.86));
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.4));
}

.g1r-forum-rune::before {
  content: "G";
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(226,189,115,.35);
}

.g1r-forum-rune .forum_status {
  position: absolute;
  right: 1px;
  bottom: 5px;
  width: 8px !important;
  height: 8px !important;
  border: 1px solid #101410;
  background: #83a37d !important;
  box-shadow: 0 0 8px rgba(131,163,125,.7);
}

.g1r-forum-rune .forum_off,
.g1r-forum-rune .forum_offlock,
.g1r-forum-rune .forum_offlink {
  background: #626760 !important;
  box-shadow: none;
}

.g1r-forum-copy {
  min-width: 0;
}

.g1r-forum-copy h2 {
  margin: 0 0 .28rem;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .025em;
}

.g1r-forum-copy h2 a {
  color: var(--g1r-bone);
}

.g1r-forum-copy p,
.g1r-subforums {
  margin: 0;
  color: #81877f;
  font-size: .69rem;
}

.g1r-subforums {
  margin-top: .35rem;
}

.g1r-forum-counts,
.g1r-thread-counts,
.g1r-author-stats {
  display: grid;
  margin: 0;
}

.g1r-forum-counts {
  grid-template-columns: 1fr 1fr;
}

.g1r-forum-counts div {
  padding: .3rem .85rem;
  border-left: 1px solid var(--g1r-line-soft);
  text-align: center;
}

.g1r-forum-counts dt,
.g1r-thread-counts dt,
.g1r-author-stats dt {
  color: #697069;
  font-size: .53rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.g1r-forum-counts dd,
.g1r-thread-counts dd,
.g1r-author-stats dd {
  margin: .12rem 0 0;
  color: var(--g1r-ore-bright);
  font-size: .85rem;
  font-weight: 600;
}

.g1r-forum-lastpost,
.g1r-thread-lastpost {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-left: 1rem;
  border-left: 1px solid var(--g1r-line-soft);
}

.g1r-mini-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(226,189,115,.3);
  background: linear-gradient(145deg, #252b26, #101411);
  color: #7f725a;
}

.g1r-mini-avatar::before {
  content: "G";
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.2rem;
}

.g1r-mini-avatar .avatarep_fd,
.g1r-mini-avatar .avatarep_fda,
.g1r-mini-avatar .avatarep_fdl,
.g1r-mini-avatar .avatarep_fdan,
.g1r-mini-avatar .avatarep_fda_mine,
.g1r-mini-avatar .avatarep_fdl_mine {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.g1r-mini-avatar img,
.g1r-mini-avatar .avatarep_img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  object-fit: cover;
}

.g1r-lastpost-copy,
.g1r-thread-lastpost > span:last-child {
  min-width: 0;
  display: grid;
}

.g1r-lastpost-label,
.g1r-thread-lastpost small {
  color: #666c66;
  font-size: .5rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.g1r-lastpost-title,
.g1r-thread-lastpost a {
  overflow: hidden;
  color: #d1c7ae;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g1r-lastpost-meta {
  overflow: hidden;
  color: #7d837b;
  font-size: .59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g1r-colony-stats {
  margin-top: 2.2rem;
  padding: 1.6rem;
  border: 1px solid var(--g1r-line);
  background: linear-gradient(105deg, rgba(20,26,21,.95), rgba(10,13,11,.98));
}

.g1r-stats-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g1r-line-soft);
}

.g1r-stats-heading .g1r-eyebrow {
  margin: 0;
}

.g1r-stats-heading h2 {
  margin: 0;
  color: var(--g1r-bone);
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.g1r-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
}

.g1r-stat-card,
.g1r-stat-grid > .box-stats {
  min-width: 0;
  min-height: 92px;
  display: flex !important;
  align-items: center;
  gap: .9rem;
  padding: 1rem !important;
  border: 1px solid var(--g1r-line-soft) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.014) !important;
}

.g1r-stat-icon,
.g1r-stat-grid > .box-stats .icon-stats {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(226,189,115,.28);
  color: var(--g1r-ore-bright);
  transform: rotate(45deg);
}

.g1r-stat-icon i,
.g1r-stat-grid > .box-stats .icon-stats img {
  transform: rotate(-45deg);
}

.g1r-stat-grid > .box-stats .icon-stats img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 0 !important;
  object-fit: cover;
}

.g1r-stat-card > span:last-child,
.g1r-stat-grid > .box-stats .text-stats {
  min-width: 0;
  display: grid !important;
  margin: 0 !important;
}

.g1r-stat-card strong,
.g1r-stat-grid .title-stats {
  color: var(--g1r-bone) !important;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.55rem !important;
  font-weight: 400;
  line-height: 1;
}

.g1r-stat-card small,
.g1r-stat-grid .text-stats,
.g1r-stat-grid .text-stats12 {
  color: #777d76 !important;
  font-size: .58rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.g1r-board-page,
.g1r-thread-page {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.g1r-board-head,
.g1r-thread-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.6rem;
  padding: 1.7rem 1.9rem;
  border: 1px solid var(--g1r-line);
  background: linear-gradient(105deg, rgba(24,31,25,.96), rgba(10,13,11,.98));
  box-shadow: inset 3px 0 0 var(--g1r-ore);
}

.g1r-board-head h1,
.g1r-thread-head h1 {
  margin: .15rem 0 .35rem;
  color: var(--g1r-bone);
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: .98;
}

.g1r-board-head p,
.g1r-thread-head p {
  max-width: 720px;
  margin: 0;
  color: #8f958c;
  font-size: .74rem;
}

.g1r-board-side,
.g1r-thread-head-actions {
  display: grid;
  justify-items: end;
  gap: .75rem;
  flex: 0 0 auto;
}

.g1r-browsing {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #777d76;
  font-size: .62rem;
}

.g1r-browsing i {
  color: #9a7741;
}

.g1r-directory-toolbar,
.g1r-directory-footer,
.g1r-thread-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.g1r-toolbar-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.g1r-thread-list {
  overflow: hidden;
  border: 1px solid var(--g1r-line);
}

.g1r-thread-row {
  display: grid;
  grid-template-columns: 42px minmax(240px, 1fr) 170px minmax(190px, .65fr) 24px;
  align-items: center;
  gap: 1.1rem;
  min-height: 108px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--g1r-line-soft);
  background: linear-gradient(100deg, rgba(22,28,24,.94), rgba(11,14,12,.98));
}

.g1r-thread-row:last-child {
  border-bottom: 0;
}

.g1r-thread-status {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226,189,115,.25);
  color: var(--g1r-ore-bright);
  transform: rotate(45deg);
}

.g1r-thread-status::before {
  content: "✦";
  transform: rotate(-45deg);
}

.g1r-thread-status .thread_status {
  display: none !important;
}

.g1r-thread-copy {
  min-width: 0;
}

.g1r-thread-copy h2 {
  margin: 0 0 .25rem;
  overflow: hidden;
  color: var(--g1r-bone);
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g1r-thread-copy h2 a {
  color: var(--g1r-bone);
}

.g1r-thread-copy p {
  margin: 0;
  color: #777d76;
  font-size: .62rem;
}

.g1r-thread-counts {
  grid-template-columns: 1fr 1fr;
}

.g1r-thread-counts div {
  padding-left: .75rem;
  border-left: 1px solid var(--g1r-line-soft);
}

.g1r-thread-mod {
  justify-self: end;
}

.g1r-thread-head strong {
  color: #c7b990;
}

.g1r-thread-admin-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1rem 0 2rem;
  padding: .9rem 1rem;
  border: 1px solid var(--g1r-line-soft);
  background: rgba(14,18,15,.72);
}

.g1r-thread-admin-tools form,
.g1r-thread-admin-tools select,
.g1r-thread-admin-tools input {
  margin: 0 !important;
}

.g1r-post {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 260px;
  margin: 1rem 0;
  overflow: hidden;
  border: 1px solid var(--g1r-line);
  background: linear-gradient(105deg, #171d19, #0e120f);
  box-shadow: inset 3px 0 0 rgba(184,139,69,.5), 0 16px 42px rgba(0,0,0,.18);
}

.g1r-post-author {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid var(--g1r-line-soft);
  background: rgba(7,9,8,.28);
  text-align: center;
}

.g1r-post-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 1rem;
}

.g1r-post-avatar .author_avatar,
.g1r-post-avatar .author_avatar a {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
}

.g1r-post-avatar img,
.g1r-post-avatar img#aaaavatar-post {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 1px solid rgba(226,189,115,.38) !important;
  border-radius: 0 !important;
  object-fit: cover;
}

.g1r-presence {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 14px;
  height: 14px;
  border: 3px solid #111511;
  border-radius: 50%;
  background: #646963;
}

.g1r-presence.online {
  background: #75a274;
  box-shadow: 0 0 10px rgba(117,162,116,.65);
}

.g1r-post-identity h2,
.g1r-post-identity h2 a {
  margin: 0;
  color: var(--g1r-ore-bright) !important;
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.g1r-post-identity p {
  margin: .1rem 0 0;
  color: #a69f8d;
  font-size: .66rem;
}

.g1r-post-author-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--g1r-line-soft);
}

.g1r-author-stats {
  gap: .38rem;
}

.g1r-author-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .35rem .45rem;
  border: 1px solid rgba(218,194,145,.08);
  background: rgba(255,255,255,.012);
}

.g1r-author-stats dt i {
  width: 15px;
  color: #8b6e3f;
}

.g1r-author-stats dd {
  font-size: .68rem;
}

.g1r-author-warning {
  margin-top: .65rem;
  color: #746f63;
  font-size: .58rem;
}

.g1r-author-warning:empty {
  display: none;
}

.g1r-warning-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding: .38rem .45rem;
  border: 1px solid rgba(169,92,77,.18);
  background: rgba(169,92,77,.035);
  color: #8d8174;
  font-size: .54rem;
  line-height: 1.2;
}

.g1r-warning-line strong {
  color: #b49b80;
  font-weight: 600;
}

.g1r-warning-mark {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  margin-right: .25rem;
  border: 1px solid rgba(169,92,77,.45);
  color: #b97869;
  font-size: .52rem;
}

.g1r-warning-line > a {
  width: 22px;
  height: 22px;
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  border: 1px solid rgba(169,92,77,.3);
  background: rgba(169,92,77,.06);
  color: #b97869;
  font-size: .8rem;
  line-height: 1;
}

.g1r-warning-line > a:hover {
  border-color: #b97869;
  color: #d6a293;
}

.g1r-author-links {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-top: .65rem;
}

.g1r-author-links a {
  width: 30px;
  height: 30px;
  display: grid !important;
  place-items: center;
  border: 1px solid var(--g1r-line-soft);
  background: rgba(255,255,255,.015);
  color: #918978;
}

.g1r-author-links a:empty {
  display: none !important;
}

.g1r-author-links .g1r-author-action {
  font-family: Georgia, serif !important;
  font-size: .92rem !important;
  line-height: 1 !important;
}

.g1r-author-links .g1r-author-action span {
  display: block;
  color: var(--g1r-ore-bright);
}

.g1r-post-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.6rem 1rem;
}

.g1r-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--g1r-line-soft);
  color: #747a73;
  font-size: .62rem;
}

.g1r-post-body {
  min-height: 125px;
  flex: 1;
  padding: 1.25rem 0;
  color: #d9d0b9 !important;
  font-size: .84rem;
  line-height: 1.8;
}

.g1r-post-meta {
  color: #6c726b;
  font-size: .58rem;
}

.g1r-post-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--g1r-line-soft);
}

.g1r-post-actions a {
  display: inline-flex !important;
  align-items: center;
  min-height: 32px;
  padding: .42rem .65rem !important;
  border: 1px solid rgba(218,194,145,.18) !important;
  background: rgba(184,139,69,.055) !important;
  color: #a99d82 !important;
  font-size: .56rem !important;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.g1r-post-actions a:hover {
  border-color: rgba(226,189,115,.48) !important;
  color: var(--g1r-bone) !important;
}

.g1r-quick-reply {
  margin: 2rem 0;
  padding: 1.4rem;
  border: 1px solid var(--g1r-line);
  background: linear-gradient(105deg, rgba(22,28,23,.96), rgba(10,13,11,.98));
}

.g1r-quick-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--g1r-line-soft);
}

.g1r-quick-reply-head .g1r-eyebrow {
  margin: 0;
}

.g1r-quick-reply-head h2 {
  margin: .1rem 0 0;
  color: var(--g1r-bone);
  font-family: "G1R Boucherie", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.g1r-quick-reply-head > i {
  color: #9e7a42;
  font-size: 1.4rem;
}

.g1r-quick-reply textarea {
  width: 100% !important;
  min-height: 180px;
  padding: 1rem !important;
  resize: vertical;
}

.g1r-quick-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  margin-top: .75rem;
}

.g1r-neighbor-threads {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--g1r-line-soft);
  font-size: .66rem;
}

.content-ts-box,
.fast-stats,
.temat-lista,
.post-post,
.fast-quick,
.pierd-boxpost,
.menu-sssssss,
.information-thread,
.pnss,
.Saassca {
  display: none !important;
}

.bottom-footer-author,
.flex-footer,
.content-bg:has(.flex-footer) {
  display: none !important;
}

@media (max-width: 1060px) {
  .g1r-mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .g1r-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .8rem 1rem 1.2rem;
    border-bottom: 1px solid var(--g1r-line);
    background: #0a0d0b;
    box-shadow: 0 20px 45px rgba(0,0,0,.5);
  }

  .forum-nav-open .g1r-nav {
    display: flex;
  }

  .g1r-nav a {
    padding: .8rem 1rem;
  }

  .g1r-member-area {
    margin-left: auto;
  }

  .g1r-user-links .g1r-profile-link span,
  .g1r-user-links .g1r-logout span {
    display: none;
  }

  .box-forummmm {
    grid-template-columns: 48px minmax(220px, 1fr) 130px;
  }

  .last-post-forum {
    display: none !important;
  }

  .g1r-forum-row {
    grid-template-columns: 54px minmax(240px, 1fr) 170px;
  }

  .g1r-forum-lastpost {
    display: none;
  }

  .g1r-thread-row {
    grid-template-columns: 38px minmax(230px, 1fr) 150px 24px;
  }

  .g1r-thread-lastpost {
    display: none;
  }

  .g1r-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .g1r-header-inner,
  .g1r-hero-copy,
  .g1r-forum-main,
  .g1r-board-page,
  .g1r-thread-page,
  .g1r-footer-inner,
  .wrapp-1500 > :not(.g1r-forum-hero),
  .information-thread,
  .pnss,
  #posts,
  .Saassca {
    width: min(100% - 1.4rem, 1180px);
  }

  .g1r-brand img {
    width: 132px;
  }

  .g1r-alpha,
  .g1r-auth .primary,
  .g1r-auth a i {
    display: none !important;
  }

  .g1r-forum-hero {
    min-height: 210px;
  }

  .g1r-forum-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .g1r-board-head,
  .g1r-thread-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.35rem;
  }

  .g1r-board-side,
  .g1r-thread-head-actions {
    justify-items: start;
  }

  .g1r-directory-toolbar,
  .g1r-directory-footer,
  .g1r-thread-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .g1r-toolbar-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .g1r-forum-row {
    grid-template-columns: 46px 1fr;
    gap: .9rem;
    padding: 1rem;
  }

  .g1r-forum-counts {
    grid-column: 2;
    border-top: 1px solid var(--g1r-line-soft);
  }

  .g1r-forum-counts div {
    border-left: 0;
  }

  .g1r-thread-row {
    grid-template-columns: 34px 1fr 24px;
    gap: .8rem;
    padding: 1rem;
  }

  .g1r-thread-counts {
    grid-column: 2;
    border-top: 1px solid var(--g1r-line-soft);
  }

  .g1r-thread-mod {
    grid-column: 3;
    grid-row: 1;
  }

  .g1r-post {
    grid-template-columns: 1fr;
  }

  .g1r-post-author {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--g1r-line-soft);
    text-align: left;
  }

  .g1r-post-avatar {
    width: 72px;
    height: 72px;
    margin: 0;
  }

  .g1r-post-author-details {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .g1r-author-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .g1r-author-stats div {
    display: grid;
  }

  .g1r-post-content {
    padding: 1.15rem;
  }

  .box-forummmm {
    grid-template-columns: 42px 1fr;
    min-height: 95px;
    gap: .9rem;
    padding: 1rem !important;
  }

  .pointerr-forums {
    grid-column: 2;
    width: 100% !important;
  }

  .ilosc-temat,
  .ilosc-post {
    border-left: 0;
    border-top: 1px solid var(--g1r-line-soft);
  }

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

  .post-left-author {
    border-right: 0;
    border-bottom: 1px solid var(--g1r-line-soft);
  }

  .avatar-post-nickname {
    display: flex !important;
    gap: 1rem;
    text-align: left !important;
  }

  .avatar-post-nickname img,
  img#aaaavatar-post,
  .author_avatar img {
    width: 62px !important;
    height: 62px !important;
  }

  .post-informacje {
    display: none !important;
  }

  .g1r-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g1r-footer-brand {
    grid-column: 1 / -1;
  }

  .g1r-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .g1r-auth a {
    padding: .48rem .55rem;
  }

  .g1r-footer-grid {
    grid-template-columns: 1fr;
  }

  .g1r-footer-brand {
    grid-column: auto;
  }

  .g1r-stat-grid {
    grid-template-columns: 1fr;
  }

  .g1r-toolbar-actions,
  .g1r-quick-reply-actions,
  .g1r-neighbor-threads {
    align-items: stretch;
    flex-direction: column;
  }

  .g1r-post-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .g1r-post-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Responsive hardening --------------------------------------------------- */
html,
body {
  max-width: 100%;
}

body,
.post_body,
.g1r-post-body,
.g1r-forum-copy,
.g1r-thread-copy {
  overflow-wrap: anywhere;
}

.scaleimages img,
.post_body img,
.signature img,
.attachment img {
  height: auto !important;
  max-width: 100% !important;
}

.sceditor-container,
.sceditor-container iframe,
.sceditor-container textarea,
.select2-container {
  max-width: 100% !important;
}

@media (max-width: 1060px) {
  .g1r-header-inner {
    position: relative;
  }

  .g1r-nav {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .g1r-nav a {
    min-height: 44px;
  }

  .g1r-forum-hero {
    min-height: 220px;
  }

  .g1r-board-head h1,
  .g1r-thread-head h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .g1r-thread-admin-tools {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .g1r-header-inner,
  .g1r-hero-copy,
  .g1r-forum-main,
  .g1r-board-page,
  .g1r-thread-page,
  .g1r-footer-inner,
  .wrapp-1500 > :not(.g1r-forum-hero),
  .usercp-flex,
  .memberlist-box,
  .profile-box,
  .portal-box {
    width: min(100% - 1.4rem, 1180px) !important;
  }

  .g1r-header-inner {
    min-height: 64px;
  }

  .g1r-nav {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .g1r-forum-hero {
    min-height: 190px;
  }

  .g1r-forum-hero h1 {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

  .g1r-forum-hero::after {
    right: 2vw;
    font-size: 8rem;
  }

  .g1r-forum-main,
  .g1r-board-page,
  .g1r-thread-page {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .g1r-forum-welcome,
  .g1r-board-head,
  .g1r-thread-head {
    gap: 1rem;
  }

  .g1r-forum-actions,
  .g1r-toolbar-actions {
    flex-wrap: wrap;
  }

  .g1r-colony-stats {
    padding: 1.2rem;
  }

  .modal {
    width: min(92vw, 620px) !important;
    max-height: 88vh;
    overflow: auto;
  }

  .topnav1 {
    position: relative;
    padding: .75rem !important;
  }

  .topnav1.responsive1 {
    display: grid !important;
    gap: .25rem;
  }

  .topnav1.responsive1 a,
  .topnav1.responsive1 .dropdown1,
  .topnav1.responsive1 .dropbtn1 {
    width: 100% !important;
    float: none !important;
    text-align: left !important;
  }

  .topnav1.responsive1 .dropdown1 {
    overflow: visible;
    border-top: 1px solid var(--g1r-line-soft);
  }

  .topnav1.responsive1 .dropdown-content1 {
    position: static !important;
    display: grid !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: .2rem 0 .45rem 1rem;
    border: 0 !important;
    box-shadow: none !important;
  }

  .topnav1.responsive1 .dropdown-content1 a {
    padding: .55rem .75rem !important;
    color: #999f97 !important;
    font-size: .7rem;
  }

  .usercp_container,
  .usercp_container > *,
  form {
    max-width: 100%;
  }

  .tborder,
  table.tborder {
    max-width: 100%;
  }

  .tborder th,
  .tborder td {
    min-width: 92px;
  }

  .tborder td:first-child,
  .tborder th:first-child {
    min-width: 38px;
  }

  .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }

  .float_left,
  .float_right {
    max-width: 100%;
  }

  select,
  input.textbox,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="search"],
  textarea {
    max-width: 100% !important;
  }

  #shoutbox,
  #dvz_shoutbox,
  .dvz_shoutbox {
    max-width: 100%;
    overflow: hidden;
  }

  .lt-container-pf,
  .lt-memprofile-content,
  .memberlist-box {
    max-width: 100% !important;
  }

  .uzytkowniasa {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .g1r-header-inner {
    width: calc(100% - 1rem) !important;
    gap: .45rem;
  }

  .g1r-brand img {
    width: 118px;
    height: 40px;
  }

  .g1r-member-area {
    min-width: 0;
  }

  .g1r-user-links {
    gap: .25rem;
  }

  .g1r-user-links > a {
    min-width: 38px;
    min-height: 38px;
    padding: .35rem .45rem;
  }

  .g1r-user-links > a:not(.g1r-pms):not(.g1r-profile-link):not(.g1r-logout) {
    display: none !important;
  }

  .g1r-auth a {
    min-height: 36px;
    padding: .4rem .55rem;
  }

  .g1r-mobile-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .button,
  input.button,
  button.button,
  a.button,
  .g1r-button {
    min-height: 42px !important;
  }

  .g1r-forum-hero {
    min-height: 168px;
  }

  .g1r-hero-copy {
    padding: 2rem 0;
  }

  .g1r-forum-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .g1r-forum-hero p {
    margin-top: .55rem;
    font-size: .72rem;
    line-height: 1.55;
  }

  .g1r-forum-hero::after {
    display: none;
  }

  .g1r-forum-welcome,
  .g1r-board-head,
  .g1r-thread-head,
  .g1r-colony-stats,
  .g1r-quick-reply {
    padding: 1rem;
  }

  .g1r-board-head h1,
  .g1r-thread-head h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .g1r-forum-actions,
  .g1r-toolbar-actions,
  .g1r-quick-reply-actions {
    width: 100%;
  }

  .g1r-forum-actions > *,
  .g1r-toolbar-actions > *,
  .g1r-quick-reply-actions > * {
    flex: 1 1 auto;
  }

  .g1r-forum-copy h2 {
    font-size: 1.35rem;
  }

  .g1r-thread-copy h2 {
    white-space: normal;
  }

  .g1r-post-author {
    padding: 1rem;
  }

  .g1r-post-content {
    padding: 1rem;
  }

  .g1r-post-actions a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .g1r-thread-admin-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .g1r-thread-admin-tools form,
  .g1r-thread-admin-tools select,
  .g1r-thread-admin-tools input {
    width: 100% !important;
  }

  .g1r-stat-grid {
    grid-template-columns: 1fr;
  }

  .g1r-stats-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .g1r-legal {
    padding: 1rem;
    font-size: .58rem;
  }

  .g1r-footer-grid {
    gap: 1.5rem;
  }

  .tborder,
  table.tborder {
    display: block !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tborder > tbody {
    min-width: 620px;
  }

  .tborder:has(#quick_login) > tbody,
  #quick_login .tborder > tbody {
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .g1r-brand img {
    width: 104px;
  }

  .g1r-user-links .g1r-profile-link {
    display: none !important;
  }

  .g1r-auth .primary {
    display: none !important;
  }

  .g1r-eyebrow {
    letter-spacing: .16em;
  }

  .g1r-forum-row,
  .g1r-thread-row {
    column-gap: .65rem;
  }

  .g1r-forum-rune {
    width: 40px;
    height: 46px;
  }

  .g1r-author-stats {
    grid-template-columns: 1fr;
  }

  .g1r-footer-grid {
    grid-template-columns: 1fr;
  }

  a.toTop.g1r-to-top {
    right: .9rem;
    bottom: .9rem;
    width: 34px !important;
    height: 34px !important;
  }
}
