:root {
    --sticky-height: 64px;
    --header-height: 0px;
    --safeTop:env(safe-area-inset-top);
    --safeBtm:env(safe-area-inset-bottom);
    --pc-width: 500px;
}

body {
    background-color: #f7f7f7;
}
.wrap {
    position: relative;
}
@media screen and (hover:hover) and (pointer: fine) and (min-width: 420px) {
    .wrap {
        width: var(--pc-width);
        min-width: var(--pc-width);
        margin: 0 auto;
        border-left: 1px solid #eaeaeb;
        border-right: 1px solid #eaeaeb;
    }
}

.event-con {
    position: relative;
}

.event-con img {
    display: block;
    width: 100%;
    height: auto;
}

.event-con>a,
.event-btn>a {
    position: absolute;
    display: block;
    z-index: 1000;
    font-size: 0;
    text-indent: -9999px;
    /* background-color: rgba(0,255,0,0.5); */
}

.event-con video {
    position: absolute;
    display: block;
    z-index: 1;
}

.event-btn {
    position: relative;
}

.event-desc {
    padding: 30px 20px 50px 20px;
    background-color: #222;
}

.event-desc h2 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.event-desc ul {
    padding: 0;
}

.event-desc li {
    position: relative;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    padding-left: 6px;
    word-break: keep-all;
}

.event-desc li a {
    text-decoration: underline;
}

.event-desc li+li {
    margin-top: 8px;
}

.event-desc li::before {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
    background-color: #999;
}

.event-desc h3 {
    font-size: 13px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0px;
}

.event-desc p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    word-break: keep-all;
}

.accordion {
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion .accordion-title {
    position: relative;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 24px 8px 0;
}

.accordion .accordion-title::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 10px;
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
}

.accordion .accordion-content {
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.3s ease-out;
}

.accordion .accordion-content>ul {
    padding: 8px 0 10px;
}

.accordion[data-expand=true] .accordion-title::after {
    top: 16px;
    transform: rotate(225deg);
}

.accordion[data-expand=true] .accordion-content {
    max-height: 400px;
    transition: max-height 0.3s ease-out;
}

.event-fixed {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    transform: translateY(var(--safeTop));
    z-index: 1;
}

.event-fixed .inner {
    display: flex;
}

.event-fixed a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    height: 50px;
}

.modal-open .event-sticky {
    top: var(--header-height);
}

.event-sticky {
    position: sticky;
    z-index: 1100;
    top: calc(var(--header-height) + var(--safeTop));
    height: var(--sticky-height);
    width: 100%;
    font-size: 0;
}

.event-sticky>div {
    position: relative;
    width: 33.3333%;
    text-align: center;
    display: inline-block;
    background-color: #fff;
    height: 100%;
    line-height: var(--sticky-height);
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

.event-sticky[data-btncount="1"]>div {
    width: 100%;
}

.event-sticky[data-btncount="2"]>div {
    width: 50%;
}

.event-sticky[data-btncount="3"]>div {
    width: 33.3333%;
}

.event-sticky[data-btncount="4"]>div {
    width: 25%;
}

.event-sticky[data-btncount="5"]>div {
    width: 20%;
}

.event-sticky>div img {
    display: inline-block;
    width: auto !important;
    height: 38px;
    vertical-align: middle !important;
}

.event-sticky div+div {
    border-left: 1px solid #999;
}

.event-con .anchor {
    user-select: none;
    pointer-events: none;
    visibility: hidden;
    position: absolute;
    left: 0;
    width: 1px;
    height: 1px;
    top: calc((var(--header-height) + var(--safeTop) + var(--sticky-height)) * -1);
}

.event-bottom {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding-bottom: var(--safeBtm);
    background-color: #d01e18;
    width: 100%;
}
.event-bottom img {
    display: block;
}

.event-bottom a {
    display: block;
}

/* Popup */
.popup-opened,
.popup-opened body,
.popup-opened #wrap {
    overflow-y: hidden;
    height: 100vh;
}

.event-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 21000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

.event-popup-full {
    padding: 0;
    padding-top: var(--safeTop);
    background-color: #fff;
    overflow-y: auto;
}

.event-popup .popup-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: popsFadein 0.3s linear forwards;
}

.event-popup[data-popsUp] .popup-inner {
    animation: popsUp 0.5s cubic-bezier(0.14, 0.94, 0.36, 1.2) forwards;
}

.event-popup[data-popsScale] .popup-inner {
    animation: popsScale 0.5s cubic-bezier(0.14, 0.94, 0.36, 1.2) forwards;
}

.event-popup[data-fullheight] .popup-area {
    height: calc(100% - var(--safeTop) - var(--safeBtm));
}

.event-popup .popup-area {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.event-popup .popup-header {
    position: relative;
}

.event-popup .popup-header>img+button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
}

.event-popup .popup-body {
    position: relative;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.event-popup img:not([alt=close]) {
    display: block;
    width: 100%;
    height: auto;
}

.event-popup h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    word-break: keep-all;
    line-height: 1.5;
}

.event-popup p {
    font-size: 14px;
    margin-bottom: 8px;
    word-break: keep-all;
}

.event-popup .popup-footer button,
.event-popup .popup-footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #f40009;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    padding: 14px 0;
    outline: none;
    border: none;
}

.event-popup .popup-footer button[disabled],
.event-popup .popup-footer a[disabled] {
    pointer-events: none;
    background-color: #ddd;
}

.event-popup .popup-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1;
    background-color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.event-popup .popup-close::before,
.event-popup .popup-close::after {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -8px;
    margin-top: -1px;
    transform-origin: center;
}

.event-popup .popup-close::before {
    transform: rotate(45deg);
}

.event-popup .popup-close::after {
    transform: rotate(-45deg);
}

@keyframes popsScale {
    0% {
        transform: scale(0.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes popsUp {
    0% {
        transform: translateY(300px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes popsFadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.test-layer {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 30000;
}

.test-layer>label {
    display: inline-block;
    padding: 4px 10px;
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
}

.test-layer .test {
    display: none;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.test-layer>input[type=checkbox] {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

.test-layer>input[type=checkbox]::after {
    content: none;
}

.test-layer>input[type=checkbox]:checked+label {
    background-color: #ff0000;
}

.test-layer>input[type=checkbox]:checked~.test {
    display: block;
}

/* E&D Event */
#END_1Q {
    padding-top: var(--safeTop);
    background-color: #4b0b14;
}

#END_1Q .event-con:first-child {
    background-color: #4b0b14;
}

#END_1Q .event-desc {
    background-color: #dbd5c9;
}

#END_1Q .event-desc h2,
#END_1Q .event-desc li {
    color: #34322e;
}

#END_1Q .event-desc li::before {
    background-color: #34322e;
}

#END_1Q .event-fixed a {
    background-color: #f2d06a;
    color: #000;
    border: 1px solid #fff;
}

#END_1Q .event-fixed a+a {
    margin-left: -1px;
}

#END_1Q .event-fixed a#buttonQR {
    background-color: #d0021a;
    color: #fff;
}

#popupMyStamp .popup-body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

#popupMyStamp .stamp-img {
    position: relative;
}

#popupMyStamp .stamp-img>div {
    position: absolute;
    width: 19.5vw;
    height: 19.5vw;
    background-repeat: no-repeat;
    background-size: 100%;
    display: none;
}

#popupMyStamp .stamp-img #stamp00 {
    left: 13.5%;
    top: 33%;
}

#popupMyStamp .stamp-img #stamp01 {
    left: 29%;
    top: 52%;
}

#popupMyStamp .stamp-img #stamp02 {
    left: 52%;
    top: 52%;
}

#popupMyStamp .stamp-img #stamp03 {
    left: 67%;
    top: 33%;
}

#popupMyStamp .stamp-img #stampZero {
    left: 35%;
    top: 14.3%;
    width: 30vw;
    height: 30vw;
}

#popupMyStamp .stamp-img>div[data-stamp=coke] {
    display: block;
    background-image: url("/resources/images/event/EnD/stamp_coke.png");
}

#popupMyStamp .stamp-img>div[data-stamp=cokezero] {
    display: block;
    background-image: url("/resources/images/event/EnD/stamp_zero.png");
}

#popupMyStamp .stamp-img>div[data-stamp=sprite] {
    display: block;
    background-image: url("/resources/images/event/EnD/stamp_sprite.png");
}

#popupMyStamp .stamp-img>div[data-stamp=fanta] {
    display: block;
    background-image: url("/resources/images/event/EnD/stamp_fanta.png");
}

#popupMyStamp .stamp-img>#stampZero[data-stamp=cokezero] {
    display: block;
    background-image: url("/resources/images/event/EnD/stamp_zero_big.png");
}

#popupMyStamp .stamp-status {
    flex: 1;
    background: #1a1d20 url("/resources/images/event/EnD/stamp_bottom.jpg") no-repeat center top/contain;
    padding: 32px 20px 20px;
    text-align: center;
}

#popupMyStamp .stamp-status .stamp-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

#popupMyStamp .stamp-status .stamp-left {
    font-size: 15px;
    color: #e3222c;
    margin-bottom: 16px;
}

#popupMyStamp .stamp-status .stamp-gift {
    margin-top: 14px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #f5c856;
    background-color: #131516;
    text-align: center;
    border-radius: 10px;
}

#popupMyStamp .stamp-status .stamp-gift h4 {
    font-size: 15px;
    color: #f5c856;
    font-weight: 700;
}

#popupMyStamp .stamp-status .stamp-gift p {
    font-size: 12px;
    color: #f5c856;
    margin: 0;
}

#popupMyStamp .stamp-status hr {
    background-color: #fff;
    margin-bottom: 16px;
    margin-top: 0px;
    opacity: 0.2;
}

#popupMyStamp .stamp-status .stamp-text1 {
    font-size: 16px;
    font-weight: 700;
    color: #ffeab7;
    line-height: 1.4;
    margin-bottom: 6px;
}

#popupMyStamp .stamp-status .stamp-text2 {
    font-size: 12px;
    color: #aea898;
}

#popupMyStamp .stamp-status .btn-group {
    text-align: center;
    margin-top: 16px;
}

#popupMyStamp .stamp-status .btn {
    display: inline-block;
    font-size: 14px;
    color: #ffeab7;
    font-weight: 700;
    text-align: center;
    width: 115px;
    padding: 8px 0;
    background-color: #7a745a;
    border: 1px solid #ffeab7;
    border-radius: 0px;
}

#popupMyStamp .stamp-status .btn.btn-link {
    background-color: #495057;
}

#popupMyStamp .stamp-status .btn+.btn {
    margin-left: 5px;
}

#popupMap #map {
    width: 100%;
    height: 100%;
}

#popupMap .popup-body {
    padding: 0;
    background-color: #f0f0f0;
    width: 100%;
}

.map-overlay {
    position: absolute;
    left: 0;
    bottom: 48px;
    width: 120px;
    margin-left: -60px;
    background-color: #000;
    color: #fff;
    border-radius: 3px;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.map-overlay::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 50%;
    margin-left: -4px;
    bottom: -4px;
    z-index: 1;
    background-color: #000;
    transform: rotate(45deg);
}

.map-overlay .ovl-title {
    position: relative;
    padding: 5px 30px 2px 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    white-space: normal;
}

.map-overlay .ovl-body {
    font-size: 11px;
    color: #ccc;
    padding: 5px 10px;
    white-space: normal;
}

.map-overlay .ovl-close {
    position: absolute;
    right: 4px;
    top: 5px;
    width: 18px;
    height: 18px;
}

.map-overlay .ovl-close::before, .map-overlay .ovl-close::after {
    content: "";
    display: block;
    width: 12px;
    border-top: 1px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -6px;
}

.map-overlay .ovl-close::before {
    transform: rotate(45deg);
}

.map-overlay .ovl-close::after {
    transform: rotate(135deg);
}

/*#popupMap #map .ovl-body { display: none; }*/
#popupQRScan .popup-inner {
    position: relative;
}

#popupQRScan .popup-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

#popupQRScan .popup-body {
    width: 100%;
    padding: 0;
    background-color: #000;
}

#popupQRScan .targets {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 10px;
    background-color: #fff;
    overflow: hidden;
}

#popupQRScan .targets h3 {
    margin-bottom: 10px;
}

#popupQRScan .targets ul {
    white-space: nowrap;
    font-size: 0px;
    overflow-y: hidden;
    overflow-x: auto;
}

#popupQRScan .targets ul li {
    display: inline-block;
    width: 65px;
    vertical-align: bottom;
    text-align: center;
}

#popupQRScan .targets ul li:first-child {
    margin-left: 10px;
}

#popupQRScan .targets ul li:last-child {
    margin-right: 10px;
}

#popupQRScan .targets ul li img {
    width: 100%;
    height: auto;
}

#popupQRScan .targets ul li p {
    font-size: 11px;
    line-height: 1.2;
}

.qrscan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.qrscan canvas {
    display: block;
    width: 100%;
    height: auto;
}

.qrscan .scan-area {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 60vw;
    height: 60vw;
    transform: translate(-50%, -90%);
}

.qrscan .scan-area>div {
    position: absolute;
    width: 32px;
    height: 32px;
}

.qrscan .scan-area>div:nth-of-type(1) {
    top: 0;
    left: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    border-left: 2px solid rgba(255, 255, 255, 0.7);
}

.qrscan .scan-area>div:nth-of-type(2) {
    top: 0;
    right: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
}

.qrscan .scan-area>div:nth-of-type(3) {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    border-right: 2px solid rgba(255, 255, 255, 0.7);
}

.qrscan .scan-area>div:nth-of-type(4) {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    border-left: 2px solid rgba(255, 255, 255, 0.7);
}

@keyframes popsScale {
    0% {
        transform: scale(0.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes popsUp {
    0% {
        transform: translateY(300px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes ball-grid-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.45);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.event-loader {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 21100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.event-loader .loader-box {
    position: relative;
    padding: 40px;
    border-radius: 30px;
    background-color: rgba(244, 0, 9, 0.8);
    text-align: center;
    animation: popsUp 0.5s cubic-bezier(0.14, 0.94, 0.36, 1.2) forwards;
}

.event-loader .loader-box p {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.loader-fx {
    display: inline-block;
    position: relative;
    width: 72px;
    height: 72px;
    font-size: 0;
}

.loader-fx>div {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 4px;
    background-color: #fff;
    border-radius: 50%;
    animation: ball-grid-pulse 0.65s 0s infinite;
}

.loader-fx>div:nth-child(1) {
    animation-duration: 0.65s;
    animation-delay: 0.03s;
}

.loader-fx>div:nth-child(2) {
    animation-duration: 1.02s;
    animation-delay: 0.09s;
}

.loader-fx>div:nth-child(3) {
    animation-duration: 1.06s;
    animation-delay: -0.69s;
}

.loader-fx>div:nth-child(4) {
    animation-duration: 1.5s;
    animation-delay: -0.41s;
}

.loader-fx>div:nth-child(5) {
    animation-duration: 1.6s;
    animation-delay: 0.04s;
}

.loader-fx>div:nth-child(6) {
    animation-duration: 0.84s;
    animation-delay: 0.07s;
}

.loader-fx>div:nth-child(7) {
    animation-duration: 0.68s;
    animation-delay: -0.66s;
}

.loader-fx>div:nth-child(8) {
    animation-duration: 0.93s;
    animation-delay: -0.76s;
}

.loader-fx>div:nth-child(9) {
    animation-duration: 1.24s;
    animation-delay: -0.76s;
}

/* 댓글이벤트 */
html[data-scroll=false] {
    position: fixed;
    overflow: hidden;
    touch-action: none;
    pointer-events: none;
}

.event-comment {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30000;
    width: 100%;
    height: 100%;
    pointer-events: none;
    touch-action: none;
}

.cmt-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
    touch-action: none;
}

.cmt-inner {
    position: absolute;
    top: calc(10% + var(--safeTop));
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: var(--safeBtm);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}

.cmt-inner {
    transform: translateY(calc(120% + var(--safeBtm)));
}

.event-comment[data-active=true] {
    pointer-events: auto;
    touch-action: manipulation;
}

.event-comment[data-active=true] .cmt-inner {
    transform: translateY(0);
}

.event-comment[data-active=true] .cmt-overlay {
    opacity: 1;
}

.cmt-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 10px 0 20px;
}

.cmt-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.cmt-header .cmt-refresh {
    margin-left: 6px;
    padding: 3px;
    line-height: 1;
    -webkit-tap-highlight-color: #eee;
}

.cmt-header .cmt-refresh span {
    font-size: 12px;
    color: #666;
    vertical-align: middle;
}

.cmt-header .cmt-refresh::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 2px;
    background: url(../images/comment/cmt_refresh.svg) no-repeat center/100%;
}

.cmt-header .cmt-refresh:active {
    background-color: #eee;
}

.cmt-header .cmt-close {
    width: 40px;
    height: 40px;
    margin-left: auto;
    font-size: 0;
    text-indent: -9999px;
    background: url(../images/comment/cmt_close.svg) no-repeat center/100%;
}

.cmt-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 80px;
}

.cmt {
    padding: 20px 0;
    border-top: 1px solid #f2f2f2;
}

.cmt:first-child {
    padding-top: 0;
    border-top: none;
}

.cmt .tag {
    display: inline-block;
    padding: 2px 8px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 400;
    color: #f40009;
    line-height: 20px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #f40009;
}

.cmt .tag.tag-best {
    padding-left: 4px;
}

.cmt .tag.tag-best::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    background: url(../images/comment/cmt_like_active.svg) no-repeat center/18px;
}

.cmt pre {
    font-family: "Noto Sans KR";
    font-size: 14px;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 10px;
    white-space: pre-line;
    word-break: break-all;
}

.cmt .cmt-info {
    display: flex;
    align-items: center;
}

.cmt .cmt-info .cmt-writer {
    font-size: 11px;
    color: #999;
}

.cmt .cmt-info .cmt-date {
    font-size: 11px;
    color: #999;
    margin-left: 14px;
}

.cmt .cmt-info .cmt-like {
    margin-left: auto;
}

/* 좋아요 */
.cmt-like>button {
    display: flex;
    align-items: center;
}

.cmt-like>button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/comment/cmt_like.svg) no-repeat center/100%;
}

.cmt-like>button>span {
    font-size: 12px;
    color: #999;
}

.cmt-like>button.like-active::before {
    background-image: url(../images/comment/cmt_like_active.svg);
}

.cmt-like>button.like-active>span {
    color: #f40009;
}

.cmt-like>button[readonly] {
    pointer-events: none;
}

.cmt-like>button[readonly]::before {
    background-image: url(../images/comment/cmt_like_own.svg);
}

.cmt-like>button[readonly]>span {
    color: #f40009;
}

.cmt-last,
.cmt-nocmt {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.cmt-nocmt {
    padding-bottom: 30px;
}

.cmt-loading {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
}

.cmt-loading::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-color: #ccc transparent #ccc transparent;
    animation: cmt_load 1.2s linear infinite;
}

@keyframes cmt_load {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cmt-own {
    position: relative;
    border-top: 1px solid #ccc;
    padding: 12px 20px 16px;
    box-sizing: border-box;
}

.cmt-own::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 1px);
    z-index: 1;
    width: 100%;
    height: 80px;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.cmt-own .cmt-own-inner {
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.3s ease-out;
}

.cmt-own .toggle-cmt {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 48px;
    text-indent: -9999px;
    font-size: 0;
    border-radius: 0;
}

.cmt-own .toggle-cmt::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 18px;
    display: block;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    transform: rotate(45deg);
}

.cmt-own[data-expand=false] .cmt-own-inner {
    max-height: 20px;
    transition: max-height 0.3s ease-out;
}

.cmt-own[data-expand=false] .toggle-cmt::after {
    transform: rotate(225deg);
    top: 24px;
}

.cmt-own[data-expand=false] .cmt-own-inner {
    pointer-events: none;
}

.cmt-own h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 20px;
}

.cmt-own .cmt-placeholder p,
.cmt-own .cmt-deleted p {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 30px 0;
}

.cmt-own .cmt-placeholder p::before,
.cmt-own .cmt-deleted p::before {
    content: "i";
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    border-radius: 50%;
    border: 1px solid #ccc;
    font-size: 14px;
    text-align: center;
    color: #ccc;
    margin-right: 6px;
}

.cmt-btngroup {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.cmt-btngroup[data-full=true] .cmt-btn {
    flex: 1;
}

.cmt-btngroup .cmt-btn+.cmt-btn {
    margin-left: 5px;
}

.cmt-btngroup .cmt-like {
    margin-left: auto;
}

.cmt-btn {
    display: inline-block;
    font-size: 13px;
    color: #666;
    text-align: center;
    white-space: nowrap;
    line-height: 40px;
    padding: 0 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}

.cmt-btn[data-intent=primary] {
    background-color: #f40009;
    border-color: #f40009;
    color: #fff;
}

.cmt-own .cmt-textarea {
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
}

.cmt-own .cmt-textarea .textarea {
    border: none;
    border-bottom: 1px solid #e5e5e5;
    padding-top: 10px;
    padding-bottom: 28px;
}

.cmt-own .cmt-textarea .textarea textarea {
    line-height: 1.4;
    overflow: hidden;
}

.cmt-own .cmt-textarea .cmt-textlength {
    position: absolute;
    right: 20px;
    bottom: 8px;
    font-size: 12px;
    color: #999;
}

.cmt-own .cmt-textarea .cmt-textlength strong {
    color: #000;
    font-weight: 400;
}

.cmt-own .cmt-write .cmt-writeinfo {
    margin-top: 10px;
}

.cmt-own .cmt-write .cmt-writeinfo li {
    position: relative;
    font-size: 12px;
    color: #999;
    line-height: 1.3;
    padding-left: 8px;
}

.cmt-own .cmt-write .cmt-writeinfo li+li {
    margin-top: 4px;
}

.cmt-own .cmt-write .cmt-writeinfo li::before {
    content: "•";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    font-size: inherit;
}

.cmt-own pre {
    font-family: "Noto Sans KR";
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 10px;
    white-space: pre-line;
    height: 100px;
    overflow-y: auto;
}

.cmt-own .cmt-forbidden {
    position: absolute;
    right: 45px;
    top: 14px;
    color: #f40009;
    font-size: 11px;
}

/* 댓글 이벤트 본문용 */
#bestComment {
    padding: 0 30px 30px;
}

#bestComment, .no-best {
    background-color: #f1f1f1;
}

.no-best {
    padding: 30px 20px 50px;
    text-align: center;
    font-size: 16px;
    color: #999;
}

.best-comment {
    background-color: #fff;
    padding: 16px 20px !important;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.best-comment+.best-comment {
    margin-top: 10px;
}

.best-comment pre {
    min-height: 80px;
}

.best-comment.cmt .cmt-info .cmt-like>button[readonly]::before {
    background-image: url(/resources/images/comment/cmt_like_active.svg);
}

.comment-button {
    padding: 0 30px 80px;
    background-color: #f1f1f1;
}

.comment-button>button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    padding: 20px 0;
    border-radius: 10px;
}

.comment-button>button>img {
    height: 23px;
    width: auto !important;
}

.comment-button>button .count-comment {
    display: inline-block;
    margin-left: 8px;
    background-color: #fff;
    min-width: 36px;
    height: 24px;
    line-height: 24px;
    border-radius: 12px;
    padding: 0 10px;
    font-family: "gotham";
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-align: center;
    animation: bounce 1s ease-in-out both infinite;
    box-sizing: border-box;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1, 1);
    }

    40% {
        transform: translateY(3px) scale(1.1, 0.9);
    }

    60% {
        transform: translateY(-10px) scale(0.9, 1.1);
    }
}

.youtube {
    position: relative;
    height: 0;
    padding-top: 56.25%;
    display: block;
}

.youtube.youtube-portrait {
    position: relative;
    height: 0;
    padding-top: 177.7778%;
    display: block;
}

.youtube iframe {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}