.xmain a {
    color: #1DA1F2;
    text-decoration: none !important;
    border: none;
    overflow-wrap: break-word;
}

.xmain p {
    display: block;
    margin-block-start: 0.2em;
    margin-block-end: 0.2em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.xmain {
    width: 600px;
    border: 1px solid #ddd;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.xmain .stream {
    position: relative;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.xmain .stream-item {
    border-top: 1px solid #ddd;
    padding: 10px;
}

.xmain .content {
    margin-left: 58px;
}

.xmain .account {
    text-decoration: none;
    color: #000;
    overflow: hidden;
    margin-right: 5px;
}

.xmain .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    float: left;
    margin-top: 3px;
    margin-left: -58px;
    position: absolute;
}

.xmain .fullname {
    font-weight: bold;
}

.xmain .username {
    color: #657786;
}

.xmain .time {
    color: #657786;
    margin-right: 5px;
}

.xmain .time:before {
    content: "\00b7";
    margin-right: 5px;
}

.xmain .tweet-text {
    text-overflow: ellipsis;
}

.xmain .tweet-footer {
    color: #657786;
}

.xmain .tweet-footer > div {
    display: inline-block;
    width: 80px;
}

.xmain .tweet-footer i {
    margin-right: 10px;
}

.xmain .twitter-card {
    display: block;
    border: solid 1px #ddd;
    border-radius: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.xmain .twitter-card.small {
    height: 130px;
}
.xmain .twitter-card.small .logo {
    display: block;
    float: left;
    font-size: 80px;
    text-align: center;
    border-right: solid 1px #ddd;
    width: 130px;
    height: 100%;
    margin-right: 8px;
    margin: 0px;
}
.xmain .twitter-card.small .logo i {
    color: #657786;
    margin-top: 24px;
}
.xmain .twitter-card.small .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-width: 0px;
    margin: 0px;
}
.xmain .twitter-card.small .text {
    color: #657786;
    display: block;
    padding: 8px;
    overflow: hidden;
    overflow-wrap: break-word;
    max-height: 5.4em;
    margin: 0px;
    border-width: 0px;
    text-overflow: ellipsis;
}
.xmain .twitter-card.small .text a {
    overflow-wrap: break-word;    
}
.xmain .twitter-card.small .link {
    color: #657786;
    display: block;
    max-height: 1.5em;
    padding: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-height: 5em;
}
.xmain .twitter-card.small .link a {
    color: #657786;
}
.xmain .twitter-card.small .link i {
    margin-right: 4px;
}
.xmain .twitter-card.small .text strong {
    color: #000000;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: normal;
    overflow: hidden;
}

.xmain .twitter-card.image {
    height: 280px;
}
.xmain .twitter-card.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border-width: 0px;
    margin: 0px;
}

.xmain .twitter-card.tweet {
    overflow-wrap: break-word; 
    padding: 8px;
}
.xmain .twitter-card.tweet strong {
    color: #000000;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: bold;
    overflow: hidden;
    margin-bottom: 8px;
}
.xmain .twitter-card br {
    display: block; /* makes it have a width */
    content: ""; /* clears default height */
    margin-top: 4px; /* change this to whatever height you want it */
}
.xmain .twitter-card.tweet img {
    vertical-align: middle;
    width: 18px;
    height: 18px;
}
