body.tlist-page {
    --tl-bg: #17191e;
    --tl-hero-top: #24231f;
    --tl-surface: #202228;
    --tl-surface-raised: #292b32;
    --tl-ink: #f7f5f0;
    --tl-muted: #c0bfb9;
    --tl-dim: #aba9a3;
    --tl-line: #383a40;
    --tl-line-strong: #52534f;
    --tl-accent: #d2ac70;
    --tl-accent-strong: #e1bf8b;
    --tl-accent-soft: rgba(210, 172, 112, .1);
    --tl-button: #79531d;
    --tl-button-hover: #654214;
    --tl-success: #78dcb0;
    --tl-live: #f4bc73;
    --tl-danger: #ff9ca6;
    --tl-shadow: rgba(0, 0, 0, .22);
    --tl-shell: 86rem;
    margin: 0;
    min-height: 100dvh;
    background: var(--tl-bg);
}

body.tlist-page--cup {
    --tl-bg: #131e1c;
    --tl-hero-top: #1a302a;
    --tl-surface: #1c2926;
    --tl-surface-raised: #263630;
    --tl-ink: #eff8f4;
    --tl-muted: #bdcdc6;
    --tl-dim: #a5bdb2;
    --tl-line: #334b41;
    --tl-line-strong: #50695d;
    --tl-accent: #6cdbb0;
    --tl-accent-strong: #8ce7c1;
    --tl-accent-soft: rgba(108, 219, 176, .09);
    --tl-button: #08705f;
    --tl-button-hover: #075c4f;
}

html[data-theme="light"] body.tlist-page {
    background: var(--tl-bg);
    --tl-bg: #f7f5f0;
    --tl-hero-top: #f0e9d9;
    --tl-surface: #ffffff;
    --tl-surface-raised: #faf8f2;
    --tl-ink: #191b23;
    --tl-muted: #555964;
    --tl-dim: #60636e;
    --tl-line: #e0ddd5;
    --tl-line-strong: #c9c4b9;
    --tl-accent: #79531d;
    --tl-accent-strong: #79531d;
    --tl-accent-soft: rgba(121, 83, 29, .08);
    --tl-success: #187149;
    --tl-live: #92520d;
    --tl-danger: #b02c3c;
    --tl-shadow: rgba(38, 33, 21, .13);
}

html[data-theme="light"] body.tlist-page--cup {
    --tl-bg: #f2f8f6;
    --tl-hero-top: #e4f3ec;
    --tl-surface: #ffffff;
    --tl-surface-raised: #f6fbf8;
    --tl-ink: #163b37;
    --tl-muted: #4d625e;
    --tl-dim: #566b65;
    --tl-line: #d7e5de;
    --tl-line-strong: #bbd1c5;
    --tl-accent: #08705f;
    --tl-accent-strong: #08705f;
    --tl-accent-soft: rgba(8, 112, 95, .07);
}

@media (prefers-color-scheme: light) {
    html[data-theme="auto"] body.tlist-page {
        background: var(--tl-bg);
        --tl-bg: #f7f5f0;
        --tl-hero-top: #f0e9d9;
        --tl-surface: #ffffff;
        --tl-surface-raised: #faf8f2;
        --tl-ink: #191b23;
        --tl-muted: #555964;
        --tl-dim: #60636e;
        --tl-line: #e0ddd5;
        --tl-line-strong: #c9c4b9;
        --tl-accent: #79531d;
        --tl-accent-strong: #79531d;
        --tl-accent-soft: rgba(121, 83, 29, .08);
        --tl-success: #187149;
        --tl-live: #92520d;
        --tl-danger: #b02c3c;
        --tl-shadow: rgba(38, 33, 21, .13);
    }

    html[data-theme="auto"] body.tlist-page--cup {
        --tl-bg: #f2f8f6;
        --tl-hero-top: #e4f3ec;
        --tl-surface: #ffffff;
        --tl-surface-raised: #f6fbf8;
        --tl-ink: #163b37;
        --tl-muted: #4d625e;
        --tl-dim: #566b65;
        --tl-line: #d7e5de;
        --tl-line-strong: #bbd1c5;
        --tl-accent: #08705f;
        --tl-accent-strong: #08705f;
        --tl-accent-soft: rgba(8, 112, 95, .07);
    }
}

body.tlist-page::before {
    display: none;
}

body.tlist-page #main-content {
    background: var(--tl-bg);
}

body.tlist-page #main-content,
body.tlist-page .tl-dialog {
    color: var(--tl-ink);
    font-family: Inter, sans-serif;
}

body.tlist-page #main-content *,
body.tlist-page .tl-dialog,
body.tlist-page .tl-dialog * {
    box-sizing: border-box;
    border-radius: 0;
}

body.tlist-page #main-content [hidden] {
    display: none !important;
}

body.tlist-page .tl-shell {
    width: min(calc(100% - 2rem), var(--tl-shell));
    margin-inline: auto;
}

body.tlist-page .tl-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.tlist-page .tl-hero {
    position: relative;
    isolation: isolate;
    padding: 3rem 0 0;
    background: var(--tl-hero-top);
    border-bottom: 1px solid var(--tl-line);
}

body.tlist-page .tl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(135deg, transparent 0 14rem, var(--tl-accent-soft) 14rem 20rem, transparent 20rem 30rem);
    opacity: .55;
}

body.tlist-page .tl-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 23rem;
    align-items: center;
    gap: 2rem;
    min-height: 19rem;
    padding-bottom: 2.25rem;
}

body.tlist-page .tl-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1rem;
    color: var(--tl-accent-strong);
    font-family: "Chakra Petch", sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.tlist-page .tl-eyebrow::after {
    content: "";
    width: 5rem;
    height: 1px;
    background: currentColor;
    opacity: .45;
}

body.tlist-page .tl-hero h1 {
    margin: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(3rem, 6.2vw, 6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.05;
}

body.tlist-page .tl-hero__lead {
    max-width: 42rem;
    min-height: 3.5rem;
    margin: 1.1rem 0 0;
    color: var(--tl-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    text-wrap: pretty;
}

body.tlist-page .tl-hero__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    min-height: 2.75rem;
    margin-top: 1rem;
}

body.tlist-page .tl-hero__links > a:not(.tl-create) {
    color: var(--tl-accent-strong);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .25rem;
}

body.tlist-page .tl-hero__links .tl-create {
    width: auto;
    min-height: 2.75rem;
    padding-inline: 1rem;
}

body.tlist-page .tl-hero__summary {
    display: grid;
    grid-template-rows: 10.5rem 6rem;
}

body.tlist-page .tl-hero__emblem {
    display: grid;
    place-items: center;
    overflow: hidden;
}

body.tlist-page .tl-hero__emblem img {
    display: block;
    width: 15rem;
    height: 10.5rem;
    object-fit: contain;
}

body.tlist-page .tl-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--tl-line-strong);
    border-bottom: 1px solid var(--tl-line-strong);
}

body.tlist-page .tl-hero__stats div {
    display: flex;
    min-width: 0;
    flex-direction: column-reverse;
    justify-content: center;
    gap: .4rem;
    padding: .8rem;
    border-right: 1px solid var(--tl-line);
}

body.tlist-page .tl-hero__stats div:last-child {
    border-right: 0;
}

body.tlist-page .tl-hero__stats dt {
    color: var(--tl-muted);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.tlist-page .tl-hero__stats dd {
    margin: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

body.tlist-page .tl-search-wrap {
    position: relative;
    transform: translateY(50%);
    z-index: 2;
}

body.tlist-page .tl-search {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    min-height: 4.5rem;
    padding: .8rem 1.2rem .8rem 1.6rem;
    background: var(--tl-surface);
    border: 1px solid var(--tl-line-strong);
    box-shadow: 0 1rem 2.5rem var(--tl-shadow);
}

body.tlist-page .tl-search:focus-within {
    border-color: var(--tl-accent);
    box-shadow: 0 1rem 2.5rem var(--tl-shadow), 0 0 0 3px var(--tl-accent-soft);
}

body.tlist-page .tl-search > svg {
    width: 1.55rem;
    fill: none;
    stroke: var(--tl-accent-strong);
    stroke-width: 1.7;
}

body.tlist-page .tl-search input {
    width: 100%;
    min-width: 0;
    padding: .8rem 0;
    color: var(--tl-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
}

body.tlist-page .tl-search input::placeholder {
    color: var(--tl-dim);
    opacity: 1;
}

body.tlist-page .tl-search kbd {
    padding: .35rem .6rem;
    color: var(--tl-dim);
    background: var(--tl-surface-raised);
    border: 1px solid var(--tl-line);
    border-bottom-color: var(--tl-line-strong);
    font-family: inherit;
    font-size: .72rem;
}

body.tlist-page .tl-search__clear {
    padding: .65rem .8rem;
    color: var(--tl-muted);
    background: transparent;
    border: 0;
    font: 700 .75rem/1 Inter, sans-serif;
}

body.tlist-page .tl-search__clear:hover {
    color: var(--tl-ink);
}

body.tlist-page .tl-directory {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-top: 5.75rem;
    padding-bottom: 7rem;
}

body.tlist-page .tl-filters {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.tlist-page .tl-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tl-line-strong);
}

body.tlist-page .tl-filter-head div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.tlist-page .tl-filter-head span {
    color: var(--tl-dim);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.tlist-page .tl-filter-head strong {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
}

body.tlist-page .tl-filter-head button,
body.tlist-page .tl-empty button {
    padding: 0;
    color: var(--tl-accent-strong);
    background: none;
    border: 0;
    font: 700 .72rem/1 Inter, sans-serif;
    text-decoration: underline;
    text-underline-offset: .25rem;
}

body.tlist-page .tl-filter-head button:hover,
body.tlist-page .tl-empty button:hover {
    color: var(--tl-ink);
}

body.tlist-page .tl-filter-group {
    min-width: 0;
    margin: 0;
    display: block;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid var(--tl-line);
}

body.tlist-page .tl-filter-group legend {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: var(--tl-muted);
    font-family: "Chakra Petch", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.tlist-page .tl-filter-options {
    display: grid;
    gap: 4px;
    padding-top: 12px;
}

body.tlist-page .tl-radio {
    display: block;
    margin: 0;
}

body.tlist-page .tl-radio input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

body.tlist-page .tl-radio span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
    padding: 8px 12px;
    line-height: 1.5;
    color: var(--tl-muted);
    border-left: 2px solid transparent;
    font-size: .82rem;
    font-weight: 600;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

body.tlist-page .tl-radio span b,
body.tlist-page .tl-check b {
    color: var(--tl-dim);
    font-size: .7rem;
    font-variant-numeric: tabular-nums;
}

body.tlist-page .tl-radio:hover span {
    color: var(--tl-ink);
    background: var(--tl-accent-soft);
}

body.tlist-page .tl-radio input:checked + span {
    color: var(--tl-ink);
    background: var(--tl-accent-soft);
    border-left-color: var(--tl-accent);
}

body.tlist-page .tl-radio input:focus-visible + span,
body.tlist-page .tl-check input:focus-visible + span {
    outline: 2px solid var(--tl-accent);
    outline-offset: 2px;
}

body.tlist-page .tl-check {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    line-height: 1.5;
    color: var(--tl-muted);
}

body.tlist-page .tl-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

body.tlist-page .tl-check > span {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border: 1px solid var(--tl-line-strong);
    transition: background .2s ease, border-color .2s ease;
}

body.tlist-page .tl-check > span::after {
    content: "";
    width: .42rem;
    height: .25rem;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
}

body.tlist-page .tl-check em {
    font-size: .8rem;
    font-style: normal;
    font-weight: 600;
}

body.tlist-page .tl-check:hover {
    color: var(--tl-ink);
}

body.tlist-page .tl-check input:checked + span {
    background: var(--tl-button);
    border-color: var(--tl-button);
}

body.tlist-page .tl-check input:checked + span::after {
    opacity: 1;
}

body.tlist-page .tl-check input:disabled ~ * {
    opacity: .42;
    cursor: not-allowed !important;
}

body.tlist-page .tl-filter-group--personal small {
    display: block;
    margin: 4px 12px 0 40px;
    color: var(--tl-dim);
    font-size: .7rem;
    line-height: 1.45;
}

body.tlist-page .tl-results {
    min-width: 0;
}

body.tlist-page .tl-results__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--tl-line-strong);
}

body.tlist-page .tl-results__head p {
    margin: 0 0 .3rem;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

body.tlist-page .tl-results__head p strong {
    color: var(--tl-accent-strong);
    font-size: 1.45rem;
    font-variant-numeric: tabular-nums;
}

body.tlist-page .tl-results__head > div > span {
    color: var(--tl-dim);
    font-size: .75rem;
}

body.tlist-page .tl-card-list {
    display: grid;
    gap: 1px;
    margin-top: 1.65rem;
    background: var(--tl-line);
}

body.tlist-page .tl-card[hidden] {
    display: none !important;
}

body.tlist-page .tl-card {
    position: relative;
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) 10rem 9.5rem;
    align-items: stretch;
    min-height: 12.5rem;
    background: var(--tl-surface);
    transition: background .24s ease, transform .24s ease;
}

body.tlist-page .tl-card:hover {
    background: var(--tl-surface-raised);
    transform: translateX(.28rem);
    z-index: 1;
}

body.tlist-page .tl-card:focus-within {
    outline: 2px solid var(--tl-accent);
    outline-offset: -2px;
    z-index: 2;
}

body.tlist-page .tl-card__main-link {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body.tlist-page .tl-card__date,
body.tlist-page .tl-card__body,
body.tlist-page .tl-card__field,
body.tlist-page .tl-card__actions {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

body.tlist-page .tl-card__field a,
body.tlist-page .tl-card__field button,
body.tlist-page .tl-card__actions a,
body.tlist-page .tl-card__actions button,
body.tlist-page .tl-card__actions form {
    pointer-events: auto;
}

body.tlist-page .tl-card__date {
    display: flex;
    min-width: 0;
    padding: 16px 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--tl-line);
    font-family: "Chakra Petch", sans-serif;
    text-align: center;
}

body.tlist-page .tl-card__date span {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--tl-accent-strong);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.tlist-page .tl-card__date strong {
    margin: 4px 0;
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

body.tlist-page .tl-card__date small {
    color: var(--tl-dim);
    font-size: .66rem;
}

body.tlist-page .tl-card__date .tl-card__start-label {
    margin-top: 12px;
    color: var(--tl-dim);
    font-size: .52rem;
    letter-spacing: .04em;
}

body.tlist-page .tl-card__start-time {
    margin-top: 4px;
    font-size: .72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}

body.tlist-page .tl-card__start-zone {
    max-width: 100%;
    margin-top: 4px;
    overflow-wrap: anywhere;
    font-size: .58rem;
    line-height: 1.4;
}

body.tlist-page .tl-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

body.tlist-page .tl-card__topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

body.tlist-page .tl-status,
body.tlist-page .tl-card__id {
    color: var(--tl-dim);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

body.tlist-page .tl-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

body.tlist-page .tl-status i {
    width: .45rem;
    height: .45rem;
    background: var(--tl-dim);
    border-radius: 50%;
}

body.tlist-page .tl-card--live .tl-status {
    color: var(--tl-live);
}

body.tlist-page .tl-card--live .tl-status i {
    background: var(--tl-live);
    box-shadow: 0 0 0 .3rem rgba(244, 174, 89, .1);
    animation: tl-pulse 2s ease infinite;
}

body.tlist-page .tl-card--registration .tl-status {
    color: var(--tl-success);
}

body.tlist-page .tl-card--registration .tl-status i {
    background: var(--tl-success);
}

@keyframes tl-pulse {
    50% {
        opacity: .45;
    }
}

body.tlist-page .tl-card h2 {
    max-width: 18ch;
    margin: .75rem 0 .35rem;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.03;
    text-wrap: balance;
}

body.tlist-page .tl-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.8rem;
    margin-top: 1.5rem;
}

body.tlist-page .tl-card__facts > span {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    min-width: 4rem;
}

body.tlist-page .tl-card__facts small {
    color: var(--tl-dim);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.tlist-page .tl-card__facts strong {
    max-width: 12rem;
    overflow: hidden;
    color: var(--tl-muted);
    font-size: .8rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.tlist-page .tl-card__field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.15rem;
    border-left: 1px solid var(--tl-line);
}

body.tlist-page .tl-field__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

body.tlist-page .tl-field__head span {
    color: var(--tl-dim);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.tlist-page .tl-field__head strong {
    font-family: "Chakra Petch", sans-serif;
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

body.tlist-page .tl-capacity {
    height: 2px;
    margin: .65rem 0 1rem;
    overflow: hidden;
    background: var(--tl-line);
}

body.tlist-page .tl-capacity i {
    display: block;
    height: 100%;
    background: var(--tl-accent);
}

body.tlist-page .tl-facepile {
    display: flex;
    min-height: 2rem;
    align-items: center;
}

body.tlist-page .tl-facepile img,
body.tlist-page .tl-facepile > span {
    width: 2rem;
    height: 2rem;
    margin-left: -.45rem;
    object-fit: contain;
    background: var(--tl-surface-raised);
    border: 2px solid var(--tl-surface);
}

body.tlist-page .tl-card:hover .tl-facepile img,
body.tlist-page .tl-card:hover .tl-facepile > span {
    border-color: var(--tl-surface-raised);
}

body.tlist-page .tl-facepile img:first-child {
    margin-left: 0;
}

body.tlist-page .tl-facepile > span {
    display: grid;
    place-items: center;
    color: var(--tl-accent-strong);
    font-size: .7rem;
    font-weight: 800;
}

body.tlist-page .tl-facepile > small {
    color: var(--tl-dim);
    font-size: .75rem;
}

body.tlist-page .tl-participants {
    width: fit-content;
    margin-top: .8rem;
    padding: 0;
    color: var(--tl-accent-strong);
    background: none;
    border: 0;
    font: 600 .8rem/1.4 Inter, sans-serif;
    text-decoration: underline;
    text-underline-offset: .22rem;
}

body.tlist-page .tl-participants:hover {
    color: var(--tl-ink);
}

body.tlist-page .tl-card__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-left: 1px solid var(--tl-line);
}

body.tlist-page .tl-card__actions form {
    width: 100%;
}

body.tlist-page .tl-action {
    display: inline-flex;
    width: 100%;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .75rem .85rem;
    border: 1px solid transparent;
    font-family: "Chakra Petch", sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

body.tlist-page .tl-action svg {
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    transition: transform .2s ease;
}

body.tlist-page .tl-action--primary {
    color: #fff;
    background: var(--tl-button);
}

body.tlist-page .tl-action--primary:hover {
    background: var(--tl-button-hover);
    transform: translateY(-2px);
}

body.tlist-page .tl-action--primary:hover svg {
    transform: translateX(.2rem);
}

body.tlist-page .tl-action--danger {
    color: var(--tl-danger);
    background: rgba(243, 122, 134, .08);
    border-color: rgba(243, 122, 134, .25);
}

body.tlist-page .tl-action--danger:hover {
    background: rgba(243, 122, 134, .15);
}

body.tlist-page .tl-action--disabled {
    color: var(--tl-dim);
    background: var(--tl-line);
}

body.tlist-page .tl-action:active {
    transform: translateY(0) scale(.98);
}

body.tlist-page .tl-action:focus-visible,
body.tlist-page .tl-participants:focus-visible,
body.tlist-page .tl-filter-head button:focus-visible,
body.tlist-page .tl-empty button:focus-visible,
body.tlist-page .tl-search__clear:focus-visible {
    outline: 2px solid var(--tl-accent);
    outline-offset: 3px;
}

body.tlist-page .tl-empty {
    padding: 7rem 2rem;
    text-align: center;
}

body.tlist-page .tl-empty span {
    color: var(--tl-accent-strong);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

body.tlist-page .tl-empty h2 {
    margin: .8rem 0 .55rem;
    font-family: "Chakra Petch", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    letter-spacing: -.04em;
}

body.tlist-page .tl-empty p {
    max-width: 31rem;
    margin: 0 auto 1.5rem;
    color: var(--tl-muted);
    line-height: 1.6;
}

body.tlist-page .tl-empty .tl-empty__views {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin: 0 auto 24px;
}

body.tlist-page .tl-empty__views a {
    color: var(--tl-accent-strong);
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.tlist-page .tl-empty__views a:focus-visible {
    outline: 2px solid var(--tl-accent);
    outline-offset: 4px;
}

body.tlist-page .tl-empty--initial {
    background: var(--tl-surface);
    margin-top: 1.65rem;
}

body.tlist-page .tl-dialog {
    width: min(calc(100% - 2rem), 38rem);
    max-height: min(80dvh, 48rem);
    margin: auto;
    padding: 0;
    color: var(--tl-ink);
    background: var(--tl-surface);
    border: 1px solid var(--tl-line-strong);
    box-shadow: 0 2.5rem 8rem rgba(0, 0, 0, .55);
}

body.tlist-page .tl-dialog::backdrop {
    background: rgba(6, 5, 10, .78);
    backdrop-filter: blur(8px);
}

body.tlist-page .tl-dialog[open] {
    animation: tl-dialog-in .22s ease both;
}

@keyframes tl-dialog-in {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(.98);
    }
}

body.tlist-page .tl-dialog__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--tl-line);
}

body.tlist-page .tl-dialog__head span {
    color: var(--tl-accent-strong);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.tlist-page .tl-dialog__head h2 {
    margin: .35rem 0 0;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.65rem;
    line-height: 1.05;
}

body.tlist-page .tl-dialog__head button {
    display: grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    padding: 0;
    color: var(--tl-muted);
    background: transparent;
    border: 1px solid var(--tl-line);
    font-size: 1.35rem;
    line-height: 1;
}

body.tlist-page .tl-dialog__head button:hover {
    color: var(--tl-ink);
    border-color: var(--tl-line-strong);
}

body.tlist-page .tl-dialog__body {
    max-height: calc(80dvh - 7rem);
    overflow: auto;
    padding: .6rem 2rem 2rem;
}

body.tlist-page .tl-team-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.tlist-page .tl-team-list li {
    border-bottom: 1px solid var(--tl-line);
}

body.tlist-page .tl-team-list a {
    display: grid;
    grid-template-columns: 2rem 2.6rem minmax(0, 1fr) 1rem;
    align-items: center;
    gap: .8rem;
    padding: 1rem .35rem;
    color: inherit;
    text-decoration: none;
}

body.tlist-page .tl-team-list a:hover {
    background: var(--tl-accent-soft);
}

body.tlist-page .tl-team-list img {
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
    background: var(--tl-surface-raised);
}

body.tlist-page .tl-team-rank {
    color: var(--tl-dim);
    font-family: "Chakra Petch", sans-serif;
    font-size: .72rem;
    font-weight: 800;
}

body.tlist-page .tl-team-list strong {
    min-width: 0;
    overflow: hidden;
    font-family: "Chakra Petch", sans-serif;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.tlist-page .tl-team-list small {
    color: var(--tl-muted);
    font-size: .68rem;
    font-variant-numeric: tabular-nums;
}

body.tlist-page .tl-team-list svg {
    width: 1rem;
    fill: none;
    stroke: var(--tl-dim);
    stroke-width: 1.7;
}

body.tlist-page .tl-dialog__empty {
    padding: 4rem 1rem;
    text-align: center;
}

body.tlist-page .tl-dialog__empty strong {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.35rem;
}

body.tlist-page .tl-dialog__empty p {
    color: var(--tl-muted);
}

@media (max-width: 76rem) {
    body.tlist-page .tl-card {
        grid-template-columns: 4.5rem minmax(0, 1fr) 10rem;
    }

    body.tlist-page .tl-card__actions {
        grid-column: 2 / -1;
        justify-content: flex-end;
        min-height: 4.2rem;
        padding: .7rem 1.4rem;
        border-top: 1px solid var(--tl-line);
        border-left: 0;
    }

    body.tlist-page .tl-action {
        width: auto;
        min-width: 10.5rem;
    }

    body.tlist-page .tl-card__actions form {
        width: auto;
    }
}

@media (max-width: 58rem) {
    body.tlist-page .tl-hero {
        padding-top: 2rem;
    }

    body.tlist-page .tl-hero__layout {
        grid-template-columns: minmax(0, 1fr) 18rem;
        gap: 1.5rem;
    }

    body.tlist-page .tl-hero h1 {
        font-size: clamp(2.5rem, 6.3vw, 4rem);
    }

    body.tlist-page .tl-hero__lead {
        font-size: 1rem;
    }

    body.tlist-page .tl-hero__stats div {
        padding-inline: .5rem;
    }

    body.tlist-page .tl-directory {
        grid-template-columns: 1fr;
        padding-top: 5rem;
    }

    body.tlist-page .tl-filters {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: 24px 32px;
    }

    body.tlist-page .tl-filter-head {
        grid-column: 1 / -1;
    }

    body.tlist-page .tl-filter-group--personal {
        grid-column: 1 / -1;
    }
}

@media (max-width: 44rem) {
    body.tlist-page .tl-shell {
        width: min(calc(100% - 1.2rem), var(--tl-shell));
    }

    body.tlist-page .tl-hero {
        padding-top: 2rem;
    }

    body.tlist-page .tl-hero h1 {
        font-size: clamp(2.5rem, 11vw, 4.5rem);
    }

    body.tlist-page .tl-eyebrow {
        min-height: 2.4rem;
    }

    body.tlist-page .tl-hero__lead {
        min-height: 3.3rem;
        margin-top: 1.4rem;
    }

    body.tlist-page .tl-hero__layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }

    body.tlist-page .tl-hero__summary {
        grid-template-columns: 6rem minmax(0, 1fr);
        grid-template-rows: 6rem;
    }

    body.tlist-page .tl-hero__emblem img {
        width: 6rem;
        height: 6rem;
    }

    body.tlist-page .tl-hero__stats dt {
        font-size: .6rem;
    }

    body.tlist-page .tl-hero__stats dd {
        font-size: 1.6rem;
    }

    body.tlist-page .tl-hero__stats div {
        padding-inline: .65rem;
    }

    body.tlist-page .tl-search {
        grid-template-columns: 1.4rem minmax(0, 1fr) auto;
        min-height: 4.6rem;
        padding-inline: 1rem;
        gap: .65rem;
    }

    body.tlist-page .tl-search kbd {
        display: none;
    }

    body.tlist-page .tl-search input {
        font-size: .9rem;
    }

    body.tlist-page .tl-search__clear {
        padding-inline: .2rem;
    }

    body.tlist-page .tl-directory {
        gap: 2.5rem;
        padding-bottom: 4.5rem;
    }

    body.tlist-page .tl-filters {
        grid-template-columns: 1fr;
    }

    body.tlist-page .tl-filter-group,
    body.tlist-page .tl-filter-group--personal {
        grid-column: 1;
    }

    body.tlist-page .tl-results__head {
        align-items: start;
        flex-direction: column;
        gap: 1rem;
    }

    body.tlist-page .tl-card {
        grid-template-columns: 4.5rem minmax(0, 1fr);
        min-height: 0;
    }

    body.tlist-page .tl-card:hover {
        transform: none;
    }

    body.tlist-page .tl-card__date {
        grid-row: 1 / span 2;
        padding-block: 1.5rem;
    }

    body.tlist-page .tl-card__body {
        padding: 1.5rem 1.2rem;
    }

    body.tlist-page .tl-card h2 {
        font-size: 1.45rem;
    }

    body.tlist-page .tl-card__id {
        display: none;
    }

    body.tlist-page .tl-card__facts {
        gap: .8rem 1.2rem;
    }

    body.tlist-page .tl-card__field {
        grid-column: 2;
        padding: 1rem 1.2rem;
        border-top: 1px solid var(--tl-line);
        border-left: 0;
    }

    body.tlist-page .tl-card__actions {
        grid-column: 1 / -1;
        min-height: auto;
        padding: .8rem;
    }

    body.tlist-page .tl-action,
    body.tlist-page .tl-card__actions form {
        width: 100%;
    }

    body.tlist-page .tl-team-list a {
        grid-template-columns: 1.5rem 2.3rem minmax(0, 1fr) 1rem;
    }

    body.tlist-page .tl-team-list small {
        display: none;
    }

    body.tlist-page .tl-dialog__head,
    body.tlist-page .tl-dialog__body {
        padding-inline: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.tlist-page .tl-card,
    body.tlist-page .tl-action,
    body.tlist-page .tl-dialog[open],
    body.tlist-page .tl-card--live .tl-status i {
        animation: none;
        transition: none;
    }
}

body.tlist-page .tl-card--cancelled .tl-status {
    color: var(--tl-danger);
}

body.tlist-page .tl-card--cancelled .tl-status i {
    background: var(--tl-danger);
}

body.tlist-page .tl-dialog :focus-visible,
body.tlist-page .tl-hero__links a:focus-visible {
    outline: 2px solid var(--tl-accent);
    outline-offset: 3px;
}
