* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 16px;
    background: var(--bg);
    width: 100%;
    min-height: 100vh;
    font-family: var(--pretendard) !important;
    color: var(--font-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    width: 100%;
    vertical-align: bottom;
    box-sizing: border-box;
    object-fit:  cover;
}

span {
    display: block;
}

li,
ul,
a {
    list-style: none;
    text-decoration: none;
    color: var(--font-color);
    font-family: var(--pretendard);
}

textarea,
input {
    border: 1px solid #eee;
    outline: none;
    border-radius: 0px;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: 100%;
    font-family: var(--pretendard);
}

input:focus,
button:focus,
button {
    outline: none !important;
}

iframe{
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 1;
}

figure[data-og-host="twitter.com"] a{
    border:1px solid var(--color-border)!important;
    border-radius: 10px;
    overflow: hidden;
    height: 130px!important;
    background-color: var(--color-btn1)!important;
} 

figure[data-og-host="twitter.com"] a .og-image{
   width:130px!important; 
   border:none!important;
}

figure[data-og-host="twitter.com"] a .og-text {
    left: 141px!important;
    padding:20px 20px!important;
}

figure[data-og-host="twitter.com"] a .og-title{
    color:var(--font-color)!important;
} 

figure[data-og-host="twitter.com"] a .og-text p.og-title{
    margin:0!important;
    font-size: 13px!important;
    font-family: var(--pretendard)!important;
}

figure[data-og-host="twitter.com"] a .og-text p.og-desc{
    margin-top:-10px!important;
    font-size: 12px!important;
    font-family: var(--pretendard)!important;
    color:var(--font-color)!important;
    opacity: 0.8;
}

figure[data-og-host="twitter.com"] a .og-text p.og-host{
    font-size: 12px!important;
    font-family: var(--pretendard)!important;
    color:var(--font-color)!important;
    opacity: 0.8;
}

figure[data-ke-type="video"]{
    width: 100%; 
    padding-bottom: 56.25%;
} 

figure.fileblock, #tt-body-page figure.fileblock{
    border:1px solid var(--color-border);
    border-radius: 15px;
    margin:4px 0!important;
}

figure.fileblock .filename, #tt-body-page figure.fileblock .filename{
    color:var(--font-color);
    margin:15px 0 0 0;
}

figure.fileblock .size, #tt-body-page figure.fileblock .size{
    color:var(--font-color);
    opacity: 0.8;
    margin:0;
}

[data-tistory-react-app="Namecard"]{
    display: none!important;
}

.blur-up {
	-webkit-filter: blur(5px);
	filter: blur(5px);
	transition: filter 400ms, -webkit-filter 400ms;
}

.blur-up.lazyloaded {
	-webkit-filter: blur(0);
	filter: blur(0);
}

.wrap {
    width: 400px;
}

#tt-body-index .wrap {
    position: relative;
    margin: 0 auto;
}

#cover {
    position: relative;
}

#cover .gallery {
    border-radius: 2rem;
    height: 500px;
    background-size: cover;
    background-position: center center;
}

header {
    position: fixed;
    bottom: 30px;
    width: 400px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 99;
    height: 55px;
}

header .header-wrap {
    position: relative;
    display: flex;
    padding: 0 30px;
    width: 100%;
    height: 100%;
}

header .header-wrap .profile .image a{
    height: 100%;
}

header .header-wrap .profile .image a img{
    height: 100%;
    object-fit: cover;
}

header .header-wrap .btn {
    background: var(--color-btn1);
    width: 55px;
    height: auto;
    /* height: 55px; */
    position: absolute;
    right: 30px;
    bottom: 0;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    /* border-radius: 50%; */
    border-radius: 30px;
}

header .header-wrap .btn .btn-wrap {
    position: relative;
    height: 100%;

}

header .header-wrap .btn .btn-wrap .icon {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translate(-50%, 0);
    bottom: 6px;
    left: 50%;
    cursor: pointer;
}

header .header-wrap .btn .btn-wrap .icon:after {
    position: relative;
}

header .header-wrap .btn .btn-wrap .icon .icon-bg {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transform: translate(-50%, 0);
    left: 50%;
    z-index: -1;
    background: var(--color-btn1);
}

header .header-wrap .btn .btn-wrap .links {
    padding: 10px 0 55px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

header .header-wrap .btn .btn-wrap .links .link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

header .header-wrap .btn .btn-wrap .links .link .link-content{
    width:100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
}

header .header-wrap .btn .btn-wrap .links .link .link-content a{
    width:100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

header .header-wrap .btn .btn-wrap .links .link:hover {
    background: var(--color-btn1);
}

header .header-wrap .profile {
    cursor: pointer;
    border-radius: 30px;
    width: calc(100% - 70px);
    display: flex;
    position: relative;
    align-items: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: linear-gradient(0deg, var(--color-btn1) 0%, var(--color-btn2) 100%);
}

header .header-wrap .profile .image {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 10px;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 50%;
    overflow: hidden;
}

header .header-wrap .profile .title {
    margin: 1.5px 0 0 60px;
}

header .header-wrap .profile .title span {
    font-size: 12px;
    font-weight: 500;
    line-height: 13px;
}

header .header-wrap .profile .title span:last-child {
    font-size: 11px;
    opacity: 0.8;
}

header .profile,
header .btn {
    border: 1px solid var(--color-border);
}

.wrap {
    opacity: 0;
}

.search {
    bottom: -60px;
    display: flex;
    align-items: center;
    height: 20px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 95%;
    padding: 0 30px;
    gap: 20px;
}

.search .search-input {
    width: 88%;
    border-bottom: 1px solid var(--color-border);
}

.search .search-input input {
    caret-color: var(--font-color);
    background: none;
    border: none;
    color: var(--font-color);
    touch-action: manipulation;
    font-size: 16px;
    transform: scale(0.86);
    padding: 10px 0;
}

#guest {
    padding: 0 20px;
}

#guest .titleWrap {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 55px;
}

#guest .titleWrap span {
    font-size: 14px;
}

#guest .guestwrite .guest-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#guest .guestwrite .guest-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
    height: 40px;
    margin:0 0 10px 0;
}

#guest .guestwrite .guest-form input{
    border:1px solid var(--color-border);
    padding:5px 15px;
    color: var(--font-color);
    caret-color: var(--font-color);
    border-radius: 15px;
    background:none;
}

#guest .guestwrite textarea {
    resize: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    color: var(--font-color);
    padding: 15px;
    overflow: hidden;
    height: 90px;
    font-size: 16px;
    caret-color: var(--font-color);
}

#guest .guestwrite .g-btn-wrap {
    display: flex;
    height: 55px;
    margin: 10px 0 50px 0;
    gap: 10px;
}

#guest .guestwrite .g-btn-wrap button {
    width: calc(100% - 60px);
    background: var(--color-btn2);
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--font-color);
    font-family: var(--pretendard);
}

#guest .guestwrite .g-btn-wrap .secret-btn {
    /* background: var(--color-btn2);
   border: 1px solid var(--color-border);
   border-radius: 50%; */
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#guest .guestwrite .g-btn-wrap label {
    width: 100%;
    height: 100%;
    /* border:none!important; */
    text-align: center !important;
    margin: 0 auto !important;
    position: relative;
}

#guest .guestwrite .g-btn-wrap input {
    border: none;
}

#guest .guestwrite .g-btn-wrap .secret-btn .icon {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    display: block;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background-image: url(https://t1.daumcdn.net/tistory_admin/static/mobile/tt_img_area_reply_230527.svg);
    background-size: 150px 150px;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-position: -46px -40px;
}

#guest .guestwrite .g-btn-wrap .secret-btn input[type='checkbox']:checked+.icon {
    background-position: -26px -40px;
}


#guest .tistoryProfileLayerTrigger {
    display: none;
}

#guest .guest-list .g-wrap {
    position: relative;
}

#guest .guest-list .g-wrap .control {
    position: absolute;
    right: 0;
    top: 3px;
}

#guest .guest-list .g-wrap .control i {
    font-size: 0.9rem;
    opacity: 0.2;
}

#guest .guest-list .g-wrap .flex {
    display: flex;
    gap: 20px;
}

#guest .guest-list .g-wrap .flex .image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

#guest .guest-list .g-wrap .flex .image img {
    width: 100%;
}

#guest .guest-list .g-wrap .flex .content {
    width: calc(100% - 60px);
}

#guest .guest-list .g-wrap .flex .content span {
    font-size: 0.9rem;
}

#guest .guest-list .g-wrap .flex .content .name {
    padding: 2px 0 0 0;
}

#guest .guest-list .g-wrap .flex .content .date {
    font-size: 0.8rem;
    color: var(--font-color);
    opacity: 0.8;
    margin: 5px 0 0 0;
}

#guest .guest-list .g-wrap .flex .guest-content {
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}


#guest .guest-list .g-wrap .flex .reply-btn {
    display: flex;
    gap: 5px;
    align-items: center;
}

#guest .guest-list .g-wrap .flex .reply-btn .dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #d8d8d8;
    margin: 5px 0 0 0;
}

#guest .reply {
    padding-left: 55px;
    position: relative;
    margin: 20px 0 0 0;
}

#guest .reply::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 16px;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
}

#guest .paging {
    margin: 10px 0 0 0 !important;
    display: flex;
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0;
}

#guest .numbox {
    display: flex;
}

.entryNotice {
    padding: 20px;
}

.entryNotice .titleWrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.entryNotice .titleWrap span {
    font-size: 0.9rem;
}

.entryNotice .titleWrap .title {
    background: var(--color-btn2);
    border: 1px solid var(--color-border);
    width: max-content;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.entryNotice .article {
    font-size: 0.9rem;
}

.entryNotice .article .image {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.entryNotice .mark {
    display: flex;
    gap: 10px;
    height: 50px;
    align-items: center;
}

.entryNotice .mark span {
    font-size: 0.7rem;
}

.entryNotice .mark span:first-child {
    opacity: 0.8;
}

.entryNotice #reaction-2 {
    display: none;
}

.entryNotice .container_postbtn {
    position: absolute;
    bottom: 30px;
    right: 0;
    padding: 0 25px !important;
}

.entryNotice .container_postbtn .btn_menu_toolbar {
    padding: 1px 0 0 0 !important;
}

.entryNotice .wrap_btn_share {
    display: none !important;
}

.entryNotice .layer_post {
    left: -90px !important;
}

.entryNotice .layer_post .ico_arrbt {
    right: 0 !important;
    left: auto !important;
}

.entryProtected{
    padding:0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.entryProtected .protected{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entryProtected .protected i{
    display: inline;
    margin:0 0 10px 0;
}

.entryProtected input{
    width: 150px;
    border:1px solid var(--color-border);
    background:var(--color-btn2);
    margin:10px 0 0 0;
    padding:10px 15px;
    border-radius: 30px;
    color:var(--font-color);
    caret-color: var(--font-color);
    font-size: 16px;
    transform: scale(0.86);
}

#content .maincontent figure {
    margin: 0 0 2px 0;
}

#content .area_related {
    margin: 40px 0 0 0;
    overflow: hidden;
}

#content .area_related .postSwiper {
    margin: 20px 0 0 0;
}

#content .area_related .tit_related {
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    width: 100%;
}

#content .area_related .tit_related a {
    position: absolute;
    top: 51%;
    transform: translate(0, -50%);
    right: 0;
    font-size: 0.8rem;
}

#content .area_related .date_related {
    opacity: 0.7;
    font-weight: 500;
    font-size: 0.8rem;
    margin: 9px 0 0 0;
    padding: 0 10px;
}

#content .area_related .txt_related {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 2px 0 0 0;
    padding: 0 10px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#content .area_related .thumb_type .thumb_related {
    display: block;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1/1;
    position: relative;
}

#content .area_related .thumb_type .thumb_related img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#content .area_related .noImg{
    aspect-ratio: 1/1;
    background:var(--color-btn2);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:var(--color-border);
    opacity: 0.3;
}

#content .tt-comment-cont {
    margin-top: 15px;
}

#content .tt-comment-cont .tt-box-total {
    display: none;
}

#content .tt-comment-cont .tt-box-thumb {
    padding: 3.5px 0 0 0;
}

#content .tt-comment-cont .tt-thumbnail {
    width: 40px;
    height: 40px;
}

#content .tt-item-reply .tt-thumbnail {
    margin:5px 0 0 0;
}

#content .tt-area-write .tt-box-account {
    display: flex !important;
    gap: 5px !important;
}

#content .tt-area-write .tt-box-account input {
    border: 1px solid var(--color-border) !important;
    background: var(--color-btn2)!important;
    border-radius: 25px !important;
    padding: 12px 20px !important;
    width: 50% !important;
    caret-color: var(--font-color); 
}

.tt_wrap_write {
    position: relative;
}

.tt_wrap_write .tt-box-textarea {
    text-align: none;
    position: relative !important;
    margin-bottom: 0 !important;
}

.tt-cmt {
    width: calc(100% - 30px) !important;
    line-height: 120% !important;
}

.tt-box-textarea .tt-inner-g {
    border: 1px solid var(--color-border) !important;
    white-space: pre-wrap;
    word-break: break-all;
    width: calc(100% - 30px);
    resize: none;
    min-height: 45px !important;
    height: auto !important;
    overflow-y: hidden !important;
    padding: 15px 20px !important;
    border-radius: 25px !important;
    position: relative !important;
    background: var(--color-btn2);
}

.tt_wrap_write .tt-box-textarea .tt-inner-g .tt_txt_user {
    display: none;
}

.tt-box-textarea div {
    color: var(--font-color) !important;
}

.tt-box-textarea div::placeholder {
    color: var(--font-color);
}

.tt-box-write .tt-xe-label {
    margin: 0 !important;
    padding: 0 0 1px 6px;
}

.tt-box-write {
    position: absolute;
    top:7px;
    right: 8px;
    height: 35px !important;
    width: 35px !important;
}

.tt-box-textarea textarea,
.tt-box-textarea div {
    line-height: auto !important;
}

.tt-box-write .tt-xe-input-helper {
    margin: 0 !important;
}

.tt-btn_register {
    display: none;
    width: 35px !important;
    height: 35px !important;
    border: var(--color-border) !important;
    background-color: var(--color-btn2) !important;
}

.tt-btn_register:disabled {
    display: none;
}

.tt-btn-cancel {
    display: none !important;
}

.tt-txt-mention {
    font-size: 0.8rem !important;
    margin-right: 5px !important;
}

.tt-box-content .tt-box-meta {
    padding: 7px 0 0 0 !important;
}

.tt-wrap-cmt .tt_date {
    padding-top: 0 !important;
    line-height: 1 !important;
    font-family: var(--pretendard) !important;
    color: var(--font-color) !important;
    opacity: 0.8 !important;
    ;
}

.tt-wrap-cmt .tt-wrap-link-comment {
    line-height: 1 !important;
}

.tt-link-comment .tt_txt_g {
    line-height: 1 !important;
    padding: 0 !important;
    font-family: var(--pretendard) !important;
    color: var(--font-color) !important;
    font-size: 12px !important;
    opacity: 0.8 !important;
}

.tt-wrap-info {
    height: 20px !important;
}

.tt-wrap-info .tt_date+.tt-wrap-link-comment:before {
    top: 5px !important;
}

.tt-box-content .tt-box-meta a,
.tt-wrap-cmt .tt_desc {
    color: var(--font-color) !important;
    font-size: 0.9rem !important;
    font-family: var(--pretendard);
    font-weight: 400 !important;
}

.tt-wrap-cmt .tt_desc {
    margin: 8px 0 5px 0 !important;
}

.tt-wrap-cmt .tt-link-user {
    line-height: 1 !important;
}

.tt-item-reply .tt-list-reply-comment {
    border-top: none !important;
    margin: 0 !important;
    display: flex !important;
    gap: 10px;
    flex-direction: column;
    padding-top: 10px;
}

.tt-list-reply-comment .tt-item-reply:before {
    left: 15px !important;
    top: 15px !important;
}

.rp_general {
    margin-top: 10px;
}

.tt-list-reply {
    border-bottom: none !important;
    margin-bottom: 25px !important;
}

.tt-list-reply>form {
    margin-top: 10px;
}

.tt-list-reply-comment .tt-item-reply {
    padding-left: 55px !important;
}

.tt-area-reply {
    margin-bottom: 0 !important;
}

.tt-item-reply {
    padding: 0 !important;
    border-top: none !important;
}

.tt-wrap-cmt .tt-button-modify:hover {
    background: none !important;
}

.tt-item-reply .tt_cmt_info .tt_ico_fixed {
    width: 11px !important;
}

.tt-item-reply .tt_cmt_info .tt_txt_g {
    font-family: var(--pretendard);
}

.tt-wrap-cmt .tt-link-comment {
    display: flex !important;
    align-items: center !important;
}

.tt-link-comment .tt_num_g {
    padding-top: 0px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    font-family: var(--pretendard) !important;
}


.tt-wrap-cmt .tt-box-modify {
    top: 1px !important;
}

.tt-wrap-cmt .tt-button-modify:hover,
.tt-wrap-cmt .tt-box-modify.tt-box-modify-open .tt-button-modify {
    background: none !important;
}

.tt-txt-mention{
    font-family: var(--pretendard)!important;
}

#content {
    padding: 0 20px 110px 20px;
}

#content .maincontent {
    text-align: justify;
    font-size: 0.9rem;
    line-height: 200%;
    font-weight: 400;
    margin: 0 auto;
}

#content .title-wrap {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 55px;
    padding: 0 0 0 10px;
}

#content .title-wrap .title {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 88%;
    margin: 0 auto;
}

#content .title-wrap .backicon {
    font-size: 0.8rem;
}

#content figure {
    border-radius: 10px;
    overflow: hidden;
}

#content .backicon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
}

.container_postbtn {
    padding: 0 !important;
    margin: 5px 0 0 0;
    position: relative;
}

.container_postbtn .postbtn_like {
    padding: 0 !important;
    border: 0 !important;
    display: flex;
    gap: 10px;
}

.container_postbtn .btn_post {
    padding: 0 !important;
    font-family: var(--pretendard) !important;
}

.container_postbtn .btn_post .ico_postbtn.ico_like {
    background-image: none;
    background-position: 0;
    text-indent: 0;
    margin: 0;
}

.container_postbtn .btn_post .ico_postbtn.ico_like i {
    width: 100%;
    height: 100%;
    font-size: 1rem;
}

.container_postbtn .postbtn_like .wrap_btn {
    display: flex;
    align-items: center;
}

.uoc-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.uoc-icon.empathy_up_without_ani.like_on {
    display: flex;
    gap: 5px;
    align-items: center;
}

.container_postbtn .btn_post .txt_like {
    font-size: 12px !important;
    font-weight: 500 !important;
    font-family: var(--pretendard) !important;
    padding: 2px 0 0 0;
}

.txt_like.count:after {
    content: "명이 좋아합니다";
    font-size: 0.8rem;
    font-family: var(--pretendard);
}

.container_postbtn .btn_post .ico_share {
    display: none;
}

.container_postbtn .btn_menu_toolbar .txt_state {
    font-family: var(--pretendard);
}

#content .container_postbtn .btn_menu_toolbar.btn_subscription {
    position: absolute;
    right: 0;
    top: 50%;
    padding: 1px 0 0 0 !important;
    transform: translate(0, -50%);
    border: 1px solid var(--color-border) !important;
}

.container_postbtn .btn_post.sns_btn.btn_share::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: 18px auto;
    background-color: var(--font-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96H80a8,8,0,0,1,0,16H56v96H200V112H176a8,8,0,0,1,0-16h24A16,16,0,0,1,216,112ZM93.66,69.66,120,43.31V136a8,8,0,0,0,16,0V43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66Z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96H80a8,8,0,0,1,0,16H56v96H200V112H176a8,8,0,0,1,0-16h24A16,16,0,0,1,216,112ZM93.66,69.66,120,43.31V136a8,8,0,0,0,16,0V43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66Z'%3E%3C/path%3E%3C/svg%3E");
}


.container_postbtn .btn_post .ico_etc {
    display: none;
}

.container_postbtn .btn_post.btn_etc1::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: 18px auto;
    background-color: var(--font-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z'%3E%3C/path%3E%3C/svg%3E");
}

.container_postbtn .btn_post.btn_etc2::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: 18px auto;
    background-color: var(--font-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'  viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'  viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z'%3E%3C/path%3E%3C/svg%3E");
}

.container_postbtn .ico_postbtn.ico_statistics {
    display: none;
}

.container_postbtn .btn_post.btn_etc2::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: 18px auto;
    background-color: var(--font-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z'%3E%3C/path%3E%3C/svg%3E");
}

.container_postbtn .postbtn_like .btn_post.btn_post:not(.btn_etc1, .btn_etc2, .sns_btn, .uoc-icon)::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-size: 18px auto;
    background-color: var(--font-color);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z'%3E%3C/path%3E%3C/svg%3E");
}

.paging {
    padding: 0 20px;
    margin: 20px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 9;
}

.paging-wrap {
    display: flex;
    justify-content: space-between;
    right: 0;
    width: 110px;
    position: relative;
    align-items: center;
}

.paging i {
    font-size: 0.8rem;
    color: var(--font-color);
}

.paging .page-length {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 0.8rem;
    gap: 2px;
}

.paging .page-length .current {
    font-weight: 600;
}

.paging .page-length .length {
    font-weight: 400;
    opacity: 0.9;
}

#tt-body-index header {
    position: absolute;
    width: 100%;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0);
}

#tt-body-index .txt_like {
    display: none;
}

#tt-body-index header .profile,
#tt-body-index header .btn {
    border: none;
}

#sgallery {
    width: 100%;
    margin: 0px 0 100px 0;
}


#sgallery .cate-list-wrap {
    width: 100%;
    height: 55px;
    transition: 0.3s ease-in-out;
}

#sgallery .cate-list-wrap .cates {
    width: 100%;
    position: relative;
    overflow: hidden;
}

#sgallery .cate-list .cate-btn {
    display: flex;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 20px 10px 20px;
}

#sgallery .cate-list .cate-btn .icon {
    transform: rotate(0deg);
    transition: 0.3s ease-in;
}

#sgallery .cate-list .cate-btn .icon.open {
    transform: rotate(-180deg);
}

#sgallery .cate-list .tt_category {
    width: 100%;
    margin:5px 0 0 0;
}

#sgallery .cate-list .tt_category li {
    gap: 5px;
}

#sgallery .cate-list .tt_category li .link_tit {
    display: none;
    border-radius: 5px;
    font-size: 0.7rem;
}

#sgallery .cate-list .tt_category li .category_list .selected {
    position: relative;
    /* padding: 6px 25px 7px 13px; */
}

#sgallery .cate-list .tt_category li .category_list .selected .dot {
    position: absolute;
    top: 14.5px;
    right: 12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--font-color);
    animation: dotAnimation 2s ease-in-out infinite;
}

@keyframes dotAnimation {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

#sgallery .cate-list .tt_category li .category_list>li {
    position: relative;
    border-radius: 20px;
    padding: 6px 13px 7px 13px;
    height: 35px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

#sgallery .cate-list .tt_category li .category_list>li>a {
    font-size: 0.8rem;
    overflow: hidden;
    width: max-content;
}

#sgallery .cate-list .tt_category li .category_list .sub_category_list {
    /* display: none; */
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0 5px 0;
    flex-direction: column;
}

#sgallery .cate-list .tt_category li .category_list .sub_category_list>li {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* background:rgba(255,255,255,0.1); */
}

#sgallery .slist-contain .empty{
    padding: 0 20px;
    font-size: 0.9rem;
}

#sgallery .slist-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    padding: 2px 20px 0 20px;
}

#sgallery .slist-wrap .thumbnail{
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}

#sgallery .slist-wrap .thumbnail a{
    width: 100%;
    display: block;
    height: 100%;
}

#sgallery .slist-wrap .thumbnail .thumb-img {
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
    aspect-ratio: 1/1;
    position: relative;
}

#sgallery .slist-wrap .thumbnail .thumb-img img{
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

#sgallery .slist-wrap .thumbnail .chck{
    display: none;
}

#sgallery .slist-wrap .thumbnail .lock{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.8rem;
    padding:2px 0 0 0;
    background:var(--color-border);
    opacity: 0.3;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.cates::before,
.cates::after {
    display: block;
    position: absolute;
    top: 0;
    width: 45px;
    height: 35px;
    z-index: 10;
    content: '';
}

.cates::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) -20.19%, var(--bg) 18.31%, rgba(0, 0, 0, 0) 75%);
}

.cates::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg) -20.19%, var(--bg) 18.31%, rgba(0, 0, 0, 0) 75%);
}

#content:has(.mobile){
    padding:0 0 0 0;
}

wrap:has(.mobile){
    padding:0;
}

@media (max-width: 550px) {
    .wrap {
        padding:0!important;
    }
}

#content:has(.mobile) :is(.title-wrap, .maincontent, .tit_related){
    padding-left:25px!important;
    padding-right: 25px!important;
}

#content:has(.mobile) .title-wrap .backicon{
    left:25px;
}

#content:has(.mobile) .tit_related .link_more{
    right:25px;
}

#content:has(.mobile) .swiper-slide {
    width: calc(50% - 4px);
}

#content:has(.mobile) .swiper-wrapper{
    width: 100%;
}

#content:has(.mobile) .swiper-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 25px 110px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: auto!important;
    align-items: stretch;
}

#content:has(.mobile) .swiper-wrapper::-webkit-scrollbar {
    width: 0 !important;
    height: 0!important;
}

#sgallery .swiper-slide {
    width: auto !important;
    position: relative;
    z-index: 9;
    transition: 0.3s ease-in;
    background: var(--color-btn1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    margin-right: 5px;
}

#sgallery .swiper-slide:last-child {
    margin-right: 0px;
}

#sgallery .swiper-slide .sub {
    position: absolute;
    top: 11px;
    right: 10px;
    font-size: 0.6rem;
    cursor: pointer;
    transition: 0.3s ease-in;
}

@media (max-width: 600px){
    figure[data-og-host="twitter.com"] a .og-text p.og-desc{
    display: block!important;
    }

    figure[data-og-host="twitter.com"] a .og-text{
        padding: 15px 15px 0 15px!important;
    }

    figure[data-og-host="twitter.com"] a .og-text p.og-host{
    bottom:15px!important;
}
}


@media all and (max-width:550px) {
    body {
        display: block;
        min-height: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .wrap {
        width: 100%;
        padding: 0 5px;
    }

    .swiper {
        overflow: visible !important;
    }

    #content .maincontent {
        font-size: 1rem;
    }

    #cover {
        padding: 20px 10px;
    }

    #tt-body-index header {
        bottom: 50px;
        width: 95%;
    }

    #content {
        overflow: hidden;
    }

    #content .area_related {
        overflow: visible;
    }

    .search {
        padding: 0 40px;
        bottom: -30px;
    }

    .search .search-input {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .entryProtected{
        padding:50px 0 0 0;
    }
}
/* --- 카테고리 슬라이딩 및 겹침 수정 코드 시작 --- */

/* 1. 카테고리 전체 박스 높이 제한 해제 및 아래 여백 확보 */
#sgallery .cate-list-wrap {
    height: auto !important; /* 고정 높이 55px 해제 */
    min-height: 55px; 
    padding-bottom: 10px; /* 터치 스크롤 편의를 위한 여백 */
    margin-bottom: 20px; /* 갤러리 썸네일과 겹치지 않도록 아래쪽 간격 추가 */
    overflow: visible !important; /* 잘림 방지 */
}

/* 2. 가로 스크롤(슬라이딩) 기능 활성화 */
#sgallery .cate-list-wrap .cates {
    overflow-x: auto !important; /* 가로 스크롤 허용 */
    overflow-y: hidden;
    white-space: nowrap; /* 줄바꿈 방지 */
    width: 100%;
    -webkit-overflow-scrolling: touch; /* 모바일에서 부드럽게 스크롤 */
    padding: 0 20px; /* 좌우 여백 */
}

/* 스크롤바 숨기기 (디자인 깔끔하게) */
#sgallery .cate-list-wrap .cates::-webkit-scrollbar {
    display: none;
}
#sgallery .cate-list-wrap .cates {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* 3. 카테고리 목록을 한 줄로 강제 정렬 */
#sgallery .cate-list .tt_category, 
#sgallery .cate-list .tt_category li,
#sgallery .cate-list .tt_category li .category_list {
    display: flex !important;
    flex-wrap: nowrap !important; /* 줄바꿈 절대 금지 */
    flex-direction: row !important;
    width: max-content !important; /* 내용물만큼 가로로 길어지게 설정 */
    align-items: center;
}

/* 4. 개별 카테고리 버튼 모양 유지 */
#sgallery .cate-list .tt_category li .category_list > li {
    flex-shrink: 0; /* 화면이 작아도 버튼이 찌그러지지 않게 고정 */
    margin-right: 5px; /* 버튼 사이 간격 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 수정 코드 끝 --- */
/* 여러 가능성이 있는 클래스명을 모두 숨김 처리 */
.another_category, 
.related-posts, 
.article-related, 
[class*="related"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}