/* ═══════════════════════════════════════════════════════════════════
   제주감귤지도 — 랜딩 "밤의 위성지도" 스타일시트
   (index.html 전용. 서브페이지는 기존 css/style.css 유지)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tokens ──────────────────────────────────────────────────────── */
:root {
    /* 밤(위성) */
    --ink:      #081209;
    --ink-2:    #0C1B10;
    --ink-3:    #142918;
    --ink-line: rgba(246, 242, 233, .1);

    /* 낮(종이) */
    --paper:    #FAF5EB;
    --paper-2:  #F3EBDB;
    --card:     #FFFFFF;
    --line:     rgba(22, 36, 26, .12);

    /* 감귤 */
    --citrus:      #FF8A16;
    --citrus-soft: #FFB05C;
    --citrus-deep: #E36D00;
    --leaf:        #2F7D4E;
    --leaf-soft:   #8FBE7F;

    /* 텍스트 */
    --txt:        #16241A;
    --txt-sub:    #5C6A5E;
    --txt-inv:    #F6F2E9;
    --txt-inv-sub: rgba(246, 242, 233, .6);

    /* 시세 등락 (기존 관습: 상승=빨강, 하락=파랑) */
    --c-up:   #EF4444;
    --c-down: #1F6FEB;

    --font:    'Pretendard', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --display: 'Hahmlet', 'Pretendard', serif;

    --max-w: 1240px;
    --pad-x: clamp(1.25rem, 5vw, 3rem);
    --sp-sec: clamp(5rem, 11vw, 9.5rem);

    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --tr: .25s cubic-bezier(.4, 0, .2, 1);

    /* 종이 질감 — 아주 옅은 점묘 */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

/* ─── 폰트 ────────────────────────────────────────────────────────── */
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Regular.woff') format('woff');   font-weight: 400; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Medium.woff') format('woff');    font-weight: 500; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-SemiBold.woff') format('woff');  font-weight: 600; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Bold.woff') format('woff');      font-weight: 700; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-ExtraBold.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Pretendard'; src: url('../fonts/Pretendard-Black.woff') format('woff');     font-weight: 900; font-display: swap; }

/* ─── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 112.5%; /* 18px — 고령 사용자 가독성 유지 */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--txt);
    background: var(--ink);
    word-break: keep-all;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: var(--font); }

::selection { background: var(--citrus); color: #fff; }

:focus-visible { outline: 2px solid var(--citrus); outline-offset: 3px; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

/* ─── 섹션 공통 ───────────────────────────────────────────────────── */
.section--paper  { background: var(--paper)  var(--grain); color: var(--txt); }
.section--paper2 { background: var(--paper-2) var(--grain); color: var(--txt); }
.section--ink    { background: var(--ink)   var(--grain); color: var(--txt-inv); }
.section--ink2   { background: var(--ink-2) var(--grain); color: var(--txt-inv); }

.sec-head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }

.sec-eyebrow {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--citrus-deep);
    margin-bottom: 1.1rem;
}
.sec-eyebrow::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
    opacity: .7;
}
.sec-head--inv .sec-eyebrow { color: var(--citrus-soft); }

.sec-title {
    font-family: var(--display);
    font-size: clamp(1.9rem, 4.6vw, 3.1rem);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.01em;
}
.sec-title em { font-style: normal; color: var(--citrus-deep); }
.sec-head--inv .sec-title em { color: var(--citrus); }

/* ─── 버튼 ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.7rem;
    font-family: var(--font);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1;
    border: 1.5px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--tr), border-color var(--tr), color var(--tr),
                transform var(--tr), box-shadow var(--tr);
}
.btn--lg { padding: 1rem 2.1rem; font-size: 1rem; }

.btn--citrus {
    background: linear-gradient(135deg, var(--citrus) 0%, var(--citrus-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(255, 138, 22, .35);
}
.btn--citrus:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 138, 22, .45); }
.btn--citrus:active { transform: translateY(0); }

.btn--ghost {
    background: rgba(246, 242, 233, .07);
    color: var(--txt-inv);
    border-color: rgba(246, 242, 233, .25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(246, 242, 233, .16); border-color: rgba(246, 242, 233, .45); }

.btn--leaf { background: var(--leaf); color: #fff; box-shadow: 0 8px 24px rgba(47, 125, 78, .3); }
.btn--leaf:hover { background: #28693F; transform: translateY(-2px); }

.btn--ink { background: var(--ink); color: var(--txt-inv); }
.btn--ink:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8, 18, 9, .35); }

/* ─── NAVBAR ──────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1002; /* 풀스크린 메뉴(1001)보다 위 — 토글이 항상 눌리도록 */
    transition: background var(--tr), border-color var(--tr), transform .35s ease;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(8, 18, 9, .82);
    border-bottom-color: var(--ink-line);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav.is-hidden { transform: translateY(-100%); }
/* 메뉴 열림: 바 배경 제거(메뉴 배경과 한 몸처럼) */
.nav.menu-open {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo img { height: 26px; width: auto; }

.nav__links { display: none; align-items: center; gap: 2rem; }
.nav__link {
    position: relative;
    font-size: .9rem;
    font-weight: 600;
    color: var(--txt-inv-sub);
    transition: color var(--tr);
    padding-block: .3rem;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--citrus);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s cubic-bezier(.65, 0, .35, 1);
}
.nav__link:hover { color: var(--txt-inv); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
    padding: .55rem 1.2rem;
    background: var(--citrus);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 999px;
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.nav__cta:hover { background: var(--citrus-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 138, 22, .4); }

.nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}
.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--txt-inv);
    border-radius: 2px;
    transition: transform .35s cubic-bezier(.65, 0, .35, 1), width .25s ease;
}
.nav__toggle:hover .nav__toggle-bar:nth-child(2) { width: 16px; }
.nav__toggle.is-open .nav__toggle-bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle.is-open .nav__toggle-bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); width: 24px; }

/* ─── 풀스크린 메뉴 ───────────────────────────────────────────────── */
.menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }

.menu__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 60% at 80% 110%, rgba(255, 138, 22, .16), transparent 60%),
        var(--ink);
    opacity: 0;
    transition: opacity .4s ease;
}
.menu.is-open .menu__bg { opacity: 1; }

.menu__inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(64px + 8vh) var(--pad-x) max(2rem, env(safe-area-inset-bottom));
    max-width: var(--max-w);
    margin-inline: auto;
}

.menu__links { display: flex; flex-direction: column; }
.menu__link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--display);
    font-size: clamp(1.9rem, 8vw, 3.4rem);
    font-weight: 600;
    color: var(--txt-inv);
    padding-block: .7rem;
    border-bottom: 1px solid var(--ink-line);
    opacity: 0;
    transform: translateY(28px);
    transition: color var(--tr);
}
.menu__link:hover { color: var(--citrus); }
.menu__num {
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 700;
    color: var(--citrus);
    letter-spacing: .1em;
}
.menu__bottom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
}
.menu__bottom .btn { align-self: stretch; }
.menu__copy { font-size: .8rem; color: var(--txt-inv-sub); text-align: center; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(120% 90% at 70% 10%, #11271703 0%, transparent 50%),
        var(--ink);
    color: var(--txt-inv);
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
}
.hero__canvas canvas { display: block; width: 100%; height: 100%; }

/* WebGL 불가 시 폴백 — 은은한 감귤빛 성층 */
.hero__canvas.no-webgl {
    background:
        radial-gradient(90% 70% at 72% 38%, rgba(255, 138, 22, .22), transparent 60%),
        radial-gradient(60% 50% at 30% 70%, rgba(47, 125, 78, .18), transparent 65%),
        var(--ink);
}

.hero__vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(8, 18, 9, .72) 0%, rgba(8, 18, 9, 0) 26%),
        linear-gradient(to top,    rgba(8, 18, 9, .85) 0%, rgba(8, 18, 9, 0) 38%),
        linear-gradient(to right,  rgba(8, 18, 9, .55) 0%, rgba(8, 18, 9, 0) 45%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding: calc(64px + 14vh) var(--pad-x) clamp(3rem, 7vh, 5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    align-self: flex-start;
    padding: .45rem 1rem;
    border: 1px solid rgba(255, 176, 92, .35);
    border-radius: 999px;
    background: rgba(255, 138, 22, .08);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--citrus-soft);
    margin-bottom: 1.6rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--citrus);
    box-shadow: 0 0 0 0 rgba(255, 138, 22, .6);
    animation: pulse-dot 2.2s ease-out infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(255, 138, 22, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 138, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 138, 22, 0); }
}

.hero__title {
    font-family: var(--display);
    font-size: clamp(2.5rem, 8.2vw, 4.9rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.015em;
    color: var(--txt-inv);
    margin-bottom: 1.5rem;
    text-wrap: balance;
}
.hero__title em {
    font-style: normal;
    color: var(--citrus);
    text-shadow: 0 0 38px rgba(255, 138, 22, .45);
}

/* 줄 단위 마스크 리빌 */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: inline-block; will-change: transform; }

.hero__sub {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: var(--txt-inv-sub);
    line-height: 1.8;
    margin-bottom: 2.4rem;
    max-width: 34em;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    align-items: stretch;
    max-width: 320px;
}

.hero__foot {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--ink-line);
    background: rgba(8, 18, 9, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ─── 티커 ────────────────────────────────────────────────────────── */
.ticker { overflow: hidden; padding-block: 1rem; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 0;
}
.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--txt-inv-sub);
    white-space: nowrap;
    padding-inline: 1.6rem;
    position: relative;
}
.ticker__item strong {
    color: var(--citrus-soft);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.ticker__item::after {
    content: '';
    position: absolute;
    right: -3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 138, 22, .5);
}

/* ─── STATS ───────────────────────────────────────────────────────── */
.stats { padding-block: var(--sp-sec); position: relative; }

.stats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}
.stats__item {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1.9rem .25rem;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.stats__index {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--citrus-deep);
}
.stats__value {
    font-size: clamp(2.7rem, 7vw, 4.3rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
}
.stats__value::after {
    content: '곳';
    font-size: .35em;
    font-weight: 700;
    color: var(--citrus-deep);
    margin-left: .25em;
    vertical-align: .25em;
}
.stats__label { font-size: .95rem; font-weight: 600; color: var(--txt-sub); }

/* ─── DUAL AUDIENCE ───────────────────────────────────────────────── */
.dual { padding-block: var(--sp-sec); }

.dual__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
}

.dual__card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(2rem, 4.5vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.34, 1.3, .64, 1), box-shadow .35s ease;
}
.dual__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(22, 36, 26, .13);
}
.dual__card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    pointer-events: none;
    transition: opacity .35s ease;
}
.dual__card--farmer::before { background: rgba(255, 138, 22, .35); }
.dual__card--trader::before { background: rgba(47, 125, 78, .3); }
.dual__card:hover::before { opacity: .85; }

.dual__tag {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 1.5rem;
}
.dual__card--farmer .dual__tag { background: rgba(255, 138, 22, .13); color: var(--citrus-deep); }
.dual__card--trader .dual__tag { background: rgba(47, 125, 78, .12);  color: var(--leaf); }

.dual__title {
    font-family: var(--display);
    font-size: clamp(1.5rem, 3.2vw, 2.05rem);
    font-weight: 600;
    line-height: 1.32;
    margin-bottom: 1.5rem;
}
.dual__title em { font-style: normal; }
.dual__card--farmer .dual__title em { color: var(--citrus-deep); }
.dual__card--trader .dual__title em { color: var(--leaf); }

.dual__list {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-bottom: 2.2rem;
    flex: 1;
}
.dual__list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .95rem;
    color: var(--txt-sub);
    line-height: 1.6;
}
.dual__list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: .6em;
}
.dual__card--farmer .dual__list li::before { background: var(--citrus); }
.dual__card--trader .dual__list li::before { background: var(--leaf); }

/* ─── APP SHOWCASE ────────────────────────────────────────────────── */
.app { padding-block: var(--sp-sec); overflow: hidden; }

.app__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding-block: clamp(2rem, 5vw, 4rem);
}
.app__row + .app__row { border-top: 1px solid var(--ink-line); }

.app__phone {
    position: relative;
    display: flex;
    justify-content: center;
}
.app__phone::before {
    content: '';
    position: absolute;
    width: min(340px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
}
.app__phone--map::before     { background: rgba(143, 190, 127, .2); }
.app__phone--auction::before { background: rgba(255, 138, 22, .2); }

.app__phone img {
    width: min(250px, 64vw);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .5));
}

.app__text { max-width: 26rem; margin-inline: auto; text-align: center; }

.app__tag {
    display: inline-block;
    padding: .35rem .95rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.app__tag--map     { background: rgba(143, 190, 127, .15); color: var(--leaf-soft); }
.app__tag--auction { background: rgba(255, 138, 22, .15);  color: var(--citrus-soft); }

.app__heading {
    font-family: var(--display);
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--txt-inv);
    margin-bottom: .9rem;
}
.app__desc {
    font-size: .95rem;
    color: var(--txt-inv-sub);
    line-height: 1.8;
    margin-bottom: 1.4rem;
}
.app__points {
    display: inline-flex;
    flex-direction: column;
    gap: .55rem;
    text-align: left;
}
.app__points li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .88rem;
    color: var(--txt-inv-sub);
}
.app__points li::before {
    content: '✓';
    color: var(--citrus);
    font-weight: 800;
    flex-shrink: 0;
}

/* ─── AUCTION EMBED — 라이브 보드 외피 ────────────────────────────── */
.auction-embed { padding-block: var(--sp-sec); }

.auction-embed__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.auction-embed__update {
    font-size: .85rem;
    font-weight: 700;
    color: var(--citrus-deep);
    font-variant-numeric: tabular-nums;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-up);
    animation: pulse-live 1.6s ease-in-out infinite;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

.auction-board {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(22, 36, 26, .08);
}
.auction-board__tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--ink-2);
    padding-inline: .9rem;
}
.auction-board__tabs::-webkit-scrollbar { display: none; }
.auction-board__body { padding: 1.25rem; }

.auction-empty { padding: 2rem; text-align: center; color: var(--txt-inv-sub); font-size: .9rem; }

/* 품종 탭 (auction.js 가 .product-tab 생성) */
.product-tab {
    padding: 1.05rem 1.3rem;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(246, 242, 233, .45);
    border: none;
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    font-family: var(--font);
    transition: color var(--tr), border-color var(--tr);
}
.product-tab:hover   { color: rgba(246, 242, 233, .8); }
.product-tab--active { color: #fff; border-bottom-color: var(--citrus); font-weight: 700; }

/* 보드 내부 섹션 제목 */
.auction-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .5rem 0 1.1rem;
}
.auction-section__head:not(:first-child) { margin-top: 2.25rem; }
.auction-section__title { font-size: 1.02rem; font-weight: 800; color: var(--txt); }
.auction-section__sub   { font-size: .85rem; color: var(--txt-sub); }

/* KPI | 표 그리드 */
.auction-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-bottom: 1.25rem;
}
.kpi-col { display: flex; flex-direction: column; gap: .9rem; }

.kpi-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--citrus);
    border-radius: var(--r-md);
    padding: 1.1rem 1.25rem;
}
.kpi-card--vol { border-left-color: var(--c-up); }
.kpi-card--amt { border-left-color: #D9A406; }
.kpi-card__label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--txt-sub);
    letter-spacing: .03em;
    margin-bottom: .45rem;
}
.kpi-card__value {
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--txt);
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}
.kpi-card__unit { font-size: .82rem; font-weight: 600; color: var(--txt-sub); margin-left: .2rem; }
.kpi-card__change {
    margin-top: .5rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--txt-sub);
    flex-wrap: wrap;
    font-variant-numeric: tabular-nums;
}
.kpi-card__change .up   { color: var(--c-up);   font-weight: 800; }
.kpi-card__change .down { color: var(--c-down); font-weight: 800; }
.kpi-card__extra {
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid var(--line);
    font-size: .76rem;
    color: var(--txt-sub);
    font-variant-numeric: tabular-nums;
}

/* 규격별 표 */
.market-tabs-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.auction-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: .9rem;
}
.auction-table th,
.auction-table td {
    padding: .8rem 1rem;
    text-align: right;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.auction-table tbody tr:last-child td { border-bottom: none; }
.auction-table th {
    background: var(--paper-2);
    font-weight: 700;
    font-size: .8rem;
    color: var(--txt-sub);
    letter-spacing: .04em;
}
.auction-table th:first-child,
.auction-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--txt);
    position: sticky;
    left: 0;
    background: var(--card);
}
.auction-table th:first-child { background: var(--paper-2); }
.auction-table th.top5-head { text-align: left; }
.auction-table td.std-cell { background: #FFF3E3; color: var(--txt); font-weight: 800; }

.top5-cell { text-align: left; min-width: 320px; }
.top5-list { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.top5-item { display: flex; flex-direction: column; line-height: 1.25; }
.top5-co   { color: var(--c-up); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.top5-amt  { font-size: .84rem; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
.cell-dash { color: var(--txt-sub); }

/* 차트 카드 */
.chart-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.chart-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem .75rem;
}
.chart-head-cap { font-size: .8rem; color: var(--txt-sub); font-weight: 700; }
.year-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.year-chip {
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 700;
    padding: .32rem .75rem;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--txt-sub);
    cursor: pointer;
    transition: all var(--tr);
}
.chart-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--line);
    padding-inline: 1.25rem;
}
.chart-tabs::-webkit-scrollbar { display: none; }
.chart-tab {
    padding: .8rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--txt-sub);
    border: none;
    border-bottom: 2.5px solid transparent;
    background: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: var(--font);
    transition: color var(--tr), border-color var(--tr);
}
.chart-tab:hover { color: var(--txt); }
.chart-tab--active { color: var(--citrus-deep); border-bottom-color: var(--citrus); font-weight: 700; }
.chart-panel-body { padding: 1.4rem 1.1rem; }
.chart-canvas-wrap { position: relative; height: 300px; }
.chart-note { margin-top: .8rem; font-size: .78rem; color: var(--txt-sub); text-align: center; }

/* ─── TEAM ────────────────────────────────────────────────────────── */
.team { padding-block: var(--sp-sec); }

.team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 920px;
}
.team__card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: rgba(246, 242, 233, .04);
    border: 1px solid var(--ink-line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: background var(--tr), border-color var(--tr), transform var(--tr);
}
.team__card:hover {
    background: rgba(246, 242, 233, .07);
    border-color: rgba(255, 138, 22, .3);
    transform: translateY(-3px);
}
.team__photo-wrap {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(255, 138, 22, .55), 0 0 30px rgba(255, 138, 22, .15);
}
.team__photo { width: 100%; height: 100%; object-fit: cover; }
.team__info { display: flex; flex-direction: column; gap: .2rem; }
.team__name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--txt-inv); }
.team__role { font-size: .82rem; font-weight: 700; color: var(--citrus); letter-spacing: .04em; }
.team__bio  { font-size: .875rem; color: var(--txt-inv-sub); line-height: 1.65; margin-top: .35rem; }

/* ─── CTA ─────────────────────────────────────────────────────────── */
.cta {
    position: relative;
    padding-block: var(--sp-sec);
    background:
        radial-gradient(100% 130% at 85% -10%, var(--citrus-soft) 0%, transparent 55%),
        linear-gradient(140deg, var(--citrus) 10%, var(--citrus-deep) 90%);
    color: #fff;
    overflow: hidden;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta__eyebrow {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 1rem;
}
.cta__title {
    font-family: var(--display);
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin-bottom: 1.1rem;
    text-shadow: 0 2px 30px rgba(227, 109, 0, .4);
}
.cta__sub { font-size: 1rem; color: rgba(255, 255, 255, .88); margin-bottom: 2.2rem; }
.cta__actions { display: flex; justify-content: center; }

.cta__orb {
    position: absolute;
    bottom: -42%;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 130vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    pointer-events: none;
}
.cta__orb::before, .cta__orb::after {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
}
.cta__orb::after { inset: 19%; border-color: rgba(255, 255, 255, .12); }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer {
    background: var(--ink);
    color: var(--txt-inv-sub);
    padding-block: 3.5rem 2.5rem;
    border-top: 1px solid var(--ink-line);
}
.footer__inner { display: flex; flex-direction: column; gap: 1.6rem; }
.footer__top { display: flex; align-items: center; justify-content: space-between; }
.footer__logo { height: 26px; width: auto; }
.footer__sns { display: flex; gap: .6rem; }
.footer__sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(246, 242, 233, .06);
    transition: background var(--tr), transform var(--tr);
}
.footer__sns-link:hover { background: rgba(246, 242, 233, .14); transform: translateY(-2px); }
.footer__sns-icon { width: 22px; height: 22px; object-fit: contain; }
.footer__info p { font-size: .85rem; line-height: 1.9; color: rgba(246, 242, 233, .45); }
.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.4rem;
    border-top: 1px solid var(--ink-line);
    padding-top: 1.6rem;
}
.footer__link { font-size: .82rem; color: rgba(246, 242, 233, .42); transition: color var(--tr); }
.footer__link:hover { color: var(--citrus-soft); }
.footer__copy { font-size: .8rem; color: rgba(246, 242, 233, .25); }

/* ─── Reveal 기본값 (JS 가 해제) ──────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js.reduced [data-reveal] { opacity: 1; transform: none; }

/* ═══ Responsive: ≥640px ═════════════════════════════════════════── */
@media (min-width: 640px) {
    .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; max-width: none; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__item { padding: 2.4rem 1.6rem; }
    .stats__item:nth-child(odd) { border-right: 1px solid var(--line); padding-left: .25rem; }
    .menu__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
    .menu__bottom .btn { align-self: auto; }
}

/* ═══ Responsive: ≥768px ═════════════════════════════════════════── */
@media (min-width: 768px) {
    .nav__links { display: flex; }
    .nav__toggle { display: none; }

    .app__row { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
    .app__row--rev .app__phone { order: 2; }
    .app__row--rev .app__text  { order: 1; }
    .app__text { text-align: left; margin-inline: 0; }

    .auction-board__body { padding: 1.75rem 2rem 2rem; }
    .auction-overview { grid-template-columns: 300px 1fr; align-items: start; }
    .chart-canvas-wrap { height: 340px; }

    .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ Responsive: ≥1024px ════════════════════════════════════════── */
@media (min-width: 1024px) {
    .stats__grid { grid-template-columns: repeat(4, 1fr); }
    .stats__item { border-right: 1px solid var(--line); }
    .stats__item:nth-child(odd) { padding-left: 1.6rem; }
    .stats__item:first-child { padding-left: .25rem; }
    .stats__item:last-child { border-right: none; }

    .dual__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

/* ═══ 모션 최소화 ════════════════════════════════════════════════── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: refine-4 (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   R4 — 섹션 리듬·타이포 정리 (refine-4.html 전용)
   landing.css 뒤에 로드되는 순수 오버라이드 레이어.
   목표: 간격 스케일 단일화 · sec-head 일관화 · em 액센트 통일 ·
         한국어 줄바꿈 위생 · 디스플레이 타입 모듈러 스케일 · 섹션 이음매.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── R4 Tokens ───────────────────────────────────────────────────── */
:root {
    /* 1) 단일 간격 스케일 — 모든 섹션이 같은 수직 리듬을 공유 */
    --sp-section: clamp(76px, 11vw, 152px);   /* 섹션 상하 패딩 */
    --sp-sec:     var(--sp-section);          /* 기존 토큰 재지향 (모든 섹션 일괄 적용) */
    --sp-head:    clamp(2.5rem, 5.5vw, 4rem); /* sec-head → 본문 간격 */
    --sp-eyebrow: 1.1rem;                     /* eyebrow → title 간격 */

    /* 5) 디스플레이 타입 — ×1.25 모듈러 스케일 (Hahmlet)
       d1 4.75 → d2 3.8 → d3 3.05 → d4 1.95 (d3×1.25²=4.77, ×1.25=3.81) */
    --fs-d1: clamp(2.5rem,  8vw,   4.75rem);  /* hero h1 */
    --fs-d2: clamp(2.2rem,  6.4vw, 3.8rem);   /* cta 디스플레이 h2 */
    --fs-d3: clamp(1.9rem,  4.6vw, 3.05rem);  /* sec-title h2 */
    --fs-d4: clamp(1.5rem,  3.1vw, 1.95rem);  /* 카드 레벨 h3 (dual/app) */
    --lh-d1: 1.13;  --lh-d2: 1.16;  --lh-d3: 1.2;   --lh-d4: 1.28;
    --ls-d1: -.02em; --ls-d2: -.016em; --ls-d3: -.012em; --ls-d4: -.008em;

    /* 3) 액센트 — 밝은 면/어두운 면 한 쌍으로 고정 */
    --accent-on-light: var(--citrus-deep);
    --accent-on-dark:  var(--citrus);

    /* 6) 이음매 헤어라인 */
    --seam-on-light: rgba(22, 36, 26, .1);
    --seam-on-dark:  rgba(246, 242, 233, .09);
}

/* ─── 2) sec-head 일관화 ──────────────────────────────────────────── */
.sec-head { margin-bottom: var(--sp-head); }

/* 경매시세 헤드 — 다른 섹션과 동일한 head→본문 리듬으로 정렬 */
.auction-embed__head { margin-bottom: var(--sp-head); }

/* eyebrow: 자간·아래 간격을 전 섹션 동일하게 (cta는 .22em/1rem 였음) */
.sec-eyebrow,
.cta__eyebrow {
    letter-spacing: .18em;
    margin-bottom: var(--sp-eyebrow);
}

/* ─── 3) <em> 액센트 통일 ─────────────────────────────────────────── */
.sec-title em,
.hero__title em,
.dual__title em {
    font-style: normal;          /* 전 레벨 동일 — 기울임 없음 */
    font-weight: inherit;
}
.sec-title em               { color: var(--accent-on-light); }
.sec-head--inv .sec-title em { color: var(--accent-on-dark); }
/* dual 카드의 farmer(감귤)/trader(잎) 컬러 쌍은 의도된 브랜딩 — 유지 */

/* ─── 4) 한국어 줄바꿈 위생 ───────────────────────────────────────── */
h1, h2, h3, h4,
.hero__sub, .app__desc, .cta__sub,
.dual__list li, .app__points li, .stats__label, .team__bio {
    word-break: keep-all;
    overflow-wrap: break-word;
}
.sec-title,
.cta__title { text-wrap: balance; }   /* <br> 강제 줄 안에서만 균형 — 안전 */

/* 리드 문단 — 편안한 행 길이(measure) */
.hero__sub { max-width: 34em; }                       /* 기존값 명시 고정 */
.cta__sub  { max-width: 38ch; margin-inline: auto; }  /* 중앙 정렬 유지 */

/* ─── 5) 디스플레이 타입 스케일 적용 ──────────────────────────────── */
.hero__title {
    font-size: var(--fs-d1);
    line-height: var(--lh-d1);
    letter-spacing: var(--ls-d1);
}
.cta__title {
    font-size: var(--fs-d2);      /* 4.4rem → 3.8rem: 히어로와 위계 분리 */
    line-height: var(--lh-d2);
    letter-spacing: var(--ls-d2);
}
.sec-title {
    font-size: var(--fs-d3);
    line-height: var(--lh-d3);    /* 1.22 → 1.2: 한글 세리프 디스플레이 조임 */
    letter-spacing: var(--ls-d3);
}
.dual__title,
.app__heading {
    font-size: var(--fs-d4);      /* 2.05/1.9 → 1.95 단일 스텝 */
    line-height: var(--lh-d4);    /* 1.32/1.3 → 1.28 */
    letter-spacing: var(--ls-d4);
}

/* 푸터 보조 텍스트 — 음소거 단계 정렬 (.42 → .45) */
.footer__link { color: rgba(246, 242, 233, .45); }

/* ─── 6) 섹션 이음매 — 1px 헤어라인 + 상단 소프트 셰이드 (단일 장치) ─ */
/* 모든 섹션이 "헤어라인 아래에서 살짝 그늘진 채 시작"하는 동일한 깊이 규칙.
   box-shadow inset 만 사용 — 배경·레이아웃·포지셔닝 불변. */
.section--paper,
.section--paper2 {
    box-shadow:
        inset 0 1px 0 var(--seam-on-light),
        inset 0 96px 72px -72px rgba(22, 36, 26, .05);
}
.section--ink,
.section--ink2 {
    box-shadow:
        inset 0 1px 0 var(--seam-on-dark),
        inset 0 96px 72px -72px rgba(0, 0, 0, .4);
}
.cta {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 96px 72px -72px rgba(180, 84, 0, .3);
}
/* 푸터는 기존 border-top 헤어라인이 이미 동일 장치 — 그대로 둠 */


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: refine-1 (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   [R1] 히어로 가독성·구성 — landing.css 뒤에 로드되는 오버라이드 레이어
   (refine-1.html 전용. 원본 landing.css 는 수정하지 않음)

   1. 모바일 카피 존 스크림 — 텍스트 뒤 도형/배경 분리(figure/ground)
   2. 모바일 CTA — 고스트 버튼 2개를 한 줄로 (첫 화면 점유 ↓)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. 카피 존 스크림 ───────────────────────────────────────────── */
/* DOM 상 .hero__vignette 바로 다음 — 비네트 위, 콘텐츠(z:2) 아래 */
.hero__scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

@media (max-width: 767px) {
    .hero__scrim {
        /* 헤드라인·서브 존(상단 ~55%)을 향해 어두워지는 은은한 스크림.
           입자 섬은 하단으로 재배치(refine-1-hero.js)되므로 위쪽만 정리. */
        background:
            radial-gradient(140% 60% at 50% 26%, rgba(8, 18, 9, .50), transparent 72%),
            linear-gradient(to bottom, rgba(8, 18, 9, .35) 0%, rgba(8, 18, 9, .22) 48%, rgba(8, 18, 9, 0) 70%);
    }
}

/* ─── 2. 모바일 CTA — 고스트 버튼 한 줄 ──────────────────────────── */
/* 640px 미만: 앱 다운로드(주 CTA)는 풀폭 유지, 고스트 2개는 나란히 */
.hero__actions-row {
    display: flex;
    gap: .7rem;
}
@media (max-width: 639.98px) {
    .hero__actions-row .btn {
        flex: 1 1 0;
        min-height: 44px;
        /* 360px 에서도 한 줄에 들어가도록 좌우 패딩·글자 크기만 소폭 조정 */
        padding-inline: .5rem;
        font-size: .95rem;
    }
}

/* 640px 이상: 래퍼를 투명하게(display: contents) — 원본과 동일한
   .hero__actions 가로 flex 흐름으로 복귀 */
@media (min-width: 640px) {
    .hero__actions-row { display: contents; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: refine-2 (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   R2 — 통계 섹션 신뢰도 업그레이드 (landing.css 뒤에 로드되는 오버라이드 레이어)
   - 카운터 스팬: tabular-nums 로 카운트업 중 자릿수 지터 방지
   - .stats__share: 전체(48,035농가) 대비 비중을 보여주는 2px 헤어라인 바
   - .stats__facts: 공판장·판매법인 팩트 행 + 합계 라인 (4그리드 타이포 체계 연장)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 카운터 숫자 안정화 ──────────────────────────────────────────── */
.stats__value [data-count] { font-variant-numeric: tabular-nums; }

/* ─── 원본 잠재 버그 수정 — 4열 그리드 블로아웃 ──────────────────────
   원본은 카운트업이 끝나면(20,288 등) 숫자 min-content 가 1fr 트랙을
   밀어내 컬럼이 불균등해지고 페이지가 25px 가로 오버플로된다(@1440).
   R2 는 최종값을 출고하므로 즉시 드러남 → 균등 트랙 + 칸에 맞는 크기로 교정. */
@media (min-width: 1024px) {
    .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stats__item { padding-right: 1.2rem; }
    .stats__value { font-size: clamp(2.4rem, 4.4vw, 3.2rem); }
}

/* ─── 비중 바 — 전체 48,035 농가 대비 점유율 ─────────────────────── */
.stats__share {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: .9rem;
    background: var(--line);
    border-radius: 1px;
    overflow: hidden;
}
.stats__share-fill {
    display: block;
    height: 100%;
    width: var(--share, 0%);
    background: var(--citrus-deep);
    border-radius: inherit;
    transform-origin: left center;
}
/* JS + 모션 허용 시에만 0 → 비중까지 채움 (카운터와 같은 트리거: .is-counted) */
.js:not(.reduced) .stats__share-fill {
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(.16, 1, .3, 1) .1s;
}
.js:not(.reduced) .stats__item.is-counted .stats__share-fill { transform: scaleX(1); }

/* ─── 팩트 행 — 전국 공판장 · 판매법인 + 합계 라인 ───────────────── */
.stats__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 2.4rem;
    row-gap: .55rem;
    padding: 1.5rem .25rem 1.6rem;
    border-bottom: 1px solid var(--line);
}
.stats__fact {
    display: flex;
    align-items: baseline;
    gap: .55rem;
}
.stats__fact-num {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
}
/* 메인 .stats__value::after('곳') 체계를 따르는 단위 표기 */
.stats__fact-num::after {
    content: '개';
    font-size: .5em;
    font-weight: 700;
    color: var(--citrus-deep);
    margin-left: .2em;
    vertical-align: .2em;
}
.stats__fact-label {
    font-size: .9rem;
    font-weight: 600;
    color: var(--txt-sub);
}
.stats__sum {
    font-size: .85rem;
    line-height: 1.6;
    color: var(--txt-sub);
}
.stats__sum strong { font-weight: 700; color: var(--txt); }

@media (min-width: 768px) {
    .stats__sum { margin-left: auto; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: refine-3 (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   R3 — 경매시세 보드 크래프트 패스 (refine-3.html 전용 오버라이드)
   landing.css 뒤에 로드. #auction 섹션의 스타일만 다듬는다.
   auction.js DOM 계약(아이디/클래스/구조)은 건드리지 않음.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1) 스켈레톤 로딩 ────────────────────────────────────────────── */
/* 공통 시머 블록 — auction.js 가 컨테이너 innerHTML 을 덮어쓰면 자동 소멸 */
.r3-skel {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(22, 36, 26, .08);
}
.r3-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    animation: r3-shimmer 1.5s ease-in-out infinite;
}
@keyframes r3-shimmer {
    to { transform: translateX(100%); }
}

/* 품종 탭 자리 — 어두운 탭바(--ink-2) 위라 밝은 톤 시머 */
.r3-skel--tab {
    width: 86px;
    height: 16px;
    margin: 1.2rem .65rem;
    border-radius: 999px;
    flex-shrink: 0;
    background: rgba(246, 242, 233, .1);
}
.r3-skel--tab::after {
    background: linear-gradient(90deg, transparent, rgba(246, 242, 233, .14), transparent);
}

/* KPI 카드 자리 — 실제 .kpi-card 와 같은 외형, 채도만 낮춤 */
.r3-skel-card {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid rgba(22, 36, 26, .14);
    border-radius: var(--r-md);
    padding: 1.1rem 1.25rem;
    min-height: 166px; /* 실제 kpi-card 평균 높이에 맞춰 로드 시 레이아웃 이동 최소화 */
    justify-content: center;
}
.r3-skel--label { width: 52%; height: 12px; }
.r3-skel--value { width: 70%; height: 28px; border-radius: 8px; }
.r3-skel--line  { width: 84%; height: 12px; opacity: .7; }

/* 표 스켈레톤 행 — 실제 행(Top5 멀티라인) 높이 근사 */
.r3-skel-row td { padding-block: 1.8rem; }
.r3-skel--cell { width: 64px; height: 13px; vertical-align: middle; }
.r3-skel--std  { width: 44px; }
.r3-skel--wide,
.r3-skel--wide2 {
    display: block;
    width: min(280px, 56vw);
    height: 13px;
}
.r3-skel--wide2 { width: min(200px, 42vw); margin-top: .5rem; opacity: .7; }

/* 모션 최소화: 시머 sweep 제거 → 정적 음소거 블록만 */
@media (prefers-reduced-motion: reduce) {
    .r3-skel::after { display: none; }
}

/* ─── 데이터 도착 시 주입 콘텐츠 소프트 인 (재렌더에도 동일 적용) ──── */
#kpiCol .kpi-card,
#stdTableBody tr,
#varietyTabs .product-tab {
    animation: r3-fade-in .28s ease both;
}
@keyframes r3-fade-in {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: none; }
}

/* ─── 2) 표 크래프트 ─────────────────────────────────────────────── */
/* 숫자열 우정렬·tabular-nums 는 landing.css 가 이미 보장 — 행 호버/규격 강조/모바일 힌트만 추가 */
.auction-table tbody tr { transition: background-color .16s ease; }
.auction-table tbody tr:hover td { background: #FBF8F1; }
.auction-table tbody tr:hover td:first-child { background: #F6F0E2; }
.auction-table tbody tr:hover td.std-cell { background: #FFEDD3; }

/* 규격 셀 한 단계 더 또렷하게 — 배경 틴트는 유지, 타이포만 강화 */
.auction-table td.std-cell {
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

/* 헤더 행 살짝 정돈 */
.auction-table th {
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: none;
}

/* 모바일 가로 스크롤: 규격 열 sticky 엣지 섀도 + 우측 페이드 힌트 */
.market-tabs-wrap { position: relative; }
@media (max-width: 767px) {
    .auction-table th:first-child,
    .auction-table td:first-child { z-index: 2; }
    .auction-table th:first-child::after,
    .auction-table td:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: -14px;
        width: 14px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(22, 36, 26, .1), transparent);
    }
    .market-tabs-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 30px;
        pointer-events: none;
        z-index: 3;
        border-top-right-radius: var(--r-md);
        border-bottom-right-radius: var(--r-md);
        background: linear-gradient(270deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
    }
    /* 스크롤 끝에 닿으면 페이드 힌트 제거 (지원 브라우저 한정 점진 향상) */
    @supports (animation-timeline: scroll()) {
        .market-tabs-wrap { timeline-scope: --r3-table; }
        .table-scroll { scroll-timeline: --r3-table inline; }
        .market-tabs-wrap::after {
            animation: r3-fade-hint linear both;
            animation-timeline: --r3-table;
        }
    }
}
@keyframes r3-fade-hint {
    0%, 85% { opacity: 1; }
    100%    { opacity: 0; }
}

/* ─── 3) 라이브 필 (업데이트 타임스탬프 + 아이브로우 도트) ─────────── */
.auction-embed__update {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .34rem .85rem .34rem .7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(22, 36, 26, .06);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--txt-sub);
    transition: color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.auction-embed__update::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(22, 36, 26, .22);
    transition: background-color .35s ease, box-shadow .35s ease;
}
/* 데이터 도착(refine-3.js 가 is-live 부여) — 차분한 라이브 상태로 전환 */
.auction-embed__update.is-live {
    color: var(--citrus-deep);
    border-color: rgba(227, 109, 0, .25);
    box-shadow: 0 2px 10px rgba(227, 109, 0, .1);
}
.auction-embed__update.is-live::before {
    background: var(--c-up);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .14);
    animation: pulse-live 1.6s ease-in-out infinite;
}

/* 아이브로우의 기존 .live-dot — 링 펄스로 한 단계 정돈 */
.auction-embed .sec-eyebrow { display: inline-flex; align-items: center; gap: .45rem; }
.auction-embed .live-dot {
    animation: r3-ring 1.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes r3-ring {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, .35); opacity: 1; }
    70%  { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); opacity: .75; }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); opacity: 1; }
}

/* ─── 4) 차트 패널 크로스페이드 + 탭/칩 상태 정돈 ─────────────────── */
/* hidden 해제 시 display 가 복원되며 애니메이션 재시작 — auction.js 무수정 */
.chart-panel:not([hidden]) {
    animation: r3-panel-in .18s ease both;
}
@keyframes r3-panel-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.chart-tab {
    border-radius: 8px 8px 0 0;
    transition: color var(--tr), border-color var(--tr), background-color var(--tr);
}
.chart-tab:hover { background: rgba(22, 36, 26, .045); }
.chart-tab--active:hover { background: rgba(255, 138, 22, .08); }

.product-tab {
    transition: color var(--tr), border-color var(--tr), background-color var(--tr);
}
.product-tab:hover { background: rgba(246, 242, 233, .06); }

/* 연도 칩 — 색은 auction.js 인라인 스타일 소관, 호버 엘리베이션만 추가 */
.year-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(22, 36, 26, .16);
}
.year-chip:active { transform: translateY(0); box-shadow: none; }

/* ─── 5) KPI 위계 ────────────────────────────────────────────────── */
.kpi-card {
    box-shadow: 0 1px 0 rgba(22, 36, 26, .03);
    transition: box-shadow .2s ease;
}
.kpi-card:hover { box-shadow: 0 4px 14px rgba(22, 36, 26, .07); }

.kpi-card__label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: rgba(92, 106, 94, .85);
    margin-bottom: .55rem;
}
.kpi-card__value {
    font-size: clamp(1.65rem, 3.2vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -.02em;
}
.kpi-card__unit { font-size: .78rem; }

/* 등락 라인 — 컴팩트 칩 처리 */
.kpi-card__change { margin-top: .6rem; gap: .35rem; font-size: .74rem; }
.kpi-card__change .up,
.kpi-card__change .down {
    display: inline-flex;
    align-items: center;
    padding: .14rem .5rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
}
.kpi-card__change .up   { background: rgba(239, 68, 68, .09);  color: #D92D2D; }
.kpi-card__change .down { background: rgba(31, 111, 235, .09); color: #1A5FCB; }
.kpi-card__extra { font-size: .72rem; opacity: .9; }

/* ─── 모션 최소화 보강 (landing.css 전역 규칙과 별개로 명시) ───────── */
@media (prefers-reduced-motion: reduce) {
    .chart-panel:not([hidden]),
    #kpiCol .kpi-card,
    #stdTableBody tr,
    #varietyTabs .product-tab { animation: none; }
    .auction-embed .live-dot { animation: none; box-shadow: none; }
    .year-chip:hover { transform: none; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: refine-5 (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   R5 — 성능·마감 패스 (refine-5.html 전용 오버라이드 레이어)
   landing.css 뒤에 로드. 정지 상태(at rest) 시각은 원본과 동일 유지.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 포커스 링 — 키보드 탐색 가시성 (밝은/어두운 섹션 모두) ───────── */
:focus-visible {
    outline: 3px solid var(--citrus);
    outline-offset: 3px;
}
/* 어두운 섹션에서는 한 톤 밝은 감귤색이 더 잘 읽힘 */
.nav :focus-visible,
.menu :focus-visible,
.hero :focus-visible,
.section--ink :focus-visible,
.section--ink2 :focus-visible,
.cta :focus-visible,
.footer :focus-visible {
    outline-color: var(--citrus-soft);
}

/* ─── 호버 마감 — 카드 (정지 상태 동일, 호버 시 보더 틴트만 추가) ─── */
.dual__card--farmer:hover { border-color: rgba(255, 138, 22, .38); }
.dual__card--trader:hover { border-color: rgba(47, 125, 78, .38); }

.team__card:hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

/* ─── 탭 타깃 확장 — 시각 변화 없는 히트 영역 (::after inset) ──────── */
/* 내비 로고: 26px 이미지 → 세로 약 44px 히트 영역 */
.nav__logo { position: relative; }
.nav__logo::after { content: ''; position: absolute; inset: -9px -8px; }

/* 데스크톱 내비 링크: 세로 약 45px (플렉스 아이템 — position:relative 는 원본에 이미 있음) */
.nav__link::before { content: ''; position: absolute; inset: -4px -8px; }

/* 푸터 정책 링크: 행 간격(4.5px)을 정확히 양분해 겹침 없이 최대 확장
   (44px 까지는 행 피치상 겹침이 생기므로, 겹침 없는 물리적 최대치 ≈ 29px) */
.footer__link { position: relative; display: inline-block; }
.footer__link::after { content: ''; position: absolute; inset: -2px -10px; }

/* SNS 아이콘: 42px 원 → 46px 히트 영역 */
.footer__sns-link { position: relative; }
.footer__sns-link::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; }

/* ─── 앵커 점프 시 내비가 섹션 머리를 가리지 않도록 ────────────────── */
#auction { scroll-margin-top: 84px; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: v-type-1 (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   T1 — 타이포 A "Pretendard 전면" (v-type-1.html 전용)
   final.html 스택(landing + refine-4..5) 위에 마지막으로 로드되는
   순수 타이포 오버라이드 레이어. 레이아웃·간격 토큰 불변.

   의도: 디스플레이를 Hahmlet(세리프) → Pretendard(산스)로 전면 교체.
   - 무게: 700/800 (900 금지 — "무겁고 부담스럽다"는 지적이 출발점)
   - 산스 광학 보정: 사이즈 −5~8%, 자간 −.018~−.034em, 행간 +.02~.04
   - <em> 액센트: 컬러 온리 (글로우 제거 — Toss급 절제)
   - 숫자: Pretendard + tabular-nums
   ═══════════════════════════════════════════════════════════════════ */

:root {
    /* 디스플레이 페이스 전면 교체 — var(--display) 사용처 일괄 적용
       (hero__title · sec-title · cta__title · dual__title · app__heading ·
        menu__link · team__name · stats__fact-num) */
    --display: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    /* refine-4 모듈러 스케일 재정의 — 산스 광학에 맞춰 한 눈금 축소.
       세리프는 가는 획이 부피를 비워주지만 산스 볼드는 면이 차므로
       같은 px 라도 더 크게 읽힘 → 5~8% 줄여 동일한 체감 크기 유지 */
    --fs-d1: clamp(2.35rem, 7.4vw, 4.4rem);   /* hero h1   (4.75 → 4.4) */
    --fs-d2: clamp(2.05rem, 6vw,   3.5rem);   /* cta h2    (3.8  → 3.5) */
    --fs-d3: clamp(1.8rem,  4.3vw, 2.8rem);   /* sec-title (3.05 → 2.8) */
    --fs-d4: clamp(1.4rem,  2.9vw, 1.8rem);   /* dual/app  (1.95 → 1.8) */

    /* 산스는 세리프보다 행간을 살짝 열어야 같은 호흡 (+.02~.04) */
    --lh-d1: 1.16;  --lh-d2: 1.18;  --lh-d3: 1.24;  --lh-d4: 1.32;

    /* 큰 산스 디스플레이는 음수 자간이 필수 — 크기에 비례해 조임 */
    --ls-d1: -.034em; --ls-d2: -.03em; --ls-d3: -.024em; --ls-d4: -.018em;
}

/* ─── 무게 체계: 위계는 크기+무게 대비로, 부피는 늘리지 않고 ───────── */
.hero__title { font-weight: 800; }                    /* 600(세리프) → 800: 산스 히어로의 닻 */
.sec-title   { font-weight: 700; }
.cta__title  { font-weight: 700; }
.dual__title,
.app__heading { font-weight: 700; }

/* ─── <em> 액센트 — 컬러 온리. 세리프의 장식적 글로우 제거 ─────────── */
.hero__title em { text-shadow: none; }
.cta__title     { text-shadow: none; }                /* 주황 그라데이션 위 흰 글자 — 그림자 없이도 충분 */

/* ─── 통계 숫자 — Pretendard 산스 숫자, 900 → 800 ─────────────────── */
.stats__value {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -.026em;
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.5rem, 6.4vw, 4rem);            /* 4.3 → 4.0 */
}
/* refine-2 가 @1024 에서 4열 블로아웃 방지용으로 줄여둔 크기 — 같은 의도로 재서술
   (이 시트가 마지막에 로드되므로 위 무조건부 규칙이 R2 미디어 규칙을 이기는 것을 방지) */
@media (min-width: 1024px) {
    .stats__value { font-size: clamp(2.3rem, 4.2vw, 3.05rem); }
}

/* 보조 숫자(공판장·판매법인) — var(--display) 로 이미 산스화, 무게만 정돈 */
.stats__fact-num { font-weight: 700; letter-spacing: -.02em; }

/* ─── 풀스크린 메뉴·팀 이름 — 산스 무게 보정 ───────────────────────── */
.menu__link { font-weight: 700; letter-spacing: -.022em; }
.team__name { font-weight: 700; letter-spacing: -.012em; }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ 오버라이드 레이어: board-a (통합 — 캐스케이드 순서 보존)
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════
   BA — 시세보드 A "스탯 스트립" (board-a.html 전용 · 마지막 로드)

   디렉션: 데이터 밀도와 정밀함 (Toss증권 결). KPI 3장을 보드 전폭의
   가로 메트릭 스트립으로 끌어올리고(값 지배 위계: 값 > 등락 > 라벨),
   규격 표는 파이낸셜 — 헤어라인 행, 우정렬 타뷸러 숫자, Top5 는
   컴팩트한 랭킹 행. 차트는 v-chart-2 "파이낸셜 프레시전" 진화형
   (/js/board-a.js — 최종값 배지 · 크로스헤어 · 컴팩트 축 + 베이스라인).

   auction.js DOM 계약 불변 — CSS 그리드 재배열로만 레이아웃을 바꾼다.
   refine-3.css 위에 로드되어 스켈레톤·hover 도 스트립 문법으로 재서술.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 0) 보드 외피 — 모서리를 조이고 그림자 절제 ───────────────────── */
.auction-embed .auction-board {
    border-radius: 18px;
    border-color: rgba(22, 36, 26, .12);
    box-shadow: 0 12px 36px rgba(22, 36, 26, .07);
}
.auction-embed .auction-board__body { padding: 1.25rem 1.1rem 1.5rem; }
@media (min-width: 1024px) {
    .auction-embed .auction-board__body { padding: 1.6rem 1.75rem 1.9rem; }
}

/* 섹션 헤드 — 타이트하게 */
.auction-embed .auction-section__head { margin: .25rem 0 .9rem; }
.auction-embed .auction-section__head:not(:first-child) { margin-top: 2rem; }
.auction-embed .auction-section__title { font-size: .98rem; letter-spacing: -.01em; }
.auction-embed .auction-section__sub { font-size: .8rem; font-variant-numeric: tabular-nums; }

/* ─── 1) 레이아웃 재배열 — KPI 스트립이 표 위 전폭 ─────────────────── */
/* landing.css @1024 의 300px 1fr 사이드 배치를 단일 칼럼으로 환원 */
/* KPI 스트립은 모든 폭에서 표 위 전폭 단일 칼럼 — 768~1023 의 옛 300px 사이드
   배치(KPI 압착·표 협소)를 제거. (.auction-embed 특이도로 전폭 우선) */
.auction-embed .auction-overview { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }

/* KPI 컬럼 → 한 장의 스트립 면. 셀 사이는 헤어라인 디바이더 */
.auction-embed .kpi-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(22, 36, 26, .12);
    border-radius: 12px;
    overflow: hidden;
}
.auction-embed .kpi-col > * + * { border-top: 1px solid rgba(22, 36, 26, .08); }
@media (min-width: 768px) {
    .auction-embed .kpi-col { grid-template-columns: repeat(3, 1fr); }
    .auction-embed .kpi-col > * + * { border-top: 0; border-left: 1px solid rgba(22, 36, 26, .08); }
}

/* ─── 2) KPI 셀 — 위계: 값 > 등락 > 라벨 ──────────────────────────── */
.auction-embed .kpi-card {
    background: transparent;
    border: 0;                /* landing 의 카드 보더·4px 액센트 제거 */
    border-radius: 0;
    padding: 1.1rem 1.35rem 1rem;
    box-shadow: none;
}
.auction-embed .kpi-card:hover { box-shadow: none; }

/* 라벨 — 메트릭 식별 도트만 남긴 작은 오버라인 */
.auction-embed .kpi-card__label {
    display: flex;
    align-items: center;
    gap: .42rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .055em;
    color: rgba(92, 106, 94, .82);
    margin-bottom: .5rem;
}
.auction-embed .kpi-card__label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 2px;
    flex-shrink: 0;
    background: var(--citrus);
}
.auction-embed .kpi-card--vol .kpi-card__label::before { background: var(--leaf); }
.auction-embed .kpi-card--amt .kpi-card__label::before { background: #D9A406; }

/* 값 — 셀의 닻 */
.auction-embed .kpi-card__value {
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.028em;
    line-height: 1.04;
    font-variant-numeric: tabular-nums;
}
.auction-embed .kpi-card__unit {
    font-size: .76rem;
    font-weight: 600;
    color: rgba(92, 106, 94, .85);
    margin-left: .22rem;
    letter-spacing: 0;
}

/* 등락 — 절대값은 컬러 텍스트, 퍼센트만 컴팩트 칩 (한국 시장 관습: 상승 빨강 / 하락 파랑) */
.auction-embed .kpi-card__change {
    margin-top: .55rem;
    gap: .45rem;
    font-size: .76rem;
}
.auction-embed .kpi-card__change .up,
.auction-embed .kpi-card__change .down {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: -.005em;
    font-variant-numeric: tabular-nums;
}
.auction-embed .kpi-card__change .up   { color: #D92D2D; }
.auction-embed .kpi-card__change .down { color: #1A5FCB; }
.auction-embed .kpi-card__change > .up:nth-child(2),
.auction-embed .kpi-card__change > .down:nth-child(2) {
    padding: .12rem .42rem;
    border-radius: 6px;
    font-size: .72rem;
}
.auction-embed .kpi-card__change > .up:nth-child(2)   { background: rgba(239, 68, 68, .09); }
.auction-embed .kpi-card__change > .down:nth-child(2) { background: rgba(31, 111, 235, .09); }
.auction-embed .kpi-card__change > span:nth-child(3) {
    font-size: .7rem;
    font-weight: 500;
    color: rgba(92, 106, 94, .75);
}

/* 보조행 — 헤어라인 없이 조용한 캡션 */
.auction-embed .kpi-card__extra {
    margin-top: .45rem;
    padding-top: 0;
    border-top: 0;
    font-size: .68rem;
    color: rgba(92, 106, 94, .75);
    opacity: 1;
}

/* ─── 3) 규격 표 — 파이낸셜 ────────────────────────────────────────── */
.auction-embed .market-tabs-wrap {
    border-radius: 12px;
    border-color: rgba(22, 36, 26, .12);
}
.auction-embed .auction-table { font-size: .86rem; min-width: 560px; }
.auction-embed .auction-table th,
.auction-embed .auction-table td { padding: .66rem 1.15rem; }
/* 행이 Top 리스트로 다소 높아지므로 단일값 셀은 상단 정렬 — Top #1 행과 기준선 정돈 */
.auction-embed .auction-table td { vertical-align: top; }

/* 헤더 행 — 배경면 대신 잉크 헤어라인으로 단단하게 */
.auction-embed .auction-table th {
    background: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(92, 106, 94, .85);
    border-bottom: 1px solid rgba(22, 36, 26, .32);
    padding-block: .55rem;
}
.auction-embed .auction-table th:first-child { background: #fff; }

/* 행 — 헤어라인 + 무채 호버 (refine-3 의 웜 호버 재서술) */
.auction-embed .auction-table td { border-bottom-color: rgba(22, 36, 26, .07); }
.auction-embed .auction-table tbody tr:hover td,
.auction-embed .auction-table tbody tr:hover td:first-child,
.auction-embed .auction-table tbody tr:hover td.std-cell { background: rgba(22, 36, 26, .028); }
@media (max-width: 767px) {
    /* sticky 규격 열은 모바일에서 불투명해야 한다 — 호버 워시 대신 흰 면 유지 */
    .auction-embed .auction-table tbody tr:hover td:first-child,
    .auction-embed .auction-table tbody tr:hover td.std-cell { background: #fff; }
}

/* 규격 열 — 틴트 제거, 무게로만 */
.auction-embed .auction-table td.std-cell {
    background: #fff;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

/* Top — 세로 정렬 랭킹 리스트: 법인 좌측·muted, 금액 우측 정렬·tabular,
   1위(최고가) 강조. 밀도 완화를 위해 Top 3 까지만 노출. */
.auction-embed .top5-cell { min-width: 240px; vertical-align: top; }
.auction-embed .top5-list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .34rem;
    max-width: 300px;
    align-items: stretch;
}
.auction-embed .top5-item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}
/* 데스크톱 인라인 구분선 제거 — 세로 스택으로 전환 */
.auction-embed .top5-item + .top5-item { margin-left: 0; padding-left: 0; }
.auction-embed .top5-item + .top5-item::before { display: none; }
/* Top 3 까지만 (4·5위 숨김) */
.auction-embed .top5-item:nth-child(n+4) { display: none; }
.auction-embed .top5-co {
    color: rgba(92, 106, 94, .92);
    font-size: .76rem;
    font-weight: 600;
    white-space: nowrap;
}
.auction-embed .top5-amt {
    font-size: .82rem;
    font-weight: 700;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* 1위 = 최고가 — 색이 아니라 무게로만 강조 (라우드 컬러 회피) */
.auction-embed .top5-item:first-child .top5-co { color: var(--txt); font-weight: 700; }
.auction-embed .top5-item:first-child .top5-amt { font-weight: 800; }

/* ─── 태블릿·모바일(≤1023px): 가로 스크롤 표 → 규격별 카드 ────────────
   sticky 충돌·오프스크린 Top 열 문제를 구조적으로 제거. 실표는 데스크톱
   (≥1024px, 스크롤 0으로 전부 보임)에서만. 헤더행은 숨기고 셀에 라벨 주입.
   카드는 폭이 되면 나란히(auto-fit) 배치 — 좁으면 1열로 쌓인다.
   (767px sticky 규칙보다 뒤에 와서 재정의) */
@media (max-width: 1023px) {
    .auction-embed .market-tabs-wrap { border: 0; border-radius: 0; overflow: visible; }
    .auction-embed .market-tabs-wrap::after { display: none; }   /* 우측 페이드 힌트 제거 */
    .auction-embed .table-scroll { overflow-x: visible; }
    .auction-embed .auction-table { min-width: 0; display: block; font-size: .9rem; }
    .auction-embed .auction-table thead { display: none; }       /* 헤더행 숨김 — 셀 라벨 주입 */
    .auction-embed .auction-table tbody {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
        gap: .7rem;
        align-items: start;
    }
    .auction-embed .auction-table tr {
        display: block;
        border: 1px solid rgba(22, 36, 26, .12);
        border-radius: 12px;
        padding: .9rem 1rem 1rem;
        margin: 0;
        background: #fff;
    }
    .auction-embed .top5-co { white-space: normal; }             /* 좁은 카드에서 법인명 줄바꿈 허용 */
    .auction-embed .auction-table td {
        display: block;
        position: static;          /* sticky 해제 */
        border: 0;
        padding: 0;
        text-align: left;
        white-space: normal;
        vertical-align: baseline;
    }
    .auction-embed .auction-table td::after { display: none; }    /* sticky 엣지 섀도 제거 */
    .auction-embed .auction-table tbody tr:hover td { background: transparent; }

    /* 규격 = 카드 타이틀 */
    .auction-embed .auction-table td.std-cell {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: .65rem;
        padding-bottom: .6rem;
        border-bottom: 1px solid rgba(22, 36, 26, .08);
    }
    /* 거래량 / 평균가 = 라벨 + 값 한 줄 (헤더 텍스트를 ::before 로 주입) */
    .auction-embed .auction-table td:nth-child(2),
    .auction-embed .auction-table td:nth-child(3) {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
        padding: .22rem 0;
        font-weight: 700;
    }
    .auction-embed .auction-table td:nth-child(2)::before { content: '거래량 (박스)'; }
    .auction-embed .auction-table td:nth-child(3)::before { content: '평균가 (원/박스)'; }
    .auction-embed .auction-table td:nth-child(2)::before,
    .auction-embed .auction-table td:nth-child(3)::before {
        font-size: .76rem;
        font-weight: 600;
        color: rgba(92, 106, 94, .85);
        letter-spacing: 0;
    }
    /* 최고가 법인 = 라벨 + 세로 리스트 */
    .auction-embed .top5-cell {
        min-width: 0;
        margin-top: .7rem;
        padding-top: .7rem;
        border-top: 1px solid rgba(22, 36, 26, .08);
    }
    .auction-embed .top5-cell::before {
        content: '최고가 법인 Top 3';
        display: block;
        font-size: .72rem;
        font-weight: 600;
        color: rgba(92, 106, 94, .85);
        margin-bottom: .5rem;
    }
    .auction-embed .top5-list { max-width: none; gap: .42rem; }
    /* 무거래 규격: 셀 라벨 옆 대시 정돈 */
    .auction-embed .auction-table td .cell-dash { font-weight: 700; }
}

/* ─── 4) 차트 프레임 — 파이낸셜 (v-chart-2 외피 진화형) ───────────── */
.auction-embed .chart-card {
    border: 1px solid rgba(22, 36, 26, .11);
    border-top: 2px solid #16241A;
    border-radius: 12px;
    box-shadow: none;
    background: #fff;
}
.auction-embed .chart-card__head { padding: 1.1rem 1.35rem .6rem; }
.auction-embed .chart-head-cap {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(22, 36, 26, .55);
}
.auction-embed .chart-tabs {
    border-bottom: 1px solid rgba(22, 36, 26, .09);
    padding-inline: 1.35rem;
}
.auction-embed .chart-tab {
    padding: .6rem .9rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: -.005em;
}
.auction-embed .chart-panel-body { padding: 1.4rem 1.25rem 1.15rem; }
.auction-embed .chart-canvas-wrap { height: 330px; }
.auction-embed .chart-note {
    margin-top: 1rem;
    padding-left: .7rem;
    border-left: 2px solid rgba(22, 36, 26, .14);
    font-size: .7rem;
    line-height: 1.5;
    color: rgba(92, 106, 94, .75);
    text-align: left;
}

/* 연도 칩 — 색은 auction.js 인라인 소관, 형태만 시세표 톤(스퀘어) */
.auction-embed .year-chip {
    font-size: .72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: .24rem .62rem;
    border-radius: 6px;
}
.auction-embed .year-chip:hover { transform: none; box-shadow: 0 2px 8px rgba(22, 36, 26, .14); }

/* 숫자 전반 — 타뷸러 보장 */
.auction-embed .kpi-card__value,
.auction-embed .kpi-card__change,
.auction-embed .auction-table td,
.auction-embed .top5-amt { font-variant-numeric: tabular-nums; }

/* ─── 5) 스켈레톤 — 스트립 셀 문법으로 재서술 ─────────────────────── */
.auction-embed .r3-skel-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 132px;
    padding: 1.1rem 1.35rem 1rem;
    justify-content: flex-start;
    gap: .5rem;
}
.auction-embed .r3-skel--label { width: 44%; height: 10px; }
.auction-embed .r3-skel--value { width: 62%; height: 30px; border-radius: 7px; }
.auction-embed .r3-skel--line  { width: 70%; height: 11px; }
.auction-embed .r3-skel-row td { padding-block: 1rem; }

/* ─── 6) 모바일 (390/360) ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .auction-embed .auction-board { border-radius: 14px; }
    .auction-embed .kpi-card { padding: .95rem 1.15rem .9rem; }
    .auction-embed .kpi-card__value { font-size: 1.55rem; }
    .auction-embed .r3-skel-card { min-height: 104px; padding: .95rem 1.15rem; }
    .auction-embed .auction-table { font-size: .84rem; }
    .auction-embed .auction-table th,
    .auction-embed .auction-table td { padding-inline: .9rem; }
    .auction-embed .chart-card__head { padding: .95rem 1rem .5rem; }
    .auction-embed .chart-tabs { padding-inline: 1rem; }
    .auction-embed .chart-panel-body { padding: 1.1rem .8rem 1rem; }
    .auction-embed .chart-canvas-wrap { height: 264px; }
    .auction-embed .chart-note { font-size: .66rem; }
}

/* ─── 7) 모션 최소화 ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .auction-embed .year-chip:hover { box-shadow: none; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║ [CINE] 시네마틱 히어로 오버레이 — 콜아웃 앵커(C4) + 글래스 홀로 카드(C3)
   ║ 카메라 루프: js/cine-core.js · 마커/카드: js/hero-map.js CINE_VARIANT
   ╚══════════════════════════════════════════════════════════════════╝ */

.cine-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.cine-card {
    position: absolute;
    left: -999px;
    top: -999px;
    min-width: 192px;
    /* 앵커 = 필드 투영점. 카드를 위로 올려 스템(월드 0.1) 꼭대기 곁에 둔다 */
    transform: translate(-16%, -142%) translateY(6px) scale(.96);
    opacity: 0;
    filter: blur(6px);
    transition: opacity .4s ease, transform .6s cubic-bezier(.22, .9, .24, 1), filter .55s ease;
    border-radius: 14px;
    padding: 14px 16px 11px;
    background: rgba(20, 40, 28, .55);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    backdrop-filter: blur(14px) saturate(1.25);
    border: 1px solid rgba(255, 176, 92, .42); /* 발광 보더 */
    box-shadow:
        0 0 0 1px rgba(255, 138, 22, .06),
        0 0 22px rgba(255, 138, 22, .16),
        0 12px 36px rgba(0, 0, 0, .45);
    color: #FFEAD0;
    will-change: transform, opacity, filter;
}
.cine-card.is-on {
    opacity: 1;
    transform: translate(-16%, -142%) translateY(0) scale(1);
    filter: blur(0);
    animation: cineFlick .62s linear both; /* 1회 미세 플릭 후 안정 */
}

/* 커넥터 — 카드 좌하단 모서리에서 스템 쪽으로 그어지는 헤어라인 */
.cine-card::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 100%;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 200, 148, .6), rgba(255, 233, 204, .9));
    transform-origin: 0 0;
    transform: rotate(34deg);
}

/* 시언 스윕 — 등장 시 1회, background-position 애니메이션 (overflow 불필요) */
.cine-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(to bottom,
        transparent 36%,
        rgba(255, 234, 208, .16) 50%,
        transparent 64%) no-repeat;
    background-size: 100% 300%;
    background-position: 0 100%;
}
.cine-card.is-on::after { animation: cineSheen .9s ease .18s 1 both; }
@keyframes cineSheen {
    from { background-position: 0 100%; } /* 밴드가 박스 위 — 아래로 스윕 */
    to   { background-position: 0 0%; }
}
@keyframes cineFlick {
    0%   { opacity: 0; }
    46%  { opacity: 1; }
    52%  { opacity: .62; }
    58%  { opacity: 1; }
    100% { opacity: 1; }
}

.cine-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}
.cine-card__name {
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #FFEAD0;
    text-shadow: 0 0 14px rgba(255, 176, 92, .4);
}
.cine-card__crop {
    font-size: .64rem;
    font-weight: 700;
    color: #FFC894;
    background: rgba(255, 138, 22, .13);
    border: 1px solid rgba(255, 176, 92, .38);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.cine-card__rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 176, 92, .16);
}
.cine-card__rows div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}
.cine-card__rows dt {
    font-size: .73rem;
    color: rgba(255, 234, 208, .58);
    font-weight: 500;
}
.cine-card__rows dd {
    font-size: .8rem;
    color: #FFEAD0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 176, 92, .28);
}

.cine-card__foot {
    display: block;
    font-size: .6rem;
    color: rgba(255, 234, 208, .42);
    font-weight: 500;
    letter-spacing: .02em;
}

@media (max-width: 767px) {
    .cine-card {
        min-width: 162px;
        padding: 11px 13px 9px;
        border-radius: 12px;
        transform: translate(-16%, -131%) translateY(6px) scale(.96);
    }
    .cine-card.is-on { transform: translate(-16%, -131%) translateY(0) scale(1); }
    .cine-card::before { width: 20px; transform: rotate(30deg); }
    .cine-card__name { font-size: .95rem; }
}

/* 모바일: 드웰 동안 히어로 카피가 무대를 양보한다 — 카드/마커가 주인공.
   GSAP 입장 트윈이 인라인 opacity:1 을 남기므로 filter 로 가라앉힌다. */
.hero__sub, .hero__actions { transition: filter .45s ease; }
@media (max-width: 767px) {
    .hero.is-cine-dwell .hero__sub,
    .hero.is-cine-dwell .hero__actions { filter: opacity(.12); }
}

@media (prefers-reduced-motion: reduce) {
    .cine-card, .cine-card.is-on, .cine-card.is-on::after {
        transition: none;
        animation: none;
    }
}
