/* Tailwind CSS 4를 지원하지 않는 브라우저에서도 표시되는 공용 안내 */
.yg-tailwind4-browser-notice {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2147483000;
    box-sizing: border-box;
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    background: #fffbeb;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    color: #451a03;
    font-family: inherit;
}

.yg-tailwind4-browser-notice__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.yg-tailwind4-browser-notice__icon {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f59e0b;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.yg-tailwind4-browser-notice__content {
    min-width: 0;
    flex: 1 1 auto;
}

.yg-tailwind4-browser-notice__title {
    display: block;
    margin: 0 0 3px;
    color: #78350f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.yg-tailwind4-browser-notice__description {
    margin: 0;
    color: #92400e;
    font-size: 12px;
    line-height: 1.55;
}

.yg-tailwind4-browser-notice__close {
    flex: 0 0 auto;
    min-width: 52px;
    margin: 0;
    border: 1px solid #d97706;
    border-radius: 7px;
    background: #ffffff;
    color: #78350f;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 9px 11px;
}

.yg-tailwind4-browser-notice__close:hover,
.yg-tailwind4-browser-notice__close:focus-visible {
    background: #fef3c7;
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .yg-tailwind4-browser-notice {
        right: 8px;
        bottom: 8px;
        left: 8px;
        border-radius: 10px;
    }

    .yg-tailwind4-browser-notice__inner {
        align-items: flex-start;
        gap: 9px;
        padding: 11px 12px;
    }

    .yg-tailwind4-browser-notice__icon {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 15px;
    }

    .yg-tailwind4-browser-notice__description {
        font-size: 11px;
    }

    .yg-tailwind4-browser-notice__close {
        min-width: 44px;
        padding: 8px;
    }
}

/* This notice must retain the PC font even when an unsupported browser cannot
   parse the Tailwind 4 bundle. Mobile keeps its own document font. */
:where(.yg-pc-page) .yg-tailwind4-browser-notice {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", arial, Dotum, 돋움, sans-serif;
}
