@media only screen and ( max-width: 866px ) 
{
    .u-body {
        --theme-sheet-width-xl: initial;
        --theme-sheet-width-lg: initial;
        --theme-sheet-width-md: initial;
        --theme-sheet-width-sm: initial;
        --theme-sheet-width-xs: initial;
    }

    html {
        width: 24em;
        overflow-y: unset !important; 
        overflow-x: unset !important;
        box-sizing: border-box !important;
    }
    body {
        min-width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        display: block !important;
        margin: 0 !important;
        overflow-x: scroll !important;
        background-color: #17181f !important;
        font-size: 90% !important;
    }
    .u-body {
        --theme-sheet-width-xl: initial;
        --theme-sheet-width-lg: initial;
        --theme-sheet-width-md: initial;
        --theme-sheet-width-sm: initial;
        --theme-sheet-width-xs: initial;
    }

    .headerlinkscontainer {
        position: relative !important;
        bottom: 7em !important;
        z-index: 9999999999999999;
    }

    .headerlinks {
        width: auto !important;
    }

    th, td {
        padding: 0 !important;
    }

    .marquee2 {
        width: 8.3125em;
    }

    .searchdisplaycontainer {      
        all: revert !important;
        width: 24em !important;
        margin: auto;
    }
    
    .matchsearchcont {
        all: revert !important;
    }

    .view-table {
        display: flex !important;
        align-content: center !important;
        align-items: flex-start !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        flex-direction: column !important;
    }

    .button {
        /*
        top: -0.3000em !important;
        padding: 26px 22px !important;
        font-size: 0.5em !important;
        */
        padding: 2px 2px !important;
        font-size: 0.5em !important;
    }

    .user-report-link {
        position: absolute;
        margin-top: -0.7em;
        margin-left: 7.8em;
        font-size: unset;
    }

    .searchfield {
        
        color: #007aaa;
        width: unset;
        padding: 0 !important;
        width: 100% !important;
    }

    .sform {
        padding: 0 !important;
        margin: auto !important;
    }

    .custom-table:not(.fr-view) {
        width: 100%; 
        overflow: revert !important;
    }

    .profile-info-table {
        width: 100%;
        border-collapse: collapse;
        margin: 10px 0;
    }

    .profile-info-table th,
    .profile-info-table td {
        padding: 10px;
        text-align: left;
        word-wrap: break-word;
        font-size: 0.9em;
    }

    .profile-info-table th {
        background-color: #1f1f1f;
        color: #ffffff;
        text-align: center;
    }

    .profile-info-table td {
        background-color: #272727;
        color: #cccccc;
    }

    .profile-info-table tr:nth-child(odd) td {
        background-color: #1e1e1e;
    }

    .profile-info-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .profile-info-table td:before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        color: #ffffff;
    }

    #real_header {
        top: 25em;
        z-index: 998;
        height: 6.25em;
        transition: all 0.7s cubic-bezier(0.4, 0, 1, 1);
    }

    #header {
        bottom: 0 !important;
        margin: auto;
        width: auto;
    }

    #footer_links {
        font-size: 0.75em;
        position: relative;
        top: 8px;
        width: 24em;
        max-width: 24em;
        margin-left: 2em;
    }

    .u-text-default {
        width: 24em !important;
    }

    #sec-2bc6 {
        width: 24em !important;
        margin:auto;
    }

    #sec-00d9 {
        width:24em !important;
        margin:auto;
    }

    .consist-fix {
        min-width: 23em !important;
    }

    .headerlinkscontainer {
        width: 24em;
        /* margin: 0; */
    }

    #drop-zone {
        background-color: #23252e;
    }

    .dmatchid {
        font-size: 0.4em; /* tehe */
    }

    .reset-linl {
        font-size: 14px !important;
    }

    #highlight {
        font-size: 1.75em;
    }

    .winner {
        font-size: 100%;
    }

    .rText {
        font-size: 0.6em;
    }

    .sText {
        font-size: 0.4em;
    }

    .marquee {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 1.5em;
        background: transparent;
    }
    
    @keyframes marquee {
        0% {
            transform: translateX(100%);
        }
        100% {
            transform: translateX(-100%);
        }
    }

    .tab-menu {
        flex-wrap: wrap;
    }

    .account_flex-item {
        width: 43%;
        margin: 3px;
        padding: 4px;
    }

    ul, ol {
        padding-left: 20px !important;
    }

    .captcha-button-container {
        display: flex !important;
        justify-content: space-between !important;
        padding: 0.625em !important;
        flex-direction: column !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    #tenor_DIV {
        width:20.5em !important;
        position: initial !important;
    }
    
    #gifResults {
        width: 17.7em !important;
        height: 18.875rem !important;
        overflow-y: scroll !important;
    }

    #searchBar {
        width: 100% !important;
    }
}        