
/* =========================================================
   ANIWHAT MOBILE-FIRST THEME
========================================================= */

:root {
    --bg: #09090b;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #b83d48;
}

html {
    background: #141417;
}

* {
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: system-ui, sans-serif;
}

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

button {
    cursor: pointer;
}

a {
    color: inherit;
}

[hidden],
.hidden {
    display: none !important;
}

/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 68px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    background: rgba(20, 20, 23, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
}

.navbar-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.07em;
    text-decoration: none;
}

.search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar .search-wrap {
    position: absolute;
    left: 50%;
    width: 400px;
    height: 42px;
    transform: translateX(-50%);
}

.search-wrap > span {
    position: absolute;
    left: 14px;
    z-index: 2;
    color: var(--muted);
    pointer-events: none;
}

.search-wrap input {
    width: 100%;
    height: 42px;
    padding: 0 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    outline: 0;
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}

.search-wrap kbd {
    position: absolute;
    right: 10px;
    color: var(--muted);
    background: #202025;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 10px;
}

/* =========================================================
   CONTENT LAYOUT
========================================================= */

.content-area {
    width: min(calc(100% - 40px), 1540px);
    margin: 20px auto;
    padding: 0 10px 30px;
    border-radius: 22px;
    background: rgba(0, 0, 0, .12);
}

.main {
    width: 100%;
    padding: 0 32px 70px;
}

.view {
    padding-top: 46px;
}

.aniwhat-intro {
    margin-bottom: 42px;
}

.intro-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.intro-heading-copy {
    max-width: 1000px;
}

.eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #d35460;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.aniwhat-intro h1 {
    margin: 0 0 20px;
    max-width: 970px;
    font-size: clamp(34px, 4.5vw, 62px);
    line-height: .98;
    letter-spacing: -.06em;
}

.intro-copy {
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.intro-copy p {
    margin: 0 0 12px;
}

/* =========================================================
   FILTERS
========================================================= */

.home-filter-bar {
    margin-bottom: 38px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr)) minmax(230px, 1.5fr);
    gap: 12px;
    align-items: end;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: #111114;
}

.filter-group label {
    display: block;
    margin-bottom: 7px;
    color: #71717a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.filter-group select,
.anime-like-search input {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    outline: 0;
    color: #ddd;
    background: #202025;
    font-size: 12px;
}

.anime-like-search input::placeholder {
    color: #707078;
}

.home-filter-bar .clear-button {
    grid-column: 1 / -1;
    justify-self: end;
    height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   FIRST ANIME SECTION
========================================================= */

.my-first-anime-section {
    margin-bottom: 38px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(184, 61, 72, .16), #111114);
}

.my-first-anime-intro {
    max-width: 700px;
    margin-bottom: 14px;
}

.my-first-anime-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.my-first-anime-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.my-first-anime-button,
.my-completed-anime-button,
.see-more-button,
.back-home-button {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    color: #fff;
    background: #17171b;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   ANIME CATALOGUE
========================================================= */

.anime-catalogue-section {
    margin-bottom: 52px;
}

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

.home-list-heading h2,
.page-heading h1 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

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

.catalogue-heading-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.catalogue-carousel {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 38%;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #ddd;
    background: #25252a;
}

.slider-arrow.left {
    left: -18px;
}

.slider-arrow.right {
    right: -18px;
}

.poster-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.poster-grid.carousel-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.poster-grid.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track > .anime-card {
    flex: 0 0 calc((100% - 110px) / 6);
    scroll-snap-align: start;
}

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

.anime-card-link {
    color: inherit;
    text-decoration: none;
}

.anime-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel-2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
    transition: .2s;
}

.anime-card:hover .anime-card-poster {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.anime-card-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.anime-card-poster > .anime-card-link {
    width: 100%;
    height: 100%;
    display: block;
}

.anime-card-rating {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    min-width: 36px;
    padding: 6px 7px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 7px;
    color: #fff;
    background: rgba(0, 0, 0, .82);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.anime-completion-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 3;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    color: #fff;
    background: rgba(0, 0, 0, .8);
    font-size: 22px;
}

.anime-completion-toggle.is-complete {
    color: #d35460;
}

.anime-card-content {
    padding: 10px 2px 0;
}

.anime-card-title {
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.anime-card-unavailable {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.anime-card-unavailable img {
    filter: grayscale(1);
    opacity: .38;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ddd;
    background: rgba(0, 0, 0, .45);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

/* =========================================================
   CATALOGUE VIEWS
========================================================= */

.catalogue-view {
    min-height: 65vh;
}

.catalogue-view .back-home-button {
    margin-bottom: 24px;
}

.catalogue-view .page-heading {
    margin-bottom: 30px;
}

.empty-state {
    padding: 60px 20px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.empty-icon {
    color: #d35460;
    font-size: 28px;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    min-height: 58px;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 11px;
}

.footer-links a {
    margin-right: 14px;
}

.footer-powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    letter-spacing: .12em;
}

.footer-powered-by img {
    height: 19px;
    width: auto;
}

.cookie-settings-trigger {
    margin-right: 14px;
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font-size: inherit;
}

/* =========================================================
   DESKTOP FOOTER
========================================================= */

@media (min-width: 651px) {
    footer.footer-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 24px;
        width: 100%;
        height: 62px;
        min-height: 62px;
        flex: 0 0 62px;
        box-sizing: border-box;
        padding: 10px 20px;
        font-size: 14px;
        color: #888;
        background-color: rgb(14 14 14 / 55%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(155, 45, 45, .28);
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 990;
    }

    footer.footer-links > div {
        display: flex;
        align-items: center;
    }

    footer.footer-links > div:first-child {
        display: flex;
        align-items: center;
        gap: 14px;
        white-space: nowrap;
    }

    footer.footer-links .footer-legal-links {
        display: flex;
        align-items: center;
        gap: 14px;
        white-space: nowrap;
    }

    footer.footer-links a {
        margin-right: 0;
        color: #888;
        text-decoration: none;
    }

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

    footer.footer-links .cookie-settings-trigger {
        margin-right: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        cursor: pointer;
    }

    footer.footer-links .cookie-settings-trigger:hover {
        color: var(--accent-hover);
    }
}

/* =========================================================
   MODALS
========================================================= */

.cookie-consent-backdrop,
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
}

.cookie-consent-dialog,
.journey-modal {
    width: min(100%, 620px);
    max-height: 90vh;
    overflow: auto;
    padding: 28px;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background: #17171b;
    box-shadow: var(--shadow);
}

.cookie-consent-dialog h2,
.journey-modal h2 {
    margin: 0 0 12px;
}

.cookie-consent-dialog p {
    color: var(--muted);
    line-height: 1.6;
}

.cookie-consent-actions,
.journey-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-choice-button,
.cookie-save-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    color: #fff;
    background: var(--panel-3);
}

.cookie-accept-button,
.cookie-save-button {
    border-color: var(--accent);
    background: var(--accent);
}

.journey-modal-header {
    display: flex;
    justify-content: space-between;
}

.close-button {
    border: 0;
    color: var(--muted);
    background: none;
    font-size: 24px;
}

.journey-question {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.journey-question-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
}

.journey-pill {
    margin: 6px 6px 0 0;
    padding: 9px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--muted);
    background: var(--panel-3);
}

.journey-pill.selected {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent-soft);
}

/* =========================================================
   MOBILE NAVIGATION DEFAULT
========================================================= */

.mobile-bottom-nav {
    display: none;
}

/* =========================================================
   RESPONSIVE: TABLET
========================================================= */

@media (max-width: 1200px) {
    .poster-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .carousel-track > .anime-card {
        flex-basis: calc((100% - 66px) / 4);
    }

    .home-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .anime-like-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .content-area {
        width: calc(100% - 24px);
    }

    .main {
        padding-inline: 20px;
    }

    .navbar .search-wrap {
        width: 320px;
    }

    .poster-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .carousel-track > .anime-card {
        flex-basis: calc((100% - 44px) / 3);
    }
}

/* =========================================================
   RESPONSIVE: MOBILE
========================================================= */

@media (max-width: 650px) {

    html {
        min-height: 100%;
        transform: none;
        filter: none;
        perspective: none;
        contain: none;
    }

    body {
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: 94px;
        background-attachment: scroll;
        transform: none;
        filter: none;
        perspective: none;
        contain: none;
    }

    .navbar {
        height: 68px;
        padding: 0 16px;
    }

    .navbar-brand {
        font-size: 21px;
    }

    .navbar .search-wrap {
        right: 16px;
        left: auto;
        width: min(55vw, 250px);
        transform: none;
    }

    .navbar .search-wrap input {
        height: 40px;
        padding-left: 40px;
        font-size: 13px;
    }

    .navbar .search-wrap kbd {
        display: none;
    }

    .content-area {
        width: 100%;
        margin: 0;
        padding: 0 0 28px;
        border-radius: 0;
        background: transparent;
    }

    .main {
        padding: 0 16px 34px;
    }

    .view {
        padding-top: 30px;
    }

    .intro-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .aniwhat-intro h1 {
        max-width: 340px;
        font-size: clamp(34px, 10vw, 46px);
    }

    .intro-copy {
        font-size: 14px;
        line-height: 1.6;
    }

    .home-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    .filter-group select,
    .anime-like-search input {
        height: 42px;
        border-radius: 10px;
        font-size: 12px;
    }

    .anime-like-search {
        grid-column: 1 / -1;
    }

    .home-filter-bar .clear-button {
        grid-column: 1 / -1;
        justify-self: stretch;
        height: 38px;
        border-radius: 10px;
    }

    .my-first-anime-section {
        padding: 18px;
        border-radius: 16px;
    }

    .my-first-anime-button,
    .my-completed-anime-button {
        flex: 1 1 140px;
        height: 40px;
        border-radius: 10px;
    }

    .home-list-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .home-list-heading h2 {
        font-size: 20px;
    }

    .catalogue-heading-actions {
        width: 100%;
        justify-content: space-between;
    }

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

    .poster-grid.carousel-track {
        gap: 14px;
    }

    .carousel-track > .anime-card {
        flex-basis: calc((100% - 14px) / 2);
    }

    .slider-arrow {
        display: none;
    }

    .anime-card-title {
        font-size: 12px;
    }

    /* MOBILE BOTTOM NAVIGATION */

    .mobile-bottom-nav {
    position: fixed !important;
    right: 10px;
    bottom: 5px;
    left: 10px;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(20, 20, 24, 0.92);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
}

    .mobile-nav-item {
        min-width: 0;
        padding: 3px 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        border: 0;
        border-radius: 12px;
        color: #85858e;
        background: transparent;
        font-size: 9px;
        font-weight: 700;
    }

    .mobile-nav-item svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-nav-item.is-active {
        color: #f1dede;
        background: var(--accent-soft);
    }

    /* MOBILE INTRO ACTIONS */

    .mobile-intro-actions {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }

    .mobile-support-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mobile-support-actions .home-kofi-support,
    .mobile-support-actions .monthly-viewers-tag {
        align-self: flex-start;
    }

    footer {
        display: none;
    }
}

/* =========================================================
   SMALL MOBILE SCREENS
========================================================= */

@media (max-width: 380px) {
    .navbar .search-wrap {
        width: 52vw;
    }

    .main {
        padding-inline: 12px;
    }

    .home-filter-bar {
        grid-template-columns: 1fr;
    }

    .anime-like-search {
        grid-column: auto;
    }
}

/* =========================================================
   DESKTOP-ONLY RULES
========================================================= */

@media (min-width: 651px) {
    #aniwhatUpdateDialog {
        display: none !important;
    }

    .anime-completion-toggle {
        display: grid;
        place-items: center;
        line-height: 1;
    }
}

/* =========================================================
   DESKTOP LAYOUT
========================================================= */

@media (min-width: 651px) {

    html {
        min-height: 100%;
        background: #141417;
    }

    body {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding-top: 62px;
        padding-bottom: 82px;

        display: flex;
        flex-direction: column;

        color: #f4f4f5;
        background-color: #151515;

        background-image:
            repeating-linear-gradient(
                45deg,
                rgba(0, 0, 0, .1) 0,
                rgba(0, 0, 0, .1) 4px,
                transparent 4px,
                transparent 7px
            ),
            linear-gradient(to bottom, #2d2d2d 0%, #151515 100%);

        background-repeat: repeat, no-repeat;
        background-size: auto, 100% 100vh;
        background-position: 0 0, 0 0;
        background-origin: border-box;
        background-attachment: fixed, fixed;

        font-family: Arial, Helvetica, sans-serif;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .navbar {
        height: 62px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
        background-color: #202020;
        border-bottom: 1px solid rgba(155, 45, 45, .35);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar-brand {
        flex: 0 0 auto;
        margin-left: auto;
        color: #fff;
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -.04em;
        line-height: 1;
        white-space: nowrap;
    }

    .content-area {
        width: min(calc(100% - 40px), 1600px);
        min-width: 0;
        min-height: calc(100vh - 144px);
        margin: 20px auto;
        padding: 0 0 32px;
        border-radius: 15px;
        background-color: rgba(0, 0, 0, .15);
        box-sizing: border-box;
        flex: 1 0 auto;
    }

    .main {
        width: 100%;
        min-width: 0;
        padding: 0 32px 70px;
    }

    .view {
        padding-top: 46px;
    }

    .aniwhat-intro {
        margin-bottom: 42px;
    }

    .aniwhat-intro h1 {
        font-weight: 800;
        letter-spacing: -3px;
    }

    .home-filter-bar {
        border-color: rgba(255, 255, 255, .1);
        border-radius: 15px;
    }

    .my-first-anime-section {
        background: linear-gradient(120deg, rgba(184, 61, 72, .16), #111114);
    }

    .poster-grid {
        gap: 22px;
    }

    .poster-grid.carousel-track {
        gap: 22px;
    }

    .anime-card-content {
        padding-top: 10px;
    }

    .anime-card-title {
        font-size: 13px;
    }

    .anime-card-poster {
        border-radius: 8px;
    }

    .home-list-heading h2,
    .page-heading h1 {
        font-size: 26px;
    }

    footer.footer-links {
        margin-top: auto;
    }
}

/* =========================================================
   DESKTOP FIRST ANIME SECTION
========================================================= */

@media (min-width: 651px) {

    .my-first-anime-section {
        margin: 0 0 48px;
        padding: 28px 30px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 18px;
        background: rgba(13, 13, 14, .82);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
    }

    .my-first-anime-intro {
        max-width: 760px;
        margin-bottom: 22px;
    }

    .my-first-anime-intro .eyebrow {
        margin-bottom: 12px;
        color: #9b2d2d;
        font-size: 12px;
        letter-spacing: .18em;
    }

    .my-first-anime-intro p {
        margin: 0;
        color: #a1a1a6;
        font-size: 16px;
        line-height: 1.65;
    }

    .my-first-anime-row {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .my-first-anime-button,
    .my-completed-anime-button {
        min-height: 44px;
        padding: 0 22px;
        border: 1px solid #9b2d2d;
        border-radius: 10px;
        color: #fff;
        background: #9b2d2d;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }

    .my-first-anime-button:hover,
    .my-completed-anime-button:hover {
        border-color: #b33a3a;
        background: #b33a3a;
        transform: translateY(-1px);
    }

    .my-completed-anime-button {
        border-color: rgba(255, 255, 255, .18);
        color: #f4f4f5;
        background: #171719;
    }

    .my-completed-anime-button:hover {
        border-color: rgba(255, 255, 255, .3);
        background: #222226;
    }

    .modal-backdrop {
        position: fixed;
        inset: 0;
        z-index: 2000;
        display: grid;
        place-items: center;
        padding: 32px;
        background: rgba(0, 0, 0, .78);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .journey-modal {
        width: min(760px, calc(100vw - 64px));
        max-height: calc(100vh - 64px);
        overflow: auto;
        padding: 34px 38px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 18px;
        color: #f4f4f5;
        background: #0d0d0e;
        box-shadow: 0 26px 90px rgba(0, 0, 0, .62);
    }

    .journey-modal-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .journey-modal-header .eyebrow {
        margin-bottom: 8px;
        color: #9b2d2d;
        font-size: 11px;
        letter-spacing: .16em;
    }

    .journey-modal h2 {
        margin: 0;
        color: #f4f4f5;
        font-size: 32px;
        line-height: 1.05;
        letter-spacing: -.05em;
    }

    .journey-modal-header p {
        margin: 10px 0 0;
        color: #a1a1a6;
        font-size: 14px;
        line-height: 1.55;
    }

    .close-button {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 50%;
        color: #d4d4d8;
        background: #171719;
        font-size: 23px;
        line-height: 1;
    }

    .journey-form {
        padding-top: 4px;
    }

    .journey-question {
        margin-top: 26px;
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 14px;
    }

    .journey-question-number {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: #9b2d2d;
        font-weight: 800;
    }

    .journey-question-content label,
    .journey-question-title {
        display: block;
        margin: 2px 0 9px;
        color: #f4f4f5;
        font-size: 15px;
        font-weight: 800;
    }

    .journey-question-content > input {
        width: 100%;
        min-height: 44px;
        padding: 0 13px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 9px;
        outline: 0;
        color: #f4f4f5;
        background: #171719;
        font-size: 14px;
    }

    .journey-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .journey-pill {
        margin: 0;
        padding: 9px 13px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
        color: #a1a1a6;
        background: #171719;
        font-size: 12px;
    }

    .journey-pill:hover {
        border-color: rgba(155, 45, 45, .7);
        color: #fff;
    }

    .journey-pill.selected {
        border-color: #9b2d2d;
        color: #fff;
        background: rgba(155, 45, 45, .22);
        box-shadow: inset 0 0 0 1px #9b2d2d;
    }

    .journey-mobile-select {
        display: none;
    }

    .journey-selection-note {
        margin: 10px 0 0;
        color: #85858e;
        font-size: 11px;
    }

    .journey-form-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 30px;
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .primary-button,
    .secondary-button {
        min-height: 42px;
        padding: 0 18px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 800;
    }

    .primary-button {
        border: 1px solid #9b2d2d;
        color: #fff;
        background: #9b2d2d;
    }

    .secondary-button {
        border: 1px solid rgba(255, 255, 255, .18);
        color: #f4f4f5;
        background: #171719;
    }

    .journey-result {
        padding-top: 4px;
    }

    .journey-result-heading h2 {
        margin: 0;
        color: #f4f4f5;
        font-size: 28px;
        line-height: 1.1;
    }

    .journey-result-heading p {
        color: #a1a1a6;
        line-height: 1.5;
    }

    .journey-result-card {
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 22px;
        margin-top: 20px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 14px;
        background: #111114;
    }

    .journey-result-poster {
        width: 150px;
        height: 214px;
        object-fit: cover;
        border-radius: 8px;
    }

    .journey-result-info h3 {
        margin: 8px 0;
        color: #fff;
        font-size: 24px;
        line-height: 1.1;
    }

    .journey-result-match {
        color: #9b2d2d;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .journey-result-meta,
    .journey-result-genres {
        color: #a1a1a6;
        font-size: 13px;
        line-height: 1.5;
    }

    .journey-result-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 22px;
    }
}

/* =========================================================
   MONTHLY VIEWERS TAG
========================================================= */

.monthly-viewers-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 9px;
    color: #fff;
    background: #17171b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
