@media screen and (max-device-width: 480px) {

  .arrow_wrap {
    display: none !important;
  }

#pun-viewtopic .punbb .post .container {
    display: flex;
    flex-direction: column;
}

#pun-viewtopic .post .post-author {
    float: none;
    margin-left: 0;
}

#pun-viewtopic #pun-main .post-author ul li {
    grid-column: 2;
}

#pun-viewtopic #pun-main .post-author ul {
    width: 100%;
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: start;
    grid-template-rows: 30px 20px min-content 25px;
    gap: 0 60px;
    align-content: start;
    padding: 15px 15px 15px 0 !important;
    background: transparent;
}

#pun-viewtopic #pun-main .post-author ul li.pa-avatar {
    grid-column: 1;
    grid-row: 1/4;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    border-radius: inherit;
    align-items: center;
}

#pun-viewtopic #pun-main .post-author ul:before {
    content: '';
    position: absolute;
    width: calc(100% - 233px);
    height: 100%;
    z-index: -1;
    border: 1px solid var(--html-base-dark);
    border-radius: inherit;
    right: 0;
}

#pun-viewtopic #pun-main .post-author ul li.pa-avatar, #pun-viewtopic #pun-main .post-author ul:before {
    background: var(--prf-fon);
}

.dark #pun-viewtopic #pun-main .post-author ul:before, .dark #pun-viewtopic #pun-main .post-author ul li.pa-avatar {
    background: var(--colorpun);
}
.dark #pun-viewtopic #pun-main .post-author ul:before {
    border-color: var(--colorinput);
}

#pun-viewtopic #pun-main .post-author ul li.pa-fld1 {
    grid-column: 1;
}

#pun-viewtopic #pun-main .post-author ul li.field_wrap3 {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 14px;
    gap: 15px;
    width: 60px;
    padding: 0 !important;
    height: 100%;
    justify-content: center;
    grid-row: -1/1;
}

#pun-viewtopic #pun-main .post-author ul li.field_wrap3 li {
    flex-direction: column;
}

#pun-viewtopic .pa-author {
    font-size: 32px !important;
    line-height: 1;
}

#pun-viewtopic .lz {
    margin-left: 0 !important;
    width: 100%;
}

#pun-viewtopic .pa-fld2 a.ank {
    font-size: 24px;
    margin-bottom: 10px;
}

#pun-viewtopic .pa-fld2 {
    font-size: 14px;
}

#pun-viewtopic .lz p {
    line-height: 120% !important;
}

#pun-viewtopic .personal_bg {
    height: calc(100% + 60px);
}

#pun-viewtopic .personal_bg img {
    height: calc(100% + 35px);
    vertical-align: -webkit-baseline-middle;
}

#pun-viewtopic .pa-title {
    font-size: 13px;
}

#pun-viewtopic .pa-fld2 {
    grid-row: 3/5;
    display: flex;
    height: 100%;
    align-items: center;
}

#pun-viewtopic .post-author .plah-ik {bottom: 50%;left: 0;margin: 0;transform: translate(-50%, 10px);/* top: 0; *//* left: 75px; */}

#pun-viewtopic .post-author .plah-ik:hover {
  transform: translate(-50%, 10px) scale(1.1);
}

#pun-viewtopic .pa-fld1 .userpl img {
    /* max-width: 180px; */
    /* height: 25px; */
    /* object-fit: cover; */
    margin: 0;
}

#pun-viewtopic .pa-avatar img {
    margin: 0;
}

#pun-viewtopic .post-author, #pun-viewtopic .post-author * {
    -webkit-text-size-adjust: none;
}

#pun-viewtopic .rait-fon {
    /* height: 100px; */
    bottom: -30px;
}

#pun-viewtopic .post-body {
    padding-top: 15px;
}

/* увеличение шрифтов */

.button, #pa-edit strong a, input[type="button"], button[type="button"] {
    font-size: 13px !important;    -webkit-text-size-adjust: none;
}

#show-planner-btn {
    width: 150px;
}

.punbb .modmenu .container {
    font-size: 14px !important;    -webkit-text-size-adjust: none;
}

#topic-users-in a {
    font-size: 14px;    -webkit-text-size-adjust: none;
}

.punbb select, input {
    font-size: 15px !important;    -webkit-text-size-adjust: none;
}

#pun .post-links ul a, .pa-links li a, .subscribelink a, .postlink.long .new-topic, .postlink span+span, .punbb .modmenu .container strong, .linksb .pagelink {
    font-size: 14px;    -webkit-text-size-adjust: none;
}

.crumbs {
    font-size: 16px !important;    -webkit-text-size-adjust: none;
}

#pun-status .container {
    font-size: 14px;    -webkit-text-size-adjust: none;
}

#pun-ulinks li a {
    font-size: 14px;
    line-height: 1;    -webkit-text-size-adjust: none;
}

.news-date {
    font-size: 14px;    -webkit-text-size-adjust: none;
}

.news-title {
    font-size: 12px;    -webkit-text-size-adjust: none;
}

#pun-navlinks a {
    font-size: 12px;    -webkit-text-size-adjust: none;
}

#pun-navlinks.fixed span, #pun-navlinks.fixed a {
    font-size: 20px;    -webkit-text-size-adjust: none;
}

#pun-navlinks.fixed {
    height: 50px;
    margin: 0;
}

#pun .tclcon h3 a {
    font-size: 22px; -webkit-text-size-adjust: none;
}

.forum-stats-inline {
    font-size: 15px; -webkit-text-size-adjust: none;
}

.f_desc, .f_links a {
    font-size: 13px;
 -webkit-text-size-adjust: none;
}

.onlinelist, .users_24h {font-size: 15px; -webkit-text-size-adjust: none;}

.ststitems li {
    font-size: 13px; -webkit-text-size-adjust: none;
}

#pun-index .tcr a.lastpost-link {
    font-size: 15px; -webkit-text-size-adjust: none;
}

#pun-index .datetime, #pun-index .byuser {
    font-size: 13px; -webkit-text-size-adjust: none;
}

.post h3 span {
    font-size: 13px;
    height: 16px;
    line-height: 6px; -webkit-text-size-adjust: none;
}

.punbb .post-content p {
    font-size: 20px;-webkit-text-size-adjust: none;
}

#pun-main .code-box .scrollbox pre {
    font-size: 16px;-webkit-text-size-adjust: none;
}


/* убираем пустое место */

#pun-announcement #header_wrapper {height: 628px;width: 1103px;object-fit: cover;}

.head01 .postopis {
    right: 395px;
}

.head01 .admins {
    right: 231px;
}

.settings-button {
    right: 1px;
}

.head01 .navigation {
    right: 40px;
}

.head01 .icon-strip {
    right: 49px;
}

.nota-ql-pane {
    right: calc(50% - 300px) !important;
}

#pun-navlinks {
    width: 1010px;
}

}