.two-one-column {
    display: flex;
}

.column--shrinkable {
    flex-shrink: 1;
}

.column--expandable {
    flex-grow: 1;
}

html {
    min-height: 100.1%;   /* always show vertical scrollbar in Mozilla */
    padding: 0;
    margin: 0;
}

body {
    min-width: 600px;
    color: #000;
    padding: 0;
    margin: 0;
}

.news-row-time {
    grid-area: time;
}
.news-row-forum {
    grid-area: name;
}
.news-row-topic {
    grid-area: topic;
}
input.button, .buttons input {
    border-radius: 5px;
    text-align: center;
    padding: 2px 4px;
}

select {
    color: inherit;
    text-align: center;
}
.news-row {
    display: grid;
    grid-template-columns: 60px 130px 6fr;
    grid-template-areas: "time name topic";
    font-size: 11px;
    padding: 6px;
    align-items: center;
}

@media screen and (min-width: 1025px) {
    .only-mobile {
        display: none;
    }
}

@media screen and (max-width: 1024px)  {
    .except-mobile {
        display: none;
    }

    .two-one-column {
        display: block;
        max-width: 100vw;
    }

    .quick_reply_box {
        width: 440px !important;
    }

    body {
        min-width: 100vw;
        -webkit-text-size-adjust: 100%;
    }

    .post_body iframe[width] {
        max-width: calc(100vw - 100px);
        height: auto;
    }

    .poster_info img {
        max-width: 100px;
    }

    .news-row {
        grid-template-columns: 115px 1fr;
        grid-template-areas: "time topic" "name topic";
        max-width: 100vw;
    }

    .news-row-time {
        align-self: end;
    }

    #forums_wrap {
        max-width: 100vw;
    }
    #forums_wrap .sf_title {
        display: block;
    }
}

.news_sf_title a { text-decoration: none; }