:root {
    --poster-aspect: 1.7777778;
}
body, button {
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
}

body {
    --action: hsl(225 39% 40%);
--action-hover: hsl(225 46% 54.000004%);
--b1: hsl(217 19% 9%);
--b1-85: hsl(217 19% 9% / 85%);
--b2: hsl(217 12% 15.000001%);
--b3: hsl(217 9% 20%);
--bm: hsl(217 7% 27.000002%);
--checkerboard: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAxMiUgMTUuMDAwMDAxJSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMCIvPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAxMiUgMTUuMDAwMDAxJSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMzIiIHk9IjMyIi8+CiAgICA8cmVjdCBmaWxsPSJoc2woMjE3IDklIDIwJSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgyMTcgOSUgMjAlKSIgaGVpZ2h0PSIzMiIgd2lkdGg9IjMyIiB4PSIzMiIgeT0iMCIvPgo8L3N2Zz4K");
--d1: hsl(217 19% 9%);
--d1-15: hsl(217 19% 9% / 15%);
--d1-85: hsl(217 19% 9% / 85%);
--d2: hsl(217 12% 15.000001%);
--d3: hsl(217 9% 20%);
--danger: hsl(347 46% 37%);
--danger-hover: hsl(348 43% 51%);
--dm: hsl(217 7% 27.000002%);
--f-create: hsl(157 100% 36%);
--f-delete: hsl(12 100% 68%);
--f-update: hsl(64 96% 63%);
--f1: hsl(0 0% 100%);
--f2: hsl(217 12% 80%);
--f3: hsl(217 8% 71%);
--fm: hsl(217 6% 60.000004%);
--l1: hsl(0 0% 100%);
--l1-10: hsl(0 0% 100% / 10%);
--l2: hsl(217 12% 80%);
--l3: hsl(217 8% 71%);
--m: hsl(217 5% 54.000004%);
--warning-b: hsl(347 17% 21%);
--warning-f: hsl(0 0% 100%);

}
body.light {
    --action: hsl(225 39% 40%);
--action-hover: hsl(225 46% 54.000004%);
--b1: hsl(0 0% 100%);
--b1-85: hsl(0 0% 100% / 85%);
--b2: hsl(217 32% 94%);
--b3: hsl(217 15.000001% 88%);
--bm: hsl(217 10% 81%);
--checkerboard: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAzMiUgOTQlKSIgaGVpZ2h0PSIzMiIgd2lkdGg9IjMyIiB4PSIwIiB5PSIwIi8+CiAgICA8cmVjdCBmaWxsPSJoc2woMjE3IDMyJSA5NCUpIiBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHg9IjMyIiB5PSIzMiIvPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAxNS4wMDAwMDElIDg4JSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgyMTcgMTUuMDAwMDAxJSA4OCUpIiBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHg9IjMyIiB5PSIwIi8+Cjwvc3ZnPgo=");
--d1: hsl(0 0% 0%);
--d1-15: hsl(0 0% 0% / 15%);
--d1-85: hsl(0 0% 0% / 85%);
--d2: hsl(217 90% 16%);
--d3: hsl(217 6% 27.000002%);
--danger: hsl(347 46% 37%);
--danger-hover: hsl(348 43% 51%);
--dm: hsl(217 4% 40%);
--f-create: hsl(173 100% 11%);
--f-delete: hsl(321 100% 30.000002%);
--f-update: hsl(271 62% 48%);
--f1: hsl(0 0% 0%);
--f2: hsl(217 90% 16%);
--f3: hsl(217 6% 27.000002%);
--fm: hsl(217 4% 40%);
--l1: hsl(0 0% 100%);
--l1-10: hsl(0 0% 100% / 10%);
--l2: hsl(217 32% 94%);
--l3: hsl(217 15.000001% 88%);
--m: hsl(217 4% 54.000004%);
--warning-b: hsl(50 68% 87%);
--warning-f: hsl(0 0% 0%);

}
@supports (color: oklch(0% 0 0)) {
    body {
        --action: oklch(45% 0.1 268);
--action-hover: oklch(56% 0.13 268);
--b1: oklch(20% 0.012 260);
--b1-85: oklch(20% 0.012 260 / 85%);
--b2: oklch(26.9% 0.012 260);
--b3: oklch(32% 0.012 260);
--bm: oklch(38.7% 0.012 260);
--checkerboard: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAxMiUgMTUuMDAwMDAxJSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMCIvPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAxMiUgMTUuMDAwMDAxJSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMzIiIHk9IjMyIi8+CiAgICA8cmVjdCBmaWxsPSJoc2woMjE3IDklIDIwJSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgyMTcgOSUgMjAlKSIgaGVpZ2h0PSIzMiIgd2lkdGg9IjMyIiB4PSIzMiIgeT0iMCIvPgo8L3N2Zz4K");
--d1: oklch(20% 0.012 260);
--d1-15: oklch(20% 0.012 260 / 15%);
--d1-85: oklch(20% 0.012 260 / 85%);
--d2: oklch(26.9% 0.012 260);
--d3: oklch(32% 0.012 260);
--danger: oklch(45% 0.12 370);
--danger-hover: oklch(56% 0.14 370);
--dm: oklch(38.7% 0.012 260);
--f-create: oklch(88% 0.25 153);
--f-delete: oklch(74% 0.2 35);
--f-update: oklch(95% 0.19 123);
--f1: oklch(100% 0 0);
--f2: oklch(84% 0.012 260);
--f3: oklch(77% 0.012 260);
--fm: oklch(68% 0.012 260);
--l1: oklch(100% 0 0);
--l1-10: oklch(100% 0 0 / 10%);
--l2: oklch(84% 0.012 260);
--l3: oklch(77% 0.012 260);
--m: oklch(62.699997% 0.012 260);
--warning-b: oklch(32% 0.03 364);
--warning-f: oklch(100% 0 0);

    }
    body.light {
        --action: oklch(45% 0.1 268);
--action-hover: oklch(56% 0.13 268);
--b1: oklch(100% 0 0);
--b1-85: oklch(100% 0 0 / 85%);
--b2: oklch(95% 0.009 260);
--b3: oklch(90% 0.009 260);
--bm: oklch(85% 0.009 260);
--checkerboard: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAzMiUgOTQlKSIgaGVpZ2h0PSIzMiIgd2lkdGg9IjMyIiB4PSIwIiB5PSIwIi8+CiAgICA8cmVjdCBmaWxsPSJoc2woMjE3IDMyJSA5NCUpIiBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHg9IjMyIiB5PSIzMiIvPgogICAgPHJlY3QgZmlsbD0iaHNsKDIxNyAxNS4wMDAwMDElIDg4JSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgyMTcgMTUuMDAwMDAxJSA4OCUpIiBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHg9IjMyIiB5PSIwIi8+Cjwvc3ZnPgo=");
--d1: oklch(0% 0 0);
--d1-15: oklch(0% 0 0 / 15%);
--d1-85: oklch(0% 0 0 / 85%);
--d2: oklch(27.2% 0.009 260);
--d3: oklch(38.600002% 0.009 260);
--danger: oklch(45% 0.12 370);
--danger-hover: oklch(56% 0.14 370);
--dm: oklch(51% 0.009 260);
--f-create: oklch(44% 0.11 179);
--f-delete: oklch(50% 0.23 354);
--f-update: oklch(50% 0.22 302);
--f1: oklch(0% 0 0);
--f2: oklch(27.2% 0.009 260);
--f3: oklch(38.600002% 0.009 260);
--fm: oklch(51% 0.009 260);
--l1: oklch(100% 0 0);
--l1-10: oklch(100% 0 0 / 10%);
--l2: oklch(95% 0.009 260);
--l3: oklch(90% 0.009 260);
--m: oklch(62.699997% 0.009 260);
--warning-b: oklch(94% 0.05 97);
--warning-f: oklch(0% 0 0);

    }
}
body.light #toggle-light,
body:not(.light) #toggle-dark {
    display: none;
}
.theme_toggle {
    align-items: center;
    background: none;
    border: none;
    border-radius: .9rem;
    color: var(--f3);
    cursor: pointer;
    display: inline-flex;
    height: 1.8rem;
    justify-content: center;
    padding: 0;
    width: 1.8rem;
}
.theme_toggle:focus-visible { outline: .2rem solid var(--f1); }
.theme_toggle:focus-visible,
.theme_toggle:hover {
    color: var(--f1);
}


a {
    color: var(--f1);
    text-decoration: none;
}
a:hover { color: var(--f3); }
.actions a,
.actions button {
    align-items: center;
    background: var(--b2);
    border: none;
    border-radius: .2rem;
    color: var(--f1);
    column-gap: .3rem;
    cursor: pointer;
    display: flex;
    font-size: .9rem;
    padding: .3rem .4rem;
    white-space: nowrap;
}
.actions a:focus-visible,
.actions a:hover,
.actions button:focus-visible,
.actions button:hover {
    background: var(--b3);
}
.actions button.active {
    border: 1px solid var(--bm);
    padding: calc(.3rem - 1px) calc(.4rem - 1px);
}
/* TODO: Temporarily hidden - unhide in an upcoming version when we figured out
         layout questions around banner. */
.banner { display: none; }
body {
    background: var(--b1);
    color: var(--f2);
    margin: 0;
}
.browse {
    background: none;
    border: none;
    border-radius: .2rem;
    color: var(--f3);
    cursor: pointer;
    outline: none;
    padding: .2rem .3rem;
}
.browse:hover { color: var(--f1); }
.browse:focus-visible {
    background: var(--f2);
    color: var(--b1);
}
.bubbles {
    display: flex;
    flex-flow: row wrap;
    gap: .3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bubbles a {
    border-radius: 50%;
    display: block;
    height: 1rem;
    width: 1rem;
}
.bubbles a:focus-visible,
.bubbles a:hover {
    box-shadow: 0 0 .15rem var(--m);
}
button {
    color: var(--f2);
    font-size: inherit;
}
.caption {
    font-weight: 500;
    margin-top: .4rem;
}
.center {
    margin: 0 auto;
    padding-inline: 1rem;
}
.center .banner {
    border-radius: .5rem;
    max-width: 32rem;
}
.center .description a {
    text-decoration: underline;
    text-underline-offset: .3rem;
}
.center .description a:hover { text-decoration: none; }
.container_title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.container_title h1 { margin: 0; }
#copy-link::after {
    color: var(--f2);
    padding-left: .5rem;
}
#copy-link.confirmed::after { content: var(--t-copied); }
#copy-link.failed::after { content: var(--t-failed); }
dialog.shortcuts {
    background: var(--b1);
    border-radius: .5rem;
    border: 1px solid var(--b3);
    box-shadow: 0 0 1rem var(--d1-15);
    color: var(--f2);
    flex-direction: column;
    left: 0;
    margin: 0;
    padding: 3rem 3rem 2rem 3rem;
    position: fixed;
    row-gap: 1rem;
    top: 0;
    transform: translate(calc(50vw - 50%), calc(50dvh - 50%));
    z-index: 9;
}
dialog.shortcuts[open] { display: flex; }
dialog.shortcuts button {
    background: var(--action);
    border: none;
    border-radius: .2rem;
    color: var(--l1);
    cursor: pointer;
    font-size: .9rem;
    padding: .3rem .4rem;
}
dialog.shortcuts button:hover { background: var(--action-hover); }
dialog.shortcuts form {
    margin-top: 1rem;
    text-align: center;
}
dialog.shortcuts h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}
dialog.shortcuts li {
    align-items: center;
    column-gap: 1.5rem;
    display: flex;
    font-size: .9rem;
    justify-content: space-between;
    line-height: 1.4;
    list-style: none;
}
dialog.shortcuts li > span {
    align-items: center;
    background: var(--b2);
    border-radius: .3rem;
    box-sizing: border-box;
    display: flex;
    font-family: monospace;
    font-size: .8rem;
    justify-content: center;
    min-height: 1.8rem;
    min-width: 1.8rem;
    padding: .1rem .5rem;
    white-space: nowrap;
}
dialog.shortcuts ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    row-gap: .5rem;
}
.feed_card {
    background: var(--b2);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    row-gap: 1rem;
}
.feed_card > * { margin: 0; }
.feed_card a { text-decoration: underline; }
.feed_card button { background: var(--b1); }
.feed_card h2 {
    align-items: center;
    display: flex;
    column-gap: .4em;
}
.feed_card h2 span { flex-grow: 1; }
.feed_grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
.flex { display: flex; }
.flex.align { align-items: center; }
.flex.apart { justify-content: space-between; }
.flex.space { column-gap: .3rem; }
.flex.wrap { flex-wrap: wrap; }
footer {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    font-size: .9rem;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 2rem auto 0 auto;
    padding: 1rem;
    width: 100%;
}
footer > :first-child { color: var(--f1); }
footer a,
footer button {
    align-items: center;
    background: none;
    border: none;
    color: var(--f3);
    column-gap: .4rem;
    cursor: pointer;
    display: flex;
}
footer a:hover,
footer button:hover {
    color: var(--f1);
}
footer a:not(:hover) svg,
footer button:not(:hover) svg {
    color: var(--fm);
}
h1 {
    color: var(--f1);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 3rem;
    position: relative;
}
h2 .anchor {
    color: var(--bm);
    font-size: .9em;
}
h2 .anchor:focus-visible,
h2 .anchor:hover {
    color: var(--f1);
}
header {
    align-items: center;
    display: flex;
    font-size: .9rem;
    justify-content: space-between;
    padding: .5rem .6rem .5rem .7rem;
}
header > :nth-child(1) {
    border-radius: .2rem;
    flex-shrink: 1;
    max-width: 100%;
    min-width: 0;
    outline: none;
}
header > :nth-child(1):focus-visible {
    background: var(--f2);
    color: var(--b1);
}
header > :nth-child(1) svg { flex-shrink: 0; }
header .navigation {
    align-items: center;
    column-gap: .1em;
    display: flex;
    flex: 1;
    padding-inline: .1rem;
}
header > :nth-child(1),
header .navigation > .browse {
    align-items: center;
    column-gap: .3em;
    display: flex;
    padding: .2rem .3rem;
}
header .navigation > :not(:last-child) {  }
header .title {
    flex-shrink: 1;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
img {
    display: block;
    max-width: 100%;
}
input[type="search"]::-webkit-search-cancel-button { display: none; }
.large_font { font-size: 1.6rem; }
.layout {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}
.layout .growing { flex-grow: 1; }
.layout_split {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.links {
    font-size: .9rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.links > a {
    align-items: center;
    background: var(--b2);
    border-radius: .2rem;
    color: var(--f1);
    column-gap: .3rem;
    display: flex;
    padding: .3rem .4rem;
    width: max-content;
}
.links > a:not(:first-child) { margin-top: .5rem; }
.links > a:focus-visible,
.links > a:hover {
    background: var(--b3);
}
.logo {
    background: var(--f2);
    color: var(--b1);
    font-weight: 500;
    padding: .5rem;
}
.medium_font { font-size: 1.2rem; }
.outro_playlist_context > a,
.outro_playlist_context > button {
    align-items: center;
    border-radius: .3rem;
    column-gap: 1rem;
    display: flex;
    min-height: 2rem;
    outline: none;
    padding: .25rem 1rem;
    position: relative;
}
.outro_playlist_context > a:focus-visible,
.outro_playlist_context > a:hover,
.outro_playlist_context > button:focus-visible,
.outro_playlist_context > button:hover {
    background: var(--l1-10);
}
.outro_playlist_context .description {
    align-items: flex-start;
    color: var(--l1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    margin-right: 1rem;
}
.outro_playlist_context .details {
    color: var(--l3);
    font-size: .8rem;
}
.outro_playlist_context .label { font-size: .9rem;  }
.outro_playlist_context .number_context {
    background: var(--l3);
    border-radius: .2rem;
    color: var(--d1);
    font-size: .8rem;
    margin-bottom: .2rem;
    padding: .15rem .36rem;
}
.outro_playlist_context img {
    aspect-ratio: var(--poster-aspect);
    background: var(--d1);
    border-radius: .3rem;
    display: block;
    flex-shrink: 0;
    height: 4rem;
    object-fit: contain;
}
.outro_playlist_context .replay_indicator {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: -.25rem;
    width: 2rem;
}
.outro_playlist_context .replay_indicator svg { font-size: 1.5rem; }
.outro_playlist_context .title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 min(5%, 3rem) 0;
    text-align: center;
}
.outro_video_context {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}
.outro_video_context > button {
    align-items: center;
    column-gap: .3rem;
    display: flex;
}
.parent_context {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    font-size: .9rem;
    gap: .5rem;
    margin-bottom: .2rem;
}
.parent_context.inline {
    align-items: center;
    flex-direction: row-reverse;
}
.parent_context > div:nth-child(2) { display: flex; }
.parents {
    font-size: .9rem;
    margin-top: .2rem;
}
path.loading_left {
    /* The loading icon is at first the pause icon, but after about 500ms
       (400ms delay + ~100ms until first tweening occurs) the loading
       animation (loading-left-shrink) sets in. */
    animation:
        loading-left-shrink 1600ms cubic-bezier(.65, .05, .36, 1) 400ms 1,
        loading-left-shuffle 1600ms cubic-bezier(.65, .05, .36, 1) 2000ms infinite;
    transform-origin: 50% 50%;
}
@keyframes loading-left-shrink {
    0% { transform: translateX(0) scaleY(1); }
    25% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(40%) scaleY(.35); }
    75% { transform: translateX(40%) scaleY(.35); }
    100% { transform: translateX(0%) scaleY(.35); }
}
@keyframes loading-left-shuffle {
    0% { transform: translateX(0) scaleY(.35); }
    25% {
        opacity: 1;
        transform: translateX(0) scaleY(.35);
    }
    37.25% { opacity: .5; }
    50% {
        opacity: 1;
        transform: translateX(40%) scaleY(.35);
    }
    75% { transform: translateX(40%) scaleY(.35); }
    100% { transform: translateX(0%) scaleY(.35); }
}
path.loading_right {
    animation:
        loading-right-shrink 1600ms cubic-bezier(.65, .05, .36, 1) 400ms 1,
        loading-right-shuffle 1600ms cubic-bezier(.65, .05, .36, 1) 2000ms infinite;
    transform-origin: 50% 50%;
}
@keyframes loading-right-shrink {
    0% { transform: translateX(0) scaleY(1); }
    25% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(-40%) scaleY(.35); }
    75% { transform: translateX(-40%) scaleY(.35); }
    100% { transform: translateX(0%) scaleY(.35); }
}
@keyframes loading-right-shuffle {
    0% { transform: translateX(0) scaleY(.35); }
    25% { transform: translateX(0) scaleY(.35); }
    50% { transform: translateX(-40%) scaleY(.35); }
    75% {
        opacity: 1;
        transform: translateX(-40%) scaleY(.35);
    }
    87.25% { opacity: .5; }
    100% {
        opacity: 1;
        transform: translateX(0%) scaleY(.35);
    }
}
.player_controls {
    bottom: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
}
.player_controls button { padding: .9rem .7rem; }
.player_controls button svg { font-size: 1.4rem; }
.player_controls .control_pane {
    background: var(--d1-85);
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    display: flex;
    font-size: .9rem;
    justify-content: space-between;
}
.player_controls .control_pane button { font-size: .9rem; }
.player_controls .control_pane > div {
    align-items: center;
    display: flex;
}
.player_controls .control_pane input {
    opacity: 0;
    position: absolute;
    width: 100%;
}
.player_controls .left_playback_controls button:first-child { padding-left: .9rem; }
.player_controls .right_playback_controls button:last-child { padding-right: .9rem; }
.player_controls #select_subtitles {
    align-items: center;
    column-gap: .3rem;
    display: flex;
}
.player_controls .timeline {
    cursor: pointer;
    height: .8rem;
    position: relative;
}
.player_controls .timeline * { cursor: pointer; }
.player_controls .timeline .bar {
    bottom: 0;
    height: .45rem;
    pointer-events: none;
    position: absolute;
}
.player_controls .timeline:hover .bar { height: .5rem; }
.player_controls .timeline .bar.backdrop {
    background: var(--d1);
    width: 100%;
    z-index: 1;
}
.player_controls .timeline .bar.outline {
    width: 100%;
    z-index: 4;
}
.player_controls .timeline.focus:not(.focus_from_click) .bar.outline { outline: 1px solid var(--l1); }
.player_controls .timeline .bar.progress {
    background: var(--l1);
    width: 0;
    z-index: 3;
}
.player_controls .timeline .bar.progress::after {
    background:
        repeating-linear-gradient(
            135deg,
            var(--l2),
            var(--l2) 1rem,
            transparent 1rem,
            transparent 2rem
        );
    background-size: 2.8rem 2.8rem;
    content: '';
    display: block;
    height: 100%;
    opacity: 0;
    transition: opacity .5s ease;
    width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
    .player_controls .timeline .bar.progress::after { animation: stripes 1s linear infinite; }
}
@keyframes stripes {
    100% { background-position-x: 2.8rem; }
}
.player_controls .timeline .bar.buffered {
    background: var(--dm);
    width: 0;
    z-index: 2;
}
.player_controls .timeline input {
    appearance: none;
    bottom: 0;
    left: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 3;
}
.player_intro {
    align-items: center;
    display: flex;
    justify-content: center;
}
.player_intro,
.player_outro {
    bottom: 2.9rem;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.player_outro {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    overflow-y: auto;
    padding: min(5%, 3rem) 2.5% 2.5% 2.5%;
}
.player_placeholder {
    align-items: center;
    aspect-ratio: var(--poster-aspect);
    background: var(--b2);
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    position: relative;
}
.player_placeholder img {
    height: 100%;
    width: 100%;
}
.player_placeholder span {
    background: var(--f1);
    border-radius: .2rem;
    color: var(--b1);
    left: 50%;
    padding: .4rem .7rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.player {
    background: #000;
    border-radius: .5rem;
    color: var(--l2);
    position: relative;
}
.player a,
.player button {
    color: var(--l2);
}
.player a:hover,
.player button:hover {
    color: var(--l1);
}
.player button {
    background: none;
    border: none;
    cursor: pointer;
}
.player button.dimmed { color: var(--m); }
.player button.dimmed:hover { color: var(--l3); }
.player > *:not(video) { z-index: 1; }
.player:not([data-state="intro"]) .player_intro { display: none; }
.player:not([data-state="intro"]):not([data-state="paused"]) .toggle_playback .play { display: none; }
.player:not([data-state="loading"]) .toggle_playback .loading { display: none; }
.player[data-state="loading"] .player_controls .timeline .bar.progress::after { opacity: 1; }
.player:not([data-state="loading"]):not([data-state="outro"]).hide_interface { cursor: none; }
.player:not([data-state="loading"]):not([data-state="outro"]).hide_interface .player_controls { display: none; }
.player:not([data-state="playing"]) .toggle_playback .pause { display: none; }
.player[data-state="outro"] video { opacity: .1; }
.player:not([data-state="outro"]) .player_outro { display: none; }
.player:not([data-state="outro"]) .toggle_playback .replay { display: none; }
.player:fullscreen .toggle_fullscreen .maximize { display: none; }
.player:not(:fullscreen) .toggle_fullscreen .minimize { display: none; }
.player:not(:fullscreen) video { aspect-ratio: var(--video-aspect); }
.playlist_context,
.player:not(:fullscreen) video {
    max-height: 60dvh;
}
/* With portrait (tablet/mobile) viewports we allow videos to be taller */
@media (max-aspect-ratio: 1/1) {
    .playlist_context,
    .player:not(:fullscreen) video {
        max-height: 68dvh;
    }
}
@media (max-aspect-ratio: 2/3) {
    .playlist_context,
    .player:not(:fullscreen) video {
        max-height: 76dvh;
    }
}
.playlist_context > a {
    align-items: center;
    border-radius: .3rem;
    display: flex;
    outline: none;
    position: relative;
}
.playlist_context > a:focus-visible,
.playlist_context > a:hover { background: var(--b2); }
.playlist_context > a:not(:last-child) {
    margin-bottom: .5rem;
}
.playlist_context .current::after {
    background: var(--action);
    border-radius: .1rem;
    content: '';
    height: 3rem;
    margin-left: -.2rem;
    width: .2rem;
}
.playlist_context .description {
    align-items: flex-start;
    color: var(--f1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: .2rem .8rem;
}
.playlist_context .details {
    color: var(--f3);
    font-size: .8rem;
}
.playlist_context .label { font-size: .9rem; }
.playlist_context .number_context {
    background: var(--f3);
    border-radius: .2rem;
    color: var(--b1);
    font-size: .8rem;
    margin-bottom: .2rem;
    padding: .15rem .36rem;
}
.playlist_context img {
    aspect-ratio: var(--poster-aspect);
    background: var(--d1);
    border-radius: .3rem;
    display: block;
    flex-shrink: 0;
    height: 4rem;
    object-fit: contain;
}
.playlist_page {
    display: flex;
    flex-direction: column;
}
.playlist_page > a > div { flex-shrink: 0; }
.playlist_page > * {
    align-items: center;
    border-radius: .5rem;
    column-gap: 1rem;
    display: flex;
    outline: none;
    padding: .5rem;
}
.playlist_page > *:focus-visible,
.playlist_page > *:hover { background: var(--b2); }
.playlist_page .description {
    align-items: center;
    color: var(--f1);
    display: flex;
    flex-grow: 1;
}
.reading_width { max-width: 32rem; }
.release_date {
    color: var(--f3);
    display: inline-block;
    margin-top: .2rem;
}
.right_playback_controls { position: relative; }
.search {
    align-items: center;
    color: var(--f3);
    column-gap: .3rem;
    display: flex;
    margin-inline: .3rem;
    position: relative;
    transition: margin-right 200ms ease, width 200ms ease;
}
.search:hover { color: var(--f1); }
.search:focus-within input,
.search.query_present input {
    cursor: text;
    width: calc(100% + 2rem);
}
.search button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: .3em;
    position: absolute;
    right: -2.3rem;
}
.search .icon,
.search .label {
    padding-block: .3rem;
    pointer-events: none;
}
.search input {
    background: none;
    border-bottom: 1px solid transparent;
    border: none;
    bottom: 0;
    color: var(--f3);
    cursor: pointer;
    font-size: 1em;
    left: 0;
    outline: none;
    position: absolute;
    top: 0;
    transition: width 200ms ease;
    width: 100%;
}
.search input:focus { border-bottom: 1px solid var(--m); }
.search.query_present input,
.search input:focus {
    padding: .3em 1.4em calc(.3em - 1px) 1.2em;
}
.search:focus-within .label,
.search.query_present .label {
    opacity: 0;
}
.search:not(.query_present) button {
    display: none;
}
.site_title {
    color: var(--f2);
    font-size: 1.17rem;
}
.site_tree {
    background: var(--b1);
    border: 1px solid var(--b3);
    border-radius: .5em;
    box-shadow: 0 0 2rem var(--d1-15);
    box-sizing: border-box;
    display: flex;
    max-height: 80dvh;
    min-width: min(34rem, 100vw);
    overflow-y: auto;
    padding: 1rem;
    position: absolute;
    top: 3.2rem;
    z-index: 2;
}
.site_tree [role="status"]:not(:empty) {
    font-weight: 500;
    padding: .5rem;
}
.site_tree .elements {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.site_tree .elements a {
    align-items: center;
    border-radius: .2rem;
    display: flex;
}
.site_tree .elements a.current::before {
    background: var(--action);
    border-radius: .1rem;
    content: '';
    height: 1rem;
    margin-left: -.2rem;
    right: 0;
    width: .2rem;
}
.site_tree .elements a:focus-visible,
.site_tree .elements a:hover {
    background: var(--b2);
    color: var(--f1);
    outline: none;
}
.site_tree .elements a:not(.visible) { display: none; }
.site_tree .elements .container > :nth-child(1) {
    align-items: center;
    display: flex;
    height: 1rem;
    justify-content: center;
    padding: .5rem;
    width: 1rem;
}
.site_tree .elements .container > :nth-child(1) svg {
    border-radius: 50%;
    color: var(--f1);
    font-size: .6rem;
    padding: .2rem;
}
.site_tree .elements .container:hover > :nth-child(1) svg { background: var(--b1); }
.site_tree .elements .container > :nth-child(1):hover svg {
    background: var(--f3);
    color: var(--b1);
}
.site_tree .elements .container.expanded > :nth-child(1) svg { transform: rotate(90deg); }
.site_tree .elements .container > :nth-child(2) {
    align-items: center;
    column-gap: .3rem;
    display: flex;
    flex-wrap: wrap;
    padding-block: .3rem;
}
.site_tree .elements .container > :nth-child(2) svg {
    color: var(--m);
    font-size: .5rem;
}
.site_tree .elements .container > :nth-child(3) {
    color: var(--f3);
    margin-left: .3rem;
    white-space: nowrap;
}
.site_tree .elements .video { padding: .5rem; }
.site_tree .elements .video.current::before { height: 3rem; }
.site_tree .elements .video > :nth-child(1) {
    aspect-ratio: var(--poster-aspect);
    border-radius: .2rem;
    height: 3rem;
    margin-left: 1.5rem;
}
.site_tree .elements .video > :nth-child(2) {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: .7rem;
    row-gap: .1rem;
}
.site_tree .elements .video > :nth-child(2) > :nth-child(2) {
    color: var(--f3);
    font-size: .8rem;
}
.site_tree .elements .placeholder { background: var(--b3); }
.site_tree:not(.open) { display: none; }
#speed .x { font-size: .8em; }
.selector_control {
    align-items: center;
    display: flex;
    height: 100%;
}
.selector_options {
    bottom: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    padding-bottom: .5rem;
    pointer-events: none;
    position: absolute;
    right: .5rem;
    z-index: 4;
}
.selector_options:focus-within,
.selector_control.active:hover .selector_options {
    opacity: 1;
    pointer-events: auto;
}
.selector_options button {
    align-items: center;
    background: var(--d1-85);
    display: flex;
    white-space: nowrap;
}
.selector_options button:first-child {
    border-top-left-radius: .4em;
    border-top-right-radius: .4em;
}
.selector_options button:last-child {
    border-bottom-left-radius: .4em;
    border-bottom-right-radius: .4em;
}
.selector_options button .active_marker_container {
    height: 1em;
    width: 1em;
}
.selector_options button svg { font-size: 1rem; }
.selector_options button:not(.active) svg { display: none; }
.selector_options button:not(:first-child) { padding-top: .5rem; }
.selector_options button:not(:last-child) { padding-bottom: .5rem; }
.skip_to_content {
    background: var(--f3);
    border-radius: .3rem;
    color: var(--b1) !important;
    left: 50%;
    padding: .5rem 1rem;
    position: fixed;
    top: 4rem;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
}
.skip_to_content:not(:focus-visible) {
    opacity: 0;
    pointer-events: none;
}
svg {
    fill: currentColor;
    display: block;
}
.transcript {
    container-type: size;
    display: flex;
    flex-direction: column;
    font-size: .8rem;
    min-height: 25dvh;
    row-gap: 1.5em;
}
.transcript input {
    background: var(--b2);
    border: 1px solid var(--b3);
    border-radius: .2rem;
    color: var(--f2);
    outline: none;
    padding: .2em;
    width: 100%;
}
.transcript input:focus { background: var(--b3); }
.transcript > :nth-child(2) {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: auto;
    row-gap: .3em;
}
.transcript > :nth-child(2) > * {
    align-items: center;
    column-gap: .5em;
    display: flex;
    justify-content: space-between;
}
.transcript > :nth-child(2) a {
    border-radius: .2rem;
    font-family: monospace;
    font-size: .95em;
    padding: .2em;
}
.thumbnail {
    aspect-ratio: var(--poster-aspect);
    background: var(--d1);
    border-radius: .5rem;
    flex-shrink: 0;
    object-fit: contain;
}
.thumbnail_wrapper { position: relative; }
.thumbnail_wrapper .duration {
    background: var(--b1-85);
    border-radius: .2rem;
    bottom: calc(var(--poster-aspect) * 3%);
    color: var(--f1);
    font-size: .8rem;
    padding: .1rem .3rem;
    position: absolute;
    right: 3%;
}
.unlisted_badge {
    background: var(--b2);
    border-radius: .2rem;
    padding: .3rem;
}
.versions_ring {
    aspect-ratio: 1;
    height: min(20rem, 85%);
    opacity: .9;
    width: auto;
}
.versions_ring circle.backdrop {
    fill: var(--d1);
    opacity: .9;
}
.versions_ring path { fill: var(--l1); }
.versions_ring g {
    cursor: pointer;
    opacity: .9;
}
.versions_ring g:focus-visible,
.versions_ring g:hover {
    opacity: 1;
    outline: none;
}
.versions_ring text {
    fill: var(--d1);
    font-size: 1.3rem;
}
.versions_ring rect.backdrop { fill: var(--l1); }
.versions_ring text.size {
    fill: var(--d3);
    font-size: 1rem;
}
.versions_ring.interacting g:not(:focus-visible):not(:hover) { opacity: .5; }
video {
    border-radius: .5rem;
    display: block;
    height: 100%;
    width: 100%;
}
.video_info { margin-bottom: 1.5rem; }
.video_layout {
    display: grid;
    gap: 2rem;
    margin-block: 2rem;
}
.video_layout .playlist_context,
.video_layout .transcript {
    overflow-x: hidden;
    overflow-y: auto;
}
.video_layout:not([data-panel="playlist"]) .playlist_context { display: none; }
.video_layout:not([data-panel="transcript"]) .transcript { display: none; }
.video_layout .video_footer {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.video_layout .video_header {
    align-items: center;
    column-gap: 3rem;
    display: flex;
    justify-content: space-between;
}
.video_title {
    color: var(--f1);
    font-size: 1.4rem;
    margin: 0;
    margin-bottom: .3em;
}
.videos {
    column-gap: 1rem;
    display: flex;
    flex-flow: row wrap;
    row-gap: 1rem;
}
.videos_grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.videos_grid .release_date { font-size: .9rem; }
.videos_grid .thumbnail { height: auto; }
@media (width < 20rem) {
    header .label { display: none; }
    .playlist_context img { height: 3rem; }
    .search { width: .9rem; }
    .search button { right: 0; }
    .search input { width: 1rem; }
    .search:focus-within,
    .search.query_present {
        width: 5rem;
    }
    .search:focus-within input,
    .search.query_present input {
        width: 5rem;
    }
}
@media (width >= 20rem) and (width < 30rem) {
    .playlist_context img { height: calc(3rem + (100vw - 20rem) / 10); }
}
@media (width >= 20rem) and (width < 35rem) {
    header .icon { display: none; }
    .search:focus-within,
    .search.query_present {
        margin-right: 2.3rem;
    }
    .search.query_present input,
    .search input:focus {
        padding: .3em 1.4em calc(.3em - 1px) 0;
        width: calc(100% + 2rem);
    }
    .search:focus-within .label { opacity: .5; }
    .search.query_present .label { opacity: 0; }
}
@media (width < 25rem) {
    .outro_playlist_context .details { display: none; }
}
@media (width < 30rem) {
    .container_title {
        align-items: flex-start;
        flex-direction: column;
    }
    .container_title h1 { font-size: max(1.2rem, 1.2rem + (100vw - 20rem) * 0.03); }
    .outro_playlist_context img { display: none; }
}
@media (width >= 30rem) {
    .videos_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width < 34rem) {
    .playlist_page > a > div { width: 50%; }
    .playlist_page .thumbnail { height: auto; }
}
@media (width >= 34rem) {
    .playlist_page .thumbnail {
        height: 8rem;
        width: auto;
    }
}
@media (width < 35rem) {
    .outro_playlist_context .replay_indicator { display: none; }
}
@media (width < 40rem), (height < 40rem) {
    dialog.shortcuts[open] { padding: 2rem 1.5rem; }
    dialog.shortcuts form { margin-top: 1rem; }
    dialog.shortcuts h3 { font-size: 1rem; }
    dialog.shortcuts li { font-size: .8rem; }
    dialog.shortcuts li > span {
        min-height: 1.6rem;
        min-width: 1.6rem;
    }
    dialog.shortcuts ul { margin: 0; }
}
@media (width < 40rem) {
    footer { justify-content: center; }
    .outro_playlist_context img { height: 3rem; }
    .parent_context { align-items: flex-start; }
    .video_layout .video_header {
        align-items: flex-start;
        flex-direction: column;
    }
    .video_title { font-size: 1.2rem; }
}
@media (width >= 44rem) {
    .videos_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (width < 45rem) {
    .site_tree {
        background: linear-gradient(var(--b1), var(--b1-85));
        border: none;
        bottom: 0;
        box-shadow: unset;
        left: 0;
        max-height: unset;
        padding: .5rem;
        top: 2.5rem;
        width: 100vw;
    }
}
@media (width >= 53rem) {
    .feed_grid { grid-template-columns: 1fr 1fr; }
}
@media (width < 55rem) {
    .video_layout { grid-template-columns: 1fr; }
    .video_layout .player_placeholder,
    .video_layout .player {
        grid-row: 2/3;
    }
    .video_layout .video_footer { grid-row: 3/4; }
    .video_layout .video_header { grid-row: 1/2; }
    .video_layout:not([data-panel]) .video_info { grid-row: 4/5; }
    .video_layout[data-panel] .playlist_context,
    .video_layout[data-panel] .transcript {
        grid-row: 4/5;
    }
    .video_layout[data-panel] .video_info { grid-row: 5/6; }
}
@media (width >= 55rem) {
    .layout_split { flex-direction: row; }
    .layout_split > :nth-child(1) { flex-grow: 1; }
    .video_layout[data-panel] {
        grid-template-columns: 1fr max(20rem, 20%);
        grid-template-rows: auto min-content auto auto;
    }
    .video_layout .player_placeholder,
    .video_layout .player {
        grid-area: 2/1/3/2;
    }
    .video_layout .playlist_context,
    .video_layout .transcript {
        grid-area: 2/2/3/3;
    }
    .video_layout .video_footer { grid-area: 3/1/4/2; }
    .video_layout .video_header { grid-area: 1/1/2/2; }
    .video_layout .video_info { grid-area: 4/1/5/2; }
}
@media (width >= 55rem) and (width < 65rem) {
    .playlist_context img { height: calc(3rem + (100vw - 55rem) / 10); }
}
@media (width >= 58rem) {
    .videos_grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (width >= 68rem) {
    .feed_grid { gap: 2rem; }
}
@media (width >= 100rem) {
    .center { max-width: 80vw; }
    footer { width: 80vw; }
    h2 .anchor {
        left: -1.3rem;
        position: absolute;
        top: .1rem;
    }
    .layout_split { gap: 2rem; }
}
@media (width >= 110rem) {
    .videos_grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (width >= 134rem) {
    .videos_grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (width >= 135rem) {
    .feed_grid { grid-template-columns: 1fr 1fr 1fr; }
}

