@charset "utf-8";

.gg-notice-roll {
    width: 100%;
}

.gg-notice-viewport {
    height: 26px;              /* 한 줄 높이 */
    overflow: hidden;
}

.gg-notice-list {
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(0);
}

.gg-notice-item {
    height: 26px;
    display: flex;
    align-items: center;
}

.gg-notice-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f8f9fa;
    font-size: 16px;
}

.gg-notice-subject {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gg-notice-date {
    color: #f8f9fa;
    font-size: 13px;
    flex: 0 0 auto;
}

.gg-notice-empty {
    color: #f8f9fa;
    font-size: 16px;
}

/* support bar 공지 롤링이 "공지사항 ›" 옆으로 붙게 */
#support .gg-support-left{
    flex-wrap: nowrap;          /* 줄바꿈 금지 */
    min-width: 0;
}

#support .gg-notice-roll{
    width: auto !important;     /* 기존 width:100% 무력화 */
    flex: 1 1 auto;             /* 남는 공간 먹기 */
    min-width: 0;
}

#support .gg-notice-viewport{
    flex: 1 1 auto;
    min-width: 0;
}

/* 공지 링크 말줄임 */
#support .gg-notice-link{
    min-width: 0;
}
#support .gg-notice-subject{
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===== mobile: support bar를 2줄로 ===== */
@media (max-width: 575.98px) {
    #support .gg-support-inner{
        flex-direction: column;      /* 2줄로 */
        align-items: stretch;
        gap: 10px;
    }

    /* 1줄(공지사항) */
    #support .gg-support-left{
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        min-width: 0;
    }

    /* 공지 롤링 영역은 남는 공간 다 쓰고 한 줄 유지 */
    #support .gg-notice-roll{
        flex: 1 1 auto;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
    }

    /* 2줄(FAQ + SNS) */
    #support .gg-support-right{
        width: 100%;
        flex-wrap: nowrap;
        gap: 10px;
    }

}