:root {
    --main: #ff7200;
    --bg-main: #323232;
    --bg-sub: #fff
}

* {
    font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'helvetica neue', helvetica, ubuntu, roboto, noto, 'segoe ui', arial, sans-serif
}

body {
    background-color: var(--bg-main);
    margin: 0 auto;
    color: #eee
}

.pagination {
    text-align: center;
}

.pagination li {
    display: inline;
    padding: 5px;
}

.pagination li.active a {
    text-decoration: none !important;
    color: gray !important; 
}

.compressed {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.left {
    text-align: left
}

a {
    color: #00abff;
    color: var(--main);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.content {
    padding: .5rem
}

.hi {
    margin-top: .5rem
}

.hi iframe {
    border-radius: 4px
}

.oi {
    text-align: center;
    position: relative
}

.oi iframe {
    border-radius: 4px
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: .5rem
}

.item {
    padding: 9px;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.item .thumb img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    position: absolute
}

.item img.lazy {
    width: 0;
    height: 0
}

.item .title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
    font-weight: bold
}

.item .thumb {
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 5px;
    background-color: #ddd
}

.item .info {
    color: #999;
    display: flex;
    justify-content: space-between
}

.tags a,
.share a {
    background-color: var(--main);
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    text-decoration: none;
    word-break: keep-all;
    display: inline-block;
    margin: 4px 2px;
    line-height: 1.1rem;
    border: 1px solid var(--main)
}

.tags a:hover {
    border: 1px solid #fff
}

a.twitter {
    background-color: #00aced;
    border-color: #00aced
}

a.facebook {
    background-color: #3a5999;
    border-color: #3a5999
}

a.other {
    background-color: #c8c8c8;
    border-color: #c8c8c8;
    color: #3e3e3e;
    display: none
}

.share a:hover {
    border: 1px solid #fff
}

input {
    border: 2px solid var(--main);
    margin: 0;
    font-size: 1.3rem;
    height: 2rem;
    padding: 0;
    box-sizing: border-box
}

input[type="text"] {
    border-radius: 4px 0 0 4px;
    border-right: 0;
    width: 100%;
    min-width: 0
}

input[type="submit"] {
    border-radius: 0 4px 4px 0;
    color: #eee;
    background-color: var(--main);
    padding: 0 5px;
    font-weight: bold;
    -webkit-appearance: none
}

.form {
    margin: 10px
}

form.search {
    display: flex;
    margin: 0 auto;
    max-width: 32rem
}

.header {
    text-align: center
}

.logo {
    background-color: #000
}

.logo a {
    text-decoration: none
}

.header .logo {
    margin: 0;
    padding: 5px;
    font-size: 2rem;
    font-weight: bolder
}

.header .logo .f1 {
    color: var(--main)
}

.header .logo .f2 {
    color: #eee
}

.header h1 {
    margin: 0;
    color: #eee;
    font-size: 1.4rem;
    overflow-wrap: break-word
}

h2 {
    text-align: center;
    font-size: 1.2rem
}

h3 {
    margin: 0 0 10px 0;
    text-align: center;
    color: #eee
}

.trending {
    text-align: center;
    font-size: 1rem;
    line-height: 1rem
}

.trending a {
    padding: 3px 4px
}

.video-container {
    height: 0;
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    margin-bottom: 1rem
}

.video video,
.video iframe,
.video img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 4px
}

.play-button {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto
}

.video-container:hover svg {
    transform: scale(1.2);
    transition: transform .2s
}

.video-container #yt-preview {
    cursor: pointer
}

.hidden {
    display: none
}

.video-info {
    display: flex;
    margin-bottom: 16px;
    align-items: center
}

.meta-info {
    flex: auto
}

.voting {
    display: flex
}

@media screen and (max-width:1100px) {
    .report {
        display: none
    }
}

.report {
    margin-right: 1em
}

.voting button,
.report a {
    background-color: var(--bg-main);
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    text-decoration: none;
    word-break: keep-all;
    margin: 4px 2px;
    line-height: 1.1rem;
    border: 1px solid var(--main);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold
}

.voting button.active {
    background-color: var(--main)
}

.svg-icon {
    width: 14px;
    height: 14px;
    display: block;
    margin-right: 4px
}

.description {
    white-space: pre-line
}

.fluid_video_wrapper {
    position: absolute !important
}

.video {
    margin: 10px auto 20px;
    max-width: 64rem
}

.footer {
    background-color: #000;
    text-align: center;
    padding: 10px
}

.footer .links {
    font-weight: bold
}

.error {
    color: #333;
    text-align: center;
    padding: 2rem
}

.error h1 {
    margin-top: 0
}

#like>svg {
    color: #08ca08
}

#dislike>svg {
    color: #f01f1f
}

.svg-thumb-img {
    -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg%20class%3D%22svg-icon%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2029.046%2029.046%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M25.334%2C17.932c0%2C1.291-1.193%2C2.104-2.486%2C2.104h-0.01c0.965%2C0.166%2C2.111%2C1.331%2C2.111%2C2.462%0A%09%09c0%2C1.243-1.184%2C2.019-2.43%2C2.019h-1.072c0.844%2C0.243%2C1.977%2C1.375%2C1.977%2C2.462c0%2C1.27-1.191%2C2.067-2.459%2C2.067H10.156%0A%09%09c-3.56%2C0-6.443-2.887-6.443-6.447c0%2C0%2C0-6.872%2C0-6.88c0-2.522%2C1.395-5.189%2C3.59-6.042c1.711-1.126%2C5.15-3.133%2C5.883-6.85%0A%09%09c0-1.449%2C0-2.809%2C0-2.809s4.807-0.52%2C4.807%2C3.999c0%2C5.322-3.348%2C6.186-0.686%2C6.314h3.98c1.406%2C0%2C2.621%2C1.37%2C2.621%2C2.779%0A%09%09c0%2C1.217-1.154%2C2.006-2.119%2C2.254h1.059C24.141%2C15.365%2C25.334%2C16.642%2C25.334%2C17.932z%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml;utf8,%3Csvg%20class%3D%22svg-icon%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2029.046%2029.046%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M25.334%2C17.932c0%2C1.291-1.193%2C2.104-2.486%2C2.104h-0.01c0.965%2C0.166%2C2.111%2C1.331%2C2.111%2C2.462%0A%09%09c0%2C1.243-1.184%2C2.019-2.43%2C2.019h-1.072c0.844%2C0.243%2C1.977%2C1.375%2C1.977%2C2.462c0%2C1.27-1.191%2C2.067-2.459%2C2.067H10.156%0A%09%09c-3.56%2C0-6.443-2.887-6.443-6.447c0%2C0%2C0-6.872%2C0-6.88c0-2.522%2C1.395-5.189%2C3.59-6.042c1.711-1.126%2C5.15-3.133%2C5.883-6.85%0A%09%09c0-1.449%2C0-2.809%2C0-2.809s4.807-0.52%2C4.807%2C3.999c0%2C5.322-3.348%2C6.186-0.686%2C6.314h3.98c1.406%2C0%2C2.621%2C1.37%2C2.621%2C2.779%0A%09%09c0%2C1.217-1.154%2C2.006-2.119%2C2.254h1.059C24.141%2C15.365%2C25.334%2C16.642%2C25.334%2C17.932z%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #999;
    color: #fff;
    width: 18px;
    height: 18px;
    display: inline-block
}

.duration {
    position: absolute;
    top: 3px;
    right: 3px;
    color: #fff;
    background-color: var(--main);
    padding: 1px 3px;
    border-radius: 4px;
    font-size: 14px
}

.tos p {
    white-space: pre-wrap
}