.tl-shell {
    margin-top: 4.7rem;
    padding: 0px 1.375rem;
}

.tl-sidebar {
    max-width: 300px;
    gap: .5rem;
    padding: 1.375rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: content-box;
}

.tl-sidebar-title {
    font-family: var(--font-display);
    font-weight: var(--preview-weight);
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0%;
    color: var(--text);
}

.tl-sidebar-lede {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 19.5px;
    letter-spacing: 0%;
    color: var(--muted);
}

.tl-search-input {
    border: 1px solid color-mix(in srgb, var(--accent-strong) 18%, transparent);
    background-color: color-mix(in srgb, var(--panel) 60%, transparent);
    border-radius: 12px;
    color: var(--text);
    font-family: Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
    padding: 0.75rem 1rem;
    outline: none;
    box-shadow: none;
    transition: border-color 0.15s ease;
}

.tl-search-input::placeholder {
    color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.tl-search-input:hover,
.tl-search-input:focus {
    border-color: var(--accent-strong);
}

.tl-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
}

.tl-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    margin: 0;
    cursor: pointer;
    background-color: var(--accent-strong);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 2l8 8M10 2L2 10' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 2l8 8M10 2L2 10' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}


.tl-facet {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid color-mix(in srgb, var(--accent-strong) 10%, transparent);
}

.tl-eyebrow {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-strong) 85%, transparent);
}

.tl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.tl-chip {
    padding: 0.25rem 0.625rem;
    border: 1px solid color-mix(in srgb, var(--accent-strong) 16%, transparent);
    border-radius: 9999px;
    background-color: color-mix(in srgb, var(--panel) 50%, transparent);
    color: var(--muted);
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.tl-chip:hover {
    border-color: var(--accent);
}

.tl-chip.is-active {
    background-color: color-mix(in srgb, var(--accent-strong) 8%, transparent);
    border-color: var(--accent-strong);
    color: var(--accent-strong);
}

.tl-sidebar {
    min-height: 0;
}

.tl-facet:has(.tl-trait-list),
.tl-facet:has(.tl-trait-empty) {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tl-trait-list {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    height: 36rem;
    overflow-y: auto;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--accent-strong) 18%, transparent) transparent;
}

.tl-trait-link {
    display: flex;
    flex-direction: row;
    gap: 0.875rem;
    padding: .875rem .8rem;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.tl-trait-link_chip {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    flex-shrink: 0;

    background-color: #0C0F14;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><defs><linearGradient id='a' x1='0' y1='0' x2='40' y2='40' gradientUnits='userSpaceOnUse'><stop stop-color='%233ECF8E' stop-opacity='0.5'/><stop offset='0.55' stop-color='%233ECF8E' stop-opacity='0.18'/><stop offset='1' stop-color='%230C0F14'/></linearGradient><radialGradient id='b' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(11.2 12) scale(30)'><stop stop-color='%23F7D488' stop-opacity='0.28'/><stop offset='1' stop-color='%23F7D488' stop-opacity='0'/></radialGradient></defs><rect width='40' height='40' fill='%230C0F14'/><rect width='40' height='40' fill='url(%23a)'/><rect width='40' height='40' fill='url(%23b)'/></svg>");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    filter: hue-rotate(var(--hue-rotate, 0deg));
}


.tl-trait-link_text {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.tl-trait-list::-webkit-scrollbar {
    width: 6px;
}

.tl-trait-list::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent-strong) 18%, transparent);
    border-radius: 999px;
}

.tl-trait-link:hover {
    background-color: color-mix(in srgb, var(--panel) 60%, transparent);
}

.tl-trait-link.is-active {
    background-color: color-mix(in srgb, var(--accent-strong) 8%, transparent);
    border-color: color-mix(in srgb, var(--accent-strong) 35%, transparent);
}

.tl-trait-link-name {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: color-mix(in srgb, var(--text) 92%, transparent);
}

.tl-trait-link.is-active .tl-trait-link-name {
    color: var(--accent-strong);
    font-weight: 600;
}

.tl-trait-link-cat {
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.tl-trait-empty {
    margin: 0;
    font-family: Inter;
    font-size: 12px;
    line-height: 19.5px;
    color: var(--muted);
}

.tl-clear {
    align-self: center;
    margin-top: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-family: Inter;
    font-size: 11px;
    line-height: 16.5px;
    text-decoration: underline;
    cursor: pointer;
}

.tl-clear:hover {
    color: var(--accent-strong);
}

.tl-clear-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.tl-mobile-bar,
.tl-mobile-tags,
.tl-sheet-head,
.tl-sheet-foot,
.tl-sheet-backdrop,
.tl-traits-label-mobile,
.tl-trait-link-selected,
.tl-facet-trigger {
    display: none;
}

.tl-sheet {
    display: contents;
}

.tl-sheet-body {
    display: contents;
}

.tl-traits-label-desktop {
    display: inline;
}

.tl-shell {
    margin-top: 4.7rem;
    padding: 0 1.375rem;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.tl-main {
    flex: 1;
    min-width: 0;
    padding: 1.375rem 0;
}

.tl-trait_player {
    max-width: 32px;
    max-height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: grid;
    place-items: center;
    background-color: color-mix(in srgb, var(--accent-strong) 14%, transparent);
    border-radius: 50%;
    margin-left: auto;
}

.tl-trait_player::before {
    content: "";
    width: 17px;
    height: 17px;
    background-color: var(--accent-strong);
    -webkit-mask-image: url("../icons/trait-player.svg");
    mask-image: url("../icons/trait-player.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.tl-main_header {
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
    background: color-mix(in srgb, var(--panel) 50%, transparent);
    overflow: hidden;
}

.tl-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--preview-weight);
    font-size: 32px;
    line-height: 36px;
    color: var(--text);
}

.tl-header_title {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: 120px;

    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.tl-header_title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-color: #0C0F14;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='558' height='120' viewBox='0 0 558 120' preserveAspectRatio='none'><defs><linearGradient id='a' x1='0' y1='0' x2='49.3314' y2='229.391' gradientUnits='userSpaceOnUse'><stop stop-color='%233ECF8E' stop-opacity='0.5'/><stop offset='0.55' stop-color='%233ECF8E' stop-opacity='0.18'/><stop offset='1' stop-color='%230C0F14'/></linearGradient><radialGradient id='b' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(156.24 36) scale(418.5 90)'><stop stop-color='%23F7D488' stop-opacity='0.28'/><stop offset='1' stop-color='%23F7D488' stop-opacity='0'/></radialGradient></defs><rect width='558' height='120' fill='%230C0F14'/><rect width='558' height='120' fill='url(%23a)'/><rect width='558' height='120' fill='url(%23b)'/></svg>");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    filter: hue-rotate(var(--hue-rotate, 0deg));
    transition: filter 0.4s ease;
}

.tl-header_title>* {
    position: relative;
    z-index: 1;
}

.tl-kicker {
    margin: 0;
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    line-height: 16px;
    color: color-mix(in srgb, var(--accent-strong) 85%, transparent);
}

.tl-main-lede {
    margin: 0px;
    font-family: Inter;
    font-size: 16px;
    line-height: 26px;
    color: var(--muted);
}

.tl-header_subtitle {
    padding: 1rem;
    gap: .875rem;
    display: flex;
    flex-direction: column;
}

.tl-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    max-width: calc(100% - 13rem);
}

.tl-meta-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--panel) 50%, transparent);
}

.tl-meta-value {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: color-mix(in srgb, var(--text) 90%, transparent);
}

.tl-article {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2.5rem;
    width: 100%;
}

.tl-section-kicker {
    margin: 0px;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}

.tl-h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--preview-weight);
    font-size: 25px;
    line-height: 32px;
    color: var(--text);
}

.tl-h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 24px;
    color: color-mix(in srgb, var(--text) 90%, transparent);
}

.tl-prose {
    margin: 0;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 27.75px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: var(--muted);
}

.tl-appear {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tl-appear-item {
    padding-left: 1rem;
    border-left: 1px solid color-mix(in srgb, var(--accent-strong) 20%, transparent);
    gap: .25rem;
    display: flex;
    flex-direction: column;
}

.tl-related {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1rem;
}

.tl-more-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
}

.tl-related-card,
.tl-more-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 40%, transparent);
    cursor: pointer;
    width: 100%;
}

.tl-more-card {
    padding: 1.25rem;
    gap: .5rem;
    border-radius: 16px;
}

.tl-related-card {
    gap: 0.125rem;
    border-radius: 12px;
    padding: .75rem 1rem;
}

.tl-related-card:hover,
.tl-more-card:hover {
    border-color: var(--accent);
}

.tl-related-name {
    font-size: 15px;
    line-height: 20px;
    color: color-mix(in srgb, var(--text) 90%, transparent);
}

.tl-related-cat {
    font-size: 13px;
    line-height: 16px;
    color: var(--muted);
}

.tl-more {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: 2.5rem;
    border-top: 1px solid color-mix(in srgb, var(--accent-strong) 10%, transparent);
    max-width: calc(100% - 13rem);
}

.tl-more-name {
    font-family: var(--font-display);
    font-weight: var(--preview-weight);
    font-size: 19px;
    line-height: 28px;
    color: var(--text);
}

.tl-more-eyebrow {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-strong) 85%, transparent);
}

.trait-library-page {
    overflow: visible;
}

.tl-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.tl-toc {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    max-width: 10rem;
}

.tl-toc-inner {
    position: sticky;
    bottom: 1.5rem;
    margin-top: auto;
}

.tl-toc .tl-eyebrow {
    margin-bottom: 0.75rem;
}

.tl-toc-nav {
    display: flex;
    flex-direction: column;
}

.tl-toc-nav a {
    padding: 0.375rem 0 0.375rem 0.75rem;
    border-left: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 19.5px;
    color: var(--muted);
    text-decoration: none;
}

.tl-toc-nav a:hover,
.tl-toc-nav a.is-active {
    border-left-color: var(--accent-strong);
    color: var(--accent-strong);
}

.tl-meta-card>p {
    margin: 0px;
}

.tl-meta-card>p:first-child {
    font-family: Inter;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: 2px;
    vertical-align: middle;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-strong) 85%, transparent);
    margin: 0px;
}

.tl-more>p:first-child {
    font-family: Inter;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: 2px;
    vertical-align: middle;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-strong) 85%, transparent);
    margin: 0px;
}

.tl-meta-card>p:last-child {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: color-mix(in srgb, var(--text) 90%, transparent);
}

.tl-section {
    scroll-margin-top: 6rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.tl-fill {
    display: contents;
}

.tl-refs {
    gap: .75rem;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

.tl-refs>li {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: color-mix(in srgb, var(--muted) 85%, transparent);
}

.tl-refs>li>span {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: color-mix(in srgb, var(--text) 80%, transparent);
}

.tl-audio {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 0.875rem 1.375rem 0.875rem;
    background: var(--bg);
    border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
    border-radius: 16px;
    box-sizing: border-box;
}

.tl-audio[hidden] {
    display: none;
}

.tl-audio__play {
    flex: none;
    width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent-strong);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.12s;
}

.tl-audio__play:active {
    transform: scale(0.94);
}

.tl-audio__play svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.tl-audio__icon-pause {
    display: none;
}

.tl-audio.is-playing .tl-audio__icon-play {
    display: none;
}

.tl-audio.is-playing .tl-audio__icon-pause {
    display: block;
}

.tl-audio__play:focus-visible,
.tl-audio__wave:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

.tl-audio__wave {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    touch-action: none;
    border-radius: 6px;
    max-width: 390px;
}

.tl-audio__bar {
    flex: none;
    width: 3px;
    height: 4px;
    border-radius: 2px;
    background: hsla(221, 16%, 27%, 1);
    transition: height 0.35s ease;
}

.tl-audio__bar.is-played {
    background: var(--accent-strong);
}

.tl-audio__time {
    flex: none;
    min-width: 34px;
    text-align: right;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}

@media (max-width: 1200px) {
    .tl-meta {
        grid-template-columns: 1fr 1fr;
    }

    .tl-more-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 984px) {
    .tl-kicker {
        font-size: 14px;
        line-height: 15px;
    }

    .tl-header_title {
        gap: .25rem;
        height: 88px;
    }

    .tl-shell {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }

    .tl-sidebar {
        display: block;
        max-width: none;
        width: 0;
        height: 0;
        padding: 0;
        margin: 0;
        overflow: visible;
        gap: 0;
    }

    .tl-sidebar-title,
    .tl-sidebar-lede,
    .tl-clear-block--desktop,
    .tl-traits-label-desktop,
    .tl-trait_player {
        display: none;
    }

    .tl-main {
        width: 100%;
        padding-top: 1rem;
    }

    .tl-mobile-bar {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        margin-top: 1.5rem;
    }

    .tl-chip {
        padding: .4rem .8rem;
    }

    .tl-mobile-trait-btn,
    .tl-mobile-filters-btn {
        font-family: Inter;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: var(--text);
        background: color-mix(in srgb, var(--panel) 50%, transparent);
        border: 1px solid color-mix(in srgb, var(--accent-strong) 18%, transparent);
        border-radius: 12px;
        cursor: pointer;
        padding: 0.75rem 1rem;
    }


    .tl-mobile-bar {
        display: grid;
        grid-template-columns: 1fr 6.25rem;
        gap: 0.75rem;
        align-items: center;
    }

    .tl-mobile-filters-btn {
        width: 100%;
        flex: none;
        white-space: nowrap;
        text-align: center;
    }

    .tl-mobile-trait-btn {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        text-align: left;
        min-width: 0;
    }

    .tl-mobile-trait-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tl-mobile-filters-btn {
        flex: none;
        color: var(--muted);
    }

    .tl-mobile-tags {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        margin-bottom: 1rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tl-mobile-tags:empty {
        display: none;
    }

    .tl-mobile-tags::-webkit-scrollbar {
        display: none;
    }

    .tl-mobile-tag {
        flex: none;
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.375rem 0.625rem;
        border: 1px solid color-mix(in srgb, var(--accent-strong) 35%, transparent);
        border-radius: 9999px;
        background: transparent;
        color: var(--text);
        font-family: Inter;
        font-size: 12px;
        line-height: 15px;
        cursor: pointer;
    }

    .tl-mobile-tag-x {
        color: var(--muted);
        line-height: 1;
    }

    .tl-sheet {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10020;
        height: 85vh;
        max-height: 85vh;
        padding: 0;
        border-radius: 16px 16px 0 0;
        border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
        background: var(--bg);
        transform: translateY(110%);
        transition: transform 0.25s ease;
        pointer-events: none;
    }

    .tl-sheet.is-open {
        transform: translateY(0);
        pointer-events: auto;
    }

    .tl-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex: none;
        padding: 1.25rem 1.25rem 0.75rem;
    }

    .tl-sheet-title {
        margin: 0;
        font-family: var(--font-display);
        font-weight: var(--preview-weight);
        font-size: 22px;
        line-height: 28px;
        color: var(--text);
    }

    .tl-sheet-close {
        flex: none;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--accent-strong) 18%, transparent);
        border-radius: 12px;
        background: transparent;
        padding: 0;
        cursor: pointer;
    }

    .tl-sheet-close img {
        display: block;
        width: 10px;
        height: 10px;
    }

    .tl-sheet-body {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 0.5rem 1.25rem 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .tl-sheet--filters .tl-facet {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .tl-sheet--filters .tl-facet + .tl-facet {
        margin-top: 0.75rem;
    }

    .tl-sheet--filters .tl-eyebrow {
        display: none;
    }

    .tl-facet-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
        padding: 0.875rem 1rem;
        border: 1px solid color-mix(in srgb, var(--accent-strong) 18%, transparent);
        border-radius: 12px;
        background: color-mix(in srgb, var(--panel) 40%, transparent);
        color: var(--text);
        text-align: left;
        cursor: pointer;
    }

    .tl-facet-trigger-text {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        min-width: 0;
    }

    .tl-facet-trigger-label {
        font-family: Inter;
        font-weight: 400;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--accent-strong) 85%, transparent);
    }

    .tl-facet-trigger-value {
        font-family: Inter;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: var(--text);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tl-facet-trigger-chevron {
        flex: none;
        width: 10px;
        height: 6px;
        display: block;
        transition: transform 0.15s ease;
    }
    
    .tl-facet.is-open .tl-facet-trigger-chevron {
        transform: rotate(180deg);
    }

    .tl-sheet--filters .tl-chips {
        display: none;
        margin-top: 0.625rem;
        flex-wrap: wrap;
    }

    .tl-sheet--filters .tl-chips::-webkit-scrollbar {
        display: none;
    }

    .tl-sheet--filters .tl-facet.is-open .tl-chips {
        display: flex;
    }

    .tl-sheet--filters .tl-chip {
        flex: none;
    }

    .tl-sheet-foot {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: none;
        margin-top: auto;
        padding: 0.875rem 1.25rem calc(0.875rem + env(safe-area-inset-bottom));
        border-top: 1px solid color-mix(in srgb, var(--accent-strong) 10%, transparent);
    }

    .tl-sheet-foot .tl-clear {
        margin-top: 0;
        flex: none;
        font-size: 13px;
        text-decoration: none;
    }

    .tl-clear--sheet {
        padding: 0.875rem 1rem;
        border: 1px solid color-mix(in srgb, var(--accent-strong) 18%, transparent);
        border-radius: 12px;
        color: var(--text);
        text-decoration: none;
        background: transparent;
    }

    .tl-sheet-apply {
        flex: 1;
        border: 0;
        border-radius: 12px;
        padding: 0.875rem 1rem;
        background: var(--accent-strong);
        color: #0c0f14;
        font-family: Inter;
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        cursor: pointer;
    }

    .tl-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10010;
        background: rgba(0, 0, 0, 0.55);
    }

    .tl-sheet-backdrop[hidden] {
        display: none;
    }

    .tl-traits-label-mobile {
        display: inline;
    }

    .tl-facet--traits {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        padding-top: 0;
        border-top: 0;
    }

    .tl-sheet--traits .tl-trait-list {
        height: auto;
        flex: 1;
        min-height: 0;
        max-height: none;
    }

    .tl-sheet--traits .tl-trait-link_chip {
        display: none;
    }

    .tl-sheet--traits .tl-trait-link {
        position: relative;
        padding: 1rem;
        border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }

    .tl-sheet--traits .tl-trait-link.is-active {
        border-color: var(--accent-strong);
    }

    .tl-sheet--traits .tl-trait-link.is-active .tl-trait-link-selected {
        display: block;
        margin-left: auto;
        font-family: Inter;
        font-size: 11px;
        line-height: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--accent-strong);
    }

    .tl-meta,
    .tl-more {
        max-width: 100%;
    }

    .tl-meta {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding-top: 1.25rem;
    }

    .tl-meta-card {
        padding: 0.875rem 1rem;
        border-radius: 12px;
    }

    .tl-body {
        flex-direction: column;
        gap: 0;
    }

    .tl-article {
        margin-top: 1.5rem;
        gap: 2rem;
    }

    .tl-related,
    .tl-more-cards {
        grid-template-columns: 1fr;
    }

    .tl-title {
        font-size: 24px;
        line-height: 1.15;
    }

    .tl-toc {
        display: block;
        order: -1;
        max-width: none;
        width: 100%;
        margin-top: 1.25rem;
    }

    .tl-toc-inner {
        position: sticky;
        top: 4.7rem;
        margin-top: 0;
        background: var(--bg);
        z-index: 2;
    }

    .tl-toc .tl-eyebrow {
        display: none;
    }

    .tl-toc-nav {
        flex-direction: row;
        gap: 1.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 1px solid color-mix(in srgb, var(--accent-strong) 14%, transparent);
    }

    .tl-toc-nav::-webkit-scrollbar {
        display: none;
    }

    .tl-toc-nav a {
        flex: none;
        white-space: nowrap;
        padding: 0.75rem 0;
        border-left: none;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
        color: var(--muted);
    }

    .tl-toc-nav a.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--accent-strong);
        color: var(--accent-strong);
    }

    .tl-toc-nav a:hover {
        border-left-color: transparent !important;
        border-bottom-color: transparent !important;
        color: var(--muted) !important;
    }
}

@media (max-width: 450px) {
    .tl-audio {
        gap: 10px;
        padding: .75rem .75rem .75rem .625rem;
    }

    .tl-audio__bar:nth-child(even) {
        display: none;
    }
}