.hdv2-camp {
    --hdv2-camp-radius: 16px;
    --hdv2-camp-accent: hsl(221 83% 53%);
    --hdv2-camp-accent-soft: hsl(214 100% 97%);
    --hdv2-camp-accent-line: hsl(214 95% 86%);
    --hdv2-camp-green: hsl(152 60% 32%);
    --hdv2-camp-green-soft: hsl(150 60% 95%);
    padding: 20px 0 72px;
}

:root[data-hdv2-theme="dark"] .hdv2-camp {
    --hdv2-camp-accent: hsl(213 94% 68%);
    --hdv2-camp-accent-soft: hsl(220 30% 20%);
    --hdv2-camp-accent-line: hsl(218 30% 32%);
    --hdv2-camp-green: hsl(152 55% 62%);
    --hdv2-camp-green-soft: hsl(152 30% 17%);
}

.hdv2-camp svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.hdv2-camp-hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    align-items: center;
    padding: 12px 0 8px;
}

.hdv2-camp-hero__title {
    margin: 0;
    color: var(--hdv2-home-text-strong);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.02em;
}

.hdv2-camp-hero__lead {
    max-width: 440px;
    margin: 14px 0 0;
    color: var(--hdv2-home-muted);
    font-size: 16px;
    line-height: 1.6;
}

.hdv2-camp-hero__list {
    display: grid;
    gap: 6px;
    margin-top: 24px;
}

.hdv2-camp-hero__tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--hdv2-home-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.hdv2-camp-hero__tab:hover {
    background: var(--hdv2-home-surface-muted);
}

.hdv2-camp-hero__tab.is-active {
    border-color: var(--hdv2-home-border);
    background: var(--hdv2-home-tab-active-bg);
}

.hdv2-camp-hero__tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--hdv2-home-surface-muted);
    color: var(--hdv2-home-muted);
    flex: 0 0 auto;
    transition: background-color .18s ease, color .18s ease;
}

.hdv2-camp-hero__tab.is-active .hdv2-camp-hero__tab-icon {
    background: var(--hdv2-camp-accent);
    color: #fff;
}

.hdv2-camp-hero__tab-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.hdv2-camp-hero__tab-text strong {
    overflow: hidden;
    color: var(--hdv2-home-text-strong);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hdv2-camp-hero__tab-text span {
    color: var(--hdv2-home-muted);
    font-size: 12px;
}

.hdv2-camp-hero__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 20px;
    background: var(--hdv2-home-surface-muted);
    box-shadow: var(--hdv2-home-shadow-card);
}

.hdv2-camp-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s ease;
}

.hdv2-camp-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hdv2-camp-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdv2-camp-hero__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.hdv2-camp-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 999px;
    background: var(--hdv2-home-surface);
    color: var(--hdv2-home-text-strong);
    cursor: pointer;
    transition: background-color .18s ease;
}

.hdv2-camp-hero__arrow:hover {
    background: var(--hdv2-home-surface-muted);
}

.hdv2-camp-hero__progress {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--hdv2-home-border);
}

.hdv2-camp-hero__progress span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: var(--hdv2-home-tab-indicator);
}

.hdv2-camp-board {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--hdv2-home-border);
}

.hdv2-camp-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.hdv2-camp-side__label {
    margin: 0 12px;
    color: var(--hdv2-home-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hdv2-camp-side__nav {
    display: grid;
    gap: 2px;
}

.hdv2-camp-side__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--hdv2-home-text);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.hdv2-camp-side__item:hover {
    background: var(--hdv2-home-surface-muted);
}

.hdv2-camp-side__item.is-active {
    background: var(--hdv2-home-tab-active-bg);
    color: var(--hdv2-home-text-strong);
    font-weight: 600;
}

.hdv2-camp-side__item.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 999px;
    background: var(--hdv2-home-tab-indicator);
}

.hdv2-camp-side__icon {
    display: inline-flex;
    color: var(--hdv2-home-muted);
}

.hdv2-camp-side__item.is-active .hdv2-camp-side__icon {
    color: var(--hdv2-camp-accent);
}

.hdv2-camp-side__name {
    flex: 1;
}

.hdv2-camp-side__count {
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--hdv2-home-surface-muted);
    color: var(--hdv2-home-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.hdv2-camp-side__item.is-active .hdv2-camp-side__count {
    background: var(--hdv2-home-surface);
    color: var(--hdv2-camp-accent);
}

.hdv2-camp-side__help {
    padding: 14px;
    border: 1px dashed var(--hdv2-home-border);
    border-radius: 12px;
    color: var(--hdv2-home-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hdv2-camp-side__help strong {
    display: block;
    margin-bottom: 4px;
    color: var(--hdv2-home-text-strong);
    font-size: 13px;
}

.hdv2-camp-side__help p {
    margin: 0;
}

.hdv2-camp-board__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.hdv2-camp-board__title {
    margin: 0;
    color: var(--hdv2-home-text-strong);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.hdv2-camp-board__count {
    color: var(--hdv2-home-muted);
    font-size: 14px;
}

.hdv2-camp-grid {
    display: grid;
    gap: 14px;
}

.hdv2-camp-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 240px;
    gap: 22px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--hdv2-home-border);
    border-radius: var(--hdv2-camp-radius);
    background: var(--hdv2-home-surface);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.hdv2-camp-card[hidden] {
    display: none;
}

.hdv2-camp-card:hover {
    border-color: var(--hdv2-camp-accent-line);
    box-shadow: var(--hdv2-home-shadow-card);
}

.hdv2-camp-card > .hdv2-camp-card__info:first-child {
    grid-column: 1 / 3;
}

.hdv2-camp-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 12px;
    background: var(--hdv2-home-surface-muted);
}

.hdv2-camp-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hdv2-camp-card:hover .hdv2-camp-card__media img {
    transform: scale(1.03);
}

.hdv2-camp-card__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.hdv2-camp-card__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-self: stretch;
    padding-left: 22px;
    border-left: 1px dashed var(--hdv2-home-border);
}

.hdv2-camp-card__more {
    color: var(--hdv2-home-muted);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.hdv2-camp-card__more:hover {
    color: var(--hdv2-camp-accent);
}

.hdv2-camp-card__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.hdv2-camp-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--hdv2-home-muted);
    font-size: 12px;
    font-weight: 600;
}

.hdv2-camp-card__cat svg {
    width: 14px;
    height: 14px;
}

.hdv2-camp-card__badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--hdv2-camp-accent-soft);
    color: var(--hdv2-camp-accent);
    font-size: 12px;
    font-weight: 600;
}

.hdv2-camp-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.hdv2-camp-card__title a {
    color: var(--hdv2-home-text-strong);
    text-decoration: none;
}

.hdv2-camp-card__title a:hover {
    color: var(--hdv2-camp-accent);
}

.hdv2-camp-card__text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--hdv2-home-muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hdv2-camp-card__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--hdv2-home-muted);
    font-size: 12px;
    white-space: nowrap;
}

.hdv2-camp-card__time svg {
    width: 14px;
    height: 14px;
}

.hdv2-camp-card__cta {
    --hdv2-btn-width: 100%;
    --hdv2-btn-min-height: 2.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.hdv2-camp-card__cta svg {
    width: 15px;
    height: 15px;
    transition: transform .18s ease;
}

.hdv2-camp-card__cta:hover svg {
    transform: translateX(2px);
}

.hdv2-camp-promo {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 8px;
    padding: 8px 8px 9px 10px;
    border: 1px dashed var(--hdv2-camp-green);
    border-radius: 12px;
    background: var(--hdv2-camp-green-soft);
}

.hdv2-camp-promo__icon {
    display: inline-flex;
    color: var(--hdv2-camp-green);
}

.hdv2-camp-promo__code {
    min-width: 0;
    overflow: hidden;
    color: var(--hdv2-home-text-strong);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hdv2-camp-promo__note {
    grid-column: 1 / -1;
    color: var(--hdv2-camp-green);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.hdv2-camp-promo__copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 9px;
    background: var(--hdv2-home-surface);
    color: var(--hdv2-home-text-strong);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.hdv2-camp-promo__copy svg {
    width: 14px;
    height: 14px;
}

.hdv2-camp-promo__copy:hover {
    background: var(--hdv2-home-surface-muted);
}

.hdv2-camp-promo__copy.is-copied {
    border-color: var(--hdv2-camp-green);
    background: var(--hdv2-camp-green);
    color: #fff;
}

.hdv2-camp-empty {
    margin: 24px 0 0;
    padding: 28px;
    border: 1px dashed var(--hdv2-home-border);
    border-radius: var(--hdv2-camp-radius);
    color: var(--hdv2-home-muted);
    text-align: center;
}

.hdv2-camp-empty[hidden] {
    display: none;
}

.hdv2-camp-dhero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
    padding: 12px 0 40px;
}

.hdv2-camp-dhero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.hdv2-camp-dhero__copy .hdv2-landing-hero__breadcrumb {
    flex-wrap: wrap;
}

.hdv2-camp-dhero__title {
    margin: 0;
    color: var(--hdv2-home-text-strong);
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.02em;
}

.hdv2-camp-dhero__lead {
    max-width: 520px;
    margin: 0;
    color: var(--hdv2-home-muted);
    font-size: 17px;
    line-height: 1.6;
}

.hdv2-camp-dhero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdv2-camp-dhero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 999px;
    background: var(--hdv2-home-surface);
    color: var(--hdv2-home-text);
    font-size: 13px;
    font-weight: 500;
}

.hdv2-camp-dhero__meta li svg {
    width: 15px;
    height: 15px;
    color: var(--hdv2-camp-accent);
}

.hdv2-camp-dhero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.hdv2-camp-dhero__btn {
    --hdv2-btn-min-height: 2.75rem;
    --hdv2-btn-pad-x: 1.15rem;
    --hdv2-btn-size: .9rem;
    text-decoration: none;
}

.hdv2-camp-dhero__btn svg {
    width: 16px;
    height: 16px;
}

.hdv2-camp-dhero__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 20px;
    background: var(--hdv2-home-surface-muted);
    box-shadow: var(--hdv2-home-shadow-card);
}

.hdv2-camp-dhero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdv2-camp-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    padding-top: 32px;
    border-top: 1px solid var(--hdv2-home-border);
}

.hdv2-camp-detail__main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.hdv2-camp-panel {
    padding: 24px;
    border: 1px solid var(--hdv2-home-border);
    border-radius: var(--hdv2-camp-radius);
    background: var(--hdv2-home-surface);
}

.hdv2-camp-panel__title {
    margin: 0 0 14px;
    color: var(--hdv2-home-text-strong);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.hdv2-camp-panel__copy {
    display: grid;
    gap: 12px;
}

.hdv2-camp-panel__copy p {
    margin: 0;
    color: var(--hdv2-home-text);
    font-size: 15px;
    line-height: 1.75;
}

.hdv2-camp-steps {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hdv2-camp-step;
}

.hdv2-camp-steps li {
    position: relative;
    display: grid;
    gap: 3px;
    padding: 10px 0 14px 46px;
    counter-increment: hdv2-camp-step;
}

.hdv2-camp-steps li::before {
    content: counter(hdv2-camp-step);
    position: absolute;
    left: 0;
    top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--hdv2-camp-accent-soft);
    color: var(--hdv2-camp-accent);
    font-size: 14px;
    font-weight: 700;
}

.hdv2-camp-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 42px;
    bottom: -6px;
    width: 2px;
    border-radius: 999px;
    background: var(--hdv2-home-border);
}

.hdv2-camp-steps strong {
    color: var(--hdv2-home-text-strong);
    font-size: 15px;
    font-weight: 600;
}

.hdv2-camp-steps span {
    color: var(--hdv2-home-muted);
    font-size: 14px;
    line-height: 1.6;
}

.hdv2-camp-steps code {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--hdv2-camp-green-soft);
    color: var(--hdv2-camp-green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
}

.hdv2-camp-detail__side {
    position: sticky;
    top: 96px;
}

.hdv2-camp-summary {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--hdv2-home-border);
    border-radius: var(--hdv2-camp-radius);
    background: var(--hdv2-home-surface);
    box-shadow: var(--hdv2-home-shadow-card);
}

.hdv2-camp-summary__title {
    margin: 0;
    color: var(--hdv2-home-text-strong);
    font-size: 17px;
    font-weight: 700;
}

.hdv2-camp-summary__list {
    display: grid;
    margin: 0;
}

.hdv2-camp-summary__list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--hdv2-home-border);
    font-size: 14px;
}

.hdv2-camp-summary__list > div:first-child {
    padding-top: 0;
}

.hdv2-camp-summary__list dt {
    color: var(--hdv2-home-muted);
    font-weight: 500;
}

.hdv2-camp-summary__list dd {
    margin: 0;
    color: var(--hdv2-home-text-strong);
    font-weight: 600;
    text-align: right;
}

.hdv2-camp-summary__cta {
    --hdv2-btn-width: 100%;
    --hdv2-btn-min-height: 2.75rem;
    --hdv2-btn-size: .9rem;
    text-decoration: none;
}

.hdv2-camp-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--hdv2-home-border);
}

.hdv2-camp-related__all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hdv2-camp-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hdv2-camp-related__all svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 1100px) {
    .hdv2-camp-card {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 14px 18px;
    }

    .hdv2-camp-card__aside {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        padding: 12px 0 0;
        border-left: 0;
        border-top: 1px dashed var(--hdv2-home-border);
    }

    .hdv2-camp-card__aside .hdv2-camp-promo {
        flex: 1;
    }

    .hdv2-camp-card__cta {
        --hdv2-btn-width: auto;
    }

    .hdv2-camp-card__more {
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .hdv2-camp-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hdv2-camp-hero__title {
        font-size: 32px;
    }

    .hdv2-camp-hero__list {
        display: none;
    }

    .hdv2-camp-board {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .hdv2-camp-side {
        position: static;
    }

    .hdv2-camp-side__label,
    .hdv2-camp-side__help {
        display: none;
    }

    .hdv2-camp-side__nav {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .hdv2-camp-side__item {
        width: auto;
        border: 1px solid var(--hdv2-home-border);
        border-radius: 999px;
    }

    .hdv2-camp-side__item.is-active::before {
        display: none;
    }

    .hdv2-camp-dhero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 28px;
    }

    .hdv2-camp-dhero__title {
        font-size: 32px;
    }

    .hdv2-camp-detail {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .hdv2-camp-detail__side {
        position: static;
    }
}

@media (max-width: 640px) {
    .hdv2-camp-card {
        grid-template-columns: 1fr;
    }

    .hdv2-camp-card > .hdv2-camp-card__info:first-child {
        grid-column: auto;
    }

    .hdv2-camp-card__aside {
        flex-direction: column;
        align-items: stretch;
    }

    .hdv2-camp-card__cta {
        --hdv2-btn-width: 100%;
    }

    .hdv2-camp-card__more {
        margin-left: 0;
    }

    .hdv2-camp-dhero__title {
        font-size: 26px;
    }

    .hdv2-camp-dhero__lead {
        font-size: 15px;
    }

    .hdv2-camp-dhero__actions,
    .hdv2-camp-dhero__btn {
        width: 100%;
    }

    .hdv2-camp-panel {
        padding: 18px;
    }
}
