/* Saharan Dust — figure collage layout */

body.page-saharandust {
    padding-left: 0;
    padding-right: 0;
    background-color: #000000;
    --saharandust-canvas-radius: 50px;
}

body.page-saharandust::before {
    border-radius: var(--saharandust-canvas-radius);
}

.page-saharandust {
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #000000;
    color: #000000;
    --section-color: #000000;

    --saharandust-header-pad-x: clamp(20px, 5vw, 80px);
    --saharandust-header-shift: 40px;
    --saharandust-header-left-nudge: -28px;
    --saharandust-header-left-line-inset: clamp(20px, 3vw, 50px);

    --saharandust-pad-top: 168px;
    --saharandust-pad-left: var(--saharandust-header-pad-x);
    --saharandust-pad-right: var(--saharandust-header-pad-x);
    /* Match about / header content inset */
    --saharandust-header-content-pad: clamp(48px, 9vw, 132px);

    /* Body copy — fluid type, ~6 lines visible */
    --saharandust-body-font-eng: clamp(14px, 1.18vw, 16px);
    --saharandust-body-font-kor: clamp(13px, 1.08vw, 14.5px);
    --saharandust-body-lh-eng: 1.45;
    --saharandust-body-lh-kor: calc(1.62 * var(--kor-desc-line-height-scale));
    --saharandust-body-box-height: clamp(7rem, 20vh, 8.75rem);
}

.page-saharandust .mobile-placeholder {
    display: none !important;
}

.page-saharandust .site-content {
    display: block !important;
    position: relative;
    z-index: 2;
    min-height: 100dvh;
}

.page-saharandust .fixed-header .nav-text,
.page-saharandust .fixed-header a.nav-text,
.page-saharandust .header-left-about a,
.page-saharandust .header-right-text-1 a,
.page-saharandust .header-right-text-2 a {
    color: #000000;
}

.page-saharandust .header-icon {
    filter: brightness(0) saturate(100%);
}

.page-saharandust .header-matter-slot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.page-saharandust .header-matter-slot.is-current::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(11px, calc(-100% + 3px));
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #00f723;
    border: 1.5px solid #000000;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}

.page-saharandust ::selection {
    background-color: #00f723;
    color: #000000;
}

.page-saharandust ::-moz-selection {
    background-color: #00f723;
    color: #000000;
}

.page-saharandust .grain-layer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-image: url("/assets/matters-grain.png");
    background-repeat: repeat;
    background-size: auto;
    background-position: 0 0;
    z-index: 10002;
    opacity: 1;
    pointer-events: none;
}

.page-saharandust .copyright {
    z-index: 10001;
    visibility: visible;
    opacity: 1;
    color: #ffffff;
    mix-blend-mode: difference;
}

.saharandust-main {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding:
        var(--saharandust-pad-top)
        var(--saharandust-pad-right)
        max(28px, env(safe-area-inset-bottom))
        var(--saharandust-pad-left);
}

.saharandust-visual {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(-36px, -4.5vh, -20px);
    display: flex;
    flex-direction: column;
}

.saharandust-title-block {
    position: absolute;
    top: clamp(28px, 3.5vh, 44px);
    /* Align with header top line (ARCHIVE), not the wider figure pad */
    left: var(--saharandust-header-left-line-inset);
    z-index: 2;
    min-width: 0;
    pointer-events: none;
}

.saharandust-title {
    margin: 0;
    font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(28px, 2.4vw, 32px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: #000000;
}

.saharandust-title-kor {
    margin: 0.35em 0 0;
    font-family: "neutronic-hangeul", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
    font-size: clamp(20.2px, 1.73vw, 23px);
    font-weight: 400;
    line-height: calc(1.1 * var(--kor-line-height-scale));
    letter-spacing: 0.01em;
    color: #000000;
}

.saharandust-figures {
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.saharandust-figures picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.saharandust-copy-mobile {
    display: none;
}

.saharandust-figures img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    filter: grayscale(100%);
}

.saharandust-bottom {
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    width: calc(100% + var(--saharandust-pad-left) + var(--saharandust-pad-right));
    margin-left: calc(-1 * var(--saharandust-pad-left));
    margin-top: auto;
    padding-left: var(--saharandust-header-content-pad);
    padding-right: var(--saharandust-header-content-pad);
}

.saharandust-body {
    position: absolute;
    left: calc(-1 * var(--saharandust-pad-left));
    bottom: clamp(16px, 2.5vh, 32px);
    box-sizing: border-box;
    width: calc(100% + var(--saharandust-pad-left) + var(--saharandust-pad-right));
    padding-left: var(--saharandust-header-content-pad);
    padding-right: var(--saharandust-header-content-pad);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(28px, 4vw, 56px);
    align-items: end;
    z-index: 2;
    pointer-events: none;
}

.saharandust-body-col {
    min-width: 0;
    overflow-y: auto;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #000000 transparent;
    text-align: left;
    color: #000000;
}

.saharandust-body-col::-webkit-scrollbar {
    width: 4px;
}

.saharandust-body-col::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 2px;
}

.saharandust-body-col--eng,
.saharandust-body-col--kor {
    max-height: var(--saharandust-body-box-height);
}

.saharandust-body-col--eng {
    font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--saharandust-body-font-eng);
    line-height: var(--saharandust-body-lh-eng);
    letter-spacing: 0.02em;
}

.saharandust-body-col--kor {
    font-family: "neutronic-hangeul", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
    font-size: var(--saharandust-body-font-kor);
    line-height: var(--saharandust-body-lh-kor);
    letter-spacing: 0.02em;
    word-break: keep-all;
}

.saharandust-body-col p {
    margin: 0 0 1.2em;
    pointer-events: auto;
}

.saharandust-body-col p:last-child,
.saharandust-body-col .saharandust-copy-desktop:has(+ .saharandust-copy-mobile) {
    margin-bottom: 0;
}

.saharandust-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

.saharandust-archive {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Rule stays in flow; table overlays upward without pushing body copy */
.saharandust-archive-anchor {
    position: relative;
    width: 100%;
    z-index: 4;
}

.saharandust-archive-clip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    display: grid;
    grid-template-rows: 1fr;
    width: 100%;
    pointer-events: none;
}

.saharandust-archive.is-open .saharandust-archive-clip {
    pointer-events: auto;
}

.saharandust-archive.is-open .saharandust-archive-panel {
    transform: none;
    clip-path: inset(0);
}

.saharandust-archive-panel {
    min-height: 0;
    overflow: hidden;
    transform: translateY(100%);
    clip-path: inset(0 0 100% 0);
    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        clip-path 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, clip-path;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Hover preview — sits just above the list, no overlap */
.saharandust-row-preview {
    position: absolute;
    right: clamp(12px, 3vw, 40px);
    bottom: 100%;
    margin-bottom: 0.85rem;
    z-index: 30;
    width: clamp(150px, 16.5vw, 220px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    background: #000000;
}

.saharandust-row-preview.is-visible {
    opacity: 1;
    visibility: visible;
}

.saharandust-row-preview img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.saharandust-table {
    --saharandust-table-cols: minmax(0, 1.55fr) minmax(0, 1.05fr) minmax(0, 0.72fr) minmax(0, 0.78fr) 22px;
    --saharandust-table-divider-h: 1.36rem;
    --saharandust-table-col-inset: 2.85em;
    width: 100%;
    box-sizing: border-box;
}

.saharandust-table-row {
    display: grid;
    grid-template-columns: var(--saharandust-table-cols);
    align-items: stretch;
    border-bottom: none;
    /*
      Integer CSS px — fractional min-height (2.6rem * 0.95) landed some row
      bottoms on half-pixels, so the 2px hover ::after sometimes vanished
      into the fill. Lock height so every underline paints the same.
    */
    box-sizing: border-box;
    min-height: 42px;
    height: 42px;
}

a.saharandust-table-row--link {
    color: inherit;
    text-decoration: none;
}

.saharandust-table-row--head {
    min-height: 38px;
    height: 38px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
}

.saharandust-table-cell {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: center;
    gap: 0.35em 0.55em;
    padding: 0.55em 0.85em;
    min-width: 0;
}

.saharandust-table-row--head .saharandust-table-cell {
    padding-top: 0;
    padding-bottom: 0;
}

/* Data-row rules: default 1px bottom (except last — footer rule). Hover underline is always row ::after. */
.saharandust-table-row:not(.saharandust-table-row--head):not(:last-child) {
    box-shadow: inset 0 -1px 0 #000000;
}

.saharandust-table-row--link {
    position: relative;
    isolation: isolate;
    transition: box-shadow 0.15s ease;
    cursor: pointer;
}

.saharandust-table-row--link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #00f723;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.saharandust-table-row--link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* Integer 2px — matches head borders; stays above the hover fill */
    height: 2px;
    background: #000000;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.saharandust-table-row--link > .saharandust-table-cell {
    z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
    .saharandust-table-row--link:hover::before,
    .saharandust-table-row--link:focus-visible::before {
        opacity: 1;
    }

    .saharandust-table-row--link:hover::after,
    .saharandust-table-row--link:focus-visible::after {
        opacity: 1;
    }

    .saharandust-table-row--link:not(:last-child):hover,
    .saharandust-table-row--link:not(:last-child):focus-visible {
        box-shadow: none;
    }

    .saharandust-table-row--link:hover .saharandust-table-eng {
        font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-weight: 500;
    }

    .saharandust-table-row--link:hover .saharandust-table-kor {
        font-weight: 500;
    }

    .saharandust-table-row--link:hover .saharandust-table-date {
        font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-weight: 500;
    }

    .saharandust-table-row--link:hover .saharandust-table-badge {
        font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-weight: 500;
    }
}

/* Equal-height column rules — 20% shorter than full row; none beside arrow */
.saharandust-table-cell:nth-child(1)::after,
.saharandust-table-cell:nth-child(2)::after,
.saharandust-table-cell:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: var(--saharandust-table-divider-h);
    background-color: #000000;
    pointer-events: none;
}

.saharandust-table-cell--arrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
    transform: translateX(-10px);
}

.saharandust-table-sort-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
}

.saharandust-table-head-arrow {
    display: block;
    width: 11.2px;
    height: 11.2px;
    transition: transform 0.25s ease;
}

.saharandust-table-sort-btn.is-asc .saharandust-table-head-arrow {
    transform: rotate(180deg);
}

.saharandust-table-eng {
    font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15.6px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #000000;
}

.saharandust-table-kor {
    font-family: "neutronic-hangeul", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: calc(1.35 * var(--kor-line-height-scale));
    letter-spacing: 0.02em;
    color: #000000;
    word-break: keep-all;
}

/* Truncate overflowing list cell text (desktop + mobile) */
.saharandust-table-cell:first-child,
.saharandust-table-cell:nth-child(2),
.saharandust-table-cell--status,
.saharandust-table-cell--date {
    overflow: hidden;
    min-width: 0;
}

/* Keep eng+kor on one line — wrap made long titles thicken the row */
.saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell:first-child,
.saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell:nth-child(2) {
    flex-wrap: nowrap;
    align-items: baseline;
    align-content: center;
}

.saharandust-table-row:not(.saharandust-table-row--head)
    .saharandust-table-cell:first-child .saharandust-table-eng,
.saharandust-table-row:not(.saharandust-table-row--head)
    .saharandust-table-cell:first-child .saharandust-table-kor,
.saharandust-table-row:not(.saharandust-table-row--head)
    .saharandust-table-cell:nth-child(2) .saharandust-table-eng,
.saharandust-table-row:not(.saharandust-table-row--head)
    .saharandust-table-cell:nth-child(2) .saharandust-table-kor,
.saharandust-table-row:not(.saharandust-table-row--head)
    .saharandust-table-cell--status .saharandust-table-eng,
.saharandust-table-row:not(.saharandust-table-row--head)
    .saharandust-table-cell--status .saharandust-table-kor,
.saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-date {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
}

.saharandust-table-row--head .saharandust-table-eng {
    font-family: "parabolica-medium", "parabolica", sans-serif;
    font-size: 14.4px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    transform: translateY(1px);
}

.saharandust-table-row--head .saharandust-table-kor {
    font-size: 11px;
    font-weight: 600;
    line-height: calc(1.2 * var(--kor-line-height-scale));
    transform: translateY(1px);
}

.saharandust-table-short {
    display: none;
}

.saharandust-table-cell:nth-child(2),
.saharandust-table-cell--status,
.saharandust-table-cell--date {
    padding-left: var(--saharandust-table-col-inset);
}

.saharandust-table-cell--status {
    padding-right: 0.85em;
    justify-content: flex-start;
    text-align: left;
}

.saharandust-table-row--head .saharandust-table-cell--date {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3em;
}

.saharandust-table-row--head .saharandust-table-cell--status {
    justify-content: flex-start;
}

.saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell--status {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell--date {
    flex-wrap: nowrap;
    align-items: baseline;
    align-content: center;
    justify-content: flex-start;
    gap: 0.75em;
}

.saharandust-table-date {
    font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15.6px;
    line-height: 1.3;
    white-space: nowrap;
    color: #000000;
    flex: 0 1 5.2em;
    width: 5.2em;
    min-width: 0;
}

.saharandust-table-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0;
    padding: 0.32em 0.95em;
    border-radius: 999px;
    background: #d8d8d8;
    color: #111111;
    font-family: "parabolica", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13.2px;
    line-height: 1.2;
    white-space: nowrap;
}

.saharandust-table-badge--solid {
    background: #000000;
    color: #ffffff;
}

/* In Progress: 진행 중 (Updated 보다 연한 회색, 행을 흐리게 하지 않음) */
/* In Progress: 시리즈 진행 중 배지와 같은 모양 (흰 바탕 · 검은 글씨 · 테두리) */
.saharandust-table-badge--progress {
    background: #ffffff;
    color: #000000;
    border: 1.7px solid #000000;
    padding: calc(0.32em - 1.7px) calc(0.95em - 1.7px);
}

/* Updating: 시리즈 진행 중 배지와 같은 모양 (흰 바탕 · 검은 글씨 · 테두리) */
.saharandust-table-badge--updating {
    background: #ffffff;
    color: #000000;
    border: 1.7px solid #000000;
    padding: calc(0.32em - 1.7px) calc(0.95em - 1.7px);
}

.saharandust-table-badge--series {
    background: #ffffff;
    color: #000000;
    border: 1.7px solid #000000;
    padding: calc(0.32em - 1.7px) calc(0.95em - 1.7px);
}

.saharandust-table-row:not(.saharandust-table-row--head):has(
    .saharandust-table-cell--date > .saharandust-table-badge:not(.saharandust-table-badge--solid):not(.saharandust-table-badge--updating):not(.saharandust-table-badge--progress):not(.saharandust-table-badge--series)
) .saharandust-table-eng,
.saharandust-table-row:not(.saharandust-table-row--head):has(
    .saharandust-table-cell--date > .saharandust-table-badge:not(.saharandust-table-badge--solid):not(.saharandust-table-badge--updating):not(.saharandust-table-badge--progress):not(.saharandust-table-badge--series)
) .saharandust-table-kor,
.saharandust-table-row:not(.saharandust-table-row--head):has(
    .saharandust-table-cell--date > .saharandust-table-badge:not(.saharandust-table-badge--solid):not(.saharandust-table-badge--updating):not(.saharandust-table-badge--progress):not(.saharandust-table-badge--series)
) .saharandust-table-date {
    color: rgba(0, 0, 0, 0.7);
}

.saharandust-footer-rule {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 1px;
    background-color: #000000;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .saharandust-archive-clip:has(
        .saharandust-table-row--link:last-child:hover
    ) ~ .saharandust-footer-rule,
    .saharandust-archive-clip:has(
        .saharandust-table-row--link:last-child:focus-visible
    ) ~ .saharandust-footer-rule {
        background-color: transparent;
    }
}

.saharandust-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: clamp(16px, 2.5vh, 24px);
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    animation: saharandust-scroll-nudge 1.6s ease-in-out infinite;
    transition: transform 0.35s ease;
}

.saharandust-scroll-btn img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
}

.saharandust-archive.is-open .saharandust-scroll-btn img {
    transform: rotate(180deg);
}

@keyframes saharandust-scroll-nudge {
    0%,
    100% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(6px);
    }
    70% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .saharandust-scroll-btn {
        animation: none;
    }

    .saharandust-archive-clip,
    .saharandust-archive-panel {
        transition: none;
    }

    .saharandust-scroll-btn img {
        transition: none;
    }

    .saharandust-table-row:not(.saharandust-table-row--head) {
        transition: none;
    }

    .saharandust-table-head-arrow {
        transition: none;
    }
}

.saharandust-next {
    height: 1px;
    scroll-margin-top: 0;
}

.page-saharandust .about-lang-switch-fixed {
    display: none;
}

@media (min-width: 769px) {
    html:has(body.page-saharandust) {
        overflow: hidden;
        height: 100%;
        background-color: #000000;
    }

    .page-saharandust {
        /* Wider figure: align to header outer padding (beyond title span) */
        --saharandust-pad-left: calc(
            var(--saharandust-header-pad-x) + var(--saharandust-header-shift) + var(--saharandust-header-left-nudge)
        );
        --saharandust-pad-right: var(--saharandust-header-pad-x);
    }

    .saharandust-main {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }
}

/* ~16" desktops — slightly larger figure
   높이가 낮은 화면(13″ 노트북 등)에서는 그림이 아래 텍스트에 닿지 않게 화면 높이로도 제한한다.
   텍스트 영역은 화면 아래 ~240px 에서 시작, 그림 위쪽은 132px → 여백 ~33px 기준에서 5% 키움(13″ 여백 ~17px).
   2.807 = 그림 원본 가로/세로 비율(5334 / 1900) */
@media (min-width: 769px) and (max-width: 1799px) {
    .saharandust-figures img {
        width: min(106%, max(55%, calc((100dvh - 405px) * 2.807 * 1.05)));
        max-width: 106%;
        height: auto;
        object-fit: contain;
        object-position: top center;
    }
}

/* ~24" and larger desktops — slightly smaller than full header width */
@media (min-width: 1800px) {
    .saharandust-figures img {
        width: 94%;
        max-width: 94%;
        height: auto;
        object-fit: contain;
        object-position: top center;
    }
}

@media (max-width: 768px) {
    html:has(body.page-saharandust) {
        height: var(--saharandust-vh, 100svh);
        max-height: var(--saharandust-vh, 100svh);
        overflow: hidden;
        position: fixed;
        inset: 0;
        width: 100%;
        background-color: #000000;
    }

    body.page-saharandust {
        height: var(--saharandust-vh, 100svh);
        max-height: var(--saharandust-vh, 100svh);
        min-height: 0;
        overflow: hidden;
        position: fixed;
        inset: 0;
        width: 100%;
        overscroll-behavior: none;
        touch-action: manipulation;
    }

    .page-saharandust {
        height: var(--saharandust-vh, 100svh);
        max-height: var(--saharandust-vh, 100svh);
        min-height: 0;
        overflow: hidden;
        --saharandust-pad-top: 132px;
        --saharandust-header-shift: 0px;
        --saharandust-header-left-nudge: 0px;
        --saharandust-header-left-line-inset: 0px;
        --saharandust-header-pad-x: clamp(32px, 8vw, 96px);
        --saharandust-pad-left: var(--saharandust-header-pad-x);
        --saharandust-pad-right: var(--saharandust-header-pad-x);
        --saharandust-header-content-pad: var(--saharandust-header-pad-x);
        --saharandust-body-font-eng: clamp(13px, 3.4vw, 15px);
        --saharandust-body-font-kor: clamp(12.5px, 3.2vw, 14px);
        --saharandust-arrow-zone: 58px;
    }

    .page-saharandust .about-lang-switch-fixed {
        display: flex !important;
        position: fixed;
        top: 116px;
        left: 0;
        right: 0;
        z-index: 11;
        background: transparent;
        flex-shrink: 0;
        padding: 0.5em 0;
        margin: 0;
        justify-content: center;
        align-items: center;
        gap: 0.35em;
        pointer-events: auto;
    }

    .page-saharandust .about-lang-switch {
        align-items: center;
        justify-content: center;
        gap: 0.35em;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .page-saharandust .about-lang-btn {
        background: none;
        border: none;
        padding: 0;
        font-size: clamp(14px, 3.6vw, 16px);
        font-family: "neutronic-hangeul", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
        color: #000000;
        cursor: pointer;
        text-decoration: none;
    }

    .page-saharandust .about-lang-btn.is-active {
        text-decoration: underline;
        text-underline-offset: 0.25em;
        font-weight: 500;
    }

    .page-saharandust .about-lang-sep {
        color: #000000;
        font-size: inherit;
        pointer-events: none;
    }

    .page-saharandust .about-lang-switch-fixed::after {
        content: none;
    }

    .page-saharandust.saharandust-lang-eng .saharandust-body-col--kor {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-body-col--eng {
        display: none !important;
    }

    .page-saharandust .site-content {
        height: var(--saharandust-vh, 100svh);
        max-height: var(--saharandust-vh, 100svh);
        min-height: 0;
        overflow: hidden;
        overscroll-behavior: none;
    }

    .page-saharandust .grain-layer {
        height: var(--saharandust-vh, 100svh);
    }

    .saharandust-main {
        height: var(--saharandust-vh, 100svh);
        max-height: var(--saharandust-vh, 100svh);
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .saharandust-visual {
        margin-top: 0;
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .saharandust-copy-desktop {
        display: none;
    }

    .saharandust-copy-mobile {
        display: block;
    }

    .saharandust-title-block {
        order: 1;
        position: absolute;
        top: 26px;
        left: 0;
        z-index: 3;
        margin: 0;
        pointer-events: none;
    }

    .saharandust-title {
        font-size: clamp(22.7px, 1.94vw, 25.9px);
    }

    .saharandust-title-kor {
        margin-top: 0.15em;
        font-size: clamp(18.2px, 1.56vw, 20.7px);
    }

    .saharandust-figures {
        order: 2;
        flex: 0 0 auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        align-items: flex-start;
        width: calc(100% + var(--saharandust-pad-left) + var(--saharandust-pad-right));
        margin-top: -62px;
        margin-left: calc(-1 * var(--saharandust-pad-left));
        margin-right: calc(-1 * var(--saharandust-pad-right));
        padding-top: 0;
    }

    .saharandust-figures picture {
        display: block;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .saharandust-figures img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center top;
        transform: none;
    }

    .saharandust-body {
        order: 3;
        position: relative;
        left: auto;
        bottom: auto;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        width: 100%;
        margin: -4px 0 0;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        pointer-events: auto;
    }

    .saharandust-body-col {
        text-align: left;
        hyphens: none;
        -webkit-hyphens: none;
    }

    .saharandust-body-col--eng,
    .saharandust-body-col--kor {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        overscroll-behavior: none;
        touch-action: none;
        -webkit-overflow-scrolling: auto;
    }

    .saharandust-body-col-track {
        will-change: transform;
        padding-bottom: calc((22px + 2.4em) / 2);
    }

    body.saharandust-mobile-locked .saharandust-body-col {
        overflow: hidden !important;
    }

    body.saharandust-mobile-locked .saharandust-body-col-track {
        pointer-events: auto;
    }

    .saharandust-bottom {
        flex: 0 0 auto;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .saharandust-footer-rule {
        width: 100%;
        margin-left: 0;
    }

    .saharandust-footer-rule::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 100%;
        height: 22px;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            #ffffff 45%,
            #ffffff 100%
        );
        pointer-events: none;
        z-index: 2;
    }

    .saharandust-archive.is-open .saharandust-footer-rule::before {
        opacity: 0;
    }

    .saharandust-footer-rule::after {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--saharandust-arrow-zone, 58px);
        background: #ffffff;
        border-radius: 0 0 var(--saharandust-canvas-radius) var(--saharandust-canvas-radius);
        pointer-events: none;
        z-index: 5;
    }

    .saharandust-scroll-btn {
        position: relative;
        z-index: 6;
        margin-top: 0;
        width: 24px;
        height: 24px;
        box-sizing: content-box;
        padding-top: calc((var(--saharandust-arrow-zone, 58px) - 24px) / 2);
        padding-bottom: calc((var(--saharandust-arrow-zone, 58px) - 24px) / 2);
    }

    .saharandust-archive-panel {
        background: rgba(255, 255, 255, 0.78);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        max-height: min(
            calc(38px + 8 * 42px + 21px),
            calc(var(--saharandust-vh, 100svh) - 168px - var(--saharandust-arrow-zone, 58px))
        );
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .saharandust-table-row--head {
        position: sticky;
        top: 0;
        z-index: 3;
        background: rgba(255, 255, 255, 0.94);
    }

    .saharandust-row-preview {
        display: none;
    }

    .saharandust-table {
        --saharandust-table-cols: minmax(0, 1.96fr) minmax(0, 1.32fr) 2.4em 22px;
        --saharandust-table-divider-h: 1.02rem;
        --saharandust-table-col-inset: 0.7em;
    }

    .saharandust-table-row {
        min-height: 42px;
        height: 42px;
    }

    .saharandust-table-row--head {
        min-height: 38px;
        height: 38px;
    }

    .saharandust-table-row--head .saharandust-table-cell:nth-child(1)::after,
    .saharandust-table-row--head .saharandust-table-cell:nth-child(2)::after {
        width: 1.5px;
    }

    .saharandust-table-row--link {
        -webkit-tap-highlight-color: transparent;
    }

    .saharandust-table-row--link:active::before,
    .saharandust-table-row--link.is-pressing::before {
        opacity: 1;
    }

    .saharandust-table-row--link:active::after,
    .saharandust-table-row--link.is-pressing::after {
        opacity: 1;
    }

    .saharandust-table-row--link:not(:last-child):active,
    .saharandust-table-row--link:not(:last-child).is-pressing {
        box-shadow: none;
    }

    .saharandust-archive-clip:has(
        .saharandust-table-row--link:last-child:active
    ) ~ .saharandust-footer-rule,
    .saharandust-archive-clip:has(
        .saharandust-table-row--link:last-child.is-pressing
    ) ~ .saharandust-footer-rule {
        background-color: transparent;
    }

    .saharandust-table-cell--status,
    .saharandust-table-badge {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-eng .saharandust-table-kor {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-eng {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-kor .nav-kor,
    .page-saharandust.saharandust-lang-kor .nav-overlay-title-kor,
    .page-saharandust.saharandust-lang-kor .nav-overlay-kor {
        font-family: "neutronic-hangeul", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child .saharandust-table-eng {
        display: block !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child:has(.saharandust-table-kor) .saharandust-table-eng {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child .saharandust-table-kor {
        display: block !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child:has(.saharandust-table-short)
        .saharandust-table-kor:not(.saharandust-table-short) {
        display: none !important;
    }

    .saharandust-table-cell:has(> .saharandust-table-short) > .saharandust-table-eng:not(.saharandust-table-short),
    .saharandust-table-cell:has(> .saharandust-table-short) > .saharandust-table-kor:not(.saharandust-table-short) {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-eng .saharandust-table-eng.saharandust-table-short {
        display: block !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-kor.saharandust-table-short {
        display: block !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child:has(.saharandust-table-short)
        .saharandust-table-eng:not(.saharandust-table-short) {
        display: none !important;
    }

    .page-saharandust.saharandust-lang-kor .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child .saharandust-table-eng.saharandust-table-short {
        display: none !important;
    }

    .saharandust-table-cell {
        padding: 0.475em 0.45em;
        gap: 0;
        flex-wrap: nowrap;
        align-items: center;
        align-content: center;
    }

    .saharandust-table-row {
        align-items: center;
    }

    .saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell:first-child,
    .saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell:nth-child(2),
    .saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell--date {
        align-items: center;
        align-content: center;
    }

    .saharandust-table-sort-btn {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
    }

    /* Mobile tap: #00f723 (not global yellow) */
    .saharandust-scroll-btn:active img,
    .saharandust-scroll-btn.is-pressing img,
    .saharandust-table-sort-btn:active .saharandust-table-head-arrow,
    .saharandust-table-sort-btn.is-pressing .saharandust-table-head-arrow {
        filter: brightness(0) saturate(100%) invert(62%) sepia(98%) saturate(1400%) hue-rotate(79deg) brightness(118%) contrast(119%) !important;
    }

    .saharandust-table-row--head .saharandust-table-cell {
        align-items: center;
        align-content: center;
    }

    .saharandust-table-row--head .saharandust-table-eng,
    .saharandust-table-row--head .saharandust-table-kor {
        transform: none;
        line-height: 1;
    }

    .saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell--date {
        align-items: center;
        align-content: center;
        gap: 0;
    }

    .saharandust-table-eng,
    .saharandust-table-kor,
    .saharandust-table-date {
        line-height: 1.3;
        transform: none;
    }

    .saharandust-table-date-md {
        display: none;
    }

    .saharandust-table-cell:nth-child(2),
    .saharandust-table-cell--date {
        padding-left: var(--saharandust-table-col-inset);
    }

    .saharandust-table-cell--date {
        justify-content: flex-end;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
        transform: translateX(4px);
    }

    .saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-cell--date {
        justify-content: flex-end;
    }

    .saharandust-table-row--head .saharandust-table-cell--date {
        justify-content: flex-end;
        cursor: pointer;
    }

    .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child .saharandust-table-eng,
    .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:first-child .saharandust-table-kor,
    .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:nth-child(2) .saharandust-table-eng,
    .saharandust-table-row:not(.saharandust-table-row--head)
        .saharandust-table-cell:nth-child(2) .saharandust-table-kor {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        flex: 1 1 auto;
        width: 100%;
    }

    .saharandust-table-cell--arrow {
        transform: translateX(2px);
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
        justify-content: flex-end;
    }

    .saharandust-table-eng {
        font-size: 13.2px;
    }

    .saharandust-table-kor {
        font-size: 12px;
    }

    .saharandust-table-row--head .saharandust-table-eng,
    .saharandust-table-row--head .saharandust-table-kor {
        font-size: 12px;
    }

    .saharandust-table-row:not(.saharandust-table-row--head) .saharandust-table-date,
    .saharandust-table-date,
    .saharandust-table-row--head .saharandust-table-cell--date .saharandust-table-eng,
    .saharandust-table-row--head .saharandust-table-cell--date .saharandust-table-kor {
        font-size: 13.2px;
        flex: 0 0 33px;
        width: 33px;
        min-width: 33px;
        text-align: left;
        overflow: visible;
        text-overflow: clip;
        max-width: none;
    }

    .saharandust-table-row--head .saharandust-table-cell--date .saharandust-table-eng,
    .saharandust-table-row--head .saharandust-table-cell--date .saharandust-table-kor {
        font-size: 12px;
    }

    .saharandust-table-head-arrow {
        width: 10px;
        height: 10px;
    }
}


/* 설명글 속 물질명: 영문은 기울임, 한글은 굵게 */
.saharandust-name--en {
    font-style: italic;
}

.saharandust-name--ko {
    font-weight: 500;
}

/* To be updated: 회색 바탕은 그대로, 검은 테두리만 */
.saharandust-table-cell--date > .saharandust-table-badge:not(.saharandust-table-badge--solid):not(.saharandust-table-badge--progress):not(.saharandust-table-badge--series) {
    border: 1.7px solid #000000;
    padding: calc(0.32em - 1.7px) calc(0.95em - 1.7px);
}

/* 노트북 화면에서는 In Progress 처럼 1px (style.css 의 같은 규칙과 맞춤) */
@media (min-width: 769px) and (max-width: 1799px) {
    .saharandust-table-cell--date > .saharandust-table-badge:not(.saharandust-table-badge--solid):not(.saharandust-table-badge--progress):not(.saharandust-table-badge--series) {
        border-width: 1px;
        padding: calc(0.32em - 1px) calc(0.95em - 1px);
    }
}

/* 16″ 이하 데스크톱: 한글 설명이 영문보다 작아 보여서 영문 대비 비율을 0.906 → 0.95로 키움 (24″ 이상은 그대로) */
@media (min-width: 769px) and (max-width: 1799px) {
    .page-saharandust {
        --saharandust-body-font-kor: clamp(13.3px, 1.12vw, 15.2px);
        --saharandust-body-lh-kor: calc(1.57 * var(--kor-desc-line-height-scale));
    }
}
