html,
body.hf-lce-legal-page {
    margin: 0;
    padding: 0;
    background: #000 !important;
    color: #fff !important;
    font-family: "Helvetica", "Helvetica Neue", Arial, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

body.hf-lce-legal-page * {
    box-sizing: border-box;
}

body.hf-lce-legal-page a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.hf-legal-page {
    width: 100%;
    min-height: 100svh;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), rgba(0,0,0,0) 34%),
        #000;
    padding: 72px 22px 86px;
}

.hf-legal-wrap {
    width: min(920px, 100%);
    margin: 0 auto;
}

.hf-legal-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
    font-weight: 700;
}

.hf-legal-title {
    margin: 0;
    font-size: clamp(19px, 1.75vw, 24px);
    line-height: 1.35;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: #fff;
}

.hf-legal-card {
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.22);
}

.hf-legal-doc-text {
    padding: 30px 0 0;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-size: clamp(14px, 1.12vw, 16px);
    line-height: 1.86;
    letter-spacing: -0.025em;
    color: rgba(255,255,255,0.72);
}

.hf-legal-doc-text strong,
.hf-legal-doc-text b {
    color: #fff;
}

.hf-legal-actions {
    display: flex;
    justify-content: center;
    margin-top: 54px;
}

.hf-legal-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: #000 !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hf-legal-home:hover {
    opacity: 0.84;
    transform: translateY(-1px);
}

/* Cookie banner */
.hf-cookie-consent,
.hf-cookie-consent * {
    -webkit-tap-highlight-color: transparent !important;
}

.hf-cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2147483000;
    width: min(760px, calc(100vw - 32px));
    transform: translateX(-50%);
    color: #fff;
    font-family: "Helvetica", "Helvetica Neue", Arial, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

.hf-cookie-consent[hidden] {
    display: none !important;
}

.hf-cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    background: rgba(12,12,12,0.88);
    box-shadow: 0 18px 50px rgba(0,0,0,0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hf-cookie-consent__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.78);
    word-break: keep-all;
}

.hf-cookie-consent__text a {
    color: #fff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.hf-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hf-cookie-consent__btn {
    appearance: none;
    -webkit-appearance: none;
    height: 34px;
    padding: 0 16px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.hf-cookie-consent__btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}

.hf-cookie-consent__btn:hover,
.hf-cookie-consent__btn:focus,
.hf-cookie-consent__btn:active,
.hf-cookie-consent__btn--ghost:hover,
.hf-cookie-consent__btn--ghost:focus,
.hf-cookie-consent__btn--ghost:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .hf-legal-page {
        padding: 54px 20px 64px;
    }

    .hf-legal-card {
        margin-top: 22px;
    }

    .hf-legal-title {
        font-size: clamp(18px, 5vw, 22px);
        line-height: 1.35;
    }

    .hf-legal-doc-text {
        padding-top: 24px;
    }

    .hf-cookie-consent {
        bottom: 16px;
        width: calc(100vw - 24px);
    }

    .hf-cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 15px;
        border-radius: 16px;
    }

    .hf-cookie-consent__actions {
        justify-content: flex-end;
    }

    .hf-cookie-consent__btn {
        height: 34px;
        padding: 0 14px;
    }
}
