body {
    font-family: 'Noto Sans', sans-serif;
}

.degflow-red {
    color: #092ac0;
    font-weight: 600;
}

.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
    font-variant: small-caps;
}


.teaser .hero-body {
    padding-top: 0;
    padding-bottom: 3rem;
}

.teaser {
    font-family: 'Google Sans', sans-serif;
}


.publication-title {
    line-height: 1.3;
}

.publication-banner {
    max-height: parent;

}

.publication-banner video {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    object-fit: fit;
}

.publication-header .hero-body {}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {}

.publication-authors a {
    color: hsl(244, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
    display: inline-block;
}

.publication-banner img {}

.publication-authors {
    /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {}

.results-carousel {
    overflow: hidden;
}

.results-carousel .item {
    margin: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 0;
    font-size: 0;
}

.results-carousel video {
    margin: 0;
}


.interpolation-panel {
    background: #f5f5f5;
    border-radius: 10px;
}

.interpolation-panel .interpolation-image {
    width: 100%;
    border-radius: 5px;
}

.interpolation-video-column {}

.interpolation-panel .slider {
    margin: 0 !important;
}

.interpolation-panel .slider {
    margin: 0 !important;
}

#interpolation-image-wrapper {
    width: 100%;
}

#interpolation-image-wrapper img {
    border-radius: 5px;
}

/* ===== IDF Author Block ===== */

.idf-authors {
    margin-top: 1rem;
    text-align: center;
    font-family: "Google Sans", sans-serif;
}

/* Author names line */
.idf-author-names {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2f6df6;
    /* 스크린샷 파랑 */
}

/* Author links */
.idf-author-names a {
    color: #2f6df6;
    text-decoration: none;
    transition: color 0.15s ease;
}

/* Hover → 검정, 밑줄 없음 */
.idf-author-names a:hover {
    color: #000;
    text-decoration: none;
}

/* Affiliations */
.idf-affiliation {
    margin-top: 0.8rem;
    font-size: 1.15rem;
    color: #555;
}

/* Footnotes */
.idf-footnote {
    margin-top: 0.35rem;
    font-size: 1.15rem;
    color: #555;
}

/* Venue */
.idf-venue {
    margin-top: 1.1rem;
    font-size: 1.7rem;
    font-weight: 700;
    color: #444;
}


/* ===== Project Logo ===== */

.project-logo {
    margin-bottom: 1.2rem;
    /* 로고-제목 간격 */
}

.project-logo img {
    width: 300px;
    /* 크기 조절 핵심 */
    max-width: 100%;
    height: auto;
}

.project-logo {
    margin-top: -10px;
    margin-bottom: 1.4rem;
}

/* ===== TL;DR Section (DAI-like) ===== */
.tldr-section {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
}

.tldr-line {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #555;
    /* 기본 텍스트 더 진하게 */
    font-weight: 400;
}

/* TL;DR 라벨 */
.tldr-label {
    font-weight: 700;
    color: #2b2b2b;
    /* 거의 검정 */
    margin-right: 0.5rem;
}

/* 문장 내 Bold 강조 */
.tldr-line b,
.tldr-line strong {
    font-weight: 700;
    color: #1f1f1f;
    /* 더 진하게 */
}

/* ===== Abstract (DAI-like) ===== */
.abstract-section {
    padding-top: 3.0rem;
    padding-bottom: 3.0rem;
}

.abstract-title {
    font-size: 2.2rem;
    /* DAI처럼 큼직하게 */
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 1.6rem;
}

.abstract-body {
    color: #555;
    /* 기본 글 더 진하게 */
    font-size: 1.02rem;
    line-height: 1.85;
}

.abstract-body p {
    margin-bottom: 1.15rem;
    /* 문단 간격 일정 */
}

/* Abstract 안의 bold도 오동통하게 */
.abstract-body b,
.abstract-body strong {
    font-weight: 800;
    color: #111;
    letter-spacing: -0.01em;
}

/* Abstract grey background (force) */
section.abstract-section {
    background-color: #f2f2f2 !important;
}




/* LR Genetaion Section */
#generated-lr-visual-quality {
    background: #ffffff;
}

.glvq-title {
    margin-bottom: 1.2rem;
}

.glvq-content {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    padding: 1.2rem 1.2rem 1.1rem;
}

.glvq-compare-panel {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.glvq-compare {
    position: relative;
    width: min(100%, 800px);
    aspect-ratio: 1.3 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #d7dee8;
    user-select: none;
    --split: 50%;
}

.glvq-compare-base,
.glvq-compare-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glvq-compare-base {
    position: absolute;
    inset: 0;
}

.glvq-compare-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 calc(var(--split, 50%) - 12px),
        rgba(0, 0, 0, 0.55) calc(var(--split, 50%) - 4px),
        rgba(0, 0, 0, 0.08) calc(var(--split, 50%) + 12px),
        transparent calc(var(--split, 50%) + 26px)
    );
    mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 calc(var(--split, 50%) - 12px),
        rgba(0, 0, 0, 0.55) calc(var(--split, 50%) - 4px),
        rgba(0, 0, 0, 0.08) calc(var(--split, 50%) + 12px),
        transparent calc(var(--split, 50%) + 26px)
    );
}

.glvq-compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(107, 114, 128, 0.9);
    transform: translateX(-50%);
    box-shadow:
        0 0 0 1px rgba(107, 114, 128, 0.14),
        0 0 12px rgba(107, 114, 128, 0.18);
    pointer-events: none;
    z-index: 4;
}

.glvq-compare-divider::before {
    content: "‹ ›";
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.78);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(2px);
    white-space: nowrap;
    line-height: 1;
}

.glvq-compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 6;
}

.glvq-compare-label {
    position: absolute;
    top: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.52rem;
    border-radius: 8px;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.12s linear;
}

.glvq-compare-label-left {
    left: 10px;
}

.glvq-compare-label-right {
    right: 10px;
}

.glvq-slider-wrap {
    margin-top: 0.2rem;
    display: flex;
    justify-content: center;
}

.glvq-slider-stage {
    position: relative;
    width: min(100%, 800px);
    margin: 0 auto;
}

.glvq-slider-shell {
    position: relative;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
}

.glvq-slider-arrow-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, #c7d2fe 0%, #60a5fa 100%);
}

.glvq-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.glvq-slider::-webkit-slider-runnable-track {
    height: 8px;
    background: transparent;
}

.glvq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid #2563eb;
    background: #ffffff;
    margin-top: -7px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
    cursor: pointer;
}

.glvq-slider::-moz-range-track {
    height: 8px;
    background: transparent;
}

.glvq-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid #2563eb;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
    cursor: pointer;
}

.glvq-slider-label-layer {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 0.35rem;
}

.glvq-slider-label {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748b;
    transition: color 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.glvq-slider-label.is-active {
    color: #2563eb;
}

.glvq-controls-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.9rem;
    flex-wrap: wrap;
}

.glvq-set-button {
    border: 1px solid #cfd8e3;
    background: #ffffff;
    color: #334155;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.glvq-set-button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.glvq-set-button.is-active {
    color: #ffffff;
    border-color: #2563eb;
    background: #2563eb;
}

@media screen and (max-width: 768px) {
    .glvq-compare {
        width: min(100%, 420px);
    }

    .glvq-slider-stage {
        width: min(100%, 420px);
    }
}

/* ===== Trajectory Demo Section ===== */

.trajectory-demo {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    max-width: 1460px;
    margin: 0 auto;
    padding: 0.8rem 0 1.2rem;
}

.trajectory-header {
    padding: 0.15rem 1.5rem 0.95rem;
}

.trajectory-header--bottom {
    padding-top: 1rem;
    padding-bottom: 0.15rem;
}

.trajectory-header p {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.7;
    text-align: center;
}

.trajectory-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 0 1.5rem;
}

.trajectory-row + .trajectory-row {
    margin-top: 0.2rem;
}

.trajectory-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    border-radius: 14px;
    background: #f7f9fc;
    border: 1px solid #e5eaf1;
    font-weight: 700;
    font-size: 1.02rem;
    color: #223;
    text-align: center;
    padding: 0.75rem;
}

.trajectory-row-title {
    display: block;
}

.trajectory-strip {
    width: 100%;
    padding: 0.75rem 0.85rem 0.7rem;
    border-radius: 18px;
}

.trajectory-strip--real {
    background: transparent;
    border: 1px solid transparent;
}

.trajectory-strip--degflow {
    position: relative;
    background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
    border: 1px solid #d7dee8;
    overflow: hidden;
}

.trajectory-sequence-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.trajectory-slot {
    width: 100%;
}

.trajectory-slot--empty {
    min-height: 1px;
}

.trajectory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.45rem;
}

.trajectory-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    text-align: center;
}

.trajectory-card-title--small {
    font-size: 0.9rem;
}

.trajectory-image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: visible;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
}

.trajectory-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    border: 2px solid #d9e2ec;
    background: #eef2f7;
    box-sizing: border-box;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.trajectory-image-frame.is-active {
    transform: translateY(-2px);
}

.trajectory-image-frame.is-active img {
    border-color: #3e6ae1;
    box-shadow: 0 0 0 6px rgba(62, 106, 225, 0.18);
}

.trajectory-seq-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    opacity: 1;
    filter: none;
    transform: translateY(0) scale(1);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    will-change: transform;
    cursor: pointer;
}

.trajectory-seq-card .trajectory-card-title {
    color: #1f2937;
    transition: color 0.28s ease;
}

.trajectory-seq-card--near {
    opacity: 1;
    filter: none;
    transform: translateY(0) scale(1);
}

.trajectory-seq-card--near .trajectory-card-title {
    color: #1f2937;
}

.trajectory-seq-card--active {
    opacity: 1;
    filter: none;
    transform: translateY(-3px) scale(1);
}

.trajectory-seq-card--active .trajectory-card-title {
    color: #1f2937;
}

.trajectory-seq-card--active .trajectory-seq-frame img {
    border-color: #3e6ae1;
    box-shadow: 0 0 0 6px rgba(62, 106, 225, 0.18);
}

.trajectory-controls-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1.5rem 0.2rem;
    flex-wrap: wrap;
}

.trajectory-set-button {
    border: 1px solid #cfd8e3;
    background: #ffffff;
    color: #334155;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.trajectory-set-button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.trajectory-set-button.is-active {
    color: #ffffff;
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: none;
}

@media screen and (max-width: 1250px) {
    .trajectory-sequence-grid {
        gap: 6px;
    }

    .trajectory-row {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .trajectory-row {
        grid-template-columns: 1fr;
    }

    .trajectory-label {
        min-height: auto;
    }
}

@media screen and (max-width: 768px) {
    .trajectory-sequence-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .trajectory-continuous-bar {
        display: none;
    }
}

section#trajectory-demo {
    background-color: #f2f2f2 !important;
}

/* ===== Visual Quality Section ===== */
#visual-quality {
    margin-top: 1rem;
    background: #f2f2f2;
}

.visual-quality-subtitle {
    margin-top: -0.4rem;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    color: #475569;
    font-weight: 600;
}

.visual-quality-block {
    background: #ffffff;
    border: 1px solid #d7dee8;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    padding: 1rem 1rem 1.1rem;
    overflow: visible;
}

.visual-quality-block--wide {
    width: fit-content;
    max-width: none;
    margin: 0 auto;
}

/* top tabs */
.visual-quality-top-tabs {
    display: flex;
    justify-content: center;
    gap: 2.4rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
    margin-bottom: 1.8rem;
}

.vq-top-tab {
    border: none;
    background: transparent;
    color: #334155;
    border-radius: 0;
    padding: 0;
    font-weight: 700;
    font-size: 1.14rem;
    cursor: pointer;
    transition: color 0.22s ease;
    box-shadow: none;
    line-height: 1.2;
}

.vq-top-tab:hover {
    background: transparent;
    color: #6b7280;
}

.vq-top-tab.is-active {
    background: transparent;
    border: none;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.22rem;
    text-decoration-thickness: 2px;
}

/* mode panels */
.vq-mode-panel {
    display: none;
}

.vq-mode-panel.is-active {
    display: block;
}

/* model buttons */
.visual-quality-button-row {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

#vq-fixed-panel .visual-quality-button-row {
    margin-bottom: 2rem;
}

.vq-button {
    border: 1px solid #cfd8e3;
    background: #ffffff;
    color: #334155;
    border-radius: 10px;
    padding: 0.52rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.vq-button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.vq-button.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* 3-set layout */
.vq-triptych {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    flex-wrap: nowrap;
    overflow: visible;
}

.vq-set {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 145px 104px 240px;
    gap: 0.42rem;
    align-items: start;
}

/* overview */
.vq-overview-card {
    width: 145px;
}

.vq-overview-image-frame {
    width: 145px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #d9e2ec;
}

.vq-overview-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vq-overview-label {
    margin-top: 0.45rem;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 700;
    color: #334155;
}

/* HR / LR */
.vq-source-column {
    width: 104px;
    height: 240px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.42rem;
}

.vq-source-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 0;
}

.vq-source-image-frame {
    flex: 1;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #d9e2ec;
}

.vq-source-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vq-source-label {
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.1;
}

/* compare slider */
.vq-compare-panel {
    width: 240px;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.vq-compare {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #d7dee8;
    user-select: none;
    flex: 0 0 240px;
    --split: 50%;
}

.vq-compare-base,
.vq-compare-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vq-compare-base {
    position: absolute;
    inset: 0;
}

.vq-compare-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 calc(var(--split, 50%) - 12px),
        rgba(0, 0, 0, 0.55) calc(var(--split, 50%) - 4px),
        rgba(0, 0, 0, 0.08) calc(var(--split, 50%) + 12px),
        transparent calc(var(--split, 50%) + 26px)
    );
    mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 calc(var(--split, 50%) - 12px),
        rgba(0, 0, 0, 0.55) calc(var(--split, 50%) - 4px),
        rgba(0, 0, 0, 0.08) calc(var(--split, 50%) + 12px),
        transparent calc(var(--split, 50%) + 26px)
    );
}

.vq-compare-overlay img {
    width: 100%;
    height: 100%;
}

.vq-compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(107, 114, 128, 0.9);
    transform: translateX(-50%);
    box-shadow:
        0 0 0 1px rgba(107, 114, 128, 0.14),
        0 0 12px rgba(107, 114, 128, 0.18);
    pointer-events: none;
    z-index: 4;
}

.vq-compare-divider::before {
    content: "< >";
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.78);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(2px);
    white-space: nowrap;
    line-height: 1;
}

.vq-compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 6;
}

.vq-compare-label {
    position: absolute;
    top: 8px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.28rem 0.46rem;
    border-radius: 8px;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.12s linear;
}

.vq-compare-label-left {
    left: 8px;
}

.vq-compare-label-right {
    right: 8px;
}

/* responsive */
@media screen and (max-width: 1900px) {
    .vq-triptych {
        flex-wrap: wrap;
        justify-content: center;
    }

    .visual-quality-block--wide {
        width: auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .vq-set {
        grid-template-columns: 115px 86px 200px;
        gap: 0.35rem;
    }

    .vq-overview-card,
    .vq-overview-image-frame {
        width: 115px;
        height: 205px;
    }

    .vq-source-column {
        width: 86px;
        height: 205px;
        gap: 0.35rem;
    }

    .vq-compare-panel {
        width: 200px;
        height: 200px;
    }

    .vq-compare {
        width: 200px;
        height: 200px;
    }

    .vq-source-label {
        font-size: 0.72rem;
    }

    .vq-compare-label {
        font-size: 0.68rem;
        padding: 0.24rem 0.4rem;
    }

    .vq-compare-divider::before {
        min-width: 32px;
        height: 32px;
        font-size: 0.66rem;
    }
}

@media screen and (max-width: 700px) {
    .vq-set {
        width: 100%;
        max-width: 440px;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .vq-overview-card,
    .vq-overview-image-frame {
        width: 100%;
    }

    .vq-overview-image-frame {
        height: 230px;
    }

    .vq-source-column {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 0.6rem;
    }

    .vq-compare-panel {
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .vq-compare {
        width: 240px;
        height: 240px;
    }
}


/* ===== Visual Quality Carousel ===== */
.vq-carousel-section {
    background: #ffffff;
}

.vq-carousel-block {
    position: relative;
    width: min(94vw, 1500px);
    margin: 0 auto;
    padding: 0 4.2rem;
}

.vq-carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 0;
    background: transparent;
}

.vq-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.7s ease;
    will-change: transform;
}

.vq-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

/* 모든 슬라이드가 같은 높이 영역을 가지도록 */
.vq-carousel-slide-inner {
    width: 100%;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
    background: transparent;
}

/* 첫 번째 슬라이드만 세로 가운데 정렬 */
.vq-carousel-slide-first .vq-carousel-slide-inner {
    align-items: center;
    padding-top: 4.0rem;
}

.vq-carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
}

/* nav buttons: 항상 같은 위치 */
.vq-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #334155;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
    z-index: 5;
}

.vq-carousel-nav:hover {
    background: #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%) scale(1.05);
}

.vq-carousel-nav:active {
    transform: translateY(-50%) scale(0.97);
    background: #d1d5db;
}

.vq-carousel-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.vq-carousel-nav-left {
    left: 0.4rem;
}

.vq-carousel-nav-right {
    right: 0.4rem;
}

@media screen and (max-width: 900px) {
    .vq-carousel-block {
        width: min(96vw, 1100px);
        padding: 0 3.8rem;
    }

    .vq-carousel-slide-inner {
        min-height: 420px;
    }

    .vq-carousel-nav {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 640px) {
    .vq-carousel-block {
        width: 100%;
        padding: 0 3rem;
    }

    .vq-carousel-slide-inner {
        min-height: 300px;
    }

    .vq-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .vq-carousel-nav-left {
        left: 0.1rem;
    }

    .vq-carousel-nav-right {
        right: 0.1rem;
    }
}

/* ===== Main Figure ===== */
#main-figure {
    background: #ffffff;
}

.main-figure-block {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.main-figure-block img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.main-figure-caption {
    margin-top: 0.8rem;
    font-size: 0.98rem;
    color: #4b5563;
}

/* Lpips Section */
#lpips-supervision {
    background: #f2f2f2;
}

.lpips-supervision-block {
    display: flex;
    justify-content: center;
    margin-top: 3.0rem;
}

.lpips-supervision-block img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
}

.lpips-supervision-caption {
    margin-top: 0.8rem;
    font-size: 0.98rem;
    color: #4b5563;
}

/* ===== Citation ===== */

#BibTeX .citation-block {
    display: block;
    text-align: left;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

#BibTeX .citation-block code {
    font-size: 1.05rem;
}