@charset "UTF-8"; html { scroll-behavior: smooth; }

body { font-family: 'SUIT', AppleSDGothicNeo, "Apple SD Gothic Neo", "Apple SD 고딕 Neo", "Microsoft NeoGothic", Verdana, Arial, sans-serif; letter-spacing: -0.05rem; }

/** common start **/
.o-h { overflow: hidden !important; }
/** common end **/


/** talk start z-index: 100 **/
.talk { position: fixed; inset: 0; z-index: 100; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease; }
.talk-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s ease; z-index: 101; }
.talk-container { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%); max-width: 72rem; width: 100%; height: 95vh; background: #fff; border-top-left-radius: 3rem; border-top-right-radius: 3rem; z-index: 102; opacity: 0; transition: transform 0.4s ease, opacity 0.4s ease; overflow: hidden; }

.talk.active { opacity: 1; visibility: visible; pointer-events: auto; }
.talk.active .talk-dim { opacity: 1; }
.talk.active .talk-container { transform: translateX(-50%) translateY(0); opacity: 1; }

.talk-content { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; }

.talk-c-header { height: 13.6rem; border-bottom: 1px solid #ddd; flex-shrink: 0; background: #fff; display: flex; justify-content: center; align-items: center; position: relative; }
.talk-c-header .talk-h-title { position: relative; font-weight: 900; background: linear-gradient( 270deg, #FFBB3E 0%, #FFBB3E 30%, #FF0004 80%, #FF0004 100% ); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; text-align: center; }
.talk-c-header .talk-h-title::before { content: ''; display: inline-block; width: 7rem; height: 7rem; background: url(../images/talk/icon_chat.png) 50% 50% no-repeat; position: relative; background-size: contain; vertical-align: bottom; right: 1rem; }
.talk-c-header .talk-h-title { font-size: 4.6rem; }

.talk-close { width: 3.3rem; height: 3.3rem; position: absolute; cursor: pointer; right: 3rem; top: 3rem; }
.talk-close div { position: absolute; top: 50%; left: 50%; width: 4rem; height: .2rem; background: #000; transition: transform 0.3s ease, opacity 0.3s ease; }
.talk-close div:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.talk-close div:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.talk-close:hover div:first-child { transform: translate(-50%, -50%) rotate(-45deg); }
.talk-close:hover div:last-child { transform: translate(-50%, -50%) rotate(45deg); }

.talk-c-body { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 3rem; }
.talk-chat-group { transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; transition: all .3s ease; }
.talk-chat-group.active { padding: 2rem 0; }

.talk-chat-group::after { content: ''; position: absolute; width: calc(100% - 4rem); height: calc(100% - 1rem); top:50%; left:50%; transform: translate(-50%, -50%); border-radius: 1.5rem; pointer-events: none; }
.talk-chat-group.active::after { box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; }

.talk-chat-reply { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; }
/* .talk-chat-reply::after { position: absolute; content: ''; border-left: 1px solid #434343; border-bottom-left-radius: 1rem; width: 100%; height: 84%; left: 0.3rem; top: 7rem; } */
.talk-chat-reply.open { opacity: 1; margin-top: 3rem; }

.talk-chat-box { padding: 0rem 3rem; display: flex; flex-direction: row; gap: 2rem; }
.talk-chat-box.notice { padding: 3rem 3rem 2rem; background: linear-gradient(180deg, rgba(255, 188, 188, 0.20) 0%, rgba(255, 255, 255, 0.00) 5.47%), linear-gradient(107deg, #FFECDB 28.29%, #FED2D9 83.45%); }
.talk-user { width: 5rem; height: 5rem; flex-shrink: 0; border-radius: 50%; }
.talk-box { display: flex; flex-direction: column; gap: 1.6rem; background: #F6F6F6; padding: 2rem; border-radius: 2rem; width: 100%; }
.talk-chat-box.notice .talk-box { background: transparent !important; padding: 0 !important; border-radius: 0 !important; margin: 1rem 0; }
.talk-title { font-size: 2.8rem; font-weight: 800; color: #000; line-height: 1.2; }
.talk-info { font-size: 2.2rem; font-weight: 500; color: #666666; }
.talk-info span:not(:last-child)::after { content: "·"; font-size: 2rem; margin: 0 0.5rem; vertical-align: bottom; }

.talk-text-wrap { position: relative; color: #000; font-size: 2.6rem; font-weight: 500; letter-spacing: -0.078rem; }
.talk-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; line-height: 3.6rem; }
.talk-text.empty { color: #BBB; }
.talk-text.open { -webkit-line-clamp: unset; overflow: visible; }
.talk-more-btn { display: none; color: #666; cursor: pointer; display: inline-block; }
.talk-text.open .talk-more-btn { display: none; }

.talk-s-box { display: flex; flex-direction: row; justify-content: space-between; }
.talk-like { font-size: 2.2rem; color: 000; font-weight: 500; position: relative; display: flex; align-items: center; cursor: pointer; }
.talk-like::before { content: ''; width: 2.6rem; height: 2.2rem; background: url(../images/talk/icon_heart_empty.png) 50% 50% no-repeat; background-size: cover; display: inline-block; margin-right: 1.2rem; }
.talk-like.active::before { content: ''; width: 2.6rem; height: 2.2rem; background: url(../images/talk/icon_heart_full.png) 50% 50% no-repeat; background-size: cover; display: inline-block; margin-right: 1.2rem; }
.talk-btn { display: flex; flex-direction: row; font-size: 2.4rem; letter-spacing: -0.72px; color: #333; gap: 4.8rem; }
.talk-b-write, .talk-b-reply { position: relative; flex-shrink: 0; display: flex; cursor: pointer; align-items: center; justify-content: center; }
.talk-b-write::before { position: relative; content: ''; display: inline-block; width: 3rem; height: 3rem; margin-right: 1rem; background: url(../images/talk/icon_modify.png) 50% 50% no-repeat; background-size: cover; }
.talk-b-reply::before { position: relative; content: ''; display: inline-block; width: 2.8rem; height: 2.8rem; margin-right: 1rem; background: url(../images/talk/icon_short.png) 50% 50% no-repeat; background-size: cover; }


.talk-replay-group { position: relative; margin: 0 1.5rem 0 10rem; }
.talk-show-reply { margin: 2rem 0 0; font-size: 2.6rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; }
.talk-show-reply span { margin-left: .7rem; }
.talk-show-reply::after { content:''; position: relative; background: url(../images/talk/arrow_down.png) 50% 50% no-repeat; background-size: cover; width: 2rem; height: 1rem; display: inline-block; margin-left: 1.6rem; }
.talk-show-reply.active::after { content:''; position: relative; background: url(../images/talk/arrow_up.png) 50% 50% no-repeat; background-size: cover; width: 2rem; height: 1rem; display: inline-block; margin-left: 1.6rem; }

.talk-chat-reply { display: flex; flex-direction: column; gap: 2rem; }
.talk-chat-reply .talk-chat-box { padding: 0rem 2rem 1rem 0; }

.talk-chat-reply .talk-chat-box .talk-box { background: transparent; padding: 1rem 2rem 0 1rem; }
.talk-rr { font-weight: 500; margin-right: 1rem; color: #2CBAB6; }


.talk-c-body:has(> .talk-blank:only-child) { display: flex; }
.talk-c-body:has(> .talk-blank:only-child) .talk-blank { flex: 1; }
.talk-blank { display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; opacity: .5; padding: 10rem; flex-direction: column; font-size: 3rem; font-weight: 900; }
.talk-blank::before { content: ''; width: 10rem; height: 10rem; background: url(../images/talk/icon_chat.png) 50% 50% no-repeat; background-size: contain; display: inline-block; }
.talk-blank-group span { display: inline-block; animation: bounce 0.6s ease infinite; color: #FF0004; }
.talk-blank-group span:nth-child(1) { animation-delay: 0s; }
.talk-blank-group span:nth-child(2) { animation-delay: 0.1s; }
.talk-blank-group span:nth-child(3) { animation-delay: 0.2s; }
.talk-blank-group span:nth-child(4) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); }
}

.talk-c-input { min-height: 10rem; background: #fff; padding: 2rem 3rem; flex-shrink: 0; display: flex; flex-direction: column; }
.talk-i-block { display: flex; flex-direction: row; width: 100%; gap: 2rem; transition: all .3s ease; position: relative; }

.talk-i-block input { flex-shrink: 0; flex: 1; border-radius: 3rem; border: 2px solid #ddd; padding: 1rem 2rem; color: #000; font-size: 2.6rem; height: 6rem; resize: none; transition: all .3s ease; }
.talk-i-block input { resize: none; overflow: auto; scrollbar-width: none; -ms-overflow-style: none; }
.talk-i-block input::-webkit-scrollbar { display: none; }
/*.talk-i-block input:focus { height: 20rem; border-color: #2CBAB6; outline: none; box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2); }*/
.talk-i-block button { flex-shrink: 0; width: 6rem; height: 6rem; border: none; cursor: pointer; background:
        url('../images/talk/icon_write.png') no-repeat center center,
        linear-gradient(90deg, #FFBB3E 0%, #FD0072 100%) no-repeat center center; background-size: 3.3rem 3.3rem, cover; text-indent: -9999px; overflow: hidden; border-radius: 1.5rem; }
.talk-w-count { position: absolute; font-size: 1.9rem; font-weight: 700; color: #000; right: 0; bottom: 0; display: none; }
.talk-i-block textarea:focus ~ .talk-w-count { display: block; }

/** pop **/
.talk-pop { position: fixed; inset: 0; z-index: 200; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease; }
.talk-pop-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s ease; z-index: 201; }
.talk-pop-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 66rem; width: 100%; height: auto; background: #fff; border-radius: 2rem; z-index: 202; opacity: 0; transition: transform 0.4s ease, opacity 0.4s ease; overflow: hidden; }

.talk-pop.active { opacity: 1; visibility: visible; pointer-events: auto; }
.talk-pop.active .talk-pop-dim { opacity: 1; }
.talk-pop.active .talk-pop-container { transform: translate(-50%, -50%); opacity: 1; }

.talk-pop-content { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 6rem 4rem; gap: 4rem; }

.talk-pop-header .talk-pop-title { position: relative; font-weight: 800; color: #000; }
.talk-pop-header .talk-pop-title span { color: #FF0004; margin-right: 1rem; }
.talk-pop-header .talk-pop-title::before { content: ''; display: inline-block; width: 5.5rem; height: 5.4rem; background: url(../images/talk/icon_chat.png) 50% 50% no-repeat; position: relative; background-size: contain; vertical-align: bottom; right: 1rem; }
.talk-pop-header .talk-pop-title { font-size: 3.6rem; }

.talk-pop-close { width: 3.3rem; height: 3.3rem; position: absolute; cursor: pointer; right: 3rem; top: 3rem; }
.talk-pop-close div { position: absolute; top: 50%; left: 50%; width: 4rem; height: .2rem; background: #000; transition: transform 0.3s ease, opacity 0.3s ease; }
.talk-pop-close div:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.talk-pop-close div:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.talk-pop-close:hover div:first-child { transform: translate(-50%, -50%) rotate(-45deg); }
.talk-pop-close:hover div:last-child { transform: translate(-50%, -50%) rotate(45deg); }

.talk-pop-body { display: flex; gap: 4rem; flex-direction: column; }
.talk-pop-input-box { position: relative; }
.talk-pop-input-box textarea { width: 100%; padding: 2rem; border: 1.5px solid #DDDDDD; border-radius: 2rem; font-size: 2.5rem; color: #000; resize: none; height: 30rem; }
.talk-pop-input-box textarea:focus { border-color: #2CBAB6; outline: none; box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2); }
.talk-pop-count { font-size: 2.2rem; font-weight: 700; position: absolute; right: 2rem; bottom: 2rem; }

.talk-pop-btn-group { width: 100%; display: flex; flex-direction: row; gap: 2rem; }
.talk-pop-btn-group button { color: #FFF; text-align: center; font-family: SUIT; font-size: 3rem; font-weight: 800; line-height: 100%; letter-spacing: -0.9px; border-radius: 4rem; padding: 2.5rem; flex: 1; }
.talk-pop-btn-group button.cancel { background: #333; }
.talk-pop-btn-group button.submit { background: linear-gradient(113deg, #FFBB3E -9.53%, #FD0072 85.92%); }

.talk-pop-footer { color: #666; font-size: 2.4rem; font-weight: 500; line-height: 1.2; }

.talk-pop-footer ul { list-style: none; margin: 0; padding: 0; }
.talk-pop-footer ul li { position: relative; padding-left: 1.2rem; text-indent: 0rem; }
.talk-pop-footer ul li::before { content: "*"; position: absolute; left: -0.5rem; color: #666; }