* {
    box-sizing: border-box
}

html,body {
    margin: 0;
    height: 100%;
    background: #080c12;
    color: #f5f7fa;
    font-family: Arial,Helvetica,sans-serif
}

body {
    overflow: hidden
}

button,a,input {
    -webkit-tap-highlight-color: transparent
}

button {
    font: inherit;
    color: inherit;
    border: 0;
    cursor: pointer;
    background: transparent
}

button:focus-visible,a:focus-visible,input:focus-visible {
    outline: 2px solid #7de4da;
    outline-offset: 3px
}

a {
    color: inherit
}

button {
    touch-action: manipulation
}

.app {
    width: 100%;
    max-width: 460px;
    margin: auto;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top)
}

header {
    height: 55px;
    flex: none;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff0a
}

.brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-decoration: none
}

.brand>span {
    color: #77e1d6;
    margin-right: 5px
}

.brand small {
    display: block;
    font-size: 7px;
    letter-spacing: 2.5px;
    color: #a0a9b4;
    margin: 5px 0 0 24px
}

#collection {
    height: 44px;
    min-width: 44px;
    color: #b4c0ce
}

nav {
    display: flex;
    justify-content: space-between;
    flex: none;
    height: 44px;
    padding: 0 14px;
    gap: 4px
}

nav button {
    font-size: 12px;
    color: #97a1ae;
    padding: 0 4px;
    white-space: nowrap;
    position: relative
}

nav button.selected {
    color: #fff
}

nav button.selected:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #77e1d6
}

#feed {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-y
}

#feed::-webkit-scrollbar {
    display: none
}

.card {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop:always;display: grid;
    grid-template-rows: 34px minmax(80px,1fr) 90px auto auto 32px;
    padding: 0 14px calc(env(safe-area-inset-bottom) + 6px);
    position: relative;
    isolation: isolate
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8d9aa8;
    font-size: 10px;
    letter-spacing: 1.1px
}

.category {
    color: #88dfd7
}

.visual {
    position: relative;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #030508;
    display: flex;
    align-items: center;
    justify-content: center
}

.visual video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.bigplay {
    position: absolute;
    background: #080c12c9;
    backdrop-filter: blur(6px);
    border: 1px solid #ffffff29;
    border-radius: 30px;
    padding: 14px 18px;
    font-size: 12px;
    max-width: 90%;
    line-height: 1.4
}

.bigplay[hidden] {
    display: none
}

.status {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    text-align: center;
    font-size: 12px;
    background: #080c12e8;
    padding: 9px;
    border-radius: 8px
}

.status:empty {
    display: none
}

.captions {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 17px;
    line-height: 1.38;
    font-weight: 500;
    color: #fff;
    overflow: visible
}

.captions span {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: pretty
}

.caption-off {
    color: #78828f;
    font-size: 11px
}

.info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 2px 8px
}

.info-text {
    flex: 1;
    min-width: 0
}

.info h1 {
    font-size: 17px;
    line-height: 1.25;
    margin: 0 0 7px;
    font-weight: 600;
    overflow-wrap: break-word
}

.source {
    font-size: 9px;
    letter-spacing: .6px;
    color: #93a2b3;
    margin: 0
}

.save {
    width: 44px;
    height: 44px;
    flex: none;
    font-size: 28px;
    color: #b5c1ce
}

.save[aria-pressed=true] {
    color: #7de4da
}

.transport {
    min-width: 0
}

.seek {
    display: block;
    width: 100%;
    margin: 0;
    height: 22px;
    accent-color: #79e1d7;
    cursor: pointer
}

.buttons {
    display: flex;
    align-items: center;
    gap: 2px
}

.buttons button {
    width: 42px;
    height: 42px;
    flex: none;
    font-size: 17px;
    border-radius: 50%
}

.buttons button:hover {
    background: #ffffff0b
}

.buttons .cc {
    font-size: 11px;
    font-weight: bold
}

.buttons .cc[aria-pressed=false] {
    color: #647080
}

.clock {
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    color: #a9b3c0;
    flex: 1;
    white-space: nowrap
}

.buttons .info-button {
    font-size: 13px
}

.next {
    font-size: 10px;
    letter-spacing: .8px;
    color: #91aaa9;
    text-align: center;
    align-self: center;
    width: 100%;
    min-height: 30px
}

.empty {
    padding: 40px 20px
}

#empty {
    text-align: center;
    padding: 50px 20px;
    color: #b0b9c5
}

#empty button {
    padding: 14px;
    background: #17332f;
    border-radius: 20px
}

dialog {
    color: #edf4f7;
    background: #121b25;
    border: 1px solid #ffffff20;
    border-radius: 18px;
    padding: 20px;
    width: min(430px,94vw);
    max-height: 85dvh
}

dialog::backdrop {
    background: #000a;
    backdrop-filter: blur(5px)
}

.dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px
}

.dialog-head h2 {
    font-size: 19px;
    margin: 0
}

.dialog-head button {
    font-size: 26px;
    width: 44px;
    height: 44px
}

#dialogBody {
    font-size: 14px;
    line-height: 1.6;
    color: #b4c2d0
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #ffffff10
}

.list-item img {
    width: 88px;
    height: 60px;
    object-fit: cover;
    border-radius: 7px
}

.list-item strong {
    display: block;
    font-size: 13px;
    line-height: 1.35
}

.list-item small {
    display: block;
    font-size: 10px;
    color: #8da6b5;
    margin-top: 5px
}

[hidden] {
    display: none!important
}

.visual:fullscreen {
    border-radius: 0;
    background: #000
}

.card:fullscreen {
    background: #080c12;
    grid-template-rows: 34px minmax(80px,1fr) 90px auto auto 32px;
    height: 100dvh;
    padding: 12px;
    max-width: none
}

@media(max-width: 350px) {
    header {
        padding:0 12px
    }

    nav {
        padding: 0 8px
    }

    nav button {
        font-size: 11px
    }

    .card {
        padding-left: 10px;
        padding-right: 10px
    }

    .captions {
        font-size: 15px;
        padding: 7px 8px
    }

    .info h1 {
        font-size: 15px
    }

    .buttons button {
        width: 36px
    }

    .source {
        font-size: 8px
    }
}

@media(max-height: 700px) {
    header {
        height:47px
    }

    nav {
        height: 36px
    }

    .card {
        grid-template-rows: 26px minmax(70px,1fr) 74px auto auto 24px
    }

    .captions {
        font-size: 15px;
        line-height: 1.3
    }

    .info {
        padding-bottom: 4px
    }

    .info h1 {
        font-size: 15px;
        margin-bottom: 4px
    }

    .buttons button {
        height: 36px
    }

    .next {
        min-height: 24px;
        font-size: 9px
    }

    .seek {
        height: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important
    }
}

html,body {
    background: #090b0e;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    -webkit-font-smoothing: antialiased
}

.app {
    max-width: 480px
}

header {
    height: 62px;
    padding: 0 22px
}

.brand {
    font-size: 11px;
    letter-spacing: 2px
}

.brand small {
    font-size: 6px;
    letter-spacing: 2.8px;
    color: #707b85
}

.brand>span {
    color: #c7b68d
}

nav {
    padding: 0 18px;
    height: 46px
}

nav button {
    font-size: 11px;
    font-weight: 500;
    color: #78818c
}

nav button.selected:after {
    height: 1px;
    background: #c7b68d;
    bottom: 7px
}

.card {
    padding-left: 18px;
    padding-right: 18px;
    grid-template-rows: 32px minmax(80px,1fr) 86px auto auto 28px
}

.card-meta {
    font-size: 9px;
    letter-spacing: 1.8px;
    color: #68737e
}

.category {
    color: #b8ab8c
}

.visual {
    border-radius: 5px;
    background: #030405
}

.bigplay {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    background: #13171b55;
    border: 1px solid #ffffff55;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px #0003
}

.bigplay:after {
    content: '▶';
    font-size: 17px;
    padding-left: 3px;
    color: #fff
}

.captions {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: .12px;
    padding: 12px 18px;
    color: #e9e6df
}

.captions span {
    max-width: 34ch;
    text-wrap: balance
}

.info {
    padding: 0 2px 13px
}

.info h1 {
    font-size: 18px;
    line-height: 1.32;
    font-weight: 500;
    letter-spacing: -.35px;
    margin-bottom: 8px
}

.source {
    font-size: 8px;
    letter-spacing: 1.1px;
    color: #737f8b
}

.save {
    font-size: 26px;
    color: #9b9f9f
}

.seek {
    accent-color: #c7b68d;
    height: 16px
}

.buttons button {
    font-size: 15px;
    color: #b6bec6
}

.clock {
    font-size: 9px;
    color: #78838f
}

.next {
    font-size: 8px;
    letter-spacing: 1.7px;
    color: #636f78
}

.save[aria-pressed=true] {
    color: #d3c096
}

@media(max-width: 350px),(max-height:700px) {
    header {
        height:48px
    }

    nav {
        height: 36px
    }

    .card {
        grid-template-rows: 26px minmax(70px,1fr) 74px auto auto 24px;
        padding-left: 12px;
        padding-right: 12px
    }

    .captions {
        font-size: 14px;
        line-height: 1.45;
        padding: 8px 12px
    }

    .info h1 {
        font-size: 15px
    }

    .info {
        padding-bottom: 6px
    }
}

html,body {
    background: #05080c
}

.app {
    max-width: 480px;
    position: relative
}

header {
    height: 64px;
    padding: 0 24px;
    border: 0;
    background: #080d14
}

.brand {
    font-family: Georgia,'Times New Roman',serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: .5px
}

.brand>span {
    display: none
}

.brand small {
    margin: 5px 0 0;
    font-family: -apple-system,BlinkMacSystemFont,sans-serif;
    font-size: 7px;
    letter-spacing: 3px;
    color: #8e9eae
}

#collection {
    font-size: 13px
}

nav {
    height: 42px;
    background: #080d14;
    padding: 0 22px
}

nav button {
    font-size: 11px;
    letter-spacing: .2px
}

.card {
    padding: 0 0 calc(env(safe-area-inset-bottom) + 8px);
    grid-template-rows: 0 minmax(120px,1fr) 78px auto auto 25px;
    background: radial-gradient(ellipse at 50% 25%,#132331,#080d14 70%)
}

.card-meta {
    position: absolute;
    top: 17px;
    left: 22px;
    right: 22px;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 1px 8px #000
}

.category {
    font-size: 8px;
    letter-spacing: 2px;
    color: #e5d8b6
}

.position {
    font-size: 9px;
    color: #d0d8df
}

.visual {
    border-radius: 0;
    background: #000;
    box-shadow: 0 18px 55px #0005
}

.visual video {
    object-fit: contain
}

.bigplay {
    top: auto;
    bottom: 14px;
    right: 18px;
    width: auto;
    height: 32px;
    border-radius: 20px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: .5px;
    background: #0b131bbf;
    border-color: #ffffff25
}

.bigplay:after {
    display: none
}

.captions {
    padding: 10px 26px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .1px;
    color: #f2f0e9
}

.captions span {
    max-width: 35ch
}

.info {
    padding: 0 22px 10px;
    gap: 10px
}

.info h1 {
    font-family: Georgia,'Times New Roman',serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -.35px;
    margin-bottom: 9px
}

.source {
    font-size: 7px;
    letter-spacing: 1.2px;
    color: #8394a4
}

.save {
    font-size: 25px
}

.transport {
    padding: 0 22px
}

.seek {
    appearance: none;
    -webkit-appearance: none;
    height: 2px;
    background: #ffffff24;
    border-radius: 2px;
    margin: 7px 0 4px
}

.seek::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 8px;
    height: 8px;
    background: #d8c59c;
    border-radius: 50%
}

.buttons {
    height: 38px
}

.buttons button {
    height: 36px;
    font-size: 14px
}

.clock {
    font-size: 9px
}

.next {
    font-size: 7px;
    letter-spacing: 2px;
    color: #8b9aa8
}

@media(max-width: 350px),(max-height:700px) {
    header {
        height:49px
    }

    .brand {
        font-size: 17px
    }

    nav {
        height: 35px
    }

    .card {
        grid-template-rows: 0 minmax(90px,1fr) 68px auto auto 22px
    }

    .captions {
        font-size: 14px;
        padding: 8px 20px
    }

    .info {
        padding: 0 18px 8px
    }

    .info h1 {
        font-size: 19px
    }

    .transport {
        padding: 0 18px
    }

    .buttons {
        height: 33px
    }

    .card-meta {
        top: 12px
    }

    .buttons button {
        height: 32px
    }
}

.card {
    grid-template-rows: minmax(120px,1fr) 78px auto auto 25px
}

@media(max-width: 350px),(max-height:700px) {
    .card {
        grid-template-rows:minmax(90px,1fr) 68px auto auto 22px
    }
}

@font-face {
    font-family: Manrope;
    src: url('media/display.woff2') format('woff2');
    font-display: swap
}

@font-face {
    font-family: Inter;
    src: url('media/body.woff2') format('woff2');
    font-display: swap
}

html,body,button {
    font-family: Inter,-apple-system,sans-serif
}

.brand {
    font-family: Manrope,sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.5px
}

.brand small {
    font-family: Inter,sans-serif;
    font-size: 6px;
    letter-spacing: 2.8px
}

.info h1 {
    font-family: Manrope,sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px
}

.captions {
    font-family: Inter,sans-serif;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    color: #e4eaf0
}

.info {
    padding-top: 8px;
    padding-bottom: 16px
}

.source {
    font-size: 7px;
    letter-spacing: .6px
}

.card {
    background: #080e16;
    grid-template-rows: minmax(120px,1fr) 76px auto auto 25px
}

.visual {
    margin: 0 12px;
    border-radius: 16px
}

.card-meta {
    top: 14px;
    left: 28px;
    right: 28px
}

.card-meta .category {
    color: #c5e8ec
}

.seek {
    background: #ffffff19
}

.seek::-webkit-slider-thumb {
    background: #c5e8ec
}

.info h1 {
    max-width: 310px
}

nav button.selected:after {
    background: #c5e8ec
}

.next {
    color: #778d9e
}

@media(max-width: 350px),(max-height:700px) {
    .info h1 {
        font-size:21px;
        letter-spacing: -.6px
    }

    .captions {
        font-size: 13px
    }

    .card {
        grid-template-rows: minmax(90px,1fr) 64px auto auto 22px
    }

    .visual {
        margin: 0 8px;
        border-radius: 12px
    }
}

@font-face {
    font-family: BodyRegular;
    src: url('media/body-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: Editorial;
    src: url('media/title.woff2') format('woff2');
    font-weight: 400;
    font-display: swap
}

html,body,button,select {
    font-family: BodyRegular,-apple-system,sans-serif;
    font-weight: 400
}

.brand {
    font-family: Manrope,sans-serif;
    font-size: 13px;
    letter-spacing: .2px
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 5px
}

#language {
    color: #b5c6ce;
    background: #14212b;
    border: 1px solid #ffffff14;
    border-radius: 18px;
    font-size: 10px;
    padding: 8px;
    max-width: 100px;
    outline-offset: 2px
}

#language option {
    background: #14212b
}

#collection {
    min-width: 28px;
    font-size: 11px
}

header {
    padding: 0 20px
}

.info h1 {
    font-family: Editorial,Georgia,serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -.2px;
    color: #e7d7b5
}

.captions {
    font-family: BodyRegular,-apple-system,sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #d6e0e4;
    line-height: 1.6;
    text-align: start;
    justify-content: flex-start;
    padding: 14px 24px;
    border-bottom: 1px solid #ffffff09;
    margin: 0 22px;
    width: calc(100% - 44px)
}

.captions span {
    max-width: 100%;
    text-wrap: pretty
}

.info {
    padding-top: 16px;
    padding-bottom: 12px
}

.source {
    font-family: BodyRegular,sans-serif;
    color: #758e9e;
    font-size: 8px;
    letter-spacing: .3px
}

.card {
    grid-template-rows: minmax(120px,1fr) 88px auto auto 25px
}

.visual {
    border-radius: 12px
}

.card-meta {
    font-family: BodyRegular,sans-serif;
    font-weight: 400
}

.bigplay {
    font-family: BodyRegular,sans-serif;
    font-weight: 400
}

.info-text {
    min-width: 0
}

.info h1:lang(ar),.info h1:lang(ur),.info h1:lang(zh-CN),.info h1:lang(ja),.info h1:lang(ko) {
    font-family: BodyRegular,-apple-system,sans-serif;
    font-size: 23px
}

@media(max-width: 350px),(max-height:700px) {
    .info h1 {
        font-size:21px
    }

    .captions {
        font-size: 12px;
        padding: 8px 0;
        margin: 0 20px;
        width: calc(100% - 40px)
    }

    .card {
        grid-template-rows: minmax(90px,1fr) 78px auto auto 22px
    }

    .info {
        padding-top: 10px
    }

    .brand {
        font-size: 11px
    }

    header {
        padding: 0 14px
    }

    #language {
        max-width: 85px
    }
}

.source,.card-meta,.brand small,.next {
    display: none!important
}

.card {
    grid-template-rows: minmax(120px,1fr) 78px auto auto 12px
}

.info {
    padding-top: 17px;
    padding-bottom: 17px
}

.info h1 {
    margin-bottom: 0
}

.brand {
    font-size: 14px
}

.captions {
    border-bottom: 0;
    color: #cfd8df
}

@media(max-width: 350px),(max-height:700px) {
    .card {
        grid-template-rows:minmax(90px,1fr) 68px auto auto 8px
    }

    .info {
        padding-top: 10px;
        padding-bottom: 12px
    }
}

.info h1:lang(zh-TW) {
    font-family: BodyRegular,-apple-system,sans-serif;
    font-size: 23px
}
