@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

.du-page {
    --du-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --du-gap: clamp(28px, 4vw, 48px);
    --du-measure: 64ch;
    font-family: 'DM Sans', sans-serif;
    color: var(--yn-text);
    background: var(--yn-bg);
}

.du-page .container {
    max-width: 1080px;
}

.du-kicker {
    font: 600 0.72rem/1 'DM Sans', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yn-orange);
    margin: 0 0 14px;
}

.du-bar {
    background: var(--yn-surface);
    border-bottom: 1px solid var(--yn-border);
    padding: clamp(48px, 9vw, 88px) 0 clamp(36px, 6vw, 56px);
}

.du-bar-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.du-bar-content {
    min-width: 0;
}

.du-bar-visual {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 170px;
    background: var(--yn-bg);
    border: 1px solid var(--yn-border);
    border-radius: 20px;
    padding: 24px;
}

@media (max-width: 900px) {
    .du-bar-row {
        grid-template-columns: 1fr;
    }

    .du-bar-visual {
        display: none;
    }


}

.du-h1 {
    font: 900 clamp(2rem, 5.4vw, 3.4rem)/1.08 'Fraunces', serif;
    letter-spacing: -0.02em;
    color: var(--yn-text);
    margin: 0 0 clamp(22px, 4vw, 36px);
}

.du-h1 .ext {
    color: var(--yn-orange);
}


.du-hunt {
    display: flex;
    align-items: flex-end;
    gap: 16px 20px;
    flex-wrap: wrap;
}

.du-hunt-wrap {
    display: inline-flex;
    align-items: baseline;
    border-bottom: 2px solid var(--yn-border-mid, rgba(15, 28, 63, 0.14));
    transition: border-color 0.15s ease;
    flex: 0 1 560px;
    max-width: 100%;
}

.du-hunt-wrap:focus-within {
    border-bottom-color: var(--yn-orange);
}

.du-hunt-input {
    font: 400 clamp(1.3rem, 4vw, 2rem)/1 var(--du-mono);
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--yn-text);
    caret-color: var(--yn-orange);
    padding: 8px 2px;
    width: 100%;
    min-width: 0;
}

.du-hunt-input::placeholder {
    color: var(--yn-text-faint);
}

.du-hunt-ext {
    font: 700 clamp(1.3rem, 4vw, 2rem)/1 var(--du-mono);
    color: var(--yn-orange);
    padding-left: 2px;
    white-space: nowrap;
}

.du-hunt-go {
    font: 600 0.95rem/1 'DM Sans', sans-serif;
    background: var(--yn-orange);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 15px 26px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, transform 0.1s ease;
}

.du-hunt-go:hover {
    background: var(--yn-orange-light, #fbbf24);
}

.du-hunt-go:active {
    transform: translateY(1px);
}

.du-bar-meta {
    margin: clamp(22px, 4vw, 34px) 0 0;
    font-size: 0.95rem;
    color: var(--yn-text-muted);
}

.du-bar-meta b {
    font: 700 1rem var(--du-mono);
    color: var(--yn-orange);
}

.du-bar-crumb {
    margin-top: clamp(28px, 5vw, 44px);
    font-size: 0.8rem;
    color: var(--yn-text-faint);
}

.du-bar-crumb a {
    color: var(--yn-text-muted);
    text-decoration: none;
}

.du-bar-crumb a:hover {
    color: var(--yn-blue);
}

.du-bar-crumb span {
    margin: 0 8px;
    opacity: 0.5;
}

.du-bar-crumb b {
    color: var(--yn-text);
    font-weight: 600;
}

.du-sec {
    padding: 0 0 var(--du-gap);
}

.du-sec + .du-sec {
    border-top: 1px solid var(--yn-border);
    padding-top: 28px;
}

.du-bar + .du-sec {
    padding-top: var(--du-gap);
}


.du-head {
    font: 700 clamp(1.4rem, 3vw, 2rem)/1.2 'Fraunces', serif;
    color: var(--yn-text);
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.du-lede {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--yn-text-muted);
    max-width: var(--du-measure);
    margin: 0;
}

.du-def-lead {
    margin-bottom: clamp(28px, 4vw, 40px);
}

.du-def-rest {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 4vw, 48px);
}

.du-def-rest h3 {
    font: 700 1.1rem/1.3 'Fraunces', serif;
    color: var(--yn-text);
    margin: 0 0 7px;
}

.du-def-rest p {
    font-size: 0.95rem;
    line-height: 1.68;
    color: var(--yn-text-muted);
    margin: 0;
}

.du-specs-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.du-specs-visual {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 150px;
    background: var(--yn-surface);
    border: 1px solid var(--yn-border);
    border-radius: 20px;
    padding: 24px;
}

.du-specs-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.du-specs-mono {
    font: 700 2.1rem var(--du-mono);
    color: var(--yn-orange);
}

@media (max-width: 780px) {
    .du-specs-row {
        grid-template-columns: 1fr;
    }

    .du-specs-visual {
        justify-self: stretch;
        width: auto;
    }
}

.du-spec-table {
    width: 100%;
    max-width: 660px;
    border-collapse: collapse;
}

.du-spec-table tr {
    border-bottom: 1px solid var(--yn-border);
}

.du-spec-table tr:first-child {
    border-top: 1px solid var(--yn-border);
}

.du-spec-table th,
.du-spec-table td {
    text-align: left;
    padding: 14px 0;
    vertical-align: top;
    font-size: 0.95rem;
}

.du-spec-table th {
    font: 600 0.72rem/1.5 'DM Sans', sans-serif;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--yn-text-muted);
    width: 42%;
    padding-right: 28px;
}

.du-spec-table td {
    font-family: var(--du-mono);
    color: var(--yn-text);
}

.du-life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.du-life-card {
    background: var(--yn-surface);
    border: 1px solid var(--yn-border);
    border-radius: 16px;
    padding: 20px 16px;
    min-width: 0;
}

.du-life-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 0.72rem/1.3 'DM Sans', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--yn-text-muted);
    margin: 0 0 12px;
}

.du-life-label .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}

.du-life-card[data-stage="active"] .dot {
    background: #22c55e;
}

.du-life-card[data-stage="grace"] .dot {
    background: #eab308;
}

.du-life-card[data-stage="redemption"] .dot {
    background: #f97316;
}

.du-life-card[data-stage="pending"] .dot {
    background: #ef4444;
}

.du-life-card[data-stage="available"] .dot {
    background: var(--yn-blue);
}

.du-life-value {
    font: 700 clamp(1.1rem, 1.9vw, 1.4rem) var(--du-mono);
    white-space: nowrap;
    color: var(--yn-text);
    margin: 0 0 8px;
}

.du-life-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--yn-text-muted);
}

.du-life-caveat {
    margin: 16px 0 0;
    font-size: 0.8rem;
    color: var(--yn-text-faint);
}


.du-life-detail-intro {
    margin-top: 44px;
}

.du-life-detail-title {
    font: 700 1.15rem/1.3 'Fraunces', serif;
    color: var(--yn-text);
    margin: 0 0 10px;
}

.du-life-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.du-life-detail-card {
    background: var(--yn-surface);
    border: 1px solid var(--yn-border);
    border-radius: 16px;
    padding: 20px 22px;
}

.du-life-detail-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 0 10px;
}

.du-life-detail-head .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}

.du-life-detail-head h4 {
    font: 700 1rem/1.3 'DM Sans', sans-serif;
    color: var(--yn-text);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.du-life-detail-head h4 em {
    font-style: italic;
    font-weight: 400;
    color: var(--yn-text-muted);
}

.du-life-detail-head .badge {
    font: 700 0.72rem var(--du-mono);
    color: var(--yn-blue);
    background: var(--yn-blue-soft);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex: none;
}

.du-life-detail-card p {
    margin: 0;
    color: var(--yn-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.du-life-detail-card[data-stage="active"] .dot {
    background: #22c55e;
}

.du-life-detail-card[data-stage="grace"] .dot {
    background: #eab308;
}

.du-life-detail-card[data-stage="redemption"] .dot {
    background: #f97316;
}

.du-life-detail-card[data-stage="pending"] .dot {
    background: #ef4444;
}

.du-life-detail-card[data-stage="available"] .dot {
    background: var(--yn-blue);
}

@media (max-width: 780px) {
    .du-life-detail-grid {
        grid-template-columns: 1fr;
    }
}

.du-flow-wrap {
    margin: 28px 0 8px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.du-flow-wrap::-webkit-scrollbar {
    display: none;
}

.du-flow {
    display: flex;
    width: 100%;
}

.du-flow-step {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 108px;
    padding: 16px 24px 16px 18px;
    color: #fff;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
    margin-left: -14px;
}

.du-flow-step:first-child {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    margin-left: 0;
    padding-left: 22px;
}

.du-flow-step strong {
    font: 700 0.8rem/1.25 'DM Sans', sans-serif;
    white-space: nowrap;
}

.du-flow-step span {
    font: 400 0.7rem var(--du-mono);
    opacity: 0.92;
}

.du-flow-step.step-free,
.du-flow-step.step-released {
    background: #16a34a;
}

.du-flow-step.step-active {
    background: #15803d;
    min-width: 96px;
}

.du-flow-step.step-end {
    background: #1f2937;
    min-width: 66px;
    flex-grow: 0.4;
    padding: 16px 18px;
}

.du-flow-step.step-grace {
    background: #d97706;
}

.du-flow-step.step-redemption {
    background: #ea580c;
}

.du-flow-step.step-pending {
    background: #dc2626;
}


.du-faq-list {
    border-top: 1px solid var(--yn-border);
}

.du-faq-item {
    border-bottom: 1px solid var(--yn-border);
}

.du-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 20px 0;
    cursor: pointer;
    font: 600 1rem/1.4 'DM Sans', sans-serif;
    color: var(--yn-text);
    list-style: none;
}

.du-faq-item summary::-webkit-details-marker {
    display: none;
}

.du-faq-item summary::after {
    content: '+';
    font: 400 1.3rem/1 var(--du-mono);
    color: var(--yn-blue);
    flex: none;
}

.du-faq-item[open] summary::after {
    content: '\2212';
}


.du-faq-item p {
    margin: 0 0 22px;
    color: var(--yn-text-muted);
    line-height: 1.7;
}

.du-rel-panel {
    position: relative;
    border-top: 2px solid var(--yn-orange);
    padding: clamp(20px, 3.5vw, 28px) 44px clamp(10px, 2vw, 16px);
    margin-top: 22px;
}

.du-rel-panel::before,
.du-rel-panel::after {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 0;
    width: 40px;
    z-index: 1;
    pointer-events: none;
}

.du-rel-panel::before {
    left: 0;
    background: linear-gradient(90deg, var(--yn-bg), transparent);
}

.du-rel-panel::after {
    right: 0;
    background: linear-gradient(270deg, var(--yn-bg), transparent);
}

@media (max-width: 480px) {
    .du-rel-panel {
        padding-left: 36px;
        padding-right: 36px;
    }

    .du-rel-panel::before, .du-rel-panel::after {
        width: 30px;
    }
}

.du-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 10px;
}

.du-rail::-webkit-scrollbar {
    display: none;
}

.du-rail-card {
    scroll-snap-align: start;
    flex: 0 0 168px;
    background: var(--yn-surface);
    border: 1px solid var(--yn-border);
    border-radius: 14px;
    padding: 20px 20px 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--yn-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.du-rail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--yn-shadow-md);
    border-color: var(--yn-orange);
}

.du-rail-card .ext {
    font: 700 1.2rem var(--du-mono);
    color: var(--yn-orange);
}

.du-rail-card .price {
    font: 400 0.82rem var(--du-mono);
    color: var(--yn-text-muted);
}


.du-card-logo {
    display: block;
    height: 22px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 2px;
}

.du-rail-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--yn-surface);
    border: 1px solid var(--yn-border-mid, rgba(15, 28, 63, 0.14));
    box-shadow: var(--yn-shadow-md);
    color: var(--yn-text);
    font: 400 1.15rem/1 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.du-rail-nav:hover {
    background: var(--yn-orange);
    border-color: var(--yn-orange);
    color: #1a1000;
}

.du-rail-nav:active {
    transform: translateY(-50%) scale(0.94);
}

.du-rail-nav.prev {
    left: 2px;
}

.du-rail-nav.next {
    right: 2px;
}

@media (max-width: 640px) {
    .du-rail-card {
        flex-basis: 148px;
    }
}

@media (max-width: 480px) {
    .du-rail-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .du-rail-nav.prev {
        left: 0;
    }

    .du-rail-nav.next {
        right: 0;
    }
}

.du-cta-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font: 600 1rem 'DM Sans', sans-serif;
    color: var(--yn-blue);
    text-decoration: none;
}

.du-cta-link:hover {
    text-decoration: underline;
}

.du-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    border-top: 1px solid var(--yn-border);
    border-left: 1px solid var(--yn-border);
    margin-top: 6px;
}

.du-cell {
    background: var(--yn-bg);
    border-right: 1px solid var(--yn-border);
    border-bottom: 1px solid var(--yn-border);
    padding: 14px 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: background 0.12s ease;
}

.du-cell:hover {
    background: var(--yn-surface);
}


.du-cell .ext {
    font: 700 1rem var(--du-mono);
    color: var(--yn-text);
}

.du-cell .price {
    font: 400 0.78rem var(--du-mono);
    color: var(--yn-text-muted);
}

.du-cat-body {
    padding: var(--du-gap) 0;
}

.du-cat-group + .du-cat-group {
    margin-top: clamp(44px, 7vw, 76px);
}

.du-cat-headrow {
    display: flex;
    align-items: baseline;
    gap: 12px;
    border-bottom: 1px solid var(--yn-border);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.du-cat-headrow h2 {
    font: 700 1.3rem/1.2 'Fraunces', serif;
    color: var(--yn-text);
    margin: 0;
}

.du-cat-headrow .n {
    font: 400 0.78rem var(--du-mono);
    color: var(--yn-text-muted);
}

.du-cat-empty {
    margin-top: 24px;
    color: var(--yn-text-muted);
    font-size: 0.95rem;
}

@media (max-width: 780px) {
    .du-def-rest {
        grid-template-columns: 1fr;
    }

    .du-hunt-go {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .du-spec-table, .du-spec-table tbody, .du-spec-table tr,
    .du-spec-table th, .du-spec-table td {
        display: block;
        width: auto;
    }

    .du-spec-table th {
        padding: 14px 0 2px;
        border-bottom: 0;
    }

    .du-spec-table td {
        padding: 0 0 14px;
    }
}