:root {
    color-scheme: light;
    --skin-width: 640px;
    --skin-blue: #008ed7;
    --skin-deep: #002b48;
    --skin-form-height: 112px;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: #f3f3f3;
    color: #111;
    font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skin-page {
    width: min(100%, var(--skin-width));
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
}

.skin-section,
.skin-section figure {
    position: relative;
    width: 100%;
    margin: 0;
}

.skin-section img {
    width: 100%;
}

.skin-breast-link {
    position: absolute;
    z-index: 3;
    left: 13.5%;
    top: 84.6%;
    width: 73%;
    height: 7.4%;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
}

.skin-breast-link:focus-visible {
    outline: 4px solid #00a2ed;
    outline-offset: 3px;
}

.skin-quick {
    position: fixed;
    z-index: 80;
    left: calc(50% + min(50vw, 320px) - 64px);
    bottom: calc(var(--skin-form-height) + 18px + env(safe-area-inset-bottom));
    display: grid;
    gap: 8px;
}

.skin-quick__item {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(0, 31, 54, .24);
}

.skin-quick__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skin-fixed-spacer {
    height: calc(var(--skin-form-height) + env(safe-area-inset-bottom));
}

.skin-db-fixed {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(100%, var(--skin-width));
    min-height: var(--skin-form-height);
    margin: 0 auto;
    padding: 10px 16px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0, 78, 116, .14);
    background: rgba(235, 247, 252, .95);
    box-shadow: 0 -8px 24px rgba(0, 54, 83, .12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.skin-db-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.skin-db-form input[type="text"],
.skin-db-form input[type="tel"] {
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #d8e6ed;
    border-radius: 6px;
    background: #fff;
    color: #111;
}

.skin-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.skin-db-form__submit {
    width: 100%;
    height: 34px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: var(--skin-blue);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.skin-db-form__submit:disabled {
    opacity: .6;
}

.skin-db-form__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 24px;
    color: #70808a;
    font-size: 12px;
}

.skin-db-form__privacy input {
    width: 15px;
    height: 15px;
    margin: 0;
}

.skin-db-form__privacy button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.skin-db-form__message {
    min-height: 0;
    margin: 0;
    font-size: 12px;
    text-align: center;
}

.skin-db-form__message.is-error {
    margin-top: 4px;
    color: #c62432;
}

.skin-modal[hidden] {
    display: none;
}

.skin-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.skin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 28, 45, .64);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.skin-modal__panel,
.skin-consult-modal__panel {
    position: relative;
    width: min(100%, 390px);
    padding: 24px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 30, 48, .3);
}

.skin-modal__panel h2,
.skin-consult-modal__panel h2 {
    margin: 0 0 14px;
    color: var(--skin-deep);
    font-size: 21px;
}

.skin-modal__panel dl {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 9px 12px;
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.55;
}

.skin-modal__panel dt {
    font-weight: 800;
}

.skin-modal__panel dd {
    margin: 0;
}

.skin-modal__panel > button,
.skin-consult-modal__panel > button {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 7px;
    background: var(--skin-blue);
    color: #fff;
    font-weight: 800;
}

.skin-consult-modal__panel {
    text-align: center;
    background: linear-gradient(145deg, #effbff, #fff);
}

.skin-consult-modal__eyebrow {
    margin: 0 0 8px;
    color: var(--skin-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.skin-consult-modal__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.skin-consult-modal__particles i {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--skin-blue);
}

.skin-consult-modal__timer {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 7px;
    vertical-align: -3px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
}

@media (max-width: 640px) {
    :root {
        --skin-form-height: 116px;
    }

    .skin-quick {
        right: 8px;
        left: auto;
    }
}

@media (max-width: 360px) {
    .skin-db-fixed {
        padding-right: 9px;
        padding-left: 9px;
    }

    .skin-db-form__privacy {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
