@font-face {
    font-family: Manrope;
    src: url('/fonts/manrope.ttf') format('truetype');
    font-weight: 200 800;
    font-display: swap
}

:root {
    color-scheme: dark;
    --bg: #101012;
    --surface: #19191c;
    --surface2: #242428;
    --text: #f8f4f6;
    --muted: #a7a0a6;
    --line: #323036;
    --accent: #ff9ec4;
    --accent-text: #29101b;
    --danger: #ff9a9a;
    --header: rgba(16, 16, 18, .96);
    --shadow: rgba(0, 0, 0, .3)
}

:root[data-theme=light] {
    color-scheme: light;
    --bg: #f8f6f7;
    --surface: #fff;
    --surface2: #f0e9ed;
    --text: #291820;
    --muted: #735f69;
    --line: #e3d6de;
    --accent: #a92d60;
    --accent-text: #fff;
    --danger: #b32d39;
    --header: rgba(248, 246, 247, .96);
    --shadow: rgba(40, 12, 25, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 94px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.65 Manrope, Arial, sans-serif
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:disabled {
    cursor: wait;
    opacity: .5
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    color: var(--accent)
}

button,
input,
select,
textarea {
    color: inherit
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    line-height: 1.22;
    font-weight: 750
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 25px
}

h3 {
    font-size: 17px
}

img {
    max-width: 100%;
    display: block
}

svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    vertical-align: middle
}

button svg {
    pointer-events: none
}

button {
    border: 0;
    background: none
}

input,
select,
textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 11px 13px;
    min-width: 0;
    outline: none
}

input::placeholder,
textarea::placeholder {
    color: var(--muted)
}

textarea {
    resize: vertical;
    min-height: 106px
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent)
}

input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
    flex-shrink: 0
}

label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    font-weight: 600
}

.check-label {
    flex-direction: row;
    align-items: center;
    font-size: 14px;
    font-weight: 500
}

fieldset {
    padding: 0;
    border: 0;
    min-width: 0;
    margin: 0
}

legend {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px
}

.span-2 {
    grid-column: 1/-1
}

[hidden] {
    display: none !important
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}

.container {
    width: min(1280px, calc(100% - 80px));
    margin: auto
}

.muted {
    color: var(--muted)
}

.accent {
    color: var(--accent)
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px
}

.eyebrow svg {
    width: 15px;
    height: 15px
}

.overline {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--accent);
    color: var(--accent-text);
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 11px 18px;
    font-weight: 750;
    line-height: 1.45;
    min-height: 45px;
    white-space: normal;
    text-align: center
}

.button:hover {
    color: var(--accent-text);
    filter: brightness(1.05)
}

.button.secondary {
    background: var(--surface2);
    color: var(--text);
    border-color: var(--line)
}

.button.ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line)
}

.button.danger {
    background: transparent;
    color: var(--danger);
    border-color: var(--line)
}

.button.small {
    padding: 8px 13px;
    min-height: 36px;
    font-size: 12px
}

.button.wide {
    width: 100%
}

.icon-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--muted);
    flex-shrink: 0;
    position: relative
}

.icon-button:hover,
.icon-button.active {
    background: var(--surface2);
    color: var(--accent)
}

.icon-button.danger {
    color: var(--danger)
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 650;
    color: var(--muted)
}

.text-link:hover {
    color: var(--accent)
}

.button-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.badge {
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700
}

.badge.green {
    color: var(--accent);
    background: var(--surface)
}

.badge svg {
    width: 12px;
    height: 12px
}

.skip-link {
    position: fixed;
    left: 15px;
    top: -100px;
    z-index: 100;
    background: var(--accent);
    color: var(--accent-text);
    padding: 12px
}

.skip-link:focus {
    top: 10px
}

.site-header {
    height: 82px;
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: var(--header)
}

.header-inner {
    width: min(1440px, calc(100% - 80px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 34px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 32px;
    line-height: 1;
    font-weight: 850;
    white-space: nowrap
}

.brand:hover {
    color: var(--text)
}

.brand-dot {
    color: var(--accent)
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 650;
    height: 100%
}

.desktop-nav a {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    color: var(--muted)
}

.desktop-nav a.active {
    color: var(--text)
}

.desktop-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent)
}

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    max-width: 270px;
    min-width: 150px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 12px
}

.header-search svg {
    color: var(--muted);
    width: 16px
}

.header-search input {
    border: 0;
    background: none;
    padding: 9px 0;
    font-size: 12px;
    outline: none
}

.header-search kbd {
    font: 11px Arial;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0 5px
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px
}

.avatar {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--surface2)
}

.avatar.large {
    width: 82px;
    height: 82px
}

.avatar.fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 800
}

.account-menu {
    position: relative;
    margin-left: 8px
}

.account-menu summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 7px
}

.account-menu summary::-webkit-details-marker {
    display: none
}

.account-menu summary svg {
    width: 13px;
    color: var(--muted)
}

.account-dropdown {
    position: absolute;
    right: 0;
    top: 48px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    width: 210px;
    padding: 7px;
    box-shadow: 0 14px 30px var(--shadow)
}

.account-dropdown a,
.account-dropdown button {
    display: flex;
    width: 100%;
    padding: 9px;
    gap: 11px;
    font-size: 12px;
    align-items: center;
    text-align: left;
    border-radius: 4px
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    background: var(--surface2)
}

.account-dropdown>p {
    padding: 7px 9px 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    font-weight: 700
}

.mobile-menu-button {
    display: none
}

#notification-dot {
    position: absolute;
    top: 7px;
    right: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent)
}

#mobile-nav {
    padding: 12px 24px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line)
}

#mobile-nav a {
    display: block;
    padding: 11px;
    border-radius: 4px;
    font-size: 14px
}

#mobile-nav a:hover {
    background: var(--surface)
}

main {
    min-height: calc(100vh - 215px)
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 470px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #131917;
    color: #fff
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 35%;
    z-index: -2
}

.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(10, 16, 13, .89), rgba(10, 16, 13, .58) 45%, rgba(10, 16, 13, .02) 78%), linear-gradient(0deg, rgba(10, 16, 13, .25), transparent 30%)
}

.hero-content {
    padding-top: 50px;
    padding-bottom: 55px
}

.hero-content>div {
    max-width: 590px
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 14px;
    max-width: 600px
}

.hero .eyebrow {
    color: #9aefbd
}

.hero-description {
    color: #d1dbd5;
    max-width: 485px;
    font-size: 13px;
    line-height: 1.85;
    margin: 17px 0 26px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.hero-meta {
    display: flex;
    gap: 17px;
    align-items: center;
    font-size: 11px;
    color: #e0e6e1;
    flex-wrap: wrap
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px
}

.hero-meta svg {
    width: 13px;
    height: 13px;
    color: #9aefbd
}

.hero .button {
    background: #9aefbd;
    color: #10251a
}

.hero .button.ghost {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .3);
    color: #fff
}

.hero-bottom {
    position: absolute;
    right: 40px;
    bottom: 29px;
    font-size: 10px;
    color: #e5eae7;
    display: flex;
    align-items: center;
    gap: 11px
}

.hero-bottom:before {
    content: '';
    width: 22px;
    height: 1px;
    background: #9aefbd
}

.home-intro {
    padding: 45px 0 8px
}

.home-intro p {
    color: var(--muted);
    margin-top: 9px
}

.genre-bar {
    display: flex;
    gap: 9px;
    overflow: auto;
    padding: 23px 0 8px;
    scrollbar-width: none
}

.chip {
    font-size: 12px;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 7px 14px;
    border-radius: 5px;
    color: var(--muted)
}

.chip:hover,
.chip.active {
    color: var(--text);
    background: var(--surface2);
    border-color: var(--muted)
}

.chip svg {
    width: 14px;
    height: 14px
}

.home-section {
    padding: 33px 0 13px
}

.home-section:last-child {
    padding-bottom: 60px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px
}

.section-head h2 {
    font-size: 24px
}

.section-head>div {
    display: flex;
    align-items: center;
    gap: 13px
}

.section-head .count {
    font-size: 12px;
    color: var(--muted)
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 23px
}

.anime-card {
    min-width: 0;
    position: relative
}

.poster {
    display: block;
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 6px;
    background: var(--surface2)
}

.poster>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s
}

.poster:hover>img {
    transform: scale(1.025)
}

.poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted)
}

.poster-placeholder svg {
    width: 35px;
    height: 35px
}

.poster .rating {
    position: absolute;
    left: 9px;
    top: 9px;
    display: flex;
    gap: 4px;
    align-items: center;
    background: #13231eea;
    color: #c8f9dc;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800
}

.rating svg {
    width: 11px;
    height: 11px
}

.poster .poster-label {
    position: absolute;
    left: 9px;
    bottom: 9px;
    background: #10251aeb;
    color: #c8f9dc;
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 750
}

.poster-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(0, 0, 0, .2);
    transition: opacity .2s
}

.poster-play svg {
    width: 44px;
    height: 44px;
    color: #fff
}

.poster:hover .poster-play {
    opacity: 1
}

.anime-card h3 {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.card-meta {
    font-size: 10px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 4px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.card-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px
}

.card-tools select {
    font-size: 11px;
    padding: 6px;
    min-height: 32px
}

.card-tools .icon-button {
    width: 30px;
    height: 32px
}

.card-tools svg {
    width: 15px
}

.continue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.continue-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: 6px
}

.continue-thumb {
    aspect-ratio: 16/10;
    border-radius: 4px;
    overflow: hidden;
    background: var(--surface2);
    position: relative
}

.continue-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.continue-thumb svg {
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    filter: drop-shadow(0 1px 2px #000)
}

.continue-card h3 {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.continue-card p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px
}

.continue-card progress {
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 10px;
    border: 0;
    background: var(--line);
    accent-color: var(--accent)
}

progress::-webkit-progress-bar {
    background: var(--line)
}

progress::-webkit-progress-value {
    background: var(--accent)
}

progress::-moz-progress-bar {
    background: var(--accent)
}

.page {
    padding: 42px 0 65px
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px
}

.page-heading h1 {
    font-size: 32px
}

.page-heading p {
    color: var(--muted);
    margin-top: 7px;
    font-size: 12px
}

.page-heading .eyebrow {
    margin-bottom: 9px
}

.catalog-layout {
    display: grid;
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 34px
}

.filters {
    border-right: 1px solid var(--line);
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.filters h2 {
    font-size: 14px;
    margin-bottom: 2px
}

.filters label {
    font-size: 11px;
    color: var(--muted)
}

.filters input,
.filters select {
    font-size: 12px;
    padding: 9px 10px;
    color: var(--text)
}

.catalog-results {
    min-width: 0
}

.catalog-results .anime-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
    font-size: 12px;
    color: var(--muted)
}

.results-header select {
    width: auto;
    max-width: 200px;
    padding: 7px 10px;
    font-size: 12px
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 33px
}

.pagination .page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--line);
    font-size: 12px
}

.pagination .page-number.active {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent)
}

.pagination>span {
    font-size: 12px;
    color: var(--muted)
}

.filter-toggle {
    display: none
}

.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    overflow: auto;
    scrollbar-width: thin
}

.tab {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    padding: 12px 15px;
    border-bottom: 2px solid transparent
}

.tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent)
}

.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 62px 20px;
    gap: 15px;
    max-width: 500px;
    margin: auto
}

.empty>svg {
    width: 39px;
    height: 39px;
    color: var(--muted);
    margin-bottom: 3px
}

.empty h2 {
    font-size: 21px
}

.empty p {
    color: var(--muted);
    font-size: 13px;
    max-width: 390px
}

.empty .button {
    margin-top: 8px
}

.page-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 390px
}

.spinner {
    width: 25px;
    height: 25px;
    border: 2px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 23px
}

.skeleton {
    aspect-ratio: 2/3;
    border-radius: 6px;
    background: var(--surface);
    animation: pulse 1.4s ease infinite
}

@keyframes pulse {
    50% {
        opacity: .5
    }
}

.inline-error {
    color: var(--danger);
    font-size: 12px;
    min-height: 20px;
    margin-top: 13px
}

.notice {
    border-left: 2px solid var(--accent);
    padding: 12px 16px;
    background: var(--surface);
    font-size: 12px;
    color: var(--muted);
    margin: 20px 0
}

.crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 24px
}

.crumb svg {
    width: 13px;
    height: 13px
}

.detail-banner {
    height: 245px;
    position: relative;
    overflow: hidden;
    background: var(--surface2)
}

.detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%
}

.detail-banner:after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(0deg, var(--bg), transparent 75%)
}

.detail-page {
    padding-top: 35px
}

.detail-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px
}

.detail-poster {
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    background: var(--surface2);
    width: 100%
}

.detail-sidebar .button {
    margin-top: 12px;
    width: 100%
}

.personal-controls {
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.personal-controls label {
    font-size: 11px;
    color: var(--muted)
}

.personal-controls select {
    font-size: 12px;
    padding: 9px
}

.personal-controls .button {
    margin-top: 0
}

.detail-content h1 {
    font-size: 36px;
    max-width: 850px
}

.original-title {
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
    overflow-wrap: anywhere
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 19px 0 24px
}

.description {
    color: var(--muted);
    line-height: 1.95;
    font-size: 13px;
    white-space: pre-line;
    overflow-wrap: anywhere
}

.details-data {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 27px;
    padding: 22px 0;
    border-block: 1px solid var(--line)
}

.details-data dt {
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 4px
}

.details-data dd {
    margin: 0;
    font-size: 12px;
    overflow-wrap: anywhere
}

.detail-genres {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 22px 0
}

.detail-genres .chip {
    font-size: 11px;
    padding: 5px 10px
}

.episode-section {
    margin-top: 35px
}

.episode-section .section-head {
    margin-bottom: 15px
}

.episode-section select {
    width: auto;
    max-width: 280px;
    font-size: 12px;
    padding: 8px 12px
}

.episode-list {
    display: flex;
    flex-direction: column
}

.episode-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.episode-row:hover {
    background: var(--surface)
}

.episode-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted)
}

.episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.episode-row h3 {
    font-size: 12px
}

.episode-row p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px
}

.episode-row>svg {
    margin-right: 15px;
    color: var(--accent)
}

.episode-row.unavailable {
    opacity: .5;
    pointer-events: none
}

.episode-row.active {
    color: var(--accent)
}

.related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px
}

.comments-section {
    margin-top: 38px
}

.comments-section h2 {
    font-size: 22px;
    margin-bottom: 20px
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px
}

.comment-form textarea {
    min-height: 90px;
    font-size: 12px
}

.comment-form .button-row {
    justify-content: space-between
}

.comment-form .check-label {
    font-size: 11px
}

.comment-login {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between
}

.comment {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line)
}

.comment .avatar {
    width: 32px;
    height: 32px
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 750
}

.comment-head time {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400
}

.comment-body {
    font-size: 12px;
    line-height: 1.9;
    margin-top: 7px;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.comment-tools {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px
}

.comment-tools button {
    font-size: 10px;
    color: var(--muted);
    padding: 0;
    display: flex;
    gap: 5px;
    align-items: center
}

.comment-tools svg {
    width: 12px;
    height: 12px
}

.spoiler {
    margin-top: 9px
}

.spoiler summary {
    color: var(--muted);
    font-size: 11px;
    cursor: pointer
}

.spoiler[open] summary {
    color: var(--accent)
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 284px;
    gap: 25px
}

.watch-content {
    min-width: 0
}

.player-shell {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    border-radius: 6px
}

.player-shell:fullscreen {
    border-radius: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain
}

.player-shell:fullscreen video {
    max-height: 100%
}

.skip-button {
    position: absolute;
    right: 20px;
    bottom: 62px;
    background: rgba(15, 20, 18, .9);
    border: 1px solid #718e7c;
    color: #fff;
    font-size: 11px;
    padding: 8px 13px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 7px
}

.player-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, .82);
    color: #fff;
    flex-direction: column;
    gap: 13px
}

.player-error p {
    font-size: 13px;
    max-width: 440px
}

.player-error svg {
    width: 29px;
    height: 29px
}

.player-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.player-toolbar>div {
    display: flex;
    align-items: center;
    gap: 12px
}

.player-toolbar label {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    font-size: 10px;
    color: var(--muted)
}

.player-toolbar select {
    width: auto;
    max-width: 180px;
    font-size: 11px;
    padding: 6px 9px
}

.player-toolbar .icon-button {
    width: 32px;
    height: 32px
}

.player-toolbar .check-label {
    font-size: 10px
}

.watch-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 25px 0 18px
}

.watch-heading h1 {
    font-size: 23px
}

.watch-heading p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px
}

.watch-heading>.button-row {
    flex-shrink: 0
}

.watch-anime-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px
}

.watch-queue {
    border-left: 1px solid var(--line);
    padding-left: 22px;
    min-width: 0
}

.watch-queue>h2 {
    font-size: 17px;
    margin-bottom: 17px
}

.watch-queue>select {
    font-size: 12px;
    padding: 8px;
    margin-bottom: 12px
}

.watch-queue .episode-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 0
}

.watch-queue .episode-row>svg {
    display: none
}

.watch-queue .episode-row h3 {
    font-size: 11px;
    line-height: 1.5
}

.watch-queue .episode-row p {
    font-size: 9px
}

.watch-queue .episode-list {
    max-height: 550px;
    overflow: auto;
    scrollbar-width: thin
}

.subtitle-links {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--muted);
    margin-top: 10px
}

.history-list {
    display: flex;
    flex-direction: column
}

.history-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.history-row .continue-thumb {
    aspect-ratio: 16/9
}

.history-row h2 {
    font-size: 15px
}

.history-row p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px
}

.history-row .history-progress {
    margin-top: 9px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted)
}

.history-row progress {
    width: 120px;
    height: 4px;
    border: 0
}

.history-row time {
    font-size: 10px;
    color: var(--muted)
}

.account-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 45px
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-radius: 5px;
    font-size: 12px;
    color: var(--muted)
}

.account-nav a.active {
    background: var(--surface2);
    color: var(--accent)
}

.account-content {
    max-width: 780px
}

.profile-summary {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-bottom: 30px
}

.profile-summary h2 {
    font-size: 23px;
    overflow-wrap: anywhere
}

.profile-summary p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
    overflow-wrap: anywhere
}

.profile-summary .avatar {
    flex-shrink: 0
}

.profile-summary .button-row {
    margin-top: 11px
}

.avatar-upload {
    margin-bottom: 27px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line)
}

.avatar-upload input {
    font-size: 11px;
    max-width: 350px
}

.account-content form>.button-row {
    margin-top: 25px
}

.settings-group {
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line)
}

.settings-group h2 {
    font-size: 18px;
    margin-bottom: 21px
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 12px 0
}

.settings-row>div h3 {
    font-size: 13px;
    font-weight: 650
}

.settings-row>div p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px
}

.settings-row>select {
    width: 165px;
    font-size: 12px;
    padding: 8px
}

.session-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.session-row>div {
    min-width: 0;
    flex: 1
}

.session-row h3 {
    font-size: 12px;
    overflow-wrap: anywhere;
    font-weight: 600
}

.session-row p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px
}

.session-row>svg {
    color: var(--muted)
}

.notification {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line)
}

.notification>svg {
    color: var(--accent);
    margin-top: 3px
}

.notification>div {
    flex: 1;
    min-width: 0
}

.notification h2 {
    font-size: 14px
}

.notification p {
    font-size: 12px;
    color: var(--muted);
    margin: 7px 0
}

.notification time {
    font-size: 10px;
    color: var(--muted)
}

.notification.read {
    opacity: .65
}

.unread-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 10px
}

.prose {
    max-width: 770px
}

.prose h2 {
    margin: 30px 0 12px;
    font-size: 20px
}

.prose p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.9
}

.prose ul {
    padding-left: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2
}

.public-profile {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px
}

.public-profile h1 {
    font-size: 30px
}

.public-profile p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 7px;
    overflow-wrap: anywhere
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 29px 0;
    color: var(--muted);
    font-size: 10px
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 28px
}

.footer-inner .brand {
    font-size: 16px;
    color: var(--text)
}

.footer-inner>div {
    margin-left: auto;
    display: flex;
    gap: 23px;
    flex-wrap: wrap
}

.site-footer a:hover {
    color: var(--accent)
}

dialog {
    width: min(460px, calc(100% - 32px));
    padding: 29px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 25px 70px var(--shadow);
    max-height: calc(100dvh - 48px);
    overflow: auto
}

dialog::backdrop {
    background: rgba(0, 0, 0, .72)
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px
}

.modal-head h2 {
    font-size: 22px
}

.modal-head .icon-button {
    width: 30px;
    height: 30px
}

dialog>p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px
}

dialog form {
    display: flex;
    flex-direction: column;
    gap: 17px
}

dialog form .button-row {
    margin-top: 6px;
    justify-content: flex-end
}

#google-button {
    display: flex;
    justify-content: center;
    min-height: 44px;
    margin: 25px 0 12px
}

#login-status {
    font-size: 12px;
    color: var(--muted);
    text-align: center
}

#toasts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(400px, calc(100% - 32px));
    pointer-events: none
}

.toast {
    background: var(--surface2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px 18px;
    box-shadow: 0 8px 30px var(--shadow);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    animation: toast-in .2s ease
}

.toast.error svg {
    color: var(--danger)
}

.toast.success svg {
    color: var(--accent)
}

@keyframes toast-in {
    from {
        transform: translateY(10px);
        opacity: 0
    }
}

@media(min-width:1500px) {
    .hero {
        min-height: 505px
    }

    .hero h1 {
        font-size: 54px
    }
}

@media(max-width:1200px) {
    .header-inner {
        gap: 23px;
        width: calc(100% - 48px)
    }

    .desktop-nav {
        gap: 18px;
        font-size: 11px
    }

    .header-search {
        max-width: 220px
    }

    .container {
        width: calc(100% - 56px)
    }

    .anime-grid {
        gap: 18px
    }

    .catalog-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 27px
    }

    .catalog-results .anime-grid {
        gap: 18px
    }

    .continue-card {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: 10px
    }

    .watch-layout {
        grid-template-columns: minmax(0, 1fr) 245px
    }

    .watch-queue {
        padding-left: 17px
    }

    .hero h1 {
        font-size: 43px
    }
}

@media(max-width:1000px) {
    .brand {
        font-size: 19px
    }

    .desktop-nav {
        gap: 16px
    }

    .header-inner {
        gap: 21px
    }

    .header-search {
        max-width: 190px
    }

    .history-link {
        display: none
    }

    .header-actions {
        gap: 0
    }

    .anime-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .catalog-results .anime-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .continue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .continue-grid .continue-card:nth-child(3) {
        display: none
    }

    .detail-layout {
        grid-template-columns: 185px minmax(0, 1fr);
        gap: 27px
    }

    .detail-content h1 {
        font-size: 30px
    }

    .details-data {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .watch-layout {
        grid-template-columns: 1fr
    }

    .watch-queue {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 25px
    }

    .watch-queue .episode-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 22px;
        max-height: 270px
    }

    .watch-queue select {
        max-width: 230px
    }

    .account-layout {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 27px
    }

    .footer-inner>span {
        display: none
    }

    .hero h1 {
        font-size: 39px
    }

    .hero-content>div {
        max-width: 510px
    }
}

@media(max-width:800px) {
    .desktop-nav {
        display: none
    }

    .mobile-menu-button {
        display: inline-flex
    }

    .header-inner {
        gap: 20px
    }

    .header-search {
        max-width: 300px
    }

    .hero {
        min-height: 440px
    }

    .hero-content>div {
        max-width: 450px
    }

    .hero h1 {
        font-size: 37px
    }

    .hero-description {
        max-width: 390px
    }

    .hero-bottom {
        right: 28px
    }

    .hero:after {
        background: linear-gradient(90deg, rgba(10, 16, 13, .85), rgba(10, 16, 13, .5) 65%, rgba(10, 16, 13, .2))
    }

    .catalog-layout {
        grid-template-columns: 1fr
    }

    .filters {
        display: none;
        border: 0;
        padding: 0 0 23px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        border-bottom: 1px solid var(--line)
    }

    .filters.open {
        display: grid
    }

    .filters h2 {
        display: none
    }

    .filters .button-row {
        grid-column: 1/-1
    }

    .filter-toggle {
        display: inline-flex
    }

    .catalog-results .anime-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .account-layout {
        grid-template-columns: 1fr
    }

    .account-nav {
        flex-direction: row;
        overflow: auto;
        padding-bottom: 6px;
        margin-bottom: 0
    }

    .account-nav a {
        white-space: nowrap
    }

    .account-layout {
        gap: 22px
    }

    .watch-heading h1 {
        font-size: 21px
    }

    .watch-heading>.button-row .button {
        font-size: 10px
    }

    .detail-content h1 {
        font-size: 27px
    }

    .hero-meta {
        gap: 12px
    }
}

@media(max-width:600px) {
    .container {
        width: calc(100% - 36px)
    }

    .site-header {
        height: 72px
    }

    .header-inner {
        width: calc(100% - 28px);
        gap: 10px
    }

    .brand {
        font-size: 25px;
        gap: 6px
    }

    .brand img {
        width: 35px;
        height: 35px
    }

    .header-search {
        border: 0;
        background: none;
        min-width: 0;
        width: 34px;
        margin-left: auto;
        padding: 0
    }

    .header-search input,
    .header-search kbd {
        display: none
    }

    .header-search svg {
        width: 19px;
        cursor: pointer;
        padding: 7px;
        box-sizing: content-box
    }

    .header-actions {
        gap: 0
    }

    .header-actions>.icon-button {
        width: 34px
    }

    .account-menu {
        margin-left: 4px
    }

    .account-menu summary>svg {
        display: none
    }

    .avatar {
        width: 30px;
        height: 30px
    }

    .header-actions .button.small {
        font-size: 11px;
        padding: 7px 10px;
        min-height: 33px
    }

    .header-actions .button svg {
        display: none
    }

    .mobile-menu-button {
        margin-left: 2px
    }

    .hero {
        min-height: 425px;
        align-items: flex-end
    }

    .hero-bg {
        object-position: 65% center
    }

    .hero:after {
        background: linear-gradient(0deg, rgba(10, 16, 13, .98), rgba(10, 16, 13, .65) 65%, rgba(10, 16, 13, .12))
    }

    .hero-content {
        padding-top: 35px;
        padding-bottom: 33px
    }

    .hero-content>div {
        max-width: 100%
    }

    .hero h1 {
        font-size: 31px;
        max-width: 330px
    }

    .hero .eyebrow {
        font-size: 9px;
        margin-bottom: 12px
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.85;
        -webkit-line-clamp: 2;
        margin: 14px 0 22px;
        max-width: 335px
    }

    .hero-meta {
        font-size: 10px;
        gap: 12px
    }

    .hero-meta .age-meta {
        display: none
    }

    .hero .button {
        padding: 11px 17px;
        font-size: 12px;
        min-height: 43px
    }

    .hero-bottom {
        display: none
    }

    .home-intro {
        padding-top: 28px
    }

    .home-intro h1 {
        font-size: 30px
    }

    .home-intro p {
        font-size: 12px
    }

    .genre-bar {
        padding-top: 20px;
        gap: 7px
    }

    .chip {
        font-size: 10px;
        padding: 6px 11px
    }

    .home-section {
        padding-top: 26px
    }

    .section-head {
        margin-bottom: 18px;
        gap: 12px
    }

    .section-head h2 {
        font-size: 20px
    }

    .section-head .text-link {
        font-size: 10px;
        gap: 4px
    }

    .section-head .text-link svg {
        width: 14px
    }

    .anime-grid,
    .catalog-results .anime-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 15px
    }

    .anime-card h3 {
        font-size: 12px;
        margin-top: 9px
    }

    .card-meta {
        font-size: 10px
    }

    .poster .rating {
        font-size: 10px;
        top: 7px;
        left: 7px
    }

    .poster .poster-label {
        font-size: 8px;
        left: 7px;
        bottom: 7px
    }

    .continue-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .continue-grid .continue-card:nth-child(3) {
        display: grid
    }

    .continue-card {
        grid-template-columns: 100px minmax(0, 1fr);
        padding: 9px;
        gap: 13px
    }

    .page {
        padding: 28px 0 45px
    }

    .page-heading {
        margin-bottom: 23px;
        align-items: center;
        gap: 15px
    }

    .page-heading h1 {
        font-size: 27px
    }

    .page-heading p {
        font-size: 11px
    }

    .page-heading .button {
        font-size: 10px;
        padding: 8px 11px;
        min-height: 36px
    }

    .page-heading .button svg {
        width: 15px
    }

    .results-header {
        margin-bottom: 19px
    }

    .results-header select {
        font-size: 10px;
        max-width: 157px
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px
    }

    .filters label {
        font-size: 10px
    }

    .tabs {
        gap: 0;
        margin-bottom: 24px
    }

    .tab {
        font-size: 11px;
        padding: 10px 12px
    }

    .detail-banner {
        height: 150px
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .detail-sidebar {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 0 18px;
        align-items: start
    }

    .detail-poster {
        grid-row: 1/4;
        grid-column: 1;
        width: 100%;
        aspect-ratio: 2/3
    }

    .detail-sidebar>.button {
        grid-column: 2;
        margin-top: 0;
        margin-bottom: 9px;
        min-height: 38px;
        font-size: 11px
    }

    .detail-sidebar .personal-controls {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 17px;
        padding-top: 19px;
        gap: 14px
    }

    .personal-controls .button {
        grid-column: 1/-1;
        width: auto;
        justify-self: start;
        font-size: 11px;
        min-height: 32px
    }

    .detail-content h1 {
        font-size: 27px
    }

    .detail-meta {
        margin: 17px 0
    }

    .detail-meta .badge {
        font-size: 9px
    }

    .description {
        font-size: 12px;
        line-height: 1.9
    }

    .details-data {
        gap: 18px;
        margin-top: 21px;
        padding: 19px 0
    }

    .detail-genres {
        gap: 7px;
        margin: 20px 0
    }

    .detail-genres .chip {
        font-size: 10px
    }

    .episode-section {
        margin-top: 28px
    }

    .episode-section .section-head h2 {
        font-size: 20px
    }

    .episode-section select {
        max-width: 180px;
        font-size: 10px
    }

    .episode-row {
        grid-template-columns: 73px minmax(0, 1fr) auto;
        gap: 12px
    }

    .episode-row h3 {
        font-size: 11px;
        line-height: 1.5
    }

    .episode-row p {
        font-size: 9px
    }

    .episode-row>svg {
        width: 16px;
        height: 16px;
        margin-right: 5px
    }

    .comments-section {
        margin-top: 30px
    }

    .comments-section h2 {
        font-size: 20px
    }

    .comment-login {
        align-items: flex-start
    }

    .comment-login p {
        font-size: 11px
    }

    .comment-head {
        font-size: 10px;
        gap: 8px
    }

    .comment-body {
        font-size: 11px
    }

    .comment-form .button {
        font-size: 10px;
        min-height: 35px;
        padding: 8px 11px
    }

    .comment-form .check-label {
        font-size: 10px
    }

    .watch-page .crumb {
        margin-bottom: 18px
    }

    .watch-page {
        padding-top: 24px
    }

    .watch-page .container {
        width: calc(100% - 24px)
    }

    .player-shell {
        border-radius: 3px
    }

    .player-toolbar {
        padding: 10px 0;
        gap: 9px
    }

    .player-toolbar label {
        font-size: 9px;
        gap: 6px
    }

    .player-toolbar>div {
        gap: 8px
    }

    .player-toolbar select {
        max-width: 133px;
        font-size: 10px;
        padding: 5px 7px
    }

    .player-toolbar .icon-button {
        width: 27px;
        height: 27px
    }

    .player-toolbar .icon-button svg {
        width: 16px
    }

    .player-toolbar .check-label {
        font-size: 9px
    }

    .player-toolbar input[type=checkbox] {
        width: 15px;
        height: 15px
    }

    .watch-heading {
        align-items: flex-start;
        margin: 20px 0;
        gap: 10px;
        flex-direction: column
    }

    .watch-heading h1 {
        font-size: 21px
    }

    .watch-heading>.button-row {
        width: 100%;
        justify-content: space-between
    }

    .watch-heading>.button-row .button {
        font-size: 10px
    }

    .watch-queue .episode-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 13px;
        max-height: 330px
    }

    .watch-queue .episode-row {
        grid-template-columns: 49px minmax(0, 1fr);
        gap: 9px
    }

    .watch-queue .episode-row h3 {
        font-size: 10px
    }

    .watch-queue .episode-row p {
        font-size: 8px
    }

    .skip-button {
        right: 10px;
        bottom: 48px;
        font-size: 9px;
        padding: 6px 8px
    }

    .skip-button svg {
        width: 13px
    }

    .history-row {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 15px;
        padding: 17px 0
    }

    .history-row>time {
        display: none
    }

    .history-row h2 {
        font-size: 12px
    }

    .history-row p {
        font-size: 10px;
        margin-top: 3px
    }

    .history-row .history-progress {
        font-size: 9px;
        margin-top: 7px;
        gap: 8px
    }

    .history-row progress {
        width: 65px
    }

    .account-nav {
        gap: 3px
    }

    .account-nav a {
        font-size: 10px;
        padding: 9px 11px;
        gap: 7px
    }

    .account-nav a svg {
        width: 15px
    }

    .profile-summary {
        gap: 17px
    }

    .profile-summary .avatar.large {
        width: 64px;
        height: 64px
    }

    .profile-summary h2 {
        font-size: 21px
    }

    .profile-summary p {
        font-size: 11px
    }

    .profile-summary .button.small {
        font-size: 10px
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .span-2 {
        grid-column: auto
    }

    .settings-row {
        gap: 17px
    }

    .settings-row>div h3 {
        font-size: 12px
    }

    .settings-row>div p {
        font-size: 10px
    }

    .settings-row>select {
        width: 134px;
        flex-shrink: 0;
        font-size: 11px
    }

    .settings-group h2 {
        font-size: 17px
    }

    .session-row {
        gap: 10px
    }

    .session-row h3 {
        font-size: 10px
    }

    .session-row p {
        font-size: 9px
    }

    .session-row .button.small {
        font-size: 9px;
        padding: 6px 8px
    }

    .notification {
        gap: 12px;
        padding: 20px 0
    }

    .notification h2 {
        font-size: 12px
    }

    .notification p {
        font-size: 11px
    }

    .notification .button.small {
        font-size: 9px;
        min-height: 30px;
        padding: 7px 9px
    }

    .public-profile {
        gap: 17px
    }

    .public-profile h1 {
        font-size: 24px
    }

    .public-profile .avatar.large {
        width: 64px;
        height: 64px
    }

    .site-footer {
        padding: 24px 0
    }

    .footer-inner {
        flex-wrap: wrap;
        gap: 18px
    }

    .footer-inner>div {
        margin-left: 0;
        width: 100%;
        gap: 20px;
        font-size: 9px
    }

    .footer-inner>div>span {
        margin-left: auto
    }

    .empty {
        padding: 44px 10px
    }

    .empty h2 {
        font-size: 19px
    }

    .empty p {
        font-size: 12px
    }

    .skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px
    }

    dialog {
        padding: 23px
    }

    .modal-head h2 {
        font-size: 21px
    }

    #toasts {
        bottom: 16px;
        right: 16px
    }

    .toast {
        padding: 12px 15px;
        font-size: 11px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }
}

.hero .eyebrow,
.hero-meta svg {
    color: #ff9ec4
}

.hero .button {
    background: #ff9ec4;
    color: #29101b
}

.hero .button.ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.hero-bottom:before {
    background: #ff9ec4
}

.poster .rating,
.poster .poster-label {
    background: #29101bef;
    color: #ffcae0
}

.settings-row {
    flex-direction: row
}

.settings-row>span {
    font-size: 12px;
    font-weight: 400
}

.settings-row strong {
    font-weight: 650
}

.settings-row .muted {
    font-size: 11px
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}