.tv2-page {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto 72px auto;
    color: var(--shell-ink);
}

.tv2-hero,
.tv2-strip-panel,
.tv2-viewer {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tv2-hero {
    padding: 36px 38px;
    margin-bottom: 18px;
}

.tv2-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    margin: 0 0 16px 0;
    border: 0;
    border-bottom: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
    color: var(--shell-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tv2-hero h1,
.tv2-strip-head h2,
.tv2-viewer-head h2 {
    margin: 0 0 12px 0;
    color: var(--shell-ink);
    letter-spacing: -0.05em;
}

.tv2-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 4.8vw, 4rem);
    line-height: 0.95;
}

.tv2-hero p:last-child,
.tv2-strip-head p,
.tv2-viewer-head p {
    margin: 0;
    max-width: 74ch;
    color: var(--shell-muted);
    line-height: 1.65;
}

.tv2-strip-panel {
    padding: 24px 0 20px 0;
    margin-bottom: 18px;
    border-top: 1px solid var(--shell-line);
    border-bottom: 1px solid var(--shell-line);
}

.tv2-strip-head {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
    padding: 0 30px 20px 30px;
    border-bottom: 1px solid var(--shell-line);
}

.tv2-strip-help {
    max-width: 32ch;
    font-size: 0.94rem;
}

.tv2-strip-scroller {
    overflow-x: auto;
    padding: 18px 0 6px 0;
    scrollbar-width: thin;
}

.tv2-strip-scroller::-webkit-scrollbar {
    height: 10px;
}

.tv2-strip-scroller::-webkit-scrollbar-thumb {
    background: #c9c9c5;
    border-radius: 999px;
}

.tv2-strip-scroller::-webkit-scrollbar-track {
    background: #f0f0ee;
}

.tv2-timeline {
    position: relative;
    min-height: 124px;
    padding: 0 18px;
}

.tv2-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 0 12px 12px 12px;
}

.tv2-group {
    width: 194px;
    padding: 18px 16px 16px 16px;
    border: 0;
    border-left: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
}

.tv2-group h3 {
    margin: 0 0 12px 0;
    color: var(--shell-ink);
    font-size: 1.12rem;
    letter-spacing: -0.02em;
}

.tv2-years {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.tv2-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
    color: var(--shell-muted);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.tv2-year:hover,
.tv2-year:focus-visible {
    border-color: var(--shell-line-strong);
    background: transparent;
    color: var(--shell-ink);
}

.tv2-year.is-active {
    border-color: #202020;
    background: transparent;
    color: #202020;
}

.tv2-viewer {
    padding: 28px 30px 30px 30px;
}

.tv2-viewer-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.tv2-jump {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 232px;
    padding: 16px;
    border: 0;
    border-left: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
}

.tv2-jump label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--shell-muted);
}

.tv2-jump-controls {
    display: flex;
    gap: 8px;
}

.tv2-jump input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--shell-line);
    border-radius: 0;
    background: var(--shell-surface);
    color: var(--shell-ink);
}

.tv2-jump button {
    min-width: 68px;
    border: 1px solid #202020;
    border-radius: 0;
    background: transparent;
    color: #202020;
    font-weight: 700;
}

.tv2-family-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tv2-family-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
    color: var(--shell-ink);
}

.tv2-family-pill strong {
    font-size: 0.92rem;
}

.tv2-family-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 10px;
}

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

.tv2-person {
    display: block;
    padding: 20px;
    border: 0;
    border-top: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tv2-person:hover,
.tv2-person:focus-visible {
    border-color: var(--shell-line-strong);
    background: rgba(0, 0, 0, 0.02);
}

.tv2-person-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.tv2-person h3 {
    margin: 0;
    font-size: 1.16rem;
    letter-spacing: -0.02em;
}

.tv2-person-age {
    color: var(--shell-muted);
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
}

.tv2-person-dates,
.tv2-person-note {
    margin: 0 0 8px 0;
    color: var(--shell-muted);
}

.tv2-person-families {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tv2-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border: 0;
    border-bottom: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
    color: var(--shell-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tv2-empty,
.tv2-loading {
    padding: 22px;
    border: 1px dashed var(--shell-line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--shell-muted);
}

@media screen and (max-width: 980px) {
    .tv2-strip-head,
    .tv2-viewer-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 900px) {
    .tv2-hero,
    .tv2-viewer,
    .tv2-strip-head {
        padding-left: 22px;
        padding-right: 22px;
    }

    .tv2-gallery {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .tv2-hero {
        padding: 28px 20px;
    }

    .tv2-hero h1 {
        max-width: none;
    }

    .tv2-strip-head,
    .tv2-viewer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tv2-jump {
        width: 100%;
        min-width: 0;
    }

    .tv2-group {
        width: 172px;
        padding: 16px 14px 14px 14px;
    }

    .tv2-track {
        gap: 10px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .tv2-person-head {
        flex-direction: column;
    }

    .tv2-person-age {
        white-space: normal;
    }
}
