#loading-box {
    background-color: var(--background-color);
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 200
}

#loading-box-text:before {
    color: #1da1f2;
    content: "\f179";
    font: 64px var(--icon-font);;
    margin-left: 20px;
    vertical-align: sub
}

#loading-box-container {
    margin: 0 auto;
    margin-top: 270px;
    text-align: center;
    width: 100%
}

a {
    color: var(--link-color);
    text-decoration: none
}

body {
    background-color: var(--darker-background-color) !important;
    font-family: var(--font-override);
    margin: 0
}

#container {
    margin: 0 auto;
    max-width: 1190px
}

.cell {
    box-sizing: border-box;
    display: inline-block
}

#content {
    display: flex
}

.box {
    background-color: var(--background-color);
    border: 1px solid var(--border);
    border-radius: 5px
}

#user-banner {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    object-fit: cover
}

#user-avatar {
    border: 4px solid var(--background-color);
    border-radius: 7px;
    margin-left: 7px;
    margin-top: -32px
}

#user-name {
    bottom: 47px;
    color: var(--almost-black);
    font-size: 22px;
    left: 95px;
    margin: 0;
    position: relative;
    width: 195px;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
}

#user-handle {
    bottom: 48px;
    color: var(--lil-darker-gray);
    font-size: 14px;
    font-weight: 100;
    left: 95px;
    margin: 0;
    position: relative;
    width: fit-content
}

#user-stats {
    display: inline-flex;
    padding-bottom: 7px
}

.user-stat-div>h2 {
    color: var(--lil-darker-gray);
    font-size: 14px;
    font-weight: 400;
    margin: 0 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.user-stat-div>h1 {
    color: var(--link-color);
    font-size: 20px;
    margin: 0 10px
}

#user-info {
    display: block;
    height: 5px;
    text-decoration: none
}

#center-cell {
    margin-top: 55px
}

#left-cell {
    height: fit-content;
    margin-left: 10px;
    margin-right: 10px;
    position: sticky;
    top: 55px
}

#right-cell {
    height: fit-content;
    margin-left: 10px;
    margin-right: 10px;
    position: sticky;
    top: 55px
}

#timeline {
    margin-bottom: 50px;
    width: 590px
}

#retweets,
#retweets_with_comments,
#likes {
    margin-bottom: 10px;
    width: 570px;
    padding: 9px
}

.tweet {
    background-color: var(--background-color);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    min-height: 75px;
    padding: 10px
}

.tweet:focus {
    outline: none;
}

.tweet:not(.tweet-main):hover {
    background-color: var(--dark-background-color);
    cursor: pointer
}
.tweet:not(.tweet-main) .tweet-interact-reply[data-val="0"],
.tweet:not(.tweet-main) .tweet-interact-retweet[data-val="0"],
.tweet:not(.tweet-main) .tweet-interact-favorite[data-val="0"] {
    color: var(--background-color);
}

.tweet:not(.tweet-main):hover .tweet-interact-reply[data-val="0"],
.tweet:not(.tweet-main):hover .tweet-interact-retweet[data-val="0"],
.tweet:not(.tweet-main):hover .tweet-interact-favorite[data-val="0"] {
    color: var(--dark-background-color);
}

.tweet-avatar-link {
    float: left;
    margin-right: 10px
}

.tweet-header,
.tweet-header-quote {
    display: contents
}

.tweet-header-info,
.tweet-header-info-quote {
    bottom: 3px;
    display: inline;
    position: relative;
    text-decoration: none
}

.tweet-header-info-quote {
    bottom: 8px !important
}

.tweet-header-name:hover {
    color: var(--link-color)
}

.tweet-header-name,
.tweet-header-name-quote {
    color: var(--almost-black);
    display: inline;
    font-size: 14px;
    font-weight: 700
}

.tweet-header-handle,
.tweet-time,
.tweet-header-handle-quote,
.tweet-time-quote {
    color: var(--light-gray);
    direction: ltr;
    display: inline;
    font-size: 13px;
    text-decoration: none;
    unicode-bidi: embed
}

.tweet-time {
    bottom: 3px;
    position: relative
}

.tweet-time-quote {
    bottom: 8px;
    position: relative
}

.tweet-time::before {
    color: var(--light-gray) !important;
    content: "\00b7";
    margin-right: 3px
}

.tweet-time:hover {
    color: var(--link-color);
    text-decoration: underline
}

.tweet-body,
.tweet-interact,
.tweet-body-text-quote {
    display: flow-root;
    color: var(--almost-black);
}
.tweet-body-text-quote {
    overflow-x: hidden;
}

.tweet-body-text-long {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px
}

.tweet-body-text-short {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: .01em;
    line-height: 32px
}

.tweet-body-text a {
    text-decoration: none
}

.tweet-interact {
    margin-top: 10px;
    user-select: none
}

.tweet-interact-reply:before {
    content: "\f151"
}

.tweet-interact-favorite:before {
    content: var(--favorite-icon-content)
}

.tweet-interact-more:before {
    content: "\f150"
}

.tweet-interact-favorited,
.tweet-interact-favorited:before{
    content: var(--favorite-icon-content-click) !important
}

.tweet-reply-text:focus,
.tweet-quote-text:focus {
    outline: none
}

.tweet-reply-button,
.tweet-quote-button {
    bottom: 16px;
    height: 42px;
    position: relative
}

.nice-button {
    background-color: var(--darker-background-color);
    background-image: linear-gradient(var(--background-color), var(--darker-background-color));
    background-repeat: no-repeat;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--almost-black);
    color: var(--darker-gray);
    cursor: pointer;
    font: 700 14px/normal var(--font-override);
    padding: 8px 16px
}

.nice-button:hover:not([disabled]) {
    background-color: var(--border);
    background-image: linear-gradient(var(--background-color), var(--border));
    border-color: var(--border);
    color: var(--almost-black);
    text-decoration: none
}

.nice-button:disabled {
    color: lightgray !important;
    cursor: not-allowed
}

.nice-button:disabled:before {
    color: lightgray !important
}
.nice-red-button {
    color: #d4e3ed;
    background-image: linear-gradient(#BA172C, #6F0D1C);
}

.nice-red-button:hover:not([disabled]) {
    color: #d4e3ed;
    background-image: linear-gradient(#BA172C, #4B0E17);
}
.tweet-top {
    font-size: 13px;
    margin-bottom: 7px;
    margin-left: 35px
}

.tweet-top-icon,
.tweet-top-text {
    color: var(--light-gray);
    display: inline-block
}

.tweet-top-text a {
    color: var(--light-gray);
    text-decoration: none
}

.tweet-top-text a:hover {
    color: var(--link-color) !important;
    text-decoration: underline
}

.tweet-interact-retweet-menu,
.tweet-interact-more-menu {
    background-color: var(--background-color);
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    position: absolute;
    z-index: 5
}

.tweet-interact-more-menu {
    margin-left: 100px
}

.tweet-media {
    display: block;
    max-width: 500px;
    position: relative;
    right: 5px;
    width: fit-content;
}

.tweet-media img {
    cursor: zoom-in
}

.tweet-media-element,
.new-tweet-media-img {
    block-size: auto;
    border: 1px solid var(--border);
    border-radius: 7px;
    margin: 5px;
    object-fit: cover;
    vertical-align: top
}

.tweet-media video {
    object-fit: var(--video-cover)
}

.center-text {
    background-color: var(--background-color);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--light-gray);
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    padding-left: 100px !important;
}

.tweet-interact-retweet-menu span,
.tweet-interact-more-menu span {
    cursor: pointer;
}

.tweet-interact-retweet-menu span:before,
.tweet-interact-more-menu span:before {
    margin-right: 5px !important
}

.tweet-media-element-censor {
    -moz-filter: blur(20px);
    -webkit-filter: blur(20px);
    cursor: pointer;
    filter: blur(20px);
    transform: scale(1.03)
}

#wtf {
    padding: 10px;
    width: 250px
}

#wtf > h1,
#trends h1,
.cool-header {
    color: var(--darker-gray);
    display: inline-block;
    font-size: 22px;
    font-weight: 300;
    margin: 0
}

.cool-header {
    margin-bottom: 10px
}

#wtf-refresh,
#wtf-viewall {
    color: var(--light-gray);
    cursor: pointer;
    font-size: 12px;
    text-decoration: none
}

#bulletpoint {
    color: var(--light-gray)
}

a:hover,
.tweet-header-info:hover,
.tweet-body-text a:hover,
.center-text:hover,
#wtf-refresh:hover,
#wtf-viewall:hover {
    text-decoration: underline
}

.tweet-avatar,
.tweet-avatar-quote {
    border-radius: 5px
}

.tweet-interact-retweet-menu-quote:before,
.tweet-interact-more-menu-embed:before {
    content: "\f204"
}

.wtf-user {
    width:100%;
    display: inline-block;
    margin-bottom: 5px
}

.wtf-user-link {
    text-decoration: none !important
}

.wtf-user-name {
    display: inline-block;
    margin-right: 5px;
    overflow: hidden
}

.wtf-user-handle {
    display: inline-block;
    height: 17px;
    overflow: hidden;
}

.follow,
.following {
    color: var(--almost-black);
    padding: 4px 12px !important
}

.follow:before {
    color: var(--light-gray);
    content: "\f175";
    font-family: var(--icon-font);
    margin-right: 7px;
    vertical-align: text-bottom
}

.following:before {
    color: var(--link-color);
    content: "\f176";
    font-family: var(--icon-font);
    margin-right: 7px;
    vertical-align: text-bottom
}

.tweet-self-thread-button {
    font-size: 13px;
    margin-top: 2px;
    text-decoration: none
}

.tweet-no-top {
    border-top: none !important
}

.tweet-self-thread-line {
    background-color: var(--border);
    height: 32px;
    margin-top: 21px;
    margin-left: -34px;
    position: absolute;
    width: 2px;
    z-index: 1;
}

.tweet-self-thread-line-dots {
    border: 2px var(--background-color) solid;
    display: unset;
    height: 2px;
    margin-left: -41px;
    margin-top: 23px;
    position: absolute;
    width: 12px;
    z-index: 2;
}

.tweet:hover .tweet-self-thread-line-dots {
    border: 2px var(--dark-background-color) solid !important
}

.about {
    color: var(--light-gray);
    font-size: 12px;
    margin-top: 5px;
    padding: 10px 3px;
    padding-right: 0;
    word-break: keep-all;
}
#about-right{
    max-width: 272px;
    box-sizing: border-box; 
}

.about-links a,
.about-links span {
    color: var(--light-gray);
    margin-right: 8px
}

#trends {
    margin-top: 10px;
    padding: 10px;
}


.trend {
    margin-top: 10px
}

.trend-description {
    color: var(--light-gray);
    font-size: 14px
}

#new-tweets {
    background-color: var(--dark-background-color);
    border-bottom: none !important;
    border-radius: 0 !important;
    color: var(--darker-gray);
    margin-bottom: 0 !important;
    padding: 10px
}

#new-tweet-avatar {
    vertical-align: top
}

#new-tweet-text {
    border: 1px solid var(--border);
    border-radius: 3px;
    display: inline-block;
    font: 18px var(--font-override);
    height: 23px;
    padding: 5px;
    padding-right: 40px;
    resize: none;
    scrollbar-width: thin;
    width: 480px
}

#new-tweet-text::-webkit-scrollbar {
    width: 2px
}

#new-tweet-text:focus {
    outline: none
}

.new-tweet-text-focused {
    height: 100px !important
}

#new-tweet {
    background-color: var(--new-tweet-over);
    border-bottom: none !important;
    border-radius: 0 !important;
    border-top: none !important;
    padding: 10px;
    width: 568px
}

#new-tweet-container {
    background-color: var(--link-color)
}

#new-tweet-media-div {
    bottom: 36px;
    cursor: pointer;
    float: right;
    position: relative;
    right: 15px
}

.new-tweet-media-div-focused {
    bottom: 112px !important
}

#new-tweet-media:before {
    color: var(--link-color);
    content: "\f159";
    font: 20px var(--icon-font);
}

#new-tweet-button {
    float: right;
    left: 35px;
    margin-top: 5px;
    position: relative
}
#new-tweet-button:before {
    content: "\f029";
    font-family: var(--icon-font);
    color: var(--link-color);
    font-size: 14px;
    margin-right: 5px;
    vertical-align: bottom;
}

#new-tweet-char {
    color: var(--light-gray);
    font-size: 12px;
    margin-left: -46px;
    margin-top: 38px;
    position: absolute;
    text-align: center;
    width: 43px
}

#new-tweet-button:before,
.tweet-reply-button:before,
.tweet-quote-button:before {
    color: var(--link-color);
    content: "\f029";
    font: 14px var(--icon-font);;
    margin-right: 5px;
    vertical-align: bottom
}

#new-tweet-media-c {
    display: contents;
    margin: 0;
    width: auto
}

#new-tweet-media-cc {
    display: inline;
    left: 34px;
    position: relative
}

.new-tweet-media-img {
    cursor: zoom-in;
    max-height: 100px;
    max-width: 75px
}

.new-tweet-media-img-progress {
    color: gray;
    display: block;
    font-size: 10px;
    margin-left: 6px;
    position: absolute
}

.new-tweet-media-img-remove {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    cursor: pointer;
    height: 14px;
    margin-left: -24px;
    margin-top: 8px;
    padding: 0 3px 3px;
    position: absolute
}

.new-tweet-media-img-remove:before {
    color: white;
    content: "\f045";
    font: 13px var(--icon-font);;
    margin-bottom: 2px
}

.new-tweet-media-img-alt {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    margin-left: -57px;
    margin-top: 8px;
    padding: 1px 4px;
    padding-bottom: 2px;
    position: absolute
}

.new-tweet-media-img-div {
    display: inline-block;
    width: fit-content
}


.tweet-self-thread-div {
    bottom: 35px;
    position: relative;
    width: 0;
}

.tweet-date {
    color: var(--light-gray);
    font-size: 14px
}

.tweet-footer-stat {
    display: grid;
    text-decoration: none
}

.tweet-footer {
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%
}

.tweet-footer-stats {
    border-right: 1px solid var(--border);
    display: inline-flex;
    float: left;
    padding-bottom: 5px
}

.tweet-footer-favorites {
    display: inline-flex;
    float: left;
    margin-left: 10px;
    margin-top: 12px
}

.tweet-footer-stat:hover .tweet-footer-stat-text {
    color: var(--link-color)
}

.tweet-time[hidden] {
    display: none !important
}

.tweet-header-info-main {
    display: inline-grid !important;
    width: fit-content
}

.tweet-header-info-main>b {
    font-size: 18px;
    line-height: 1.25;
    margin-top: 3px;
    padding-top: 2px
}

.tweet-body-main {
    margin-top: 10px
}

.tweet-main {
    padding: 20px
}

.tweet-footer-favorites-img {
    border-radius: 5px;
    margin-right: 5px
}

.tweet-header-follow {
    float: right;
    margin-top: 2px;
    padding: 9px 12px !important
}

.following-item-btn {
    bottom: 52px;
    float: right;
    height: 40px;
    position: relative
}

.following-item-text {
    bottom: 14px;
    display: inline-block;
    margin-left: 8px;
    position: relative;
    width: fit-content
}

.following-item {
    margin-bottom: 5px
}

#following-list,
#followers-list {
    padding: 10px
}

.following-item-name {
    position: absolute;
    width: 300px
}

#new-tweet-user-search {
    background-color: var(--background-color);
    color: var(--almost-black);
    padding: 5px;
    position: absolute;
    z-index: 5
}

#new-tweet-user-search span {
    border-radius: 5px;
    cursor: pointer;
    padding: 2px
}

#new-tweet-user-search span:hover,
.search-result-item-active {
    background-color: var(--link-color) !important;
    color: var(--background-color) !important
}

.wtf-header {
    display: flow-root
}

.tweet-self-thread-button:hover,
.tweet-translate:hover {
    text-decoration: underline
}

.tweet-footer-stat:hover,
.tweet-header-info-main:hover,
.following-item-link:hover {
    text-decoration: none
}

.tweet-header-name-main {
    width: 300px;
}
.user-stat-div:hover {
    text-decoration: none !important;
}

.tweet-self-thread-continuation .tweet-body {
    margin-bottom: -30px;
}
#new-tweet-emojis {
    float: right;
    cursor: pointer;
    position: relative;
    bottom: 87px;
    left: 3px;
}
#new-tweet-emojis:before {
    color: var(--link-color);
    content: "\f033";
    font: 20px var(--icon-font);;
}
#new-tweet-mentions {
    float: right;
    cursor: pointer;
    position: relative;
    bottom: 61px;
    left: 22px;
}
#new-tweet-mentions:before {
    color: var(--link-color);
    content: var(--at-icon);
    font: 20px var(--icon-font);;
}
.tweet:first-child {
    border-top: 1px solid var(--border) !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#timeline > :last-child {
    border-bottom: 1px solid var(--border) !important;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.modal .tweet-view-self-thread-div {
    margin-bottom: 32px;
}
.tweet-tombstone {
    border-bottom: none !important;
}
.tombstone-thread {
    background-color: var(--background-color);
    padding-bottom: 38px;
    bottom: 0;
    width: calc(100% - 2px);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

#about-left {
    display: none;
}
/* A little smaller UI */
@media screen and (max-width: 1195px) {
    .wtf-user-name, .wtf-user-handle {
        font-size: 12px;
    }
    #user-banner {
        width: 258px;
    }
    .user-stat-div>h2 {
        font-size: 12px;
        margin: 0px 8px;
    }
    .user-stat-div>h1 {
        font-size: 18px;
    }
    #trends {
        width: 238px
    }
}
/* no right-cell */
@media screen and (max-width: 1167px) {
    #right-cell {
        display: none;
    }
    #about-left {
        display: block;
        box-sizing: border-box; 
        width: 260px;
    }
    
}
/* no left-cell */
@media screen and (max-width: 880px) {
    #left-cell {
        display: none;
    }
    #center-cell {
        margin-right: auto;
        margin-left: auto;
    }
}
/* Mobile UI */
@media screen and (max-width: 590px) {
    #new-tweet {
        width: unset;
    }
}