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

body {
    --action: hsl(194 100% 18%);
--action-hover: hsl(193 100% 24%);
--bg-1: hsl(0 0% 5.7999997%);
--bg-1-85: hsl(0 0% 5.7999997% / 85%);
--bg-2: hsl(0 0% 12.1%);
--bg-3: hsl(0 0% 16%);
--bg-mg: hsl(0 0% 26.699999%);
--checkerboard: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHJlY3QgZmlsbD0iaHNsKDAgMCUgMTIuMSUpIiBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHg9IjAiIHk9IjAiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgwIDAlIDEyLjElKSIgaGVpZ2h0PSIzMiIgd2lkdGg9IjMyIiB4PSIzMiIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgwIDAlIDE2JSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgwIDAlIDE2JSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMzIiIHk9IjAiLz4KPC9zdmc+Cg==");
--d-1: hsl(0 0% 5.7999997%);
--d-1-15: hsl(0 0% 5.7999997% / 15%);
--d-1-85: hsl(0 0% 5.7999997% / 85%);
--d-2: hsl(0 0% 12.1%);
--d-3: hsl(0 0% 16%);
--danger: hsl(344 61% 31%);
--danger-hover: hsl(345 63% 42%);
--fg-1: hsl(0 0% 100%);
--fg-2: hsl(0 0% 78.799995%);
--fg-3: hsl(0 0% 69.8%);
--fg-mg: hsl(0 0% 59.600002%);
--l-1: hsl(0 0% 100%);
--l-1-10: hsl(0 0% 100% / 10%);
--l-2: hsl(0 0% 78.799995%);
--l-3: hsl(0 0% 69.8%);
--mg: hsl(0 0% 53.3%);
--warning-bg: hsl(5 35% 15.000001%);
--warning-fg: hsl(0 0% 100%);

}
@supports (color: oklch(0% 0 0)) {
    body {
        --action: oklch(36% 0.18 230);
--action-hover: oklch(46% 0.22 225);
--bg-1: oklch(16.8% 0 0);
--bg-1-85: oklch(16.8% 0 0 / 85%);
--bg-2: oklch(23.9% 0 0);
--bg-3: oklch(28% 0 0);
--bg-mg: oklch(38.7% 0 0);
--checkerboard: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHJlY3QgZmlsbD0iaHNsKDAgMCUgMTIuMSUpIiBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHg9IjAiIHk9IjAiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgwIDAlIDEyLjElKSIgaGVpZ2h0PSIzMiIgd2lkdGg9IjMyIiB4PSIzMiIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgwIDAlIDE2JSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMCIgeT0iMzIiLz4KICAgIDxyZWN0IGZpbGw9ImhzbCgwIDAlIDE2JSkiIGhlaWdodD0iMzIiIHdpZHRoPSIzMiIgeD0iMzIiIHk9IjAiLz4KPC9zdmc+Cg==");
--d-1: oklch(16.8% 0 0);
--d-1-15: oklch(16.8% 0 0 / 15%);
--d-1-85: oklch(16.8% 0 0 / 85%);
--d-2: oklch(23.9% 0 0);
--d-3: oklch(28% 0 0);
--danger: oklch(40% 0.13 370);
--danger-hover: oklch(50% 0.17 372);
--fg-1: oklch(100% 0 0);
--fg-2: oklch(84% 0 0);
--fg-3: oklch(77% 0 0);
--fg-mg: oklch(68% 0 0);
--l-1: oklch(100% 0 0);
--l-1-10: oklch(100% 0 0 / 10%);
--l-2: oklch(84% 0 0);
--l-3: oklch(77% 0 0);
--mg: oklch(62.699997% 0 0);
--warning-bg: oklch(25% 0.04 384);
--warning-fg: oklch(100% 0 0);

    }
}

a {
    color: var(--fg-1);
    text-decoration: none;
}
a:hover {
    color: var(--fg-3);
}
.actions a,
.actions button {
    align-items: center;
    background: var(--bg-2);
    border: none;
    border-radius: 0.2rem;
    color: var(--fg-1);
    column-gap: 0.3rem;
    cursor: pointer;
    display: flex;
    font-size: 0.9rem;
    padding: 0.3rem 0.4rem;
    white-space: nowrap;
}
.actions a:focus-visible,
.actions a:hover,
.actions button:focus-visible,
.actions button:hover {
    background: var(--bg-3);
}
.actions button.active {
    border: 1px solid var(--bg-mg);
    padding: calc(0.3rem - 1px) calc(0.4rem - 1px);
}
/* TODO: Temporarily hidden - unhide in an upcoming version when we figured out
         layout questions around banner. */
.banner {
    display: none;
}
body {
    background: var(--bg-1);
    color: var(--fg-2);
    margin: 0;
}
.browse {
    background: none;
    border: none;
    border-radius: 0.2rem;
    color: var(--fg-3);
    cursor: pointer;
    outline: none;
    padding: 0.2rem 0.3rem;
}
.browse:hover {
    color: var(--fg-1);
}
.browse:focus-visible {
    background: var(--fg-2);
    color: var(--bg-1);
}
.bubbles {
    display: flex;
    flex-flow: row wrap;
    gap: 0.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 0.15rem var(--mg);
}
button {
    color: var(--fg-2);
    font-size: inherit;
}
.caption {
    font-weight: 500;
    margin-top: 0.4rem;
}
.center {
    margin: 0 auto;
    padding-inline: 1rem;
}
.center .banner {
    border-radius: 0.5rem;
    max-width: 32rem;
}
.center .description a {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}
.center .description a:hover {
    text-decoration: none;
}
.container_title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.container_title h1 {
    margin: 0;
}
#copy-link::after {
    color: var(--fg-2);
    padding-left: 0.5rem;
}
#copy-link.confirmed::after {
    content: var(--t-copied);
}
#copy-link.failed::after {
    content: var(--t-failed);
}
.description {
    line-height: 1.5;
}
dialog.shortcuts {
    background: var(--bg-1);
    border-radius: 0.5rem;
    border: 1px solid var(--bg-3);
    box-shadow: 0 0 1rem var(--d-1-15);
    color: var(--fg-2);
    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: 0.2rem;
    color: var(--l-1);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.3rem 0.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: 0.9rem;
    justify-content: space-between;
    line-height: 1.4;
    list-style: none;
}
dialog.shortcuts li > span {
    align-items: center;
    background: var(--bg-2);
    border-radius: 0.3rem;
    box-sizing: border-box;
    display: flex;
    font-family: monospace;
    font-size: 0.8rem;
    justify-content: center;
    min-height: 1.8rem;
    min-width: 1.8rem;
    padding: 0.1rem 0.5rem;
    white-space: nowrap;
}
dialog.shortcuts ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    row-gap: 0.5rem;
}
.feed_card {
    background: var(--bg-2);
    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(--bg-1);
}
.feed_card h2 {
    align-items: center;
    display: flex;
    column-gap: 0.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: 0.3rem;
}
.flex.wrap {
    flex-wrap: wrap;
}
footer {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 2rem auto 0 auto;
    padding: 1rem;
    width: 100%;
}
footer > :first-child {
    color: var(--fg-1);
}
footer a,
footer button {
    align-items: center;
    background: none;
    border: none;
    color: var(--fg-3);
    column-gap: 0.4rem;
    cursor: pointer;
    display: flex;
}
footer a:hover,
footer button:hover {
    color: var(--fg-1);
}
footer a:not(:hover) svg,
footer button:not(:hover) svg {
    color: var(--fg-mg);
}
h1 {
    color: var(--fg-1);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 3rem;
}
header {
    align-items: center;
    display: flex;
    font-size: 0.9rem;
    justify-content: space-between;
    padding: 0.5rem 0.6rem 0.5rem 0.7rem;
}
header > :nth-child(1) {
    border-radius: 0.2rem;
    flex-shrink: 1;
    max-width: 100%;
    min-width: 0;
    outline: none;
}
header > :nth-child(1):focus-visible {
    background: var(--fg-2);
    color: var(--bg-1);
}
header > :nth-child(1) svg {
    flex-shrink: 0;
}
header .navigation {
    align-items: center;
    column-gap: 0.1em;
    display: flex;
    flex: 1;
    padding-inline: 0.1rem;
}
header > :nth-child(1),
header .navigation > .browse {
    align-items: center;
    column-gap: 0.3em;
    display: flex;
    padding: 0.2rem 0.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: 0.9rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
.links > a {
    align-items: center;
    background: var(--bg-2);
    border-radius: 0.2rem;
    color: var(--fg-1);
    column-gap: 0.3rem;
    display: flex;
    padding: 0.3rem 0.4rem;
    width: max-content;
}
.links > a:not(:first-child) {
    margin-top: 0.5rem;
}
.links > a:focus-visible,
.links > a:hover {
    background: var(--bg-3);
}
.logo {
    background: var(--fg-2);
    color: var(--bg-1);
    font-weight: 500;
    padding: 0.5rem;
}
.medium_font {
    font-size: 1.2rem;
}
.outro_playlist_context > a,
.outro_playlist_context > button {
    align-items: center;
    border-radius: 0.3rem;
    column-gap: 1rem;
    display: flex;
    min-height: 2rem;
    outline: none;
    padding: 0.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(--l-1-10);
}
.outro_playlist_context .description {
    align-items: flex-start;
    color: var(--l-1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    margin-right: 1rem;
}
.outro_playlist_context .details {
    color: var(--l-3);
    font-size: 0.8rem;
}
.outro_playlist_context .label {
    font-size: 0.9rem;
}
.outro_playlist_context .number_context {
    background: var(--l-3);
    border-radius: 0.2rem;
    color: var(--d-1);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    padding: 0.15rem 0.36rem;
}
.outro_playlist_context img {
    aspect-ratio: var(--poster-aspect);
    background: var(--d-1);
    border-radius: 0.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: -0.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: 0.3rem;
    display: flex;
}
.parent_context {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}
.parent_context.inline {
    align-items: center;
    flex-direction: row-reverse;
}
.parent_context > div:nth-child(2) {
    display: flex;
}
.parents {
    font-size: 0.9rem;
    margin-top: 0.2rem;
}
.player_controls {
    bottom: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
}
.player_controls button {
    padding: 0.9rem 0.7rem;
}
.player_controls button svg {
    font-size: 1.4rem;
}
.player_controls .control_pane {
    background: var(--d-1-85);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    display: flex;
    font-size: 0.9rem;
    justify-content: space-between;
}
.player_controls .control_pane button {
    font-size: 0.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: 0.9rem;
}
.player_controls .right_playback_controls button:last-child {
    padding-right: 0.9rem;
}
.player_controls #select_subtitles {
    align-items: center;
    column-gap: 0.3rem;
    display: flex;
}
.player_controls .timeline {
    cursor: pointer;
    height: 0.8rem;
    position: relative;
}
.player_controls .timeline * {
    cursor: pointer;
}
.player_controls .timeline .bar {
    bottom: 0;
    height: 0.3rem;
    pointer-events: none;
    position: absolute;
}
.player_controls .timeline:hover .bar {
    height: 0.35rem;
}
.player_controls .timeline .bar.backdrop {
    background: var(--d-3);
    width: 100%;
    z-index: 1;
}
.player_controls .timeline .bar.outline {
    width: 100%;
    z-index: 3;
}
.player_controls .timeline.focus:not(.focus_from_click) .bar.outline {
    outline: 1px solid var(--l-1);
}
.player_controls .timeline .bar.progress {
    background: var(--l-1);
    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: 0.5rem;
    border-top-right-radius: 0.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(--bg-2);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    position: relative;
}
.player_placeholder img {
    height: 100%;
    width: 100%;
}
.player_placeholder span {
    background: var(--fg-1);
    border-radius: 0.2rem;
    color: var(--bg-1);
    left: 50%;
    padding: 0.4rem 0.7rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.player_wrapper {
    background: #000;
    border-radius: 0.5rem;
    color: var(--l-2);
    position: relative;
}
.player_wrapper a,
.player_wrapper button {
    color: var(--l-2);
}
.player_wrapper a:hover,
.player_wrapper button:hover {
    color: var(--l-1);
}
.player_wrapper button {
    background: none;
    border: none;
    cursor: pointer;
}
.player_wrapper button.dimmed {
    color: var(--mg);
}
.player_wrapper button.dimmed:hover {
    color: var(--l-3);
}
.player_wrapper > *:not(video) {
    z-index: 1;
}
.player_wrapper:not([data-state="intro"]) .player_intro {
    display: none;
}
.player_wrapper:not([data-state="outro"]) .player_outro {
    display: none;
}
.player_wrapper:not([data-state="outro"]) .player_controls.hidden {
    display: none;
}
.player_wrapper[data-state="outro"] video {
    opacity: 0.1;
}
.player_wrapper:not(:fullscreen) video {
    aspect-ratio: var(--video-aspect);
}
.player_wrapper:not(:fullscreen) video {
    max-height: 60dvh;
}
/* With portrait (tablet/mobile) viewports we allow videos to be taller */
@media (max-aspect-ratio: 1/1) {
    .player_wrapper:not(:fullscreen) video {
        max-height: 68dvh;
    }
}
@media (max-aspect-ratio: 2/3) {
    .player_wrapper:not(:fullscreen) video {
        max-height: 76dvh;
    }
}
.playlist_context > a {
    align-items: center;
    border-radius: 0.3rem;
    display: flex;
    outline: none;
    position: relative;
}
.playlist_context > a:focus-visible,
.playlist_context > a:hover {
    background: var(--bg-2);
}
.playlist_context > a:not(:last-child) {
    margin-bottom: 0.5rem;
}
.playlist_context .current::after {
    background: var(--action);
    border-radius: 0.1rem;
    content: "";
    height: 3rem;
    margin-left: -0.2rem;
    width: 0.2rem;
}
.playlist_context .description {
    align-items: flex-start;
    color: var(--fg-1);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 0.2rem 0.8rem;
}
.playlist_context .details {
    color: var(--fg-3);
    font-size: 0.8rem;
}
.playlist_context .label {
    font-size: 0.9rem;
}
.playlist_context .number_context {
    background: var(--fg-3);
    border-radius: 0.2rem;
    color: var(--bg-1);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    padding: 0.15rem 0.36rem;
}
.playlist_context img {
    aspect-ratio: var(--poster-aspect);
    background: var(--d-1);
    border-radius: 0.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: 0.5rem;
    column-gap: 1rem;
    display: flex;
    outline: none;
    padding: 0.5rem;
}
.playlist_page > *:focus-visible,
.playlist_page > *:hover {
    background: var(--bg-2);
}
.playlist_page .description {
    align-items: center;
    color: var(--fg-1);
    display: flex;
    flex-grow: 1;
}
.reading_width {
    max-width: 32rem;
}
.release_date {
    color: var(--fg-3);
    display: inline-block;
    margin-top: 0.2rem;
}
.right_playback_controls {
    position: relative;
}
.search {
    align-items: center;
    color: var(--fg-3);
    column-gap: 0.3rem;
    display: flex;
    margin-inline: 0.3rem;
    position: relative;
    transition:
        margin-right 200ms ease,
        width 200ms ease;
}
.search:hover {
    color: var(--fg-1);
}
.search:focus-within input,
.search.query_present input {
    cursor: text;
    width: calc(100% + 2rem);
}
.search button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.3em;
    position: absolute;
    right: -2.3rem;
}
.search .icon,
.search .label {
    padding-block: 0.3rem;
    pointer-events: none;
}
.search input {
    background: none;
    border-bottom: 1px solid transparent;
    border: none;
    bottom: 0;
    color: var(--fg-3);
    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(--mg);
}
.search.query_present input,
.search input:focus {
    padding: 0.3em 1.4em calc(0.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(--fg-2);
    font-size: 1.17rem;
}
.site_tree {
    background: var(--bg-1);
    border: 1px solid var(--bg-3);
    border-radius: 0.5em;
    box-shadow: 0 0 2rem var(--d-1-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: 0.5rem;
}
.site_tree .elements {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.site_tree .elements a {
    align-items: center;
    border-radius: 0.2rem;
    display: flex;
}
.site_tree .elements a.current::before {
    background: var(--action);
    border-radius: 0.1rem;
    content: "";
    height: 1rem;
    margin-left: -0.2rem;
    right: 0;
    width: 0.2rem;
}
.site_tree .elements a:focus-visible,
.site_tree .elements a:hover {
    background: var(--bg-2);
    color: var(--fg-1);
    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: 0.5rem;
    width: 1rem;
}
.site_tree .elements .container > :nth-child(1) svg {
    border-radius: 50%;
    color: var(--fg-1);
    font-size: 0.6rem;
    padding: 0.2rem;
}
.site_tree .elements .container:hover > :nth-child(1) svg {
    background: var(--bg-1);
}
.site_tree .elements .container > :nth-child(1):hover svg {
    background: var(--fg-3);
    color: var(--bg-1);
}
.site_tree .elements .container.expanded > :nth-child(1) svg {
    transform: rotate(90deg);
}
.site_tree .elements .container > :nth-child(2) {
    align-items: center;
    column-gap: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    padding-block: 0.3rem;
}
.site_tree .elements .container > :nth-child(2) svg {
    color: var(--mg);
    font-size: 0.5rem;
}
.site_tree .elements .container > :nth-child(3) {
    color: var(--fg-3);
    margin-left: 0.3rem;
    white-space: nowrap;
}
.site_tree .elements .video {
    padding: 0.5rem;
}
.site_tree .elements .video.current::before {
    height: 3rem;
}
.site_tree .elements .video > :nth-child(1) {
    aspect-ratio: var(--poster-aspect);
    border-radius: 0.2rem;
    height: 3rem;
    margin-left: 1.5rem;
}
.site_tree .elements .video > :nth-child(2) {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 0.7rem;
    row-gap: 0.1rem;
}
.site_tree .elements .video > :nth-child(2) > :nth-child(2) {
    color: var(--fg-3);
    font-size: 0.8rem;
}
.site_tree .elements .placeholder {
    background: var(--bg-3);
}
.site_tree:not(.open) {
    display: none;
}
#speed .x {
    font-size: 0.8em;
}
.selector_control {
    align-items: center;
    display: flex;
    height: 100%;
}
.selector_options {
    bottom: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    padding-bottom: 0.5rem;
    pointer-events: none;
    position: absolute;
    right: 0.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(--d-1-85);
    display: flex;
    white-space: nowrap;
}
.selector_options button:first-child {
    border-top-left-radius: 0.4em;
    border-top-right-radius: 0.4em;
}
.selector_options button:last-child {
    border-bottom-left-radius: 0.4em;
    border-bottom-right-radius: 0.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: 0.5rem;
}
.selector_options button:not(:last-child) {
    padding-bottom: 0.5rem;
}
.skip_to_content {
    background: var(--fg-3);
    border-radius: 0.3rem;
    color: var(--bg-1) !important;
    left: 50%;
    padding: 0.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: 0.8rem;
    min-height: 25dvh;
    row-gap: 1.5em;
}
.transcript input {
    background: var(--bg-2);
    border: 1px solid var(--bg-3);
    border-radius: 0.2rem;
    color: var(--fg-2);
    outline: none;
    padding: 0.2em;
    width: 100%;
}
.transcript input:focus {
    background: var(--bg-3);
}
.transcript > :nth-child(2) {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: auto;
    row-gap: 0.3em;
}
.transcript > :nth-child(2) > * {
    align-items: center;
    column-gap: 0.5em;
    display: flex;
    justify-content: space-between;
}
.transcript > :nth-child(2) a {
    border-radius: 0.2rem;
    font-family: monospace;
    font-size: 0.95em;
    padding: 0.2em;
}
.thumbnail {
    aspect-ratio: var(--poster-aspect);
    background: var(--d-1);
    border-radius: 0.5rem;
    flex-shrink: 0;
    object-fit: contain;
}
.thumbnail_wrapper {
    position: relative;
}
.thumbnail_wrapper .duration {
    background: var(--bg-1-85);
    border-radius: 0.2rem;
    bottom: calc(var(--poster-aspect) * 3%);
    color: var(--fg-1);
    font-size: 0.8rem;
    padding: 0.1rem 0.3rem;
    position: absolute;
    right: 3%;
}
.unlisted_badge {
    background: var(--bg-2);
    border-radius: 0.2rem;
    padding: 0.3rem;
}
.versions_ring {
    aspect-ratio: 1;
    height: min(20rem, 85%);
    opacity: 0.9;
    width: auto;
}
.versions_ring circle.backdrop {
    fill: var(--d-1);
    opacity: 0.9;
}
.versions_ring path {
    fill: var(--l-1);
}
.versions_ring g {
    cursor: pointer;
    opacity: 0.9;
}
.versions_ring g:focus-visible,
.versions_ring g:hover {
    opacity: 1;
    outline: none;
}
.versions_ring text {
    fill: var(--d-1);
    font-size: 1.3rem;
}
.versions_ring rect.backdrop {
    fill: var(--l-1);
}
.versions_ring text.size {
    fill: var(--d-3);
    font-size: 1rem;
}
.versions_ring.interacting g:not(:focus-visible):not(:hover) {
    opacity: 0.5;
}
video {
    border-radius: 0.5rem;
    display: block;
    height: 100%;
    width: 100%;
}
.video_info {
    margin-bottom: 1.5rem;
}
.video_layout {
    display: grid;
    gap: 2rem;
    margin-block: 2rem;
}
.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(--fg-1);
    font-size: 1.4rem;
    margin: 0;
    margin-bottom: 0.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: 0.9rem;
}
.videos_grid .thumbnail {
    height: auto;
}
@media (width < 20rem) {
    header .label {
        display: none;
    }
    .playlist_context img {
        height: 3rem;
    }
    .search {
        width: 0.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: 0.3em 1.4em calc(0.3em - 1px) 0;
        width: calc(100% + 2rem);
    }
    .search:focus-within .label {
        opacity: 0.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: 0.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(--bg-1), var(--bg-1-85));
        border: none;
        bottom: 0;
        box-shadow: unset;
        left: 0;
        max-height: unset;
        padding: 0.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_wrapper {
        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_wrapper {
        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 >= 80rem) {
    .video_layout .playlist_context,
    .video_layout .transcript {
        overflow-x: hidden;
        overflow-y: auto;
    }
}
@media (width >= 100rem) {
    .center {
        max-width: 80vw;
    }
    footer {
        width: 80vw;
    }
    .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;
    }
}

