@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/bold/style.css");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/fill/style.css");

@layer defaults, theme, base, components, utilities;

@layer base {
    :root {
        --font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
        --font-eng: 'Inter', sans-serif;
        --font-noto: 'Noto Sans KR', sans-serif;
        --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }


    body {
        font-family: var(--font-family);
        color: #1d1d1f;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}

/* Lenis 스무스 스크롤 기본 스타일 */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* JIT에서 제공하지 않는 효과 속성 */

.floating-field>label {
  transition: top 0.16s ease, color 0.16s ease, font-size 0.16s ease, transform 0.16s ease;
}

.floating-field>input {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

/* 포커스·입력값·자동완성에서 같은 플로팅 상태를 사용한다. */
.floating-field:focus-within>input,
.floating-field.has-value>input,
.floating-field>input:is(:autofill, :-webkit-autofill, [placeholder]:not(:placeholder-shown)) {
  padding-top: 22px;
  padding-bottom: 6px;
}

.floating-field:focus-within>label,
.floating-field.has-value>label,
.floating-field>input:is(:autofill, :-webkit-autofill, [placeholder]:not(:placeholder-shown))~label {
  top: 8px;
  color: #5f6368;
  font-size: var(--text-xs-size, var(--naknes-text-xs, 13px));
  transform: translateY(0);
}

/* 공통 툴팁: data-text에 표시할 문구를 지정한다. */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  padding: 10px;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

i.ph {
  vertical-align: middle;
}

.auction .showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: .625rem;
    padding: .625rem;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 1.5rem;
}

.auction .showcase .art {
    aspect-ratio: auto;
    min-height: clamp(3.5rem, 8vw, 6.5rem);
    border-radius: 1rem;
}

.auction .showcase .art:first-child {
    grid-row: span 2;
}

.auction #auction-list > article {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.auction .art {
    aspect-ratio: 16 / 9;
}

.auction .art-landscape {
    background: radial-gradient(circle at 67% 32%, #fce2a6 0 9%, transparent 9.5%),
        linear-gradient(167deg, #e4a98c 0 52%, #739789 52% 68%, #365f59 68%);
}

.auction .art-vase {
    background: radial-gradient(ellipse 18% 38% at 50% 57%, #abc6bc 15%, #4a7774 95%, transparent 100%),
        linear-gradient(#edf1e9 75%, #cfdbcc 75%);
}

.auction .art-weave {
    background: repeating-linear-gradient(92deg, transparent 0 3px, #fbebce 3px 4px),
        repeating-linear-gradient(0deg, #a36343 0 16px, #deb587 16px 45px, #664b39 45px 54px);
}

.auction .art-bowl {
    background: radial-gradient(ellipse 24% 25% at 50% 60%, #ae7d54 20%, #603927 95%, transparent 100%),
        linear-gradient(#e7d5c4 76%, #c9ad95 76%);
}

.auction .art-abstract {
    background: radial-gradient(circle at 68% 34%, #e0a34a 0 14%, transparent 14.5%),
        linear-gradient(115deg, #e9e3bf 0 34%, #70845d 34% 60%, #c17b67 60%);
}

.auction .art-paper {
    background: repeating-linear-gradient(153deg, #f1e5cd 0 32px, #e4c6a3 34px 57px, #b98769 59px 72px);
}
