body.talkiemate-character-collections-index-page,
body.talkiemate-character-collections-index-page main#main.main {
    padding-top: 0 !important;
}

.tm-character-collection {
    --tm-collection-hero-min-height: 270px;
    --tm-collection-hero-fluid-height: 30svh;
    --tm-collection-hero-max-height: 320px;
    color: #fff;
}

.tm-character-collection__hero {
    position: relative;
    width: 100vw;
    min-height: clamp(var(--tm-collection-hero-min-height), var(--tm-collection-hero-fluid-height), var(--tm-collection-hero-max-height));
    margin-left: calc(50% - 50vw);
    margin-bottom: 18px;
    overflow: hidden;
    isolation: isolate;
    background: #070708;
}

.tm-character-collection__hero--empty {
    min-height: clamp(300px, 36svh, 420px);
    background: radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--tm-collection-accent) 11%, transparent), transparent 27%), #070708;
}

.tm-character-collection__track,
.tm-character-collection__slide {
    position: absolute;
    inset: 0;
}

.tm-character-collection__slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.025);
    transition: opacity .5s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .5s;
}

.tm-character-collection__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}

.tm-character-collection__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}

.tm-character-collection__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 7, .98) 0%, rgba(5, 5, 7, .86) 33%, rgba(5, 5, 7, .18) 72%, rgba(5, 5, 7, .05) 100%), linear-gradient(0deg, rgba(5, 5, 7, .92) 0%, transparent 58%);
}

.tm-character-collection__hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 0 54px;
    pointer-events: none;
}

.tm-character-collection__hero--empty .tm-character-collection__hero-inner {
    padding: 72px 0 48px;
}

.tm-character-collection__back,
.tm-character-collection__actions,
.tm-character-collection__controls {
    pointer-events: auto;
}

.tm-character-collection__back {
    position: absolute;
    top: 18px;
    left: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    text-decoration: none;
}

.tm-character-collection__back:hover {
    color: #fff;
}

.tm-character-collection__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 7px;
    color: var(--tm-collection-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tm-character-collection__eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: '';
}

.tm-character-collection__title {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-family: var(--font-family-base, inherit);
    font-size: clamp(38px, 4.4vw, 56px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .9;
}

.tm-character-collection__hero--empty .tm-character-collection__title {
    max-width: 560px;
    font-size: clamp(44px, 5.4vw, 74px);
    line-height: .92;
}

.tm-character-collection__description {
    max-width: 610px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(13px, 1.15vw, 15px);
    line-height: 1.55;
}

.tm-character-collection__hero--empty .tm-character-collection__description {
    margin-top: 18px;
}

.tm-character-collection__active-character {
    position: absolute;
    z-index: 3;
    right: max(20px, calc((100vw - 1180px) / 2));
    bottom: 42px;
    max-width: min(360px, 34vw);
    text-align: right;
}

.tm-character-collection__active-character h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-family-base, inherit);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 400;
    letter-spacing: -.04em;
}

.tm-character-collection__active-character p {
    margin: 5px 0 0;
    padding-bottom: 20px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.4;
}

.tm-character-collection__summary-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tm-character-collection__actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.tm-character-collection__actions .btn,
.tm-character-collection__unlock .btn {
    justify-content: center;
}

.tm-character-collection__actions .btn {
    padding: 9px 14px !important;
    font-size: 12px !important;
}

.tm-character-collection__controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.tm-character-collection__arrow,
.tm-character-collection__dot {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(8, 8, 10, .56);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.tm-character-collection__arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
}

.tm-character-collection__dots {
    display: flex;
    gap: 4px;
}

.tm-character-collection__dot {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.tm-character-collection__dot span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    transition: width .18s ease, background .18s ease;
}

.tm-character-collection__dot.is-active span {
    width: 18px;
    background: var(--tm-collection-accent);
}

.tm-character-collection__arrow:hover,
.tm-character-collection__arrow:focus-visible {
    border-color: var(--tm-collection-accent);
    outline: 0;
    background: var(--tm-collection-accent);
    color: #111;
}

.tm-character-collection__results {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 0 70px;
}

.tm-character-collection__results-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.tm-character-collection__results-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.035em;
}

.tm-character-collection__count {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.tm-character-collection__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.tm-character-collection__grid .growtype-post-single {
    min-width: 0;
}

.tm-character-collection__empty {
    padding: 70px 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .62);
    text-align: center;
}

.tm-character-collection__unlock {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 22px;
}

.tm-collections-index {
    --tm-collections-slider-min-height: 220px;
    --tm-collections-slider-fluid-height: 26svh;
    --tm-collections-slider-max-height: 280px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
}

.tm-collections-index__slider {
    position: relative;
    width: 100vw;
    min-height: clamp(var(--tm-collections-slider-min-height), var(--tm-collections-slider-fluid-height), var(--tm-collections-slider-max-height));
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    isolation: isolate;
    background: #070708;
}

.tm-collections-index__slide {
    background: radial-gradient(circle at 78% 26%, rgba(255, 146, 0, .1), transparent 30%), linear-gradient(135deg, #0c0c0f, #050506 68%);
}

.tm-collections-index__slide--without-image {
    background: radial-gradient(circle at 78% 24%, rgba(255, 146, 0, .16), transparent 28%), linear-gradient(135deg, #101014, #050506 68%);
}

.tm-collections-index__slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.tm-collections-index__slider .tm-character-collection__shade {
    background: linear-gradient(90deg, rgba(5, 5, 7, .98) 0%, rgba(5, 5, 7, .76) 42%, rgba(5, 5, 7, .16) 78%), linear-gradient(0deg, rgba(5, 5, 7, .8), transparent 58%);
}

.tm-collections-index__copy {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 18px 0 42px;
    transform: translateY(16px);
    opacity: 0;
    transition: opacity .35s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.tm-collections-index__slide.is-active .tm-collections-index__copy {
    transform: none;
    opacity: 1;
}

.tm-collections-index__content,
.tm-collections-index__custom-content {
    width: min(620px, 58vw);
}

.tm-collections-index__eyebrow,
.tm-collection-not-found__eyebrow {
    margin: 0 0 7px;
    color: var(--tm-collection-accent, var(--theme-color, #ff9200));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tm-collections-index__slider-context {
    margin: 0 0 5px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 700;
    letter-spacing: -.02em;
}

.tm-collections-index__copy h2 {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-family: var(--font-family-base, inherit);
    font-size: clamp(32px, 3.1vw, 42px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .9;
}

.tm-collections-index__description {
    max-width: 540px;
    margin: 8px 0 11px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.55;
}

.tm-collections-index__copy .btn {
    min-width: 144px;
    justify-content: center;
    padding: 9px 14px !important;
    font-size: 12px !important;
}

.tm-collections-index__directory {
    width: calc(100% - 64px);
    margin: 0 auto;
    padding: 48px 0 76px;
}

.tm-collections-index__directory-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.tm-collections-index__directory-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -.04em;
}

.tm-collections-index__count {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.tm-collections-index__collection-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    list-style: none;
}

.tm-collections-index__collection-card {
    width: 100%;
    min-width: 0;
}

.tm-collection-preview {
    position: relative;
    isolation: isolate;
    min-height: 230px;
    display: block;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    background: #0c0c0e;
    transition: border-color .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.tm-collection-preview__cover,
.tm-collection-preview__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tm-collection-preview__cover {
    z-index: -2;
    object-fit: cover;
    object-position: center 28%;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.tm-collection-preview__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 5, 7, .96) 0%, rgba(5, 5, 7, .78) 46%, rgba(5, 5, 7, .24) 78%), linear-gradient(0deg, rgba(5, 5, 7, .82), transparent 72%);
}

.tm-collection-preview--without-image {
    background: radial-gradient(circle at 80% 20%, rgba(255, 146, 0, .14), transparent 35%), #0c0c0e;
}

.tm-collection-preview__body {
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.tm-collection-preview__eyebrow {
    margin-bottom: 8px;
    color: var(--tm-collection-accent, var(--theme-color, #ff9200));
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tm-collection-preview__title {
    font-family: var(--font-family-base, inherit);
    font-size: clamp(28px, 2vw, 34px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
}

.tm-collection-preview__description {
    display: -webkit-box;
    max-width: 76%;
    margin-top: 9px;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tm-collection-preview__action {
    margin-top: 14px;
    color: var(--tm-collection-accent, var(--theme-color, #ff9200));
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .25s ease;
}

.tm-collection-preview__cast {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.tm-collection-preview__avatar {
    position: relative;
    width: 44px;
    height: 44px;
    margin-left: -10px;
    overflow: hidden;
    border: 2px solid rgba(5, 5, 7, .92);
    border-radius: 50%;
    background: #161619;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.tm-collection-preview__avatar:first-child {
    margin-left: 0;
}

.tm-collection-preview__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-collection-preview:hover {
    border-color: rgba(255, 146, 0, .52);
    color: #fff;
    transform: translateY(-2px);
}

.tm-collection-preview:hover .tm-collection-preview__cover {
    transform: scale(1.025);
}

.tm-collection-preview:hover .tm-collection-preview__action {
    transform: translateX(4px);
}

.tm-collections-index__slider .tm-character-collection__controls {
    bottom: 8px;
}

.tm-collection-not-found h1 {
    margin: 0;
    font-family: var(--font-family-base, inherit);
    font-size: clamp(48px, 7vw, 86px);
    font-weight: 400;
    letter-spacing: -.05em;
    line-height: .94;
}

.tm-collection-not-found {
    display: grid;
    min-height: 60svh;
    place-items: center;
    padding: 70px 20px;
    color: #fff;
    text-align: center;
}

.tm-collection-not-found__inner {
    max-width: 620px;
}

.tm-collection-not-found__copy {
    margin: 22px auto 28px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
}

.tm-collection-not-found__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 991px) {
    .tm-collections-index__collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .tm-character-collection__active-character {
        max-width: 46vw;
    }
}

@media (max-width: 767px) {
    .tm-collections-index {
        --tm-collections-slider-min-height: 280px;
        --tm-collections-slider-fluid-height: 32svh;
        --tm-collections-slider-max-height: 320px;
    }

    .tm-character-collection {
        --tm-collection-hero-min-height: 440px;
        --tm-collection-hero-fluid-height: calc(100svh - 62px);
        --tm-collection-hero-max-height: 520px;
    }

    .tm-character-collection__hero {
        margin-bottom: 24px;
    }

    .tm-character-collection__hero--empty {
        min-height: 380px;
        margin-bottom: 24px;
    }

    .tm-character-collection__image {
        object-position: center 20%;
    }

    .tm-character-collection__shade {
        background: linear-gradient(0deg, rgba(5, 5, 7, .98) 0%, rgba(5, 5, 7, .78) 42%, rgba(5, 5, 7, .16) 100%);
    }

    .tm-character-collection__hero-inner {
        width: calc(100% - 32px);
        justify-content: flex-end;
        padding: 58px 0 180px;
    }

    .tm-character-collection__hero--empty .tm-character-collection__hero-inner {
        justify-content: flex-end;
        padding: 76px 0 36px;
    }

    .tm-character-collection__title {
        font-size: clamp(36px, 12vw, 48px);
    }

    .tm-character-collection__description {
        margin-top: 11px;
        font-size: 13px;
    }

    .tm-character-collection__active-character {
        right: 16px;
        bottom: 52px;
        left: 16px;
        max-width: none;
        text-align: left;
    }

    .tm-character-collection__active-character h2 {
        font-size: 28px;
    }

    .tm-character-collection__active-character p {
        font-size: 13px;
    }

    .tm-character-collection__actions {
        justify-content: flex-start;
    }

    .tm-character-collection__actions .btn {
        padding: 9px 13px !important;
        font-size: 12px !important;
    }

    .tm-character-collection__controls {
        bottom: 8px;
    }

    .tm-character-collection__results {
        padding: 0 0 48px;
    }

    .tm-character-collection__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tm-character-collection__results-header {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }

    .tm-collections-index__slider .tm-character-collection__shade {
        background: linear-gradient(0deg, rgba(5, 5, 7, .9), rgba(5, 5, 7, .2));
    }

    .tm-collections-index__copy {
        width: calc(100% - 32px);
        justify-content: flex-end;
        padding: 24px 0 52px;
    }

    .tm-collections-index__content,
    .tm-collections-index__custom-content {
        width: 100%;
    }

    .tm-collections-index__slider-context {
        font-size: 14px;
    }

    .tm-collections-index__copy h2 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: .94;
    }

    .tm-collections-index__description {
        display: -webkit-box;
        margin: 8px 0 12px;
        overflow: hidden;
        font-size: 13px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .tm-collections-index__copy .btn {
        min-width: 152px;
        width: fit-content;
        padding: 9px 14px !important;
        font-size: 12px !important;
    }

    .tm-collections-index__directory {
        width: calc(100% - 32px);
        padding: 36px 0 54px;
    }

    .tm-collections-index__directory-header {
        align-items: start;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 18px;
    }

    .tm-collections-index__collection-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .tm-collection-preview {
        min-height: 300px;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: end;
        gap: 16px;
        padding: 24px 20px;
    }

    .tm-collection-preview__shade {
        background: linear-gradient(0deg, rgba(5, 5, 7, .98) 0%, rgba(5, 5, 7, .78) 54%, rgba(5, 5, 7, .18) 100%);
    }

    .tm-collection-preview__title {
        font-size: clamp(30px, 9vw, 40px);
    }

    .tm-collection-preview__description {
        max-width: 100%;
        font-size: 13px;
    }

    .tm-collection-preview__action {
        margin-top: 14px;
    }

    .tm-collection-preview__cast {
        position: static;
        justify-content: flex-start;
        padding: 0;
    }

    .tm-collection-preview__avatar {
        width: 48px;
        height: 48px;
    }

    .tm-collections-index__slider .tm-character-collection__controls {
        bottom: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-character-collection__slide,
    .tm-character-collection__dot span,
    .tm-collections-index__copy {
        transition: none;
    }
}
