/* Test library: the article shell, with a search-first catalogue underneath. */
.tl { --tl-accent: #00b3df; }
.tl :is(button,input,select) { font: inherit; }
.tl :is(select,button,input):focus-visible { outline: 3px solid #0782a9; outline-offset: 3px; }
.tl-hero { background: var(--tr-ink); color: #fff; padding: 24px 0 0; }
.tl-hero .ta-trail { margin-bottom: 32px; }
.tl-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.tl-hero .ta-eyebrow { color: var(--tr-cyan); }
.tl-hero h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.04; margin: 0 0 10px; letter-spacing: -.05em; }
.tl-hero__intro { color: #bac7d0; font-size: 1.03rem; margin: 0; max-width: 51ch; }
.tl-hero .ta-actions { margin-top: 25px; }
.tl .tl-feature { display: block; position: relative; min-height: 285px; border: 1px solid #52616d; border-radius: 7px; overflow: hidden; color: #fff; text-decoration: none; background: #293641; }
.tl-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#101a2470,#101a24bd 45%,#101a24f7); }
.tl-feature > div { position: relative; z-index: 1; padding: 27px; padding-top: 95px; }
.tl-feature__label { position: absolute; top: 20px; left: 24px; display: inline-block; border-radius: 3px; background: var(--tr-cyan); color: #071e29; padding: 5px 9px; font: 650 .65rem/1.5 var(--tr-mono); text-transform: uppercase; letter-spacing: .04em; }
.tl-feature h2 { font-size: 1.6rem; line-height: 1.15; text-wrap: balance; }
.tl-feature p { color: #c8d3dc; margin: 11px 0 16px; font: .75rem var(--tr-mono); }
.tl-feature__link { font-size: .77rem; font-weight: 700; display: flex; justify-content: space-between; }
.tl .tl-feature:hover { border-color: var(--tr-cyan); color: #fff; }
.tl-feature:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tl-stats { display: grid; grid-template-columns: 1fr 1fr 1fr 1.7fr; margin: 34px 0 0; padding: 23px 0; border-top: 1px solid #3b4852; gap: 24px; }
.tl-stats > div { display: flex; flex-direction: column-reverse; justify-content: end; gap: 5px; }
.tl-stats dt { color: #b4c2cd; font-weight: 450; font-size: .73rem; }
.tl-stats dd { margin: 0; font: 500 1.7rem/1.15 var(--tr-mono); letter-spacing: -.06em; }
.tl-hero--compact .tl-hero__grid { grid-template-columns: 1fr; }
.tl-hero--compact h1 { font-size: 2.1rem; margin-bottom: 15px; }
.tl-hero--compact .tl-hero__intro { max-width: 80ch; }
.tl-hero--compact .ta-actions { margin-top: 18px; }
.tl-hero--compact .tl-stats { margin-top: 24px; }
.tl-seasons { background: #fff; border-bottom: 1px solid var(--tr-line); }
.tl-seasons > div { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: thin; }
.tl .tl-seasons a, .tl .tl-seasons [aria-disabled] { display: flex; align-items: center; gap: 9px; padding: 21px 0 17px; border-bottom: 3px solid transparent; color: #465763; font-size: .8rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.tl-seasons a i { color: #738896; }
.tl-seasons a span, .tl-seasons [aria-disabled] span { font: .64rem var(--tr-mono); color: #798995; }
.tl .tl-seasons [aria-disabled], .tl-seasons [aria-disabled] i, .tl-seasons [aria-disabled] span { color: #a9b6bf; cursor: default; }
.tl .tl-seasons a[aria-current], .tl .tl-seasons a:hover { border-bottom-color: var(--tr-cyan); color: #066d91; }
.tl-library { padding-top: 42px; padding-bottom: 48px; }
.tl-search { margin-bottom: 28px; }
.tl-search > label { display: block; font-size: .78rem; font-weight: 650; margin-bottom: 8px; }
.tl-search__row { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid #aabcc8; border-radius: 5px; padding: 6px 6px 6px 18px; }
.tl-search__row > i { color: #7a8a96; }
.tl-search input { width: 100%; min-width: 0; border: 0; color: #1b2d3a; background: transparent; padding: 9px 0; font-size: .94rem; }
.tl-search input::placeholder { color: #6b7d8b; }
.tl-search__row .ta-btn { flex-shrink: 0; min-width: 118px; }
.tl-search > p { margin: 8px 0 0; color: #6a7b86; font-size: .72rem; }
.tl-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 28px; align-items: start; }
.tl-sidebar { position: static; }
.tl-filters { border: 1px solid #d6e0e6; border-radius: 5px; background: #fff; }
.tl-filters > summary { display: flex; align-items: center; gap: 9px; padding: 15px 16px; font-size: .9rem; font-weight: 700; cursor: pointer; list-style: none; }
.tl-filters summary::-webkit-details-marker { display: none; }
.tl-filters summary i { margin-left: auto; color: #73909f; }
.tl-filters summary > span { border-radius: 20px; background: #dff3f9; padding: 3px 7px; font: .66rem var(--tr-mono); }
.tl-filters__body { padding: 0 16px 18px; display: flex; flex-direction: column; }
.tl-filter-hint { margin: 0 0 13px; color: #677d89; font-size: .72rem; }
.tl-filter-source { margin-bottom: 2px; }
.tl .tl-facet { margin-top: 18px; padding-top: 17px; border-top: 1px solid #e1e9ee; }
.tl .tl-facet h3 { margin: 0 0 10px; font-size: .8rem; letter-spacing: 0; }
.tl-choices { display: grid; gap: 6px; }
.tl-choices--tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tl-choices--years { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tl-choices--tiles > :first-child, .tl-facet > .tl-choices--years > :first-child { grid-column: 1 / -1; }
.tl .tl-choice { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 40px; padding: 9px 10px; border: 1px solid #d5e0e7; border-radius: 4px; color: #435e6e; background: #fff; font-size: .73rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.tl .tl-choice:hover { border-color: #75bdd3; background: #f1faff; color: #075f7b; }
.tl span.tl-choice[aria-disabled], .tl span.tl-choice[aria-disabled]:hover { border-color: #e3eaef; background: #f7f9fa; color: #a9b6bf; cursor: default; }
.tl .tl-choice[aria-current] { border-color: #0d91b8; background: #e9f8fd; color: #07617e; box-shadow: inset 0 0 0 1px #0d91b8; font-weight: 650; }
.tl-choice__clear { font-size: 1rem; line-height: 1; flex-shrink: 0; }
.tl-choices--years .tl-choice { justify-content: center; }
.tl-facet--expand > summary, .tl-more-years > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 0; font-size: .8rem; font-weight: 700; color: #344f60; }
.tl-facet--expand > summary::after, .tl-more-years > summary::after { content: '+'; font-size: 1.1rem; font-weight: 450; color: #0b7c9e; }
.tl-facet--expand[open] > summary::after, .tl-more-years[open] > summary::after { content: '−'; }
.tl-facet--expand > .tl-choices { margin-top: 10px; }
.tl-more-years { margin-top: 7px; }
.tl-more-years > summary { font-size: .71rem; font-weight: 500; }
.tl-choices--publishers { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 3px; margin-inline: -3px; scrollbar-width: thin; }
.tl-publisher-search { margin-top: 9px; }
.tl-publisher-search label { display: block; margin-bottom: 7px; font-size: .7rem; color: #637d8b; }
.tl-publisher-search input { width: 100%; min-width: 0; min-height: 42px; padding: 9px; border: 1px solid #adc5d2; border-radius: 4px; font-size: 16px; }
.tl-publisher-empty { color: #697f8b; font-size: .74rem; margin: 10px 0 0; }
.tl-reset { text-align: center; font-size: .73rem; margin-top: 13px; }
.tl-sidebar__note { color: #657b88; font-size: .72rem; margin: 16px 5px 0; }
.tl-sidebar__note i { margin-right: 3px; }
.tl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 15px; min-height: 40px; }
.tl-toolbar > p { font-size: .8rem; font-weight: 650; margin: 0; }
.tl-toolbar > div { display: flex; gap: 8px; align-items: center; }
.tl-toolbar .tl-sort { display: flex; gap: 3px; padding: 3px; border: 1px solid #d2dfe6; border-radius: 5px; background: #fff; }
.tl-sort a { display: flex; align-items: center; min-height: 36px; padding: 6px 10px; border-radius: 3px; font-size: .7rem; color: #617888; text-decoration: none; }
.tl .tl-sort a[aria-current] { background: #1c303e; color: #fff; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tl-chips a { display: flex; gap: 10px; align-items: center; border: 1px solid #bbdce8; background: #eaf7fc; border-radius: 3px; padding: 7px 10px; font-size: .7rem; overflow-wrap: anywhere; }
.tl-chips a span { font-size: 1rem; }
.tl-chips .tl-chips__clear { background: none; border-color: transparent; }
.tl-cards { display: flex; flex-direction: column; gap: 18px; }
.tl-card { border: 1px solid #d4dfe6; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 4px #162b3b03; }
.tl-card:hover { border-color: #9bbdcf; }
.tl-card__top { padding: 16px 22px 0; display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.tl-card__publisher { display: inline-flex; align-items: center; gap: 6px; font: 600 .67rem/1.4 var(--tr-mono); color: #6d7f8a; text-transform: uppercase; letter-spacing: .04em; }
.tl-card__publisher--own { color: #097d9f; }
.tl-brand-mark { display: inline-block; width: 14px; height: 14px; border: 2px solid #00add6; border-radius: 50%; border-right-color: #284451; transform: rotate(-25deg); }
.tl-card__top time { font: .64rem var(--tr-mono); color: #748692; white-space: nowrap; }
.tl-card__body { display: flex; gap: 20px; align-items: center; padding: 15px 22px 19px; }
.tl-card__copy { flex: 1; min-width: 0; }
.tl-card h3 { margin: 0 0 12px; font-size: 1.24rem; line-height: 1.22; letter-spacing: -.025em; }
.tl .tl-card h3 a { color: #182d3b; }
.tl .tl-card h3 a:hover { color: #067da3; }
.tl-card__facts { display: flex; flex-wrap: wrap; gap: 5px 0; color: #627682; font-size: .7rem; }
.tl-card__facts span + span::before { content: '·'; padding-inline: 8px; color: #91a5b0; }
.tl-card__size { font-family: var(--tr-mono); color: #304b5b; }
.tl-card .tl-card__summary { color: #566d7a; font-size: .86rem; line-height: 1.6; margin: 12px 0 0; }
.tl-card__matches { margin: 12px 22px 0; font-size: .78rem; }
.tl-card__matches > span { color: #6b8290; font-size: .68rem; }
.tl-card__matches > p { margin: 5px 0 0; }
.tl-card__photo { position: relative; display: block; width: 175px; flex-shrink: 0; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #1c2a34; }
.tl-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-card__photo i { position: absolute; right: 9px; bottom: 8px; font-size: 1.6rem; color: #fff; text-shadow: 0 1px 8px #000; }
.tl-card__winner { display: flex; align-items: center; gap: 12px; background: #f1f8f5; margin: 0 22px; padding: 11px 14px; border-left: 2px solid #76bba0; border-radius: 2px; }
.tl-card__winner > img { object-fit: contain; mix-blend-mode: multiply; flex-shrink: 0; }
.tl-card__winner > div > span { display: block; color: #547b69; font: 600 .59rem/1.4 var(--tr-mono); text-transform: uppercase; letter-spacing: .035em; margin-bottom: 3px; }
.tl-card__winner p { margin: 0; font-size: .78rem; line-height: 1.55; font-weight: 650; }
.tl .tl-card__winner a { color: #275841; }
.tl-card__winner-separator { color: #8db5a2; padding: 0 4px; }
.tl-card__context { margin: 0 22px; border-left: 2px solid #b1c9d6; background: #f3f7f9; padding: 10px 14px; color: #5e7685; font-size: .73rem; }
.tl-card__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px 22px; }
.tl-card__footer > a { font-size: .72rem; min-height: 30px; display: inline-flex; align-items: center; gap: 10px; }
.tl-card__footer .tl-card__read { margin-right: auto; font-weight: 700; }
.tl-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.tl-pagination a { display: flex; align-items: center; justify-content: center; min-width: 39px; height: 42px; border: 1px solid #cbdbe4; border-radius: 4px; background: #fff; font: .78rem var(--tr-mono); }
.tl .tl-pagination a[aria-current] { background: var(--tr-ink); color: #fff; border-color: var(--tr-ink); }
.tl-empty { padding: 48px 24px; border: 1px dashed #b4c9d6; text-align: center; border-radius: 6px; }
.tl-empty > i { color: #95b0c0; font-size: 2rem; margin-bottom: 14px; }
.tl-empty h3 { margin-top: 0; }
.tl-empty p { color: #667d8a; font-size: .9rem; }
.tl-recommended { padding: 44px 0; border-block: 1px solid #d9e4eb; background: #eaf1f6; }
.tl-section-intro { color: #5f7585; font-size: .88rem; margin: -7px 0 24px; }
.tl-picks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.tl-picks > section { background: #fff; border: 1px solid #d4e0e8; border-radius: 5px; padding: 21px; }
.tl-picks h3 { margin: 0 0 13px; font-size: 1rem; }
.tl-picks ul { list-style: none; padding: 0; margin: 0; }
.tl-picks li + li { border-top: 1px solid #e8eef2; }
.tl-picks a { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding: 11px 0; font-size: .78rem; line-height: 1.45; }
.tl-picks a span { flex-shrink: 0; }
.tl-guide { padding-top: 45px; padding-bottom: 48px; }
.tl-guide__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 28px; }
.tl-guide__number { font: .78rem var(--tr-mono); color: #0b91b8; }
.tl-guide h3 { margin: 12px 0; font-size: 1.1rem; }
.tl-guide p { color: #637986; font-size: .83rem; margin: 0; }
@media (max-width: 1000px) { .tl-hero__grid { gap: 28px; } .tl-layout { grid-template-columns: 235px minmax(0,1fr); gap: 20px; } .tl-card__photo { width: 125px; } .tl-card__body { gap: 14px; } }
@media (max-width: 800px) {
    .tl-hero__grid { grid-template-columns: 1fr; gap: 26px; } .tl-hero h1 { font-size: 2.65rem; }
    .tl-feature > div { padding-top: 80px; } .tl .tl-feature { min-height: 230px; }
    .tl-stats { grid-template-columns: repeat(3,1fr); gap: 18px; }
    .tl-layout { grid-template-columns: 1fr; gap: 18px; } .tl-sidebar { position: static; } .tl-sidebar__note { margin-top: 10px; }
    .tl-filters__body { display: grid; grid-template-columns: 1fr; } .tl-filters summary { min-height: 51px; }
    .tl-filters:not([open]) .tl-filters__body { display: none; } .tl-picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tl-guide__grid { gap: 22px; } .tl-library { padding-top: 30px; }
}
@media (max-width: 520px) {
    .tl .ta-wrap { padding-inline: 18px; } .tl-hero { padding-top: 22px; } .tl-hero .ta-trail { margin-bottom: 26px; }
    .tl-hero h1 { font-size: 2.5rem; } .tl-hero__intro { font-size: .93rem; } .tl-hero .ta-actions { gap: 8px; }
    .tl-hero .ta-btn { padding-inline: 13px; font-size: .75rem; } .tl-feature h2 { font-size: 1.37rem; }
    .tl .tl-feature { min-height: 0; } .tl-feature > div { padding: 55px 20px 20px; } .tl-feature__label { top: 16px; left: 18px; font-size: .59rem; }
    .tl-stats { margin-top: 25px; } .tl-stats dd { font-size: 1.45rem; } .tl-stats dt { font-size: .63rem; }
    .tl-seasons > div { gap: 22px; } .tl-seasons a, .tl-seasons [aria-disabled] { font-size: .75rem; } .tl-seasons a span, .tl-seasons [aria-disabled] span { display: none; }
    .tl .ta-section-head { align-items: start; gap: 12px; } .tl .ta-section-head > a { font-size: .68rem; max-width: 115px; text-align: right; }
    .tl h2 { font-size: 1.55rem; } .tl-search__row { padding-left: 10px; gap: 8px; } .tl-search input { font-size: 16px; }
    .tl-search__row > i { display: none; } .tl-search__row .ta-btn { min-width: 0; padding-inline: 11px; gap: 8px; }
    .tl-search__row .ta-btn span { display: none; } .tl-toolbar { align-items: center; gap: 10px; } .tl-toolbar > p { font-size: .72rem; }
    .tl-toolbar > div { gap: 4px; } .tl-sort a { font-size: .66rem; padding-inline: 7px; }
    .tl-card__top { padding: 15px 16px 0; } .tl-card__publisher { font-size: .59rem; } .tl-card__top time { font-size: .59rem; }
    .tl-card__body { padding: 13px 16px 16px; flex-direction: column; align-items: stretch; gap: 14px; } .tl-card__photo { width: 100%; aspect-ratio: 16/7; }
    .tl-card h3 { font-size: 1.16rem; } .tl-card__facts { font-size: .66rem; } .tl-card__winner, .tl-card__context { margin-inline: 16px; }
    .tl-card__footer { padding: 12px 16px; gap: 3px 14px; } .tl-card__footer > a { min-height: 38px; font-size: .68rem; }
    .tl-card__footer .tl-card__read { margin-right: 0; } .tl-pagination { gap: 4px; } .tl-pagination a { min-width: 33px; }
    .tl-picks, .tl-guide__grid { grid-template-columns: 1fr; } .tl-picks { gap: 12px; } .tl-guide__grid { gap: 26px; }
    .tl-recommended, .tl-guide { padding-block: 32px; }
}
