#stories {
    padding: 10px;
    box-shadow: 0 0 3px #ccc;
    overflow: hidden;
    max-width: 280px;
    overflow-x: auto
}

.delete-story {
    font-size: 20px;
    width: 20px;
    cursor: pointer;
    text-align: center;
    padding-right: 10px
}

.story-description {
    margin-top: 10px
}

.stories.carousel {
    white-space: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch
}

.stories.carousel::-webkit-scrollbar {
    width: 0;
    background: 0 0
}

.stories.carousel .story>a>.img>*,.stories.list .story>a>.img>* {
    background-size: cover;
    background-position: center;
    box-sizing: border-box
}

.stories.carousel .story {
    display: inline-block;
    width: 23vw;
    max-width: 80px;
    margin: 0 1px;
}

.stories.carousel .story:first-child {
    margin-left: 0
}

.stories.carousel .story:last-child {
    margin-right: 0
}

.stories.carousel .story>a {
    text-align: center;
    display: block
}

.stories.carousel .story>a:active>.img {
    transform: scale(.9)
}

.stories.carousel .story>a>.img {
    display: block;
    box-sizing: border-box;
    font-size: 0;
    height: 60px;
    overflow: hidden;
    transition: transform .2s;
    width: 60px;
}

.stories.carousel .story>a>.img>* {
    display: block;
    height: 100%;
    width: 100%
}

.stories.carousel .story>a>.info {
    display: inline-block;
    margin-top: .5em;
    line-height: 1.2em;
    width: 106%;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
}

.stories.carousel .story>a>.info strong {
    font-weight: 300
}

.stories.carousel .story>.items,.stories.carousel .story>a>.info .time {
    display: none
}

.stories.list {
    white-space: nowrap;
    overflow: auto
}

.stories.list .story {
    display: block;
    width: auto;
    margin: 6px;
    padding-bottom: 6px
}

.stories.list .story>a {
    text-align: left;
    display: block
}

.stories.list .story>a>.img {
    height: 50px;
    width: 50px;
    max-width: 50px;
    margin-right: 12px;
    vertical-align: top;
    display: inline-block;
    box-sizing: border-box;
    font-size: 0;
    overflow: hidden
}

.stories.list .story>a>.img>* {
    display: block;
    height: 100%;
    width: 100%
}

.stories.list .story>a>.info {
    display: inline-block;
    line-height: 1.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    margin-top: 3px
}

.stories.list .story>a>.info strong {
    font-weight: 600;
    display: block
}

.stories.list .story>a>.info .time {
    display: inline-block
}

.stories.list .story>.items {
    display: none
}

@-webkit-keyframes TCRSlideTime {
    0% {
        max-width: 0
    }

    100% {
        max-width: 100%
    }
}

@keyframes TCRSlideTime {
    0% {
        max-width: 0
    }

    100% {
        max-width: 100%
    }
}

@-webkit-keyframes TCRLoading {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes TCRLoading {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

#tcr-modal {
    outline: 0!important;
    overflow: hidden;
    position: fixed;
    background: rgba(0,0,0,.75);
    z-index: 100000;
    font-size: 14px;
    font-family: inherit
}

#tcr-modal-content,#tcr-modal-content .story-viewer,#tcr-modal-content .story-viewer>.slides,#tcr-modal-content .story-viewer>.slides>* {
    width: 100vw;
    height: 100%;
    top: 0;
    bottom: 0;
    position: absolute;
    overflow: hidden
}

#tcr-modal * {
    user-select: none;
    outline: 0
}

#tcr-modal.with-effects {
    transform: scale(.01);
    transform-origin: top left;
    transition: .25s;
    position: absolute;
    left: 0;
    width: 100vw;
    height: 100%;
    top: 0;
    bottom: 0
}

#tcr-modal.with-effects.animated {
    transform: scale(1);
    border-radius: 0;
    margin-top: 0!important;
    margin-left: 0!important
}

#tcr-modal.with-effects.closed {
    transform: translateY(100%)
}

#tcr-modal .slider {
    width: 300vw;
    height: 100%;
    top: 0;
    bottom: 0;
    left: -100vw;
    position: absolute
}

#tcr-modal .slider>* {
    width: 100vw;
    height: 100%;
    top: 0;
    bottom: 0;
    position: absolute
}

#tcr-modal .slider>.previous {
    left: 0
}

#tcr-modal .slider>.viewing {
    left: 100vw
}

#tcr-modal .slider>.next {
    left: 200vw
}

#tcr-modal .slider.animated {
    -webkit-transition: -webkit-transform .25s linear;
    transition: -webkit-transform .25s linear;
    transition: transform .25s linear;
    transition: transform .25s linear,-webkit-transform .25s linear
}

#tcr-modal.with-cube #tcr-modal-content {
    perspective: 1000vw;
    transform: scale(.95);
    perspective-origin: 50% 50%;
    overflow: visible;
    transition: .3s
}

#tcr-modal.with-cube .slider {
    transform-style: preserve-3d;
    transform: rotateY(0)
}

#tcr-modal.with-cube .slider>.previous {
    backface-visibility: hidden;
    left: 100vw;
    transform: rotateY(270deg) translateX(-50%);
    transform-origin: center left
}

#tcr-modal.with-cube .slider>.viewing {
    backface-visibility: hidden;
    left: 100vw;
    transform: translateZ(50vw)
}

#tcr-modal.with-cube .slider>.next {
    backface-visibility: hidden;
    left: 100vw;
    transform: rotateY(-270deg) translateX(50%);
    transform-origin: top right
}

#tcr-modal-content .story-viewer.paused.longPress .head,#tcr-modal-content .story-viewer.paused.longPress .slides-pointers,#tcr-modal-content .story-viewer.paused.longPress .tip {
    opacity: 0
}

#tcr-modal-content .story-viewer.viewing:not(.paused):not(.stopped) .slides-pointers>*>.active>b {
    -webkit-animation-play-state: running;
    animation-play-state: running
}

#tcr-modal-content .story-viewer.next {
    z-index: 10
}

#tcr-modal-content .story-viewer.viewing {
    z-index: 5
}

#tcr-modal-content .story-viewer.previous {
    z-index: 0
}

#tcr-modal-content .story-viewer.loading .head .loading,#tcr-modal-content .story-viewer.muted .tip.muted {
    display: block
}

#tcr-modal-content .story-viewer.loading .head .right .close,#tcr-modal-content .story-viewer.loading .head .right .time {
    display: none
}

#tcr-modal-content .story-viewer .slides-pointers {
    display: table;
    table-layout: fixed;
    border-spacing: 6px;
    border-collapse: separate;
    position: absolute;
    width: 100vh;
    bottom: 0;
    top: 0;
    left: calc(50vw - 50vh);
    right: calc(50vw - 50vh);
    z-index: 100020
}

#tcr-modal-content .story-viewer .slides-pointers>* {
    display: table-row
}

#tcr-modal-content .story-viewer .slides-pointers>*>* {
    display: table-cell;
    background: rgba(255,255,255,.5);
    border-radius: 2px
}

#tcr-modal-content .story-viewer .slides-pointers>*>.seen {
    background: #fff
}

#tcr-modal-content .story-viewer .slides-pointers>*>*>b {
    background: #fff;
    width: auto;
    max-width: 0;
    height: 2px;
    display: block;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
    border-radius: 2px
}

#tcr-modal-content .story-viewer .slides-pointers>*>.active>b {
    -webkit-animation-name: TCRSlideTime;
    animation-name: TCRSlideTime;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear
}

#tcr-modal-content .story-viewer .head {
    position: absolute;
    height: 56px;
    left: 0;
    right: 0;
    line-height: 56px;
    z-index: 100010;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 1px rgba(0,0,0,.35),1px 0 1px rgba(0,0,0,.35);
    padding: 0 6px
}

#tcr-modal-content .story-viewer .head .img {
    background-size: cover;
    border: 2px solid #fff;
    width: 42px;
    height: 42px;
    display: inline-block;
    margin-right: 12px;
    border-radius: 50%;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center
}

#tcr-modal-content .story-viewer .head .img:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #000;
    opacity: .1;
    box-sizing: border-box
}

#tcr-modal-content .story-viewer .head .time {
    opacity: .75;
    font-weight: 500;
    font-size: 13px
}

#tcr-modal-content .story-viewer .head .left {
    line-height: 1!important;
    display: inline-block;
    margin: 6px 0
}

#tcr-modal-content .story-viewer .head .left>div {
    display: inline-block;
    max-width: 30vw;
    vertical-align: middle
}

#tcr-modal-content .story-viewer .head .left>div>* {
    width: 100%;
    display: inline-block;
    line-height: 21px
}

#tcr-modal-content .story-viewer .head .left>div>strong {
    font-weight: 500
}

#tcr-modal-content .story-viewer .head .right {
    float: right
}

#tcr-modal-content .story-viewer .head .back,#tcr-modal-content .story-viewer .head .right .close {
    font-size: 25px;
    width: 25px;
    cursor: pointer;
    text-align: center
}

#tcr-modal-content .story-viewer .head .left>.back {
    display: none;
    width: 24px;
    margin: -6px -6px 0
}

#tcr-modal-content .story-viewer .head .right .time {
    display: none
}

#tcr-modal-content .story-viewer .head .loading {
    display: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(255,255,255,.2);
    box-sizing: border-box;
    border-top-color: #fff;
    -webkit-animation: TCRLoading 1s infinite linear;
    animation: TCRLoading 1s infinite linear
}

#tcr-modal-content .story-viewer .head,#tcr-modal-content .story-viewer .slides-pointers,#tcr-modal-content .story-viewer .tip {
    -webkit-transition: opacity .5s;
    transition: opacity .5s
}

#tcr-modal-content .story-viewer .slides .item {
    display: none;
    overflow: hidden;
    background: #000
}

#tcr-modal-content .story-viewer .slides .item:before {
    z-index: 4;
    background: 0 0;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0
}

#tcr-modal-content .story-viewer .slides .item>.media {
    max-height: 90vh;
    max-width: 98%;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    position: absolute;
    margin: auto
}

#tcr-modal-content .story-viewer .slides .item.active,#tcr-modal-content .story-viewer .slides .item.active .tip.link {
    display: block
}

#tcr-modal-content .story-viewer .tip {
    text-decoration: none;
    display: none;
    border-radius: 24px;
    background: rgba(0,0,0,.5);
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    color: #fff;
    text-align: center;
    font-weight: 500;
    padding: 12px 24px
}

@media (max-width: 1024px) {
    #tcr-modal-content .story-viewer .head .right {
        margin-right:15px
    }

    .story-user-info {
        line-height: 10px;
        margin-bottom: 30px
    }

    .delete-story {
        margin-right: 10px;
        margin-top: 8px
    }

    #tcr-modal-content .story-viewer .head {
        top: 3px
    }

    #tcr-modal-content .story-viewer .head .loading {
        width: 24px;
        height: 24px;
        margin: 6px 0
    }

    #tcr-modal-content .story-viewer .head .img {
        width: 40px;
        height: 40px;
        margin-right: 12px
    }

    #tcr-modal-content .story-viewer .head .left {
        font-size: 15px;
        margin: 15px 0
    }

    #tcr-modal-content .story-viewer .head .left>div {
        padding-bottom: 30px
    }

    #tcr-modal-content .story-viewer .head .right .time {
        display: none;
        white-space: nowrap;
        font-size: 15px;
        margin: 15px 0;
        line-height: 30px;
        padding-right: 30px
    }

    #tcr-modal-content .story-viewer .head .left>.back {
        display: none;
        background: 0 0;
        z-index: 20;
        visibility: visible;
        margin: -6px 0;
        position: absolute;
        height: 42px;
        width: 72px;
        line-height: 36px;
        text-align: left;
        vertical-align: top;
        text-shadow: none
    }

    #tcr-modal-content .story-viewer.with-back-button .head .left>.back {
        display: block;
        font-size: 20px;
        margin-top: 3px
    }

    #tcr-modal-content .story-viewer.with-back-button .head .left .img {
        margin-left: 25px;
        margin-bottom: 60px
    }

    #tcr-modal-content .story-viewer .slides-pointers {
        width: 100vw;
        left: 0;
        right: 0
    }

    #tcr-modal-content .story-viewer .tip {
        font-size: 16px;
        padding: 6px 12px;
        bottom: 15px
    }

    #tcr-modal-content .story-viewer .head .right .time {
        display: none
    }
}
