@charset 'UTF-8';

@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('./images/Pretendard.woff2') format('woff2-variations');
}

/* ********************** */
/* **** Global reset **** */
/* ********************** */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

ol,
ul,
li {
  list-style: none;
}

button {
  color: inherit;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font: inherit;
}

img {
  max-width: 100%;
  max-height: 100%;
}

textarea,
input {
  color: var(--color-font);
  font-size: var(--font-size);
  font-family: var(--font);
  border: none;
  border-radius: unset;
  outline: none;
  background: none;
}

textarea {
  width: 100%;
  resize: none;
}

svg {
  width: var(--svg-m);
  height: var(--svg-m);
  display: block;
  color: var(--color-font);
  transition: color var(--transition);
}

iframe {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: var(--round-content);
}

iframe[width='560'] {
  aspect-ratio: 16 / 9;
}

.lazy {
  opacity: 0;
}

.tistoryProfileLayerTrigger,
.another_category,
.container_postbtn,
.postbtn_ccl,
.uoc-count,
.ico_postbtn,
[data-tistory-react-app='Namecard'] {
  display: none !important;
}

.sidebar::-webkit-scrollbar,
.responsive-menu::-webkit-scrollbar,
.rm-content::-webkit-scrollbar,
.status::-webkit-scrollbar,
.category::-webkit-scrollbar,
.sub_category_list::-webkit-scrollbar,
.article-tag-wrap::-webkit-scrollbar,
.comment::-webkit-scrollbar,
.comment-form::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar {
  width: 19px;
}

::-webkit-scrollbar-thumb {
  height: 10%;
  border: 8px solid transparent;
  border-radius: 100px;
  background-clip: padding-box;
  background-color: var(--color-primary);
  transition: background-color var(--transition);
}

::-webkit-scrollbar-track {
  background-color: var(--color-bg);
}

::selection {
  color: var(--color-select-font);
  background-color: var(--color-select-bg);
}

.tippy-box {
  padding: 2px;
  background-color: #000;
}

.tippy-content {
  color: #fff;
  font-size: var(--font-size-s);
  font-weight: var(--text-bold);
  font-family: var(--font-family);
}
/* ********************** */
/*





*/
/* **************** */
/* **** Preset **** */
/* **************** */
.hidden {
  display: none !important;
}

.divider {
  font-size: var(--font-size-s);
}

.link--effect a:link,
.link--effect a:visited {
  display: inline-block;
  position: relative;
  color: var(--color-primary);
  line-height: var(--line-h-m);
}

.link--effect a:link:not(:has(img))::before,
.link--effect a:visited:not(:has(img))::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform var(--transition);
}

.article-content.link--effect a:link:not(:has(img))::before,
.article-content.link--effect a:visited:not(:has(img))::before {
  bottom: 0;
}

.link--effect a:hover:not(:has(img))::before,
.link--effect a:active:not(:has(img))::before {
  transform-origin: bottom left;
  transform: scaleX(1);
}

.line-clamp {
  display: -webkit-box;
  text-overflow: ellipsis;
  line-height: var(--line-h-m);
  word-break: break-all;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line--1 {
  line-clamp: 1;
  -webkit-line-clamp: 1;
}

.line--3 {
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

.line--6 {
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

@keyframes lazyload {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes lazyload {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/* **************** */
/*





*/
/* **************** */
/* **** Layout **** */
/* **************** */
body {
  color: var(--color-font);
  font-size: var(--font-size);
  font-weight: var(--text-regular);
  font-family: var(--font-family);
  line-height: 1;
  box-sizing: border-box;
  background-color: var(--color-bg);
  transition: background-color var(--transition);
}

body.lazyloading {
  animation: lazyload 2s;
}

.wrap {
  display: grid;
  grid-template-columns: var(--sidebar-width) var(--content-width);
  justify-content: center;
  column-gap: 64px;
  margin-left: calc((var(--sidebar-width) + 48px) * -1);
}

.main {
  width: var(--content-width);
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin: 96px auto;
  order: 2;
}

.sidebar {
  order: 1;
}
/* **************** */
/*





*/
/* **************** */
/* **** Loader **** */
/* **************** */
.loader {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: fixed;
  top: 0;
  left: 0;
  line-height: 50px;
  text-align: center;
  background: var(--color-bg);
  transition: all 0.75s;
  z-index: 10000;
}

.loader--hidden {
  visibility: hidden;
  opacity: 0;
}

.loader svg {
  width: 48px;
  height: 48px;
  transform-origin: center;
  animation: rotate 2s linear infinite;
}

.loader circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dashoffset: -125px;
  }
}
/* **************** */
/*





*/
/* **************** */
/* **** Header **** */
/* **************** */
.header {
  height: 48px;
  display: none;
  justify-content: flex-end;
  align-items: center;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  border-bottom: var(--border-solid);
  background-color: var(--color-wrap-sub);
  z-index: 9;
}

.cate-btn {
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.cate-btn svg {
  color: var(--color-primary);
}
/* **************** */
/*





*/
/* ***************** */
/* **** Sidebar **** */
/* ***************** */
.sidebar {
  height: 100vh;
  background-color: var(--color-bg);
  overflow-y: scroll;
}

.sidebar.sb--fixed {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

.sidebar-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 24px;
  padding: 96px 0;
}
/* ***************** */
/*





*/
/* ************************* */
/* **** Responsive menu **** */
/* ************************* */
.responsive-menu {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 48px;
  left: 0;
  background-color: var(--color-wrap-sub);
  transition: all var(--transition);
  transform: translateY(105%);
  overflow-y: scroll;
  z-index: 9;
}

.responsive-menu.active {
  transform: translateY(0);
}

.rm-content {
  width: 80%;
  max-width: 360px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 96px 0;
  overflow-y: scroll;
}

.rm-content > div {
  width: 100%;
}

.rm-title {
  padding-bottom: 12px;
  color: var(--color-primary);
  font-weight: var(--text-extra-bold);
  text-transform: uppercase;
  border-bottom: var(--border-solid);
}

.rm-content .copyright > a {
  color: var(--color-font-sub);
}
/* ************************* */
/*





*/
/* **************** */
/* **** Status **** */
/* **************** */
.status {
  width: 24px;
  max-width: max-content;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  position: absolute;
  top: 64%;
  left: 46px;
  border-radius: var(--round-xl);
  background-color: var(--color-border);
  transition: width 1.2s, background var(--transition);
  overflow-x: hidden;
  cursor: pointer;
}

.status:hover {
  width: 100%;
  max-width: max-content;
}

.status-badge {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  margin-right: 2px;
  background-color: var(--color-status);
}

.status-badge.status--effect {
  animation: badge 1.5s infinite;
}

.status:hover .status-badge.status--effect {
  animation: none;
}

.status-text {
  font-size: calc(var(--font-size) - 1px);
  font-weight: var(--text-bold);
}

@keyframes badge {
  50% {
    opacity: 0;
  }
}
/* **************** */
/*





*/
/* ***************** */
/* **** Profile **** */
/* ***************** */
.profile-wrap {
  padding-bottom: 16px;
  border-bottom: var(--border-solid);
}

.profile {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-img-box {
  width: 100%;
  position: relative;
}

.profile-img-wrap {
  width: 64px;
  height: 64px;
  display: block;
  padding: 4px;
  border: var(--border-solid);
  border-radius: 50%;
  transition: all var(--transition);
  overflow: hidden;
}

.profile-img-wrap > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.profile-img-wrap:hover {
  border-color: var(--color-primary);
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-primary);
}

.profile-id {
  margin-top: 12px;
  font-size: var(--font-size-s);
  font-weight: var(--text-bold);
}

.profile-desc {
  padding: 16px 0;
  line-height: var(--line-h-m);
}

.btn {
  width: 28px;
  height: 28px;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  border: var(--border-solid);
  border-color: transparent;
  border-radius: 50%;
  transition: all var(--transition);
}

.btn svg {
  transition: all var(--transition);
}

.btn:hover {
  border-color: var(--color-primary);
}

.btn:hover svg {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.menu {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.menu svg {
  transition: all var(--transition);
}

.menu > a:hover svg,
.menu > a:active svg {
  color: var(--color-primary);
}
/* ***************** */
/*





*/
/* **************** */
/* **** Search **** */
/* **************** */
.search {
  display: flex;
  margin-bottom: 48px;
}

.search > button {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  border: var(--border-solid);
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.search > button svg {
  color: var(--color-icon);
}

.search > input {
  width: 100%;
  display: block;
  padding: 0 12px;
  border: var(--border-solid);
  border-left: none;
  transition: all var(--transition);
}

.search > input:focus {
  border-color: var(--color-primary);
}
/* **************** */
/*





*/
/* ****************** */
/* **** Category **** */
/* ****************** */
.cate_main-wrap,
.cate_item-wrap {
  height: 36px;
  display: flex;
  align-items: center;
}

.cate_item-wrap > span:first-child {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.cate_main-wrap,
.cate_item-wrap {
  transition: all var(--transition);
}

.cate_main--title > span:first-child {
  font-weight: var(--text-bold);
}

.cate_item--title {
  display: flex;
  align-items: center;
}

.cate_main-wrap:hover,
.cate_main-wrap:hover .cate_main--icon svg,
.cate_main-wrap:hover .cate_item--cnt,
.cate_item-wrap > span:hover,
.cate_item-wrap > span:hover .cate_item--cnt,
.cate_item-wrap > span:hover svg {
  color: var(--color-primary);
}

.cate_main--icon,
.cate_item--icon {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.cate_main--icon svg,
.cate_item--icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}

.cate_item--cnt {
  margin-left: 6px;
  color: var(--color-font-sub);
  font-size: var(--font-size-s);
  transition: all var(--transition);
}

.cate_item--new {
  margin-left: 4px;
  color: var(--color-primary);
  font-size: var(--font-size-s);
  font-weight: var(--text-bold);
}

.cate_item--new svg {
  width: var(--svg-s);
  height: var(--svg-s);
  color: var(--color-primary);
}

.cate_item--more {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  transition: all var(--transition);
}

.cate_item--more svg {
  color: var(--color-font-sub);
}

.cate_item--more:hover svg {
  color: var(--color-primary);
}

.cate_item--more.more--active {
  transform: rotate(180deg);
}

.cate_item--more.more--active svg {
  color: var(--color-primary);
}

.cate_item-wrap.cate_sub {
  position: relative;
}

.cate_item-wrap.cate_sub::before {
  content: '';
  width: 2px;
  height: 100%;
  position: absolute;
  left: calc(36px / 2);
  border-radius: var(--round);
  background-color: var(--color-border);
  transform: translateX(-50%);
}

.cate_item-wrap.cate_sub .cate_item--title {
  margin-left: 36px;
}

.category-title--hidden .cate_main-wrap {
  display: none;
}

.sub--hidden .sub_category_list,
.sub_display--fold .sub_category_list {
  display: none;
}
/* ****************** */
/*





*/
/* ************** */
/* **** Link **** */
/* ************** */
.link {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: var(--round);
}

.link-icon,
.link-icon svg {
  transition: all var(--transition);
}

.link-icon.postype {
  transform: scaleX(-1);
}

.link-icon:hover,
.link-icon:active,
.link-icon:hover svg,
.link-icon:active svg {
  color: var(--color-primary);
}
/* ************** */
/*





*/
/* *************** */
/* **** Cover **** */
/* *************** */
.cover,
.cover-article-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.cover-title {
  margin-bottom: 24px;
  font-size: var(--font-size-xl);
  font-weight: var(--text-extra-bold);
}

.cover-title:empty {
  display: none;
}
/* *************** */
/*





*/
/* ************************* */
/* **** Cover - Article **** */
/* ************************* */
.cover-article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cover-article--title {
  font-size: var(--font-size-xl);
  font-weight: var(--text-extra-bold);
}

.cover-article--title:empty {
  display: none;
}

.cover-article--content {
  line-height: var(--line-h-m);
}

.cover-article--content.content--border img {
  margin: 12px 0;
  border-radius: var(--round-content);
  overflow: hidden;
}

.cover-article--link-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* ************************* */
/*





*/
/* ************************** */
/* **** Cover - Progress **** */
/* ************************** */
.cover-progress {
  width: 100%;
}

.progress-list {
  margin-bottom: var(--cover-gap);
}

.progress-item-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 12px;
}

.progress-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 5fr 0.8fr;
  justify-content: center;
  align-items: center;
  column-gap: 12px;
}

.progress {
  width: 100%;
  height: 5px;
  position: relative;
  border-radius: var(--round-xl);
  background-color: var(--color-border);
  transition: background-color var(--transition);
  overflow: hidden;
}

.progress--bar {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0;
  border-radius: var(--round-xl);
  background-color: var(--color-primary);
  transition: background-color var(--transition);
}

.progress-label {
  justify-self: start;
  font-weight: var(--text-bold);
  font-size: var(--font-size-s);
  transition: color var(--transition);
}

.progress-num {
  min-width: 0;
  justify-self: end;
  font-size: var(--font-size-s);
  transition: color var(--transition);
}
/* ************************ */
/*





*/
/* ******************** */
/* **** Type reset **** */
/* ******************** */
.list,
.gallery,
.webzine,
.post,
.playlist,
.timeline.article {
  display: none;
}
/* ******************** */
/*





*/
/* ********************* */
/* **** Type - List **** */
/* ********************* */
#list {
  padding: 24px;
  border: var(--border-solid);
  border-radius: var(--round);
}

#list li {
  border-bottom: 1px dotted var(--color-border);
}

#list .list {
  display: block;
}

#list .list-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
}

#list .list-title {
  font-weight: var(--text-bold);
  transition: color var(--transition);
}

#list .list-wrap:hover .list-title,
#list .list-wrap:hover .list--lock-icon {
  color: var(--color-primary);
}

#list .list-date {
  flex: 0 0 auto;
  color: var(--color-font-sub);
  font-size: var(--font-size-s);
}

#list .list.protect .list-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

#list .list--lock-icon {
  color: var(--color-font-sub);
  font-size: var(--font-size-s);
  transition: color var(--transition);
}
/* ********************* */
/*





*/
/* ************************ */
/* **** Type - Gallery **** */
/* ************************ */
#gallery {
  display: grid;
  grid-template-columns: repeat(var(--gal-cnt-pc), 1fr);
  gap: var(--gal-margin);
}

#gallery li {
  min-height: 0;
  border: var(--border-solid);
  border-radius: var(--round);
  overflow: hidden;
}

#gallery .gallery {
  display: block;
}

#gallery .gallery-thumb {
  position: relative;
  aspect-ratio: var(--gal-ratio);
  transition: all var(--transition);
  overflow: hidden;
}

#gallery .gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: all var(--transition);
}

#gallery .gallery:hover .gallery-title {
  opacity: 1;
  visibility: visible;
}

#gallery .gallery:hover .gallery-thumb img {
  filter: blur(3px);
  z-index: 1;
}

#gallery .gallery-title {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  position: absolute;
  top: 0;
  left: 0;

  color: #fff;
  text-align: center;
  line-height: var(--line-h-m);

  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.15);
  transition: all var(--transition);
  z-index: 2;
}

#gallery .gallery-title span {
  line-height: var(--line-h-s);
}
/* ************************** */
/*





*/
/* ************************ */
/* **** Type - Webzine **** */
/* ************************ */
#webzine .webzine {
  display: block;
}

#webzine li {
  border-bottom: var(--border-solid);
}

#webzine li:first-child {
  border-top: var(--border-solid);
}

#webzine .webzine-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 12px;
}

#webzine .webzine-thumb {
  flex: 0 0 auto;
  border-radius: var(--round);
  overflow: hidden;
}

#webzine .webzine-thumb img {
  height: 100%;
  max-height: 120px;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: all var(--transition);
}

#webzine .webzine-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#webzine .webzine-title {
  font-weight: var(--text-bold);
  transition: all var(--transition);
}

#webzine .webzine-wrap:hover .webzine-title {
  color: var(--color-primary);
}

#webzine .webzine-wrap:hover .webzine-thumb img {
  filter: blur(3px);
}

#webzine .webzine-date {
  font-size: var(--font-size-s);
}

#webzine .webzine.protect .webzine-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

#webzine .webzine--lock-icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}
/* ************************ */
/*





*/
/* **************** */
/* **** Notice **** */
/* **************** */
.article-notice {
  margin-bottom: 56px;
}

.article-notice:last-child {
  margin-bottom: 0;
}
/* **************** */
/*





*/
/* ***************** */
/* **** Article **** */
/* ***************** */
.article-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-category:link,
.article-category:visited {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-weight: var(--text-bold);
}

.article-title {
  margin-bottom: 12px;
  font-size: var(--font-size-xl);
  font-weight: var(--text-extra-bold);
}

.article-title-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-s);
}

.article-admin {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-admin a:link,
.article-admin a:visited {
  transition: all var(--transition);
}

.article-admin a:hover,
.article-admin a:active {
  color: var(--color-primary);
}

.article-content {
  margin: 36px 0;
  line-height: var(--line-h-m);
}

.article-footer {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.article-btn svg {
  transition: color var(--transition);
}

.article-btn:hover,
.article-btn:hover svg {
  color: var(--color-primary);
}

.article-btn:hover {
  border-color: var(--color-primary);
}

.article-btn--like:hover,
.article-btn--like:hover svg {
  color: var(--color-like);
}

.article-btn--like.active {
  color: var(--color-like);
}

.article-btn--like.active svg {
  color: var(--color-like);
  fill: var(--color-like);
}

.article-btn--tag {
  margin-left: auto;
}

.article-tag {
  margin-top: -24px;
}

.article-tag--empty {
  padding-top: 20px;
  text-align: center;
  line-height: var(--line-h-m);
}

.article-tag-wrap {
  display: none;
}

.article-tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.article-tag-list a::before {
  content: '#';
  margin-right: 2px;
  transition: color var(--transition);
}

.article-tag-list a {
  display: inline-block;
  padding: 10px 12px;
  white-space: nowrap;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--transition);
}

.article-tag-list a:hover::before,
.article-tag-list a:active::before {
  color: var(--color-primary);
}

.article-tag-list a:hover,
.article-tag-list a:active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
/* ***************** */
/*





*/
/* ***************************** */
/* **** Article - protected **** */
/* ***************************** */
.article-content.protect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 64px;
}

.protect-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.protect-icon svg {
  color: var(--color-primary);
}

.protect-input-wrap {
  position: relative;
}

.protect-input {
  width: 130px;
  height: 35px;
  text-align: center;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: all var(--transition);
}

.protect-input:focus {
  border-color: var(--color-primary);
}

.protect-input::placeholder {
  font-size: var(--font-size-s);
}

.protect-btn {
  width: 130px;
  margin-top: 24px;
  padding: 8px 0;
  color: var(--color-icon);
  font-size: var(--font-size-s);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--round-xl);
  background-color: var(--color-primary);
}

.protect-label {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin-top: 56px;
  margin-left: 40px;
}

.protect-label--text {
  font-size: var(--font-size-s);
  font-weight: 700;
  list-style-type: '✓';
}

.protect-label--text > span {
  position: relative;
  left: 7px;
  font-weight: 400;
}
/* ***************************** */
/*





*/
/* **************************** */
/* **** Article - Elements **** */
/* **************************** */
/* --------- 코드블록 --------- */
pre[data-ke-type='codeblock'] code {
  display: block;
  padding: 12px 26px;
  font-size: var(--font-size);
  font-family: var(--font-family);
  border-radius: var(--round);
  line-height: var(--line-h-m);
  letter-spacing: 0.75px;
  white-space: pre-wrap;
}
/* -------------------------- */
/*



*/
/* ---------- 리스트 ---------- */
ul[data-ke-list-type='disc'],
ul[data-ke-list-type='circle'],
ol[data-ke-list-type='decimal'] {
  color: var(--color-font) !important;
}

ul[data-ke-list-type='disc'],
ul[data-ke-list-type='circle'],
ol[data-ke-list-type='decimal'] {
  margin-left: 18px;
}

ul[data-ke-list-type='disc'] li,
ul[data-ke-list-type='circle'] li,
ol[data-ke-list-type='decimal'] li {
  padding-left: 2px;
  line-height: var(--line-h-xl);
}

ul[data-ke-list-type='disc'] li {
  list-style-type: disc !important;
}

ul[data-ke-list-type='circle'] li {
  list-style-type: circle !important;
}

ol[data-ke-list-type='decimal'] li {
  list-style-type: decimal !important;
}
/* -------------------------- */
/*



*/
/* ---------- 이미지 ---------- */
figure.imageblock,
#tt-body-page figure.imageblock,
figure.imagegridblock,
#tt-body-page figure.imagegridblock {
  margin-bottom: var(--img-gap) !important;
  line-height: 0.7;
}

figure.imagegridblock,
#tt-body-page figure.imagegridblock {
  margin: var(--img-gap) 0 !important;
}

figure.imageblock img,
figure.imagegridblock img {
  transition: opacity 0.8s ease;
}

.content--border #tt-body-page figure.imageblock img,
.content--border figure.imageblock img,
.content--border figure.imagegridblock span img,
.content--border figure.imageslideblock div.image-container {
  border-radius: var(--round-content);
  overflow: hidden;
}

figure figcaption {
  padding-top: 6px !important;
  color: var(--color-font-sub);
  font-size: var(--font-size) !important;
  line-height: var(--line-h-s) !important;
}

figure.imageslideblock div.image-container {
  min-width: unset !important;
  min-height: unset !important;
}
/* -------------------------- */
/*



*/
/* ----------- 파일 ----------- */
.fileblock {
  width: 360px !important;
  height: unset !important;
  max-width: 100% !important;
  border: 0 !important;
  margin: 12px auto !important;
}

.fileblock a {
  height: unset !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px;
  padding: 16px;
  position: relative;
  border: var(--border-solid) !important;
  border-radius: var(--round-s) !important;
  background-color: var(--color-content-sub);
  transition: all var(--transition) !important;
}

.moreless-content .fileblock a {
  background-color: var(--color-bg);
}

.fileblock a::before {
  content: none !important;
}

.fileblock .image {
  width: unset !important;
  height: unset !important;
  margin: unset !important;
  position: unset !important;
  background: none !important;
}

.fileblock .image::before {
  content: '\f0c6';
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-icon);
  font-size: var(--font-size);
  font-family: FontAwesome;
  line-height: 1;
  border-radius: 50%;
  background-color: var(--color-primary);
  transition: all var(--transition);
}

.fileblock .desc {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  position: unset !important;
  line-height: 1.4;
  transition: all var(--transition);
}

.fileblock .filename {
  height: unset !important;
  margin: unset !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-weight: var(--text-bold);
}

.filename .name {
  height: unset !important;
  display: -webkit-box !important;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
  white-space: unset !important;
  transition: all var(--transition);
  overflow: hidden;
}

.fileblock .size {
  height: unset !important;
  flex: 0 0 auto;
  margin: unset !important;
  padding-right: 20px;
  color: var(--color-primary) !important;
  font-size: var(--font-size-s) !important;
  font-family: inherit !important;
  transition: all var(--transition);
}

.fileblock a::after {
  content: none !important;
  display: none !important;
}

.fileblock a:hover .desc,
.fileblock a:hover .filename,
.fileblock a:hover .name,
.fileblock a:hover .size {
  color: var(--color-primary) !important;
}
/* --------------------------- */
/*



*/
/* ----------- 인용 ----------- */
blockquote,
blockquote p {
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
}

blockquote[data-ke-style='style1'] {
  margin: 12px 0 !important;
  padding: 0 !important;
  padding-left: 24px !important;
  position: relative;
  line-height: var(--line-h-m) !important;
  background: none !important;
  z-index: 1;
}

blockquote[data-ke-style='style1']::before {
  content: '\201C';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-primary);
  font-size: 56px;
  font-style: italic;
  font-family: 'Nanum Myeongjo', serif;
  transform: translate(-50%, -50%);
  transition: color var(--transition);
  z-index: -1;
}

blockquote[data-ke-style='style1']::after {
  content: '';
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 12px;
  border-radius: var(--round-xl);
  background-color: var(--color-border);
  transform: translateX(-50%);
  transition: background-color var(--transition);
  z-index: -1;
}

blockquote[data-ke-style='style1']:hover::after {
  background-color: var(--color-primary);
}

blockquote[data-ke-style='style1'],
blockquote[data-ke-style='style1'] span {
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  text-align: unset !important;
}

blockquote[data-ke-style='style2'] {
  padding: 8px 15px !important;
  border-left: 2px solid var(--color-border);
  transition: all var(--transition);
}

blockquote[data-ke-style='style2']:hover {
  border-color: var(--color-primary);
}

blockquote[data-ke-style='style3'] {
  margin: 10px auto;
  padding: 10px 15px !important;
  position: relative;
  border: var(--border-solid) !important;
  border-radius: var(--round-s);
  background: none !important;
  background-color: var(--color-wrap-sub) !important;
  transition: all var(--transition);
  overflow: hidden;
  z-index: 1;
}

.moreless-content blockquote[data-ke-style='style3'] {
  background-color: var(--color-bg) !important;
}
/* --------------------------- */
/*



*/
/* ----------- 접은글 ----------- */
div[data-ke-type='moreLess'] {
  margin-top: 10px;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--color-font) !important;
  font-weight: 600 !important;
  font-family: var(--font-family) !important;
  font-size: var(--font-size) !important;
  background-color: none !important;
  transition: all var(--transition);
}

div[data-ke-type='moreLess'] .btn-toggle-moreless::before {
  content: '\f0fe';
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -14px;
  margin-right: 6px;
  color: var(--color-font);
  font-family: FontAwesome;
  transition: all var(--transition);
}

div[data-ke-type='moreLess'].open .btn-toggle-moreless::before {
  content: '\f146';
}

div[data-ke-type='moreLess'] .btn-toggle-moreless:hover {
  width: fit-content;
  color: var(--color-primary) !important;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless:hover::before {
  width: 18px;
  color: var(--color-primary);
}

.moreless-content {
  margin-top: 10px;
  padding: var(--moreless-padding);
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--transition);
}
/* --------------------------- */
/*



*/
/* ----------- 링크 ----------- */
figure[data-ke-type='opengraph'],
#tt-body-page figure[data-ke-type='opengraph'] {
  margin: 12px 0 !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--round);
  background-color: var(--color-content-sub);
  transition: all var(--duration);
  overflow: hidden;
}

figure[data-ke-type='opengraph'] a,
#tt-body-page figure[data-ke-type='opengraph'] a {
  max-height: 145px !important;
  display: flex !important;
  color: var(--color-font) !important;
  border: none !important;
  transition: all var(--duration);
  overflow: unset;
}

figure[data-ke-type='opengraph']:hover,
#tt-body-page figure[data-ke-type='opengraph']:hover {
  border-color: var(--color-primary) !important;
}

figure[data-ke-type='opengraph'] div.og-image {
  width: unset !important;
  flex: 0 0 auto !important;
  position: unset !important;
  border-right: none !important;
  aspect-ratio: 1 / 1;
}

figure[data-ke-type='opengraph'] div.og-image::before {
  content: none !important;
}

figure[data-ke-type='opengraph'] div.og-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px !important;
  position: unset !important;
  color: var(--color-font) !important;
  background-color: var(--color-content-sub) !important;
  transition: all var(--duration);
}

.moreless-content figure[data-ke-type='opengraph'],
.moreless-content #tt-body-page figure[data-ke-type='opengraph'] {
  background-color: var(--color-bg) !important;
}

.moreless-content figure[data-ke-type='opengraph'] div.og-text {
  background-color: var(--color-bg) !important;
}

figure[data-ke-type='opengraph'] div.og-text p.og-title,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-title {
  display: -webkit-box !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-weight: var(--text-bold) !important;
  font-family: var(--font-family) !important;
  text-overflow: ellipsis !important;
  word-break: break-all !important;
  white-space: pre-wrap !important;
  overflow: unset !important;
  margin: 0 0 0px 0 !important;
  line-clamp: 1 !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
}

figure[data-ke-type='opengraph'] div.og-text p.og-desc,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-desc {
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
}

figure[data-ke-type='opengraph'] div.og-text p.og-host,
#tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-host {
  position: unset !important;
  bottom: 12px !important;
  color: var(--color-font) !important;
  font-size: var(--font-size-s) !important;
  font-weight: 400 !important;
  font-family: var(--font-family) !important;
  opacity: 0.5;
}
/* --------------------------- */
/*



*/
/* ----------- 글감 ----------- */
figure[data-ke-type='contentSearch'] {
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  border: var(--border-solid) !important;
  box-shadow: none !important;
  background-color: var(--color-bg) !important;
  transition: border-color var(--transition), background-color var(--transition);
  overflow: hidden;
}

.content--border figure[data-ke-type='contentSearch'] {
  border-radius: var(--round-s);
}

.moreless-content figure[data-ke-type='contentSearch'] {
  background-color: var(--color-bg) !important;
}

figure[data-ke-type='contentSearch']:hover {
  border-color: var(--color-primary) !important;
}

figure[data-ke-type='contentSearch'] a {
  display: flex !important;
}

figure[data-ke-type='contentSearch'] a::before {
  content: none !important;
}

figure[data-ke-type='contentSearch'] div.cs-image {
  border-right: var(--border-solid) !important;
  transition: border-color var(--transition);
}

figure[data-ke-type='contentSearch'] .cs-title,
figure[data-ke-type='contentSearch'] .cs-info {
  color: var(--color-font) !important;
  font-size: var(--font-size-xl) !important;
  font-family: var(--font-family) !important;
  transition: color var(--transition), font-size var(--transition);
}

figure[data-ke-type='contentSearch'] .cs-title {
  transition: color var(--transition);
}

figure[data-ke-type='contentSearch'] .cs-info > dt,
figure[data-ke-type='contentSearch'] .cs-desc {
  color: var(--color-font-sub) !important;
  font-size: var(--font-size) !important;
  transition: color var(--transition), font-size var(--transition);
}

figure[data-ke-type='contentSearch'] .cs-info > dd {
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  transition: color var(--transition), font-size var(--transition);
}
/* --------------------------- */
/*



*/
/* ----------- 영상 ----------- */
figure[data-ke-type='video'] {
  aspect-ratio: 16 / 9;
}

.content--border iframe[src*='youtube'],
.content--border figure[data-ke-type='video'] {
  border-radius: var(--round-content);
  overflow: hidden;
}

figure iframe,
#tt-body-page iframe,
#tt-body-page figure iframe {
  width: 100%;
  max-height: 100%;
}
/* --------------------------- */
/* **************************** */
/*





*/
/* ************* */
/* **** Tag **** */
/* ************* */
.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
}

.tag-item:link,
.tag-item:visited {
  display: inline-block;
  padding: 8px 12px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--transition);
}

.tag-item:hover,
.tag-item:active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
/* ************* */
/*





*/
/* ****************** */
/* **** Comment  **** */
/* ****************** */
.reply {
  display: none;
}

/* font reset */
.tt-area-write .tt-box-account input,
.tt-wrap-cmt .tt-link-user,
.tt-box-textarea div,
.comment-date,
.tt_item_modify .tt_desc,
.tt_item_modify .tt_desc_more,
.tt_item_secret > .tt-wrap-cmt .tt_desc,
.tt_desc,
.tt-link-comment .tt_txt_g,
.tt-wrap-cmt .tt-list-modify a,
.tt-wrap-cmt .tt_date,
.tt-btn-cancel,
.tt-btn_register,
.tt_txt_g,
.tt_img_area_reply.tt-button-modify,
.tt_num_g,
.tt_btn_prev_more,
.tt-btn-cancel,
.tt-txt-mention,
.tt-box-textarea textarea,
.tt-box-textarea div,
.tt-box-textarea .tt-cmt[contenteditable='true']:empty::before,
.tt_txt_g {
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  font-weight: var(--text-regular) !important;
  line-height: var(--line-h-m) !important;
}

.tt-wrap-cmt .tt-link-user {
  font-weight: var(--text-bold) !important;
}

.tt-comment-cont {
  display: flex;
  flex-direction: column;
}

.tt-area-reply {
  order: 3;
  margin-bottom: 0 !important;
}

.tt-comment-cont > form {
  order: 1;
}

.tt-box-total {
  display: none;
}

/* ---- default form ---- */
/* name, password form */
.tt-area-write .tt-box-account input {
  padding: 12px !important;
  border: var(--border-solid) !important;
  border-radius: var(--round) !important;
}

/* form section */
.tt-comment-cont > form {
  margin-bottom: 24px !important;
  background-color: var(--color-container);
  transition-property: border-color, box-shadow, background-color;
  transition-duration: var(--duration);
  transition-timing-function: ease;
}

.tt-area-write {
  display: block !important;
}

/* avatar */
.tt-comment-cont > form .tt-box-thumb {
  display: none;
}

/* writer ID */
.tt_txt_user {
  display: none !important;
}

/* textarea */
.tt-box-textarea {
  border-radius: var(--round);
}

.tt-box-textarea .tt-inner-g {
  border: var(--border-solid) !important;
  border-radius: var(--round) !important;
  transition: border-color var(--transition);
}

/* textarea placeholder */
.tt-box-textarea .tt-cmt[contenteditable='true']:empty::before {
  opacity: 0.5;
}

/* submit button */
.tt-btn_register {
  color: var(--color-icon) !important;
  border: var(--border-solid) !important;
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  transition-property: color, border-color, background-color;
  transition-duration: var(--duration);
  transition-timing-function: ease;
}

.tt-btn_register:hover {
  color: var(--color-primary) !important;
  background-color: transparent !important;
}

.tt-btn_register:disabled,
.tt-btn_register:disabled:hover {
  color: var(--color-icon) !important;
  border: none !important;
  background-color: var(--color-primary) !important;
  transition: color var(--transition), background-color var(--transition);
  opacity: 0.25;
}

/* ---- reply form ---- */
/* avatar */
.tt-list-reply-comment > .tt-item-reply > form > .tt-area-write > .tt-box-thumb {
  display: none;
}

.tt-item-reply > form {
  width: 100%;
}

/* ---- comment ---- */
/* comment list */
.tt-list-reply {
  display: flex;
  flex-direction: column;
  gap: 48px;
  border: none !important;
}

.tt-item-reply {
  width: unset !important;
  padding: unset !important;
  border: unset !important;
}

/* container */
.tt-item-reply.rp_general > .tt-wrap-cmt {
  width: max-content !important;
  min-width: 320px;
  max-width: 85%;
  display: flex;
  align-items: flex-start;
  flex-wrap: unset !important;
  padding: 18px;
  position: relative;
  border: var(--border-solid);
  border-radius: var(--round);
}

.tt-item-reply.rp_general > .tt-wrap-cmt > .tt-box-content {
  width: unset !important;
}

/* avatar */
.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a {
  width: 42px;
  display: block;
  padding: 3px;
  aspect-ratio: 1;
  border: var(--border-solid);
  border-radius: 50%;
  transition: border-color var(--transition);
}

.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a:hover,
.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a:active {
  border-color: var(--color-primary);
}

.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a > .tt-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
}

.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a > .tt-thumbnail::after {
  content: none !important;
}

/* content */
.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-content > .tt-wrap-desc {
  width: fit-content;
  margin-top: 32px;
  margin-left: calc((42px + 8px) * -1);
}

/* info */
.tt-list-reply > .tt-item-reply > .tt-wrap-cmt > .tt-box-content > .tt-wrap-info {
  position: absolute;
  top: 36px;
}

/* ---- reply ---- */
/* reply list */
.tt-list-reply-comment {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: none !important;
}

.tt-list-reply-comment > .tt-item-reply::before {
  content: none !important;
}

/* container */
.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt {
  width: max-content !important;
  min-width: 320px;
  max-width: 85%;
  display: flex;
  align-items: flex-start;
  flex-wrap: unset !important;
  padding: 18px;
  position: relative;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
}

/* avatar */
.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a {
  width: 42px;
  display: block;
  padding: 3px;
  aspect-ratio: 1;
  border: var(--border-solid);
  border-radius: 50%;
  transition: border-color var(--transition);
}

.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a:hover,
.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a:active {
  border-color: var(--color-primary);
}

.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a > .tt-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
}

.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-thumb > a > .tt-thumbnail::after {
  content: none !important;
}

/* content */
.tt-list-reply-comment > .tt-item-reply {
  display: flex;
}

.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt {
  margin-left: auto;
}

.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-content > .tt-wrap-desc {
  width: fit-content;
  margin-top: 32px;
  margin-left: calc((42px + 8px) * -1);
}

/* info */
.tt-list-reply-comment > .tt-item-reply > .tt-wrap-cmt > .tt-box-content > .tt-wrap-info {
  position: absolute;
  top: 36px;
}

/* more button */
.tt_img_area_reply.tt-button-modify {
  font-size: 0 !important;
  line-height: 0 !important;
}

/* info */
.tt-wrap-cmt .tt_date,
.tt_txt_g {
  padding: unset !important;
}

.tt-wrap-cmt .tt-wrap-link-comment {
  line-height: 1 !important;
}

.tt-wrap-info .tt_date+.tt-wrap-link-comment::before {
  top: 50% !important;
}

/* ---- pinned comment ---- */
.tt-area-reply > .tt-list-reply > .tt-item-reply:has(.tt_img_area_reply.tt_ico_fixed) > .tt-wrap-cmt {
  padding: 18px;
  position: relative;
  border: var(--border-solid);
  border-radius: var(--round);
  overflow: hidden;
}

.tt-area-reply > .tt-list-reply > .tt-item-reply:has(.tt_img_area_reply.tt_ico_fixed) > .tt-wrap-cmt::before {
  content: '';
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-primary);
}

/* ---- more button ---- */
.tt_btn_prev_more {
  margin-bottom: 24px;
  padding: 12px 0 !important;
  border: var(--border-solid) !important;
  border-radius: var(--round);
}
/* ****************** */
/*





*/
/* ******************** */
/* **** Pagination **** */
/* ******************** */
.pagination-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.paging-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  border-radius: 50%;
  border: var(--border-solid);
  background-color: var(--color-wrap-sub);
  transition: border-color var(--transition);
}

.paging-btn svg {
  color: var(--color-font);
  transition: color var(--transition);
}

.paging-btn:hover {
  border-color: var(--color-primary);
}

.paging-btn:hover svg {
  color: var(--color-primary);
}

.paging-btn.no-more-prev,
.paging-btn.no-more-next {
  opacity: 0.4;
  cursor: default;
}

.paging-btn.no-more-prev:hover,
.paging-btn.no-more-next:hover {
  border-color: var(--color-border);
}

.paging-btn.no-more-prev:hover svg,
.paging-btn.no-more-next:hover svg {
  color: var(--color-font);
}
/* ******************** */
/*





*/
/* ******************** */
/* **** Top button **** */
/* ******************** */
.top-btn {
  width: 30px;
  height: 30px;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: fixed;
  bottom: 16px;
  right: 12px;
  border: var(--border-solid);
  border-radius: 50%;
  background-color: var(--color-wrap-sub);
  transition: all var(--transition);
  opacity: 0;
  z-index: 99;
}

.top-btn svg {
  width: var(--svg-s);
  height: var(--svg-s);
  transition: all var(--transition);
}

.top-btn:hover {
  transform: scale(1.35);
}

.top-btn:hover svg {
  color: var(--color-primary);
}
/* ******************** */
/*





*/
/* ******************* */
/* **** Copyright **** */
/* ******************* */
.copyright {
  margin-top: 24px;
  color: var(--color-font-sub);
  font-size: var(--font-size-s);
  font-weight: var(--text-bold);
  user-select: none;
}

.copyright > a {
  color: var(--color-primary);
}

.copyright-main {
  position: fixed;
  bottom: 24px;
  left: 24px;
}
/* ******************* */
/*





*/
/* ********************* */
/* **** Media query **** */
/* ********************* */
/* 1820px */
@media only screen and (max-width: 1820px) {
  .wrap {
    margin-left: calc((var(--sidebar-width) + 100px) * -1 + 96px);
  }
}

/* 1380px */
@media only screen and (max-width: 1380px) {
  .wrap {
    margin-left: auto;
  }
}

/* 1140px */
@media only screen and (max-width: 1140px) {
  .wrap {
    grid-template-columns: var(--sidebar-width) var(--content-width);
  }
}

/* 1020px */
@media only screen and (max-width: 1020px) {
  .wrap {
    width: 85%;
    max-width: var(--content-width);
    margin: 60px auto;
    grid-template-columns: 100%;
    grid-template-rows: max-content 1fr;
    column-gap: 0;
    row-gap: 64px;
  }

  .sidebar.sb--fixed {
    position: unset;
  }

  .header {
    display: flex;
  }

  .main {
    width: 100%;
    margin: 0;
  }

  .sidebar {
    height: max-content;
    position: relative;
    top: 0;
    overflow-y: visible;
  }

  .sidebar-content {
    padding: 0;
  }

  .cate-main {
    display: none;
  }

  .link {
    margin-top: -36px;
  }

  .sidebar .copyright {
    display: none;
  }

  .comment-bubble {
    max-width: 85%;
  }

  .copyright-main {
    display: none;
  }
}

/* 650px */
@media only screen and (max-width: 650px) {
  .wrap {
    width: 100%;
    padding: 0 var(--responsive-wrap-padding);
  }
  
  #gallery {
    grid-template-columns: repeat(var(--gal-cnt-mobile), 1fr);
  }

  .progress-item {
    grid-template-columns: 10fr 1.5fr;
    grid-template-rows: 2fr;
    row-gap: 6px;
  }

  .progress-label {
    grid-column: 1 / -1;
  }

  #webzine .webzine-thumb img {
    max-height: 96px;
    aspect-ratio: 1 / 1;
  }

  #webzine .webzine-summary {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .cover-article--content.content--expand img,
  .cover-article--content.content--expand iframe,
  .cover-article--content.content--expand iframe[src*='youtube'],
  .cover-article--content.content--expand figure[data-ke-type='video'] {
    width: calc(var(--content-width) + var(--responsive-wrap-padding) * 2);
    max-width: calc(100% + var(--responsive-wrap-padding) * 2);
    margin-left: calc(var(--responsive-wrap-padding) * -1);
    border-radius: 0;
  }

  .cover-article--content.content--expand .moreless-content img,
  .cover-article--content.content--expand .moreless-content iframe,
  .cover-article--content.content--expand .moreless-content iframe[src*='youtube'],
  .cover-article--content.content--expand .moreless-content figure[data-ke-type='video'] {
    width: calc(var(--content-width) + var(--moreless-padding) * 2);
    max-width: calc(100% + var(--moreless-padding) * 2);
    margin-left: calc(var(--moreless-padding) * -1);
    border-radius: 0;
  }

  .cover-article--content.content--expand figure[data-ke-type='video'] iframe,
  .cover-article--content.content--expand .moreless-content figure[data-ke-type='video'] iframe {
    width: 100% !important;
    height: 100% !important;
  }

  #tt-body-page .content--expand #tt-body-page figure.imageblock img,
  #tt-body-page .content--expand figure.imageblock img,
  #tt-body-page .content--expand figure.imagegridblock .image-container,
  #tt-body-page .content--expand figure.imageslideblock div.image-container {
    width: calc(var(--content-width) + var(--responsive-wrap-padding) * 2) !important;
    max-width: calc(100% + var(--responsive-wrap-padding) * 2) !important;
    margin-left: calc(var(--responsive-wrap-padding) * -1);
    border-radius: 0;
  }

  #tt-body-page .content--expand .moreless-content #tt-body-page figure.imageblock img,
  #tt-body-page .content--expand .moreless-content figure.imageblock img,
  #tt-body-page .content--expand .moreless-content figure.imagegridblock .image-container,
  #tt-body-page .content--expand .moreless-content figure.imageslideblock div.image-container {
    width: calc(var(--content-width) + var(--moreless-padding) * 2) !important;
    max-width: calc(100% + var(--moreless-padding) * 2) !important;
    margin-left: calc(var(--moreless-padding) * -1);
    border-radius: 0;
  }

  .content--expand iframe,
  .content--expand iframe[src*='youtube'],
  .content--expand figure[data-ke-type='video'] {
    width: calc(var(--content-width) + var(--responsive-wrap-padding) * 2) !important;
    max-width: calc(100% + var(--responsive-wrap-padding) * 2) !important;
    margin-left: calc(var(--responsive-wrap-padding) * -1);
    border-radius: 0 !important;
  }

  .content--expand .moreless-content iframe,
  .content--expand .moreless-content iframe[src*='youtube'],
  .content--expand .moreless-content figure[data-ke-type='video'] {
    width: calc(var(--content-width) + var(--moreless-padding) * 2) !important;
    max-width: calc(100% + var(--moreless-padding) * 2) !important;
    margin-left: calc(var(--moreless-padding) * -1);
  }

  .content--expand figure[data-ke-type='video'] iframe,
  .content--expand .moreless-content figure[data-ke-type='video'] iframe {
    width: 100% !important;
    height: 100% !important;
  }

  .content--border.content--expand figure.imagegridblock span img {
    border-radius: 0;
  }
}

/* 576px */
@media only screen and (max-width: 576px) {
  .wrap {
    gap: 72px;
    margin: 50px auto;
  }

  .sidebar-wrap {
    height: 80vh;
  }
}
/* ********************* */
