@charset "utf-8";

/* =========================================================
   yhmanstar.com / common
   - PC / Tablet / Mobile responsive
   - Content max-width: 1400px
   ========================================================= */

:root {
    --mb-orange: #ff8500;
    --mb-text: #121212;
    --mb-text-sub: #666666;
    --mb-white: #ffffff;
    --mb-section-space: 140px;
    --mb-event-h: 42px;
    --mb-header-h: 72px;
    --mb-fixed-h: calc(var(--mb-event-h) + var(--mb-header-h));
}

html.mb-event-bar-hidden {
    --mb-event-h: 0px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--mb-fixed-h);
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--mb-text);
    background: #fff;
    word-break: keep-all;
    -webkit-text-size-adjust: 100%;
}

body.mb-modal-open {
    overflow: hidden;
}


/* common typography / section rhythm */
body,
button,
input,
textarea,
select {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
                 "Noto Sans KR", "Segoe UI", sans-serif;
}

.mb-section {
    padding-top: var(--mb-section-space);
    padding-bottom: var(--mb-section-space);
}

.mb-text {
    color: var(--mb-text);
}

.mb-text-sub {
    color: var(--mb-text-sub);
}

/* scroll reveal: opacity + blur + directional depth */
[data-reveal] {
    opacity: 0;
    filter: blur(12px);
    will-change: opacity, transform, filter;
    transition:
        opacity .9s cubic-bezier(.22, 1, .36, 1),
        transform .9s cubic-bezier(.22, 1, .36, 1),
        filter 1s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal="up"] {
    transform: translate3d(0, 42px, 0) scale(.985);
}

[data-reveal="left"] {
    transform: translate3d(-46px, 18px, 0) rotateY(3deg) scale(.985);
    transform-origin: left center;
}

[data-reveal="right"] {
    transform: translate3d(46px, 18px, 0) rotateY(-3deg) scale(.985);
    transform-origin: right center;
}

[data-reveal].is-revealed {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
}

[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }


button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

.mb-inner {
    width: calc(100% - 80px);
    max-width: 1400px;
    margin: 0 auto;
}

/* fixed top */
.mb-site-chrome {
    position: fixed;
    z-index: 9000;
    top: 0;
    right: 0;
    left: 0;
}

.mb-event-bar {
    display: block;
    width: 100%;
    height: var(--mb-event-h);
    margin: 0;
    padding: 0 20px;
    color: #fff;
    background: var(--mb-orange);
    cursor: pointer;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
}

.mb-event-bar__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    gap: 7px;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.mb-event-bar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--mb-orange);
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}

.mb-event-bar__cta {
    font-weight: 800;
}

.mb-event-bar__text {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: mbEventGlow 2.2s ease-in-out infinite;
}

.mb-event-bar__spark {
    display: inline-block;
    font-size: 8px;
    line-height: 1;
}

@keyframes mbEventGlow {
    0%, 100% {
        opacity: .88;
        text-shadow: none;
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 4px rgba(255, 255, 255, .20);
    }
}

.mb-header {
    height: var(--mb-header-h);
    border-bottom: 1px solid rgba(17, 17, 17, .06);
    background: rgba(253, 252, 248, .68);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.mb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.mb-header__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
    overflow: visible;
}

.mb-header__logo img {
    display: block;
    width: auto;
    height: 42px;
    max-width: none;
    object-fit: contain;
    object-position: center;
}

.mb-header__logo-name {
    display: inline-block;
    color: #ff8500;
    font-size: 21px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}


.mb-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(28px, 3.2vw, 54px);
    margin: 0 auto 0 42px;
    padding: 0;
}

.mb-header__actions .mb-header__menu {
    display: none;
}

@media (min-width: 768px) {
    .mb-mobile-menu,
    .mb-mobile-menu.is-open {
        display: none;
    }
}

.mb-header__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--mb-header-h);
    color: var(--mb-text);
    font-size: 19px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s ease;
}

.mb-header__nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 14px;
    left: 50%;
    height: 2px;
    background: var(--mb-orange);
    transition: right .25s ease, left .25s ease;
}

.mb-mobile-menu {
    position: absolute;
    top: var(--mb-fixed-h);
    right: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 1px solid rgba(18, 18, 18, .06);
    border-bottom: 1px solid rgba(18, 18, 18, .06);
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    transform: translate3d(0, -12px, 0);
    transition:
        opacity .28s ease,
        transform .38s cubic-bezier(.22, 1, .36, 1),
        visibility .28s ease;
}

.mb-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.mb-mobile-menu__inner {
    display: grid;
    width: calc(100% - 80px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 0 28px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mb-mobile-menu a {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    color: var(--mb-text);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

.mb-mobile-menu a + a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 20px;
    background: rgba(18, 18, 18, .08);
    transform: translateY(-50%);
}

.mb-header__consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 122px;
    height: 38px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff;
    background: var(--mb-orange);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s ease, background-color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .mb-header__consult:hover {
        color: var(--mb-orange);
        background: var(--mb-text);
    }
}

.mb-header__actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mb-header__action {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    padding: 3px 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: var(--mb-orange);
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
}

.mb-header__share img {
    display: block;
    width: 22px;
    height: 22px;
}

.mb-header__menu-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 20px;
}

.mb-header__menu-icon i {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform .25s ease, opacity .25s ease;
}

.mb-header__menu-icon i:nth-child(1) {
    transform: translateY(-9px);
}

.mb-header__menu-icon i:nth-child(2) {
    transform: translateY(0);
}

.mb-header__menu-icon i:nth-child(3) {
    transform: translateY(9px);
}

.mb-header__menu[aria-expanded="true"] .mb-header__menu-icon i:nth-child(1) {
    transform: rotate(45deg);
}

.mb-header__menu[aria-expanded="true"] .mb-header__menu-icon i:nth-child(2) {
    opacity: 0;
}

.mb-header__menu[aria-expanded="true"] .mb-header__menu-icon i:nth-child(3) {
    transform: rotate(-45deg);
}

/* event modal */
.mb-event-modal[hidden] {
    display: none;
}

.mb-event-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding:
        max(24px, env(safe-area-inset-top))
        max(24px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(24px, env(safe-area-inset-left));
}

.mb-event-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .43);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.mb-event-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 57%, rgba(255, 133, 0, .13), transparent 31%),
        #111;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
    scrollbar-width: thin;
}

.mb-event-modal__close {
    position: absolute;
    z-index: 2;
    top: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.mb-event-modal__close span {
    position: absolute;
    top: 23px;
    left: 7px;
    width: 34px;
    height: 2px;
    background: #fff;
}

.mb-event-modal__close span:first-child {
    transform: rotate(45deg);
}

.mb-event-modal__close span:last-child {
    transform: rotate(-45deg);
}

.mb-event-modal__content {
    padding: 92px 48px 62px;
    text-align: center;
}

.mb-event-modal__eyebrow {
    margin: 0 0 28px;
    color: #8f8f8f;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .72em;
    text-indent: .72em;
}

.mb-event-modal__title {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.17;
    font-weight: 300;
    letter-spacing: -.045em;
}

.mb-event-modal__title strong {
    color: var(--mb-orange);
    font-weight: 800;
}

.mb-event-modal__desc {
    margin: 27px 0 0;
    color: #f4f4f4;
    font-size: 20px;
    line-height: 1.55;
}

.mb-event-modal__desc span {
    font-size: .9em;
}

.mb-event-modal__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
    margin: 58px -24px 52px;
}

.mb-event-card {
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: transform .25s ease, filter .25s ease;
}

.mb-event-card:nth-child(1) {
    transform: rotate(-6deg) translateY(8px);
}

.mb-event-card:nth-child(3) {
    transform: rotate(6deg) translateY(8px);
}

.mb-event-card img {
    display: block;
    width: 100%;
    height: auto;
}

.mb-event-modal__eyebrow--bottom {
    margin-bottom: 24px;
}

.mb-event-modal__line {
    display: block;
    width: 36px;
    height: 1px;
    margin: 0 auto 24px;
    background: var(--mb-orange);
}

.mb-event-modal__question {
    margin: 0;
    color: #f4f4f4;
    font-size: 19px;
    line-height: 1.5;
}

.mb-event-modal__notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 133, 0, .2);
    border-radius: 12px;
    text-align: left;
}

.mb-event-modal__notice-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111;
    background: var(--mb-orange);
    font-size: 22px;
    font-weight: 900;
}

.mb-event-modal__notice p {
    margin: 0;
    color: #ddd;
    font-size: 16px;
    line-height: 1.7;
}

.mb-event-modal__notice strong {
    color: var(--mb-orange);
    font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
    .mb-event-bar {
        transition: filter .2s ease;
    }

    .mb-event-bar:hover {
        filter: brightness(.96);
    }

    .mb-header__action {
        transition: color .2s ease, opacity .2s ease;
    }

    .mb-header__action:hover {
        color: #d96f00;
    }

    .mb-header__nav a:hover {
        color: var(--mb-orange);
    }

    .mb-header__nav a:hover::after {
        right: 0;
        left: 0;
    }

    .mb-mobile-menu a:hover {
        color: var(--mb-orange);
        transform: translateY(-2px);
    }

    .mb-event-card:hover {
        filter: brightness(1.08);
    }

    .mb-event-card:nth-child(1):hover {
        transform: rotate(-6deg) translateY(0);
    }

    .mb-event-card:nth-child(2):hover {
        transform: translateY(-8px);
    }

    .mb-event-card:nth-child(3):hover {
        transform: rotate(6deg) translateY(0);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --mb-header-h: 68px;
        --mb-section-space: 110px;
    }

    .mb-inner {
        width: calc(100% - 48px);
    }

    .mb-header__logo img {
        height: 36px;
    }

    .mb-header__nav {
        gap: 22px;
        padding: 0 22px;
    }

    .mb-header__nav a {
        font-size: 18px;
    }

    .mb-header__actions {
        gap: 8px;
    }

    .mb-mobile-menu__inner {
        width: calc(100% - 48px);
        padding: 20px 0 24px;
    }

    .mb-mobile-menu a {
        min-height: 58px;
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --mb-event-h: 36px;
        --mb-header-h: 62px;
        --mb-section-space: 80px;
    }

    .mb-inner {
        width: calc(100% - 32px);
    }

    .mb-event-bar {
        padding: 0 10px;
    }

    .mb-event-bar__inner {
        gap: 4px;
        font-size: 13px;
    }

    .mb-event-bar__text {
        gap: 3px;
    }

    .mb-event-bar__spark {
        font-size: 7px;
    }

    .mb-event-bar__badge {
        min-width: 31px;
        height: 17px;
        padding: 0 6px;
        font-size: 9px;
    }

    .mb-header__nav {
        display: none;
    }

    .mb-header__consult {
        display: none;
    }

    .mb-header__actions .mb-header__menu {
        display: inline-flex;
    }

    .mb-mobile-menu {
        max-height: 0;
        overflow: hidden;
        transform: translate3d(0, -10px, 0);
        transition:
            max-height .42s cubic-bezier(.22, 1, .36, 1),
            opacity .28s ease,
            transform .38s cubic-bezier(.22, 1, .36, 1),
            visibility .28s ease;
    }

    .mb-mobile-menu.is-open {
        max-height: calc(100vh - var(--mb-fixed-h));
        max-height: calc(100dvh - var(--mb-fixed-h));
        overflow-y: auto;
        transform: translate3d(0, 0, 0);
        -webkit-overflow-scrolling: touch;
    }

    .mb-mobile-menu__inner {
        display: block;
        width: calc(100% - 32px);
        margin: 0 auto;
        padding: 10px 0 max(16px, env(safe-area-inset-bottom));
    }

    .mb-mobile-menu a {
        min-height: 54px;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(18, 18, 18, .07);
        font-size: 17px;
        font-weight: 600;
    }

    .mb-mobile-menu a + a::before {
        display: none;
    }

    .mb-mobile-menu a:last-child {
        border-bottom: 0;
    }

    .mb-header__logo {
        gap: 12px;
        overflow: visible;
    }

    .mb-header__logo img {
        width: auto;
        height: 38px;
        max-width: none;
        object-fit: contain;
        object-position: center;
    }

    .mb-header__logo-name {
        color: #ff8500;
        font-size: 18px;
        font-weight: 700;
    }

    .mb-header__actions {
        gap: 3px;
    }

    .mb-header__action {
        min-width: 34px;
        min-height: 44px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .mb-header__share img {
        width: 20px;
        height: 20px;
    }

    .mb-header__menu-icon {
        width: 22px;
        height: 18px;
    }

    .mb-header__menu-icon i:nth-child(1) {
        transform: translateY(-8px);
    }

    .mb-header__menu-icon i:nth-child(3) {
        transform: translateY(8px);
    }

    .mb-header__menu[aria-expanded="true"] .mb-header__menu-icon i:nth-child(1) {
        transform: rotate(45deg);
    }

    .mb-header__menu[aria-expanded="true"] .mb-header__menu-icon i:nth-child(3) {
        transform: rotate(-45deg);
    }

    .mb-event-modal {
        align-items: flex-start;
        padding:
            max(16px, env(safe-area-inset-top))
            max(12px, env(safe-area-inset-right))
            max(16px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
    }

    .mb-event-modal__dialog {
        width: 100%;
        max-height: calc(100dvh - 32px);
        margin: auto 0;
        border-radius: 12px;
    }

    .mb-event-modal__close {
        top: 18px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    .mb-event-modal__close span {
        top: 21px;
        left: 7px;
        width: 30px;
    }

    .mb-event-modal__content {
        padding: 76px 24px 44px;
    }

    .mb-event-modal__eyebrow {
        margin-bottom: 24px;
        font-size: 10px;
        letter-spacing: .58em;
        text-indent: .58em;
    }

    .mb-event-modal__title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .mb-event-modal__desc {
        margin-top: 22px;
        font-size: 17px;
    }

    .mb-event-modal__cards {
        gap: 2px;
        margin: 44px -17px 46px;
    }

    .mb-event-modal__question {
        font-size: 17px;
    }

    .mb-event-modal__notice {
        gap: 13px;
        margin-top: 28px;
        padding: 19px 16px;
    }

    .mb-event-modal__notice-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 19px;
    }

    .mb-event-modal__notice p {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 374px) {
    .mb-event-bar__text {
        max-width: 156px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mb-event-modal__content {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .mb-event-bar__text {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }

    .mb-event-card,
    .mb-header__action,
    .mb-event-bar,
    .mb-header__menu-icon i {
        transition: none;
    }
}

/* footer */
.mb-footer {
    position: relative;
    background: #f5f1f0;
    color: var(--mb-text);
    letter-spacing: -1px;
}

.mb-footer__visual {
    width: 100%;
    height: clamp(260px, 18.75vw, 360px);
    background: #f5f1f0 url('../img/footer_pc.png') center center / cover no-repeat;
}

.mb-footer__visual-inner {
    display: flex;
    height: 100%;
    align-items: center;
}

.mb-footer__slogan {
    margin: 0;
    color: var(--mb-orange);
    font-size: clamp(30px, 4.5vw, 45px);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -1px;
}

.mb-footer__info {
    background: #f5f1f0;
}

.mb-footer__info-inner {
    position: relative;
    display: flex;
    min-height: 154px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.mb-footer__company strong {
    display: block;
    margin-bottom: 8px;
    color: var(--mb-orange);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.mb-footer__company p,
.mb-footer__company small {
    display: block;
    margin: 0;
    color: #4f4f4f;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
}

.mb-footer__company small {
    margin-top: 4px;
    color: #aaa4a2;
    font-size: 13px;
}

/* 사업자 정보 - PC / 모바일 공통 */
.mb-footer__company .mb-footer__business {
    margin-bottom: 4px;
}

.mb-footer__company .mb-footer__business span {
    display: inline-block;
    margin: 0 12px;
    color: #b7b0ae;
}

.mb-footer__links {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 15px;
    white-space: nowrap;
}

.mb-footer__links a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.mb-footer__links span {
    color: #b7b0ae;
}

.mb-footer__top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    color: var(--mb-orange);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 8px 24px rgba(18, 18, 18, .10);
    cursor: pointer;
}

.mb-footer__info-inner > .mb-footer__top.is-docked {
    position: absolute;
    right: 0;
    bottom: 28px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.mb-footer__top span {
    width: 11px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translateY(3px) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
    .mb-footer__links a:hover {
        color: var(--mb-orange);
    }
}

@media (max-width: 767px) {
    .mb-footer {
        display: flex;
        flex-direction: column;
    }

    .mb-footer__info {
        order: 1;
    }

    .mb-footer__visual {
        order: 2;
        height: auto;
        aspect-ratio: 1080 / 640;
        background-image: url('../img/footer_m.png');
        background-position: center center;
        background-size: cover;
    }

    .mb-footer__slogan {
        display: none;
    }

    .mb-footer__info-inner {
        display: block;
        min-height: 238px;
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .mb-footer__company strong {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .mb-footer__company p {
        max-width: 320px;
        font-size: 16px;
        line-height: 1.65;
    }

    .mb-footer__company small {
        display: none;
    }

    .mb-footer__links {
        margin-top: 30px;
        gap: 13px;
        font-size: 14px;
    }

    .mb-footer__top {
        display: inline-flex;
    }

    .mb-footer::after {
        content: "© 2026, MANBYEOL.All rights reserved.";
        order: 3;
        display: flex;
        min-height: 120px;
        align-items: center;
        padding: 0 64px 0 24px;
        background: #f5f1f0;
        color: #aaa4a2;
        font-size: 13px;
        line-height: 1.5;
    }

    .mb-footer__top {
        position: absolute;
        right: 18px;
        bottom: 38px;
        z-index: 2;
    }
}


/* =========================================================
   EVENT MODAL SIZE / PROVIDED CARD IMAGE
   팝업은 화면 안에 들어오도록 축소하고 내부 스크롤을 만들지 않는다.
========================================================= */
.mb-event-modal__dialog {
    width: min(560px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: hidden;
}

.mb-event-modal__content {
    display: flex;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    padding: 48px 38px 34px;
}

.mb-event-modal__close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
}

.mb-event-modal__close span {
    top: 20px;
    left: 7px;
    width: 28px;
}

.mb-event-modal__eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
}

.mb-event-modal__title {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.12;
}

.mb-event-modal__desc {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
}

.mb-event-modal__cards {
    position: relative;
    display: block;
    width: min(420px, 88%);
    margin: 22px auto 18px;
}

.mb-event-modal__card-image {
    display: block;
    width: 100%;
    height: auto;
}

.mb-event-card {
    position: absolute;
    top: 8%;
    bottom: 25%;
    z-index: 1;
    width: 30%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: none;
}

.mb-event-card--1 {
    left: 3%;
}

.mb-event-card--2 {
    left: 35%;
}

.mb-event-card--3 {
    right: 3%;
}

.mb-event-modal__eyebrow--bottom {
    margin-bottom: 12px;
}

.mb-event-modal__line {
    margin-bottom: 12px;
}

.mb-event-modal__question {
    font-size: 16px;
}

.mb-event-modal__notice {
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
}

.mb-event-modal__notice-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 17px;
}

.mb-event-modal__notice p {
    font-size: 13px;
    line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
    .mb-event-card:hover {
        transform: translate3d(0, -5px, 0);
    }
}

@media (max-width: 767px) {
    .mb-event-modal {
        align-items: center;
        padding:
            max(12px, env(safe-area-inset-top))
            max(12px, env(safe-area-inset-right))
            max(12px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
    }

    .mb-event-modal__dialog {
        width: min(440px, 100%);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        margin: 0;
        overflow: hidden;
    }

    .mb-event-modal__content {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 42px 18px 22px;
    }

    .mb-event-modal__close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .mb-event-modal__close span {
        top: 19px;
        left: 7px;
        width: 26px;
    }

    .mb-event-modal__eyebrow {
        margin-bottom: 10px;
        font-size: 8px;
        letter-spacing: .5em;
        text-indent: .5em;
    }

    .mb-event-modal__title {
        font-size: clamp(27px, 8vw, 36px);
    }

    .mb-event-modal__desc {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.4;
    }

    .mb-event-modal__cards {
        width: min(330px, 88%);
        margin: 14px auto 10px;
    }

    .mb-event-modal__eyebrow--bottom {
        margin-bottom: 8px;
    }

    .mb-event-modal__line {
        width: 28px;
        margin-bottom: 8px;
    }

    .mb-event-modal__question {
        font-size: 14px;
    }

    .mb-event-modal__notice {
        margin-top: 10px;
        padding: 9px 11px;
    }

    .mb-event-modal__notice-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
        font-size: 14px;
    }

    .mb-event-modal__notice p {
        font-size: 11px;
        line-height: 1.45;
    }
}

@media (max-height: 700px) {
    .mb-event-modal__content {
        padding-top: 34px;
        padding-bottom: 16px;
    }

    .mb-event-modal__eyebrow {
        margin-bottom: 7px;
    }

    .mb-event-modal__title {
        font-size: clamp(24px, 6vh, 34px);
    }

    .mb-event-modal__desc {
        margin-top: 7px;
        font-size: 13px;
    }

    .mb-event-modal__cards {
        width: min(300px, 74%);
        margin-top: 8px;
        margin-bottom: 6px;
    }

    .mb-event-modal__eyebrow--bottom,
    .mb-event-modal__line {
        margin-bottom: 6px;
    }

    .mb-event-modal__notice {
        margin-top: 7px;
        padding-top: 7px;
        padding-bottom: 7px;
    }
}


/* FOOTER - 기존 slogan 타이핑 커서 */
.mb-footer__slogan.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: .9em;
    margin-left: .08em;
    background: currentColor;
    vertical-align: -.04em;
    animation: mbFooterTypeCursor .72s steps(1, end) infinite;
}

@keyframes mbFooterTypeCursor {
    0%, 48% { opacity: 1; }
    49%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mb-footer__slogan.is-typing::after {
        display: none;
    }
}


/* Footer PC single row */
@media (min-width: 768px) {
    .mb-footer__info-inner {
        min-height: 104px;
        gap: 28px;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .mb-footer__company {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 18px;
    }

    .mb-footer__company strong,
    .mb-footer__company p,
    .mb-footer__company small {
        margin: 0;
        white-space: nowrap;
    }

    .mb-footer__company strong {
        flex: 0 0 auto;
    }

    .mb-footer__company p {
        min-width: 0;
    }

    .mb-footer__company small {
        flex: 0 0 auto;
    }

    .mb-footer__links {
        padding-right: 54px;
    }

    .mb-footer__top {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
}


/* Footer PC links + TOP same row */
@media (min-width: 768px) {
    .mb-footer__links {
        position: relative;
        padding-right: 48px;
    }

    .mb-footer__top {
        top: auto;
        right: 24px;
        bottom: 24px;
        transform: none;
    }

    .mb-footer__info-inner > .mb-footer__top.is-docked {
        top: auto;
        right: 0;
        bottom: 28px;
        transform: none;
    }
}


/* Privacy modal */
.mb-privacy-modal[hidden] {
    display: none;
}

.mb-privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.mb-privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mb-privacy-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(900px, 100%);
    height: min(760px, calc(100vh - 64px));
    height: min(760px, calc(100dvh - 64px));
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .2);
}

.mb-privacy-modal__head {
    display: flex;
    min-height: 74px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    border-bottom: 1px solid #ececec;
    background: #fff;
}

.mb-privacy-modal__head h2 {
    margin: 0;
    color: #121212;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.04em;
}

.mb-privacy-modal__close {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #121212;
    cursor: pointer;
}

.mb-privacy-modal__close span {
    position: absolute;
    top: 21px;
    left: 9px;
    width: 26px;
    height: 2px;
    background: currentColor;
}

.mb-privacy-modal__close span:first-child {
    transform: rotate(45deg);
}

.mb-privacy-modal__close span:last-child {
    transform: rotate(-45deg);
}

.mb-privacy-modal__frame {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    border: 0;
    background: #fff;
}

body.mb-privacy-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .mb-privacy-modal {
        padding:
            max(12px, env(safe-area-inset-top))
            max(12px, env(safe-area-inset-right))
            max(12px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
    }

    .mb-privacy-modal__dialog {
        height: calc(100vh - 24px);
        height: calc(100dvh - 24px);
        border-radius: 10px;
    }

    .mb-privacy-modal__head {
        min-height: 62px;
        padding: 0 16px 0 20px;
    }

    .mb-privacy-modal__head h2 {
        font-size: 19px;
    }
}


/* Event draw */
.mb-event-result[hidden], .mb-event-result__form[hidden], .mb-event-result__done[hidden] { display: none; }
.mb-event-modal.is-result .mb-event-modal__cards,
.mb-event-modal.is-result .mb-event-modal__eyebrow--bottom,
.mb-event-modal.is-result .mb-event-modal__line,
.mb-event-modal.is-result .mb-event-modal__question,
.mb-event-modal.is-result .mb-event-modal__notice { display: none; }
.mb-event-result { margin-top: 24px; text-align: center; }
.mb-event-result__card { width: min(210px, 52vw); margin: 0 auto 20px; perspective: 1000px; }
.mb-event-result__card img { display:block; width:100%; height:auto; transform-style:preserve-3d; }
.mb-event-result.is-flipping .mb-event-result__card img { animation: mbCardFlip .9s cubic-bezier(.22,.61,.36,1); }
@keyframes mbCardFlip { 0%{transform:rotateY(0) scale(1)} 45%{transform:rotateY(90deg) scale(1.05)} 55%{transform:rotateY(90deg) scale(1.05)} 100%{transform:rotateY(0) scale(1)} }
.mb-event-result__copy { margin: 0 0 18px; color:#fff; font-size:18px; line-height:1.55; font-weight:700; }
.mb-event-result__copy strong { color:#ff8500; font-size:1.35em; font-weight:800; }
.mb-event-result__form { display:grid; gap:10px; width:min(360px,100%); margin:18px auto 0; text-align:left; }
.mb-event-result__form label:not(.mb-event-result__agree) { display:grid; grid-template-columns:64px 1fr; align-items:center; gap:10px; color:#fff; font-size:13px; }
.mb-event-result__form input[type="text"], .mb-event-result__form input[type="tel"] { width:100%; height:44px; box-sizing:border-box; padding:0 12px; border:1px solid #444; border-radius:6px; background:#fff; color:#121212; font-size:16px; }
.mb-event-result__agree { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:4px; color:#ddd; font-size:12px; }
.mb-event-result__form button, .mb-event-result__done { width:100%; min-height:46px; margin-top:6px; border:0; border-radius:6px; background:#ff8500; color:#111; font-weight:800; cursor:pointer; }
.mb-event-result__done { width:min(240px,100%); }
.mb-event-card.is-picked { animation: mbPicked .35s ease forwards; }
@keyframes mbPicked { to { filter:brightness(1.08); } }
.mb-event-bar[hidden] { display:none !important; }
@media (prefers-reduced-motion: reduce) { .mb-event-result.is-flipping .mb-event-result__card img, .mb-event-card.is-picked { animation:none; } }


/* =========================================================
   FOOTER MOBILE COPYRIGHT + TOP SAME ROW
========================================================= */
.mb-footer__mobile-bottom {
    display: none;
}

@media (max-width: 767px) {
    .mb-footer::after {
        content: none;
        display: none;
    }

    .mb-footer__info-inner > .mb-footer__top {
        display: none;
    }

    .mb-footer__mobile-bottom {
        order: 3;
        display: flex;
        min-height: 120px;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 0 18px 0 24px;
        background: #f5f1f0;
    }

    .mb-footer__mobile-bottom small {
        margin: 0;
        color: #aaa4a2;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 400;
    }

    .mb-footer__mobile-bottom .mb-footer__top--mobile {
        position: fixed;
        right: 18px;
        bottom: max(18px, env(safe-area-inset-bottom));
        z-index: 120;
        display: inline-flex;
        flex: 0 0 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .72);
        -webkit-backdrop-filter: blur(18px) saturate(145%);
        backdrop-filter: blur(18px) saturate(145%);
        box-shadow: 0 8px 24px rgba(18, 18, 18, .10);
        transform: none;
    }

    .mb-footer__mobile-bottom .mb-footer__top--mobile.is-docked {
        position: static;
        margin-left: auto;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
    }
}


/* =========================================================
   EVENT MODAL - MOCKUP TYPOGRAPHY / RESULT FORM
   2026-09-22
========================================================= */
.mb-event-modal__dialog {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 133, 0, .55) transparent;
}

.mb-event-modal__dialog::-webkit-scrollbar {
    width: 6px;
}

.mb-event-modal__dialog::-webkit-scrollbar-track {
    background: transparent;
}

.mb-event-modal__dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 133, 0, .55);
}

.mb-event-modal__content {
    min-height: 100%;
    padding-top: 68px;
    padding-bottom: 58px;
}

.mb-event-modal__title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(40px, 4.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -.075em;
}

.mb-event-modal__title span {
    color: #fff;
    font-weight: 400;
}

.mb-event-modal__title strong {
    color: #ff8500;
    font-weight: 800;
    letter-spacing: -.075em;
}

.mb-event-modal__desc {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
}

.mb-event-modal__desc span {
    font-size: .94em;
    font-weight: 500;
}

.mb-event-modal__question {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.mb-event-modal__notice {
    margin-top: 28px;
    padding: 18px 22px;
}

.mb-event-modal__notice p {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

.mb-event-modal__notice strong {
    font-weight: 600;
}

.mb-event-modal.is-result .mb-event-modal__content > .mb-event-modal__eyebrow,
.mb-event-modal.is-result .mb-event-modal__content > .mb-event-modal__title,
.mb-event-modal.is-result .mb-event-modal__content > .mb-event-modal__desc {
    display: none;
}

.mb-event-modal.is-result .mb-event-modal__content {
    justify-content: flex-start;
    padding-top: 76px;
    padding-bottom: 70px;
}

.mb-event-result {
    width: 100%;
    margin-top: 0;
}

.mb-event-result__card {
    width: min(190px, 42vw);
    margin: 0 auto 30px;
}

.mb-event-result__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    color: #fff;
    font-weight: 400;
}

.mb-event-result__eyebrow {
    margin-bottom: 26px;
    color: #8f8f8f;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .52em;
    text-indent: .52em;
}

.mb-event-result__headline,
.mb-event-result__copy strong.mb-event-result__headline {
    display: block;
    color: #fff;
    font-size: clamp(38px, 4.4vw, 54px);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -.075em;
}

.mb-event-result__prize {
    display: block;
    margin-top: 10px;
    color: #ff8500;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.075em;
}

.mb-event-result__period {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
}

.mb-event-result__guide {
    margin: 44px 0 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;
}

.mb-event-result__headline--lose,
.mb-event-result__copy strong.mb-event-result__headline--lose {
    color: #ff8500;
    font-weight: 800;
}

.mb-event-result__form {
    display: grid;
    width: min(440px, 100%);
    gap: 12px;
    margin: 34px auto 0;
    text-align: left;
}

.mb-event-result__form label:not(.mb-event-result__agree) {
    display: block;
}

.mb-event-result__form input[type="text"],
.mb-event-result__form input[type="tel"] {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    border: 1px solid #777;
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.mb-event-result__form input::placeholder {
    color: #aaa;
    opacity: 1;
}

.mb-event-result__form input:focus {
    border-color: #ff8500;
    box-shadow: 0 0 0 2px rgba(255, 133, 0, .12);
}

.mb-event-result__agree {
    justify-content: flex-start;
    margin-top: 6px;
    color: #d7d7d7;
    font-size: 13px;
    line-height: 1.5;
}

.mb-event-result__agree input {
    width: 16px;
    height: 16px;
    accent-color: #ff8500;
}

.mb-event-result__form button,
.mb-event-result__done {
    min-height: 62px;
    margin-top: 8px;
    border-radius: 7px;
    background: #ff8500;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.mb-event-result__done {
    width: min(280px, 100%);
    margin-top: 30px;
}

@media (max-width: 767px) {
    .mb-event-modal__content {
        padding-top: 58px;
        padding-bottom: 46px;
    }

    .mb-event-modal__title {
        font-size: clamp(34px, 10.4vw, 46px);
    }

    .mb-event-modal__desc {
        margin-top: 22px;
        font-size: 16px;
    }

    .mb-event-modal__question {
        font-size: 16px;
    }

    .mb-event-modal__notice {
        margin-top: 22px;
        padding: 15px 16px;
    }

    .mb-event-modal__notice p {
        font-size: 13px;
    }

    .mb-event-modal.is-result .mb-event-modal__content {
        padding: 64px 22px 54px;
    }

    .mb-event-result__card {
        width: min(150px, 40vw);
        margin-bottom: 24px;
    }

    .mb-event-result__eyebrow {
        margin-bottom: 22px;
        font-size: 9px;
    }

    .mb-event-result__headline,
    .mb-event-result__copy strong.mb-event-result__headline {
        font-size: clamp(34px, 10vw, 44px);
    }

    .mb-event-result__prize {
        font-size: clamp(28px, 8.6vw, 38px);
    }

    .mb-event-result__period {
        font-size: 20px;
    }

    .mb-event-result__guide {
        margin-top: 34px;
        font-size: 16px;
        line-height: 1.6;
    }

    .mb-event-result__form {
        margin-top: 28px;
    }

    .mb-event-result__form input[type="text"],
    .mb-event-result__form input[type="tel"] {
        height: 54px;
        font-size: 16px;
    }

    .mb-event-result__form button,
    .mb-event-result__done {
        min-height: 56px;
        font-size: 17px;
    }
}

@media (max-height: 700px) {
    .mb-event-modal.is-result .mb-event-modal__content {
        padding-top: 52px;
        padding-bottom: 44px;
    }
}

/* =========================================================
   EVENT RESULT - ONE SCREEN / NO INNER SCROLL
   2026-09-22
   문구/마크업 변경 없이 결과 화면 크기와 여백만 조정
========================================================= */
.mb-event-modal__dialog {
    overflow: hidden;
    scrollbar-width: none;
}

.mb-event-modal__dialog::-webkit-scrollbar {
    display: none;
}

.mb-event-modal.is-result .mb-event-modal__content {
    min-height: 0;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    justify-content: center;
    padding: clamp(34px, 4.2vh, 48px) 38px clamp(48px, 5.6vh, 62px);
    overflow: hidden;
}

.mb-event-modal.is-result .mb-event-result {
    display: flex;
    width: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.mb-event-modal.is-result .mb-event-result__card {
    width: min(138px, 15vh);
    margin: 0 auto clamp(12px, 1.8vh, 18px);
    flex: 0 0 auto;
}

.mb-event-modal.is-result .mb-event-result__eyebrow {
    margin-bottom: clamp(10px, 1.5vh, 15px);
    font-size: 9px;
    letter-spacing: .48em;
}

.mb-event-modal.is-result .mb-event-result__headline,
.mb-event-modal.is-result .mb-event-result__copy strong.mb-event-result__headline {
    font-size: clamp(30px, 4.1vh, 40px);
    line-height: 1.08;
    font-weight: 400;
}

.mb-event-modal.is-result .mb-event-result__prize {
    margin-top: clamp(5px, .8vh, 8px);
    font-size: clamp(28px, 3.8vh, 38px);
    line-height: 1.08;
    font-weight: 800;
}

.mb-event-modal.is-result .mb-event-result__period {
    margin-top: 4px;
    font-size: clamp(17px, 2.2vh, 21px);
    line-height: 1.25;
}

.mb-event-modal.is-result .mb-event-result__guide {
    margin-top: clamp(18px, 2.8vh, 28px);
    font-size: clamp(14px, 1.85vh, 17px);
    line-height: 1.55;
}

.mb-event-modal.is-result .mb-event-result__form {
    width: min(440px, 100%);
    gap: clamp(8px, 1vh, 10px);
    margin-top: clamp(18px, 2.5vh, 24px);
}

.mb-event-modal.is-result .mb-event-result__form input[type="text"],
.mb-event-modal.is-result .mb-event-result__form input[type="tel"] {
    height: clamp(44px, 5.5vh, 52px);
    padding: 0 18px;
    font-size: 15px;
}

.mb-event-modal.is-result .mb-event-result__agree {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
}

.mb-event-modal.is-result .mb-event-result__form button,
.mb-event-modal.is-result .mb-event-result__done {
    min-height: clamp(48px, 5.8vh, 54px);
    margin-top: 4px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .mb-event-modal.is-result .mb-event-modal__content {
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: clamp(44px, 6vh, 58px) 20px clamp(38px, 4.8vh, 48px);
    }

    .mb-event-modal.is-result .mb-event-result__card {
        width: min(128px, 17vh, 34vw);
    }

    .mb-event-modal.is-result .mb-event-result__headline,
    .mb-event-modal.is-result .mb-event-result__copy strong.mb-event-result__headline {
        font-size: clamp(28px, 8.6vw, 36px);
    }

    .mb-event-modal.is-result .mb-event-result__prize {
        font-size: clamp(25px, 7.6vw, 33px);
    }

    .mb-event-modal.is-result .mb-event-result__period {
        font-size: 17px;
    }

    .mb-event-modal.is-result .mb-event-result__guide {
        margin-top: 20px;
        font-size: 14px;
    }

    .mb-event-modal.is-result .mb-event-result__form {
        margin-top: 18px;
    }

    .mb-event-modal.is-result .mb-event-result__form input[type="text"],
    .mb-event-modal.is-result .mb-event-result__form input[type="tel"] {
        height: 46px;
        font-size: 15px;
    }

    .mb-event-modal.is-result .mb-event-result__form button,
    .mb-event-modal.is-result .mb-event-result__done {
        min-height: 48px;
        font-size: 16px;
    }
}

@media (max-height: 760px) {
    .mb-event-modal.is-result .mb-event-modal__content {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .mb-event-modal.is-result .mb-event-result__card {
        width: min(108px, 14vh);
        margin-bottom: 10px;
    }

    .mb-event-modal.is-result .mb-event-result__eyebrow {
        margin-bottom: 8px;
    }

    .mb-event-modal.is-result .mb-event-result__headline,
    .mb-event-modal.is-result .mb-event-result__copy strong.mb-event-result__headline {
        font-size: 29px;
    }

    .mb-event-modal.is-result .mb-event-result__prize {
        font-size: 27px;
    }

    .mb-event-modal.is-result .mb-event-result__period {
        font-size: 16px;
    }

    .mb-event-modal.is-result .mb-event-result__guide {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.45;
    }

    .mb-event-modal.is-result .mb-event-result__form {
        gap: 7px;
        margin-top: 14px;
    }

    .mb-event-modal.is-result .mb-event-result__form input[type="text"],
    .mb-event-modal.is-result .mb-event-result__form input[type="tel"] {
        height: 40px;
        font-size: 14px;
    }

    .mb-event-modal.is-result .mb-event-result__agree {
        font-size: 11px;
    }

    .mb-event-modal.is-result .mb-event-result__form button,
    .mb-event-modal.is-result .mb-event-result__done {
        min-height: 42px;
        font-size: 15px;
    }
}

/* =========================================================
   EVENT CARD SELECT - SEPARATE CARDS
   card-bg.png + card-back.png x 3
   문구/결과 기능 변경 없음
========================================================= */
.mb-event-modal:not(.is-result) .mb-event-modal__cards {
    position: relative;
    display: block;
    width: min(430px, 90%);
    aspect-ratio: 16 / 10;
    margin: 22px auto 18px;
    overflow: visible;
    isolation: isolate;
}

.mb-event-modal__card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    pointer-events: none;
    user-select: none;
}

.mb-event-modal:not(.is-result) .mb-event-card {
    position: absolute;
    top: 16%;
    bottom: auto;
    z-index: 2;
    width: 22.4%;
    height: auto;
    aspect-ratio: 800 / 1282;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-origin: 50% 92%;
    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        filter .28s ease,
        opacity .28s ease;
    will-change: transform, filter;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
}

.mb-event-modal:not(.is-result) .mb-event-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 12px 12px rgba(0,0,0,.34));
}

.mb-event-modal:not(.is-result) .mb-event-card--1 {
    left: 15%;
    transform: rotate(-9deg) translateY(7%);
}

.mb-event-modal:not(.is-result) .mb-event-card--2 {
    left: 38.8%;
    z-index: 3;
    transform: translateY(0);
}

.mb-event-modal:not(.is-result) .mb-event-card--3 {
    right: 15%;
    transform: rotate(9deg) translateY(7%);
}

@media (hover: hover) and (pointer: fine) {
    .mb-event-modal:not(.is-result) .mb-event-modal__cards:has(.mb-event-card:hover) .mb-event-card:not(:hover) {
        filter: brightness(.72) saturate(.82);
        opacity: .82;
    }

    .mb-event-modal:not(.is-result) .mb-event-card:hover {
        z-index: 5;
        filter: brightness(1.12) saturate(1.08);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--1:hover {
        transform: rotate(-4deg) translateY(-4%) scale(1.075);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--2:hover {
        transform: translateY(-7%) scale(1.075);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--3:hover {
        transform: rotate(4deg) translateY(-4%) scale(1.075);
    }
}

.mb-event-modal:not(.is-result) .mb-event-card:focus-visible {
    z-index: 6;
    outline: 2px solid #ff8500;
    outline-offset: 5px;
}

.mb-event-modal:not(.is-result) .mb-event-card.is-picked {
    z-index: 7;
}

@media (max-width: 767px) {
    .mb-event-modal:not(.is-result) .mb-event-modal__cards {
        width: min(390px, 96%);
        margin-top: 18px;
        margin-bottom: 16px;
    }

    .mb-event-modal:not(.is-result) .mb-event-card {
        width: 23.2%;
        top: 15%;
    }

    .mb-event-modal:not(.is-result) .mb-event-card--1 {
        left: 12%;
    }

    .mb-event-modal:not(.is-result) .mb-event-card--2 {
        left: 38.4%;
    }

    .mb-event-modal:not(.is-result) .mb-event-card--3 {
        right: 12%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb-event-modal:not(.is-result) .mb-event-card {
        transition: none;
    }
}

/* =========================================================
   EVENT CARD SELECT - FULL BLEED BACKGROUND + ANGLED CARDS
   2026-09-22
   최신 카드 선택 영역 보정
========================================================= */
.mb-event-modal:not(.is-result) .mb-event-modal__cards {
    width: calc(100% + 96px);
    max-width: none;
    margin: 22px -48px 18px;
    aspect-ratio: 16 / 10;
    overflow: visible;
    background: #0a0707;
}

.mb-event-modal:not(.is-result) .mb-event-modal__card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mb-event-modal:not(.is-result) .mb-event-card--1 {
    left: 18%;
    transform: rotate(-9deg) translateY(7%);
}

.mb-event-modal:not(.is-result) .mb-event-card--2 {
    left: 38.8%;
    transform: translateY(0);
}

.mb-event-modal:not(.is-result) .mb-event-card--3 {
    right: 18%;
    transform: rotate(9deg) translateY(7%);
}


.mb-event-modal:not(.is-result) .mb-event-card:hover,
.mb-event-modal:not(.is-result) .mb-event-card:focus-visible {
    z-index: 10;
}

@media (hover: hover) and (pointer: fine) {
    .mb-event-modal:not(.is-result) .mb-event-card--1:hover {
        transform: rotate(-5deg) translateY(-4%) scale(1.075);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--2:hover {
        transform: translateY(-7%) scale(1.075);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--3:hover {
        transform: rotate(5deg) translateY(-4%) scale(1.075);
    }
}

@media (max-width: 767px) {
    .mb-event-modal:not(.is-result) .mb-event-modal__cards {
        width: calc(100% + 48px);
        margin: 18px -24px 16px;
    }

    .mb-event-modal:not(.is-result) .mb-event-card--1 {
        left: 17%;
        transform: rotate(-9deg) translateY(7%);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--2 {
        left: 38.4%;
        transform: translateY(0);
    }

    .mb-event-modal:not(.is-result) .mb-event-card--3 {
        right: 17%;
        transform: rotate(9deg) translateY(7%);
    }
}

@media (max-width: 374px) {
    .mb-event-modal:not(.is-result) .mb-event-modal__cards {
        width: calc(100% + 36px);
        margin-right: -18px;
        margin-left: -18px;
    }
}

/* =========================================================
   EVENT CARD TOUCH FEEDBACK + MOBILE MODAL SIZE
   2026-09-22
========================================================= */
.mb-event-modal:not(.is-result) .mb-event-card.is-picked {
    z-index: 12;
    filter: brightness(1.14) saturate(1.08);
}

.mb-event-modal:not(.is-result) .mb-event-card--1.is-picked {
    transform: rotate(-4deg) translateY(-4%) scale(1.075);
}

.mb-event-modal:not(.is-result) .mb-event-card--2.is-picked {
    transform: translateY(-7%) scale(1.075);
}

.mb-event-modal:not(.is-result) .mb-event-card--3.is-picked {
    transform: rotate(4deg) translateY(-4%) scale(1.075);
}

@media (max-width: 767px) {
    .mb-event-modal {
        padding:
            max(24px, env(safe-area-inset-top))
            max(16px, env(safe-area-inset-right))
            max(24px, env(safe-area-inset-bottom))
            max(16px, env(safe-area-inset-left));
    }

    .mb-event-modal__dialog {
        width: min(370px, calc(100vw - 40px));
        max-height: calc(100vh - 56px);
        max-height: calc(100dvh - 56px);
    }

    .mb-event-modal__content {
        max-height: calc(100vh - 48px);
        max-height: calc(100dvh - 48px);
        padding: 36px 16px 20px;
    }

    .mb-event-modal:not(.is-result) .mb-event-modal__cards {
        width: calc(100% + 32px);
        margin: 14px -16px 12px;
    }




    .mb-event-modal__notice {
        margin-top: 8px;
        padding: 8px 10px;
    }


    .mb-event-modal.is-result .mb-event-modal__content {
        max-height: calc(100vh - 48px);
        max-height: calc(100dvh - 48px);
        padding: 36px 18px 34px;
    }
}

@media (max-width: 374px) {
    .mb-event-modal__dialog {
        width: calc(100vw - 28px);
    }

    .mb-event-modal:not(.is-result) .mb-event-modal__cards {
        width: calc(100% + 32px);
        margin-right: -16px;
        margin-left: -16px;
    }
}

/* =========================================================
   iOS FORM FOCUS ZOOM PREVENTION
   - iPhone Safari 입력 포커스 자동 확대 방지
   ========================================================= */
@media (max-width: 767px) {
    .mb-event-result__form input[type="text"],
    .mb-event-result__form input[type="tel"],
    .mb-event-result__form textarea,
    .mb-event-result__form select {
        font-size: 16px;
    }
}

/* WORKS IMAGE LIGHTBOX */
.mb-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.mb-image-lightbox[hidden] { display: none; }
.mb-image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18,18,18,.42);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
}
.mb-image-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: min(1200px,94vw);
    max-height: 90dvh;
    align-items: center;
    justify-content: center;
}
.mb-image-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 90dvh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.mb-image-lightbox__close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    color: #121212;
    cursor: pointer;
}
.mb-image-lightbox__close::before,
.mb-image-lightbox__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.mb-image-lightbox__close::before { transform: translate(-50%,-50%) rotate(45deg); }
.mb-image-lightbox__close::after { transform: translate(-50%,-50%) rotate(-45deg); }
body.mb-image-lightbox-open { overflow: hidden; }

@media (max-width:767px) {
    .mb-image-lightbox { padding: max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom)); }
    .mb-image-lightbox__dialog,
    .mb-image-lightbox__image { max-height: 86dvh; }
    .mb-image-lightbox__close { top: -14px; right: -4px; }
}

/* =========================================================
   FOOTER PC COMPANY INFO ROWS
   회사 정보는 세로 배치, 링크 및 TOP은 기존 가로 배치 유지
   ========================================================= */
@media (min-width: 768px) {
    .mb-footer__company {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        min-width: 0;
    }

    .mb-footer__company strong,
    .mb-footer__company p,
    .mb-footer__company small {
        flex: none;
        width: auto;
        max-width: 100%;
    }

    .mb-footer__company .mb-footer__business {
        margin-bottom: 4px;
    }

    .mb-footer__company p:not(.mb-footer__business) {
        white-space: normal;
    }

    .mb-footer__company small {
        margin-top: 4px;
    }
}



/* =========================================================
   iOS FORM FOCUS ZOOM FINAL
   ========================================================= */
@media (max-width: 767px) {
    .mb-event-modal input,
    .mb-event-modal textarea,
    .mb-event-modal select {
        font-size: 16px;
    }
}


/* =========================================================
   iOS FOCUS ZOOM — EVENT FORM FINAL CASCADE FIX
   기존 결과화면의 고우선순위 14/15px 규칙보다 우선 적용
   ========================================================= */
@media (max-width: 767px) {
    .mb-event-modal.is-result .mb-event-result__form input[type="text"],
    .mb-event-modal.is-result .mb-event-result__form input[type="tel"],
    .mb-event-modal.is-result .mb-event-result__form textarea,
    .mb-event-modal.is-result .mb-event-result__form select {
        font-size: 16px;
    }
}

/* =========================================================
   PRIVACY MODAL — EVENT MODAL SCALE / READABILITY FINAL
   - 이벤트 팝업과 같은 폭/외곽 여백
   - 개인정보 본문 직접 출력 기준
   ========================================================= */
.mb-privacy-modal {
    box-sizing: border-box;
    padding:
        max(24px, env(safe-area-inset-top))
        max(24px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(24px, env(safe-area-inset-left));
}

.mb-privacy-modal__dialog {
    width: min(560px, calc(100vw - 48px));
    height: auto;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    border-radius: 14px;
}

.mb-privacy-modal__head {
    min-height: 72px;
    padding: 0 24px 0 28px;
}

.mb-privacy-modal__head h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.04em;
}

.mb-privacy-modal__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mb-privacy-modal__text {
    padding: 28px 30px 34px;
    color: #333;
    font-size: 15px;
    line-height: 1.72;
    letter-spacing: -.025em;
}

.mb-privacy-modal__text section + section {
    margin-top: 24px;
}

.mb-privacy-modal__text h3 {
    margin: 0 0 8px;
    color: #121212;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -.035em;
}

.mb-privacy-modal__text p {
    margin: 0;
    color: #4f4f4f;
    font-size: inherit;
    line-height: inherit;
    font-weight: 400;
}

.mb-privacy-modal__text p + p {
    margin-top: 4px;
}

.mb-privacy-modal__text strong {
    color: #121212;
    font-weight: 700;
}

@media (max-width: 767px) {
    .mb-privacy-modal {
        padding:
            max(12px, env(safe-area-inset-top))
            max(12px, env(safe-area-inset-right))
            max(12px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
    }

    .mb-privacy-modal__dialog {
        width: min(440px, 100%);
        height: auto;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 12px;
    }

    .mb-privacy-modal__head {
        min-height: 64px;
        padding: 0 14px 0 20px;
    }

    .mb-privacy-modal__head h2 {
        font-size: 21px;
    }

    .mb-privacy-modal__close {
        width: 42px;
        height: 42px;
    }

    .mb-privacy-modal__close span {
        top: 20px;
        left: 8px;
        width: 26px;
    }

    .mb-privacy-modal__text {
        padding: 22px 20px 28px;
        font-size: 15px;
        line-height: 1.68;
    }

    .mb-privacy-modal__text section + section {
        margin-top: 20px;
    }

    .mb-privacy-modal__text h3 {
        margin-bottom: 7px;
        font-size: 16px;
        line-height: 1.45;
    }
}

#results,
#difference,
#advertising,
#works,
#contact {
    scroll-margin-top: var(--mb-fixed-h);
}
