@media (max-width:1300px) {
  a.nvmid {
    display:none;
  }
  nav {
    flex-direction:column;
    gap:5px;
    & > div {
      align-items:center;
      justify-content:center;
      gap:10px;
      display:flex;
      & a {
        margin:0;
      }
    }
  }
header a.lgbody {
  right: 0;
  bottom: unset;
  margin: 0 auto;
  left: 0;
  text-align: center;
  max-width:70dvw;
  & img {
    width:100%;
  }
  & h1 {
  font-size:clamp(15px, 6dvw, 80px)!important;
  line-height:2em;
  }
}
  #wrap {
    min-width:0!important;
  }
  #tablon {
  grid-template-columns: 99px 1fr 1fr;
  grid-template-rows: 357px 100px 200px 120px;
  grid-template-areas:
    "staff weather last"
    "links links links"
    "nov nov nov"
    "influencias influencias influencias";
    height:auto;
}
  div.navbar ul.linklist {
    text-align:center;
    & > * {
      text-align:center;
    }
    & * {
      margin:0;
      float:none;
    }
    & .footer-home {
      margin-right:5px;
    }
  }
}

@media (max-width:1100px) {
    #tablon {
  grid-template-columns: 99px 1fr;
  grid-template-rows: 357px 200px 100px 200px 120px;
  grid-template-areas:
    "staff weather"
    "last last"
    "links links"
    "nov nov"
    "influencias influencias";
    height:auto;
      & .tbwdiamonds {
        max-width:400px;
        place-self:center;
        & > div {
          width:70px;
        }
      }
}
  .ftlastava, .frlastava {
    display:none;
  }
  .fmid {
  flex-direction: column;
  height: auto;
}

.frdesc {
  max-height: 150px;
}
  .ftopic {
    position:relative;
  }
  .fttop {
    padding:15px 15px 15px 5px;
    height:fit-content;
    grid-template-columns: 71px 1fr;
    grid-template-rows: min-content min-content;
    gap:15px;
    & .ftdata {
      grid-column:span 2;
      justify-content:flex-start;
      padding:0;
      & > span {
        display:flex;
        justify-content:center;
        align-items:center;
        gap:1em;
        & b {
          font-size:20px;
        }
      }
    }
  }
  .stbody {
  grid-template-columns: 180px 125px 1fr 16px;
  grid-template-rows: 40px 1fr 40px 1fr;
  gap: 10px 10px;
  grid-template-areas:
    "last last last last"
    "online data ahora links"
    "online data ahoraconteo links"
    "groups groups groups groups";
  height: 380px;
  & .stgroups {
    & a {
      width:16%;
    }
  }
}
.stdeco.stdtop {
  top:14px;
}
.stdeco.stdbot {
  bottom:14px;
}
.stdeco:before, .stdeco:after {
  width:8px;
}
.stdeco.stdbot:after {
  width:8px;
}
  .forabg .header {
    flex-direction:column;
    gap:1rem;
    padding:1rem;
    & > * {
      margin:0;
    }
    & .ftmenu:before {
      display:none!important;
    }
    & .ftbotones {
      gap:15px;
      display:flex;
      justify-content:center;
      align-items:center;
    }
    & .ftbotones a {
      margin:0;
    }
  }
  #afiliados {
    grid-template-columns: 1fr 215px;
    grid-template-rows: 80px 215px 215px;
    grid-template-areas:
    "necro herm"
    "cred herm"
    "elite elite";
    height: auto;
  }
  .postprofile {
    display:none;
  }
}

@media (max-width:650px) {
    #tablon {
  grid-template-columns: 1fr;
  grid-template-rows: 99px 357px 200px 90px 200px min-content;
  grid-template-areas:
    "staff"
    "weather"
    "last"
    "links"
    "nov"
    "influencias";
    height:auto;
      & .tbstaff {
        flex-direction:row;
        justify-content:space-evenly;
      }
      & .tbinfluencias {
        flex-wrap:wrap;
        & > * {
          height:80px;
          width:auto;
          min-width:80px;
          flex-grow:1;
        }
      }
}
  #afiliados {
    grid-template-columns: 1fr;
    grid-template-rows: 80px 215px 215px;
    grid-template-areas:
    "necro"
    "cred"
    "herm"
    "elite";
    height: auto;
  }
  .modname, .nvuser:before {
    display:none;
  }
  .nvswitch { margin:0; }
  .nvtree a:not(:last-of-type, :nth-last-of-type(2)) { display:none; }
  .nvtree { gap:0; }
  .nvtree::before { content:'...'; font-size:11px; margin-right:.3em; }
}

@media (max-width:450px) {
#wrap {
width:clamp(300px, calc(95dvw + 2px), 1300px);
}
}

@media (max-width:700px) {
.pheader {
  display:grid;
  grid-template-columns:min-content 1fr;
  grid-template-rows:min-content min-content;
  grid-template-areas:
  'icon info'
  'icon botones';
  gap:10px;
  & hr { display:none; }
}
.phbotones {
  margin-top:0;
  position:static;
  grid-area:botones;
  justify-content:flex-start;
}
.phinfo {
  grid-area:info;
  align-items:flex-start;
  text-align:left;
}
.phicon {
  grid-area:icon;
}
.postbarras {
  flex-wrap:wrap;
}
.postbarras .barra {
  flex-shrink:0;
}
.postbarras .barra:not(.pv) {
  width: calc(23% - 10px);
}

.postbarras .barra.pv {
  width: 100%;
}

.stbody {
    grid-template-columns: 100px 1fr;
    grid-template-rows: 40px 100px 40px 35px 150px min-content;
    gap: 10px 10px;
    grid-template-areas:
    "last last"
    "data ahora"
    "data ahoraconteo"
    "links links"
    "online online"
    "groups groups";
    height: auto;
  & .stdata :where(b, strong) {
    font-size:20px;
  }
  & .stgroups a {
    width:40%;
    padding:15px;
    box-sizing:border-box;
  }
  & .stlinks {
    flex-direction:row;
    justify-content:space-around;
  }
  }
.stdeco {
  display:none;
}
#stats {
  clip-path:none;
  &::before, &::after {
    display:none;
  }
}

}

@media (max-width:850px) {
  .psavatarenv {
    display:none;
  }
  .psheader {
    text-align:center;
  }
  .pscontact::before {
    display:none;
  }
  .psfields {
    padding:0;
    padding-right:.5rem;
    margin-right:-.5rem;
  }
}