@charset "utf-8";

@font-face {
  font-family: "GmarketSansMedium";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --font: var(--fontF);
--comic-base:var(--base);
--comic-text:var(--text);
--comic-point:var(--point);
}

img {
  max-width: 100%;
  height: auto;
}

#body > .fix-layout > .mid-layout {
  position: relative !important;
}
#site_bgm_box {
  overflow: hidden;
  width: 0px;
  height: 0px;
}
.bgm-player_2 {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.bgm-player_2 a {
  color: black;
}
.board-notice {
  width: 264px;
  padding: 10px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}


.comic-list {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
}

a.reorder {
  cursor: pointer;
}

.reorder-mode .sort-item {
  cursor: move;
  opacity: 0.8;
}
.reorder-mode .sort-item a {
  pointer-events: none;
}
.sortable-ghost {
  opacity: 0.4;
  background: #eee;
}
.sortable-chosen {
  background: #f9f9f9;
}

.comic-list li {
  display: inline-block;
  position: relative;
  width: 24%;
}

.comic-list a {
  display: flex;
  padding: 16px 24px;
  margin: 10px 3px;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  box-sizing: border-box;
  transition: all 0.5s;
  transform: scale(1, 1);
  border: none;
  align-items: flex-end;
  justify-content: center;
  border-radius: 10px;
border: 1px solid var(--theme-box-border);
}

.comic-list .redmark {
  display: flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #db0000;
  box-sizing: border-box;
  position: absolute;
  top: 10px;
  left: 12px;
  background-color: white;
  z-index: 5;
  color: black;
  font-family: var(--font);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  align-items: center;
  justify-content: center;
}

.comic-list .hotmark {
display: flex;
    width: 50px;
    height: 31px;
    border-radius: 0px 0px 0px 18px;
    background: #9c1a1a;
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 5;
    color: white;
    font-family: var(--font);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    transition: all ease 0.3s;
    transform: translateY(0);
}

.comic-list li:hover a .hotmark {
  opacity: 0;
  transform: translateY(10px);
}
.comic-list li a > img {
  opacity: 1;
  transition: all ease 0.3s;
  position: absolute;
}
.comic-list li:hover a > img {
  opacity: 0;
}

.comic-list .title {
    display: flex;
    z-index: 1;
    position: absolute;
    text-align: left;
    bottom: 0px;
    left: 16px;
    width: calc(100% - 32px);
    flex-direction: column;
    margin-bottom: 20px;
}
.comic-list .title img {
  max-height: 130px;
  display: block;
}
.comic-list .title p {
  font-family: var(--fontS);
  font-size: 2.8em;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
filter: drop-shadow(3px 3px 0px var(--point));
}

.comic-list .title .sub_keyword {
  font-family: var(--font);
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  opacity: 0.5;
}

.comic-list .title .sub_keyword .keyword::before {
  content: "·";
  display: inline-block;
  margin: 0 8px;
}

.comic-list a {
  overflow: hidden;
}

.comic-list .hover_title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: scaleY(0);
  transition: all ease 0.3s;
  color: white;
}

.comic-list li:hover a .hover_title {
  opacity: 1;
  pointer-events: all;
  transform: scaleY(1);
}

.comic-list li:hover > .title
{
opacity: 0;
}

.comic-list .hover_title .summary {
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.comic-list .hover_title .in_title {
  color: #fff;
  font-family: var(--font);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 19px;
}

.comic-list .hover_title .keyword {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.comic-list .hover_title .keyword .key {
  display: inline-block;
  padding: 2px 7px;
  font-size: 10px;
  text-align: center;
  border: 1px solid white;
  border-radius: 5px;
  font-family: var(--font);
  margin-bottom: 6px;
}

.bo_fx {
  position: relative;
  padding: 20px 0;
}
.bo_fx .chk_all {
  position: absolute;
  left: 5px;
  top: 20px;
}

.board-category {
  display: block;
  position: relative;
  margin-bottom: 10px;
}
.board-category select {
}

@media all and (max-width: 640px) {
  #bo_v_con * {
    max-width: 100%;
  }

  .board-category {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
  .board-category select {
    width: 100%;
  }

  .bo_fx {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 10px !important;
  }
  .bo_fx a {
    display: block;
    width: 100%;
  }

  .comic-list .sd_img {
    display: none;
  }
}

.board-write {
  padding: 0 10px;
}

.board-write h3 {
  font-size: 26px;
  text-align: center;
  padding: 30px 0 20px;
}
.board-write .write-notice {
  padding: 10px;
  font-size: 11px;
}
.board-write > dl {
  position: relative;
}
.board-write > dl > dt {
  width: 70px;
  position: absolute;
  line-height: 32px;
  text-align: center;
}
.board-write > dl > dd {
  width: 100%;
  margin-left: 0;
  padding-left: 80px;
  box-sizing: border-box;
  line-height: 32px;
}
.board-write input.frm_input.full {
  width: 100%;
  display: block;
  margin: 1px 0;
}

/*내부*/

.back_img {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.top_wrap {
  position: relative;
  font-family: var(--font), "Noto Sans JP";
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 40px 60px;
  box-sizing: border-box;
  background-color: var(--base);
  overflow: hidden;
}

.top_wrap::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
backdrop-filter:brightness(.6);
border-radius:var(--radius);
}

.top_wrap .info_wrap {
  text-align: left;
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
}

.top_wrap .info_wrap {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.top_wrap .info_wrap::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.top_wrap .genr,
.top_wrap .redmark,
.top_wrap .hotmark {
  display: inline-block;
  padding: 4px 9px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #364f75;
  color: #fff;
  text-align: center;
  font-family: var(--font);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  animation: fadedown 1s;
}

.top_wrap .redmark {
  background-color: #833939;
  margin-left: 5px;
}

.top_wrap .hotmark {
  background-color: #f39c12;
  margin-left: 5px;
}

.top_wrap .group_title {
  animation: fadedown 1s;
}
.top_wrap .group_title img {
  max-height: 110px;
}
.top_wrap .group_title p {
  color: #fff;
  font-family: var(--fontS);
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-top: 10px;
  margin-bottom: 5px;
}
.top_wrap .group_desc {
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  text-transform: uppercase;
  margin-top: 16px;
  animation: fadedown 1s;
}

.top_wrap .keyword {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.top_wrap .keyword .key {
  display: inline-block;
  padding: 2px 7px;
  font-size: 10px;
  text-align: center;
  border: 1px solid white;
  border-radius: 5px;
  font-family: var(--font);
  margin-right: 7px;
  animation: fadedown 1s;
}

.top_wrap * {
  color: white;
}

.top_head {
  transition: all ease 0.5s;
  width: 83px;
  height: 83px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
}
.head_wrap {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -50px;
}
/* 작성창 썸네일 (250724trpg 호환) */
.thumb-preview {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.thumb-preview .thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ffffff79;
  box-shadow: 0 0 5px #000;
  cursor: pointer;
}
.modal {
  display: none;
  z-index: 1000;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}
.modalBox {
  position: relative;
  text-align: center;
  margin: 5% auto;
  width: 90%;
  max-width: 1000px;
}
.modalBox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
@media (max-width: 640px) {
  .thumb-preview .thumb {
    width: 60px;
    height: 40px;
  }
  .modalBox {
    margin-top: 20%;
  }
}
.clickable {
  cursor: pointer;
}
.top_head:hover {
  filter: brightness(1) !important;
}

.bottom_wrap {
  background-color: var(--comic-base);
  color: var(--comic-text);
  margin: 20px 10px;
  box-sizing: border-box;
  margin-bottom: 100px;
}
.back-default {
  background-color: var(--comic-base);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: -1;
}

.thumb_list a {
  display: flex;
}

.thumb_list .thumbnail div {
  width: 200px;
  height: 110px;
  background-position: center;
  background-size: cover;
  animation: fadeup 1s;
  overflow: hidden;
  transition: all ease 0.3s;
}

.thumb_list .thumbnail {
  overflow: hidden;
  width: 200px;
  height: 110px;
  margin-right: 20px;
}

.thumb_list a:hover .thumbnail div {
  transform: scale(1.1);
}

.thumb_list .thumb_right {
  display: flex;
  width: calc(100% - 200px);
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  animation: fadeup 1s;
}

.thumb_list .comic_title {
  color: var(--base);
  font-family: var(--fontS);
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.thumb_list .comic_subtitle {
  color: #979797;
  font-family: var(--font);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.thumb_list .date {
  color: #c9c9c9;
  font-family: var(--font);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.thumb_list hr.line {
  content: "";
  width: 100%;
  background-color: #e1e1e1;
  height: 1px;
  margin: 15px 0;
  display: block;
}

.comic_info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
}

.comic_info .count-num {
  color: #656565;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.comic_info .align-comic {
  display: flex;
  color: #000;
  font-size: 14px;
  font-style: normal;
  line-height: normal;
  font-weight: 600;
}

.comic_info .align-comic .first::after {
  content: "·";
  display: inline-block;
  margin: 0 11px;
  font-weight: 800;
}

.comic_info .align-comic .first,
.comic_info .align-comic .now {
  opacity: 0.5;
  color: #000;
}

.comic_info .align-comic .first.on,
.comic_info .align-comic .now.on {
  font-weight: 800;
  opacity: 1;
}

.bottom_wrap .line.info {
  background-color: #777777;
  margin: 20px 0 42px 0;
}

.board-viewer {
  background-color: white;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 30px 100px 30px;
}

.board-viewer #bo_v_bot {
  padding: 0;
  overflow: hidden;
  position: relative;
  right: 0;
  z-index: 5;
}
.board-viewer #bo_v_bot .material-symbols-outlined {
  font-weight: 100 !important;
  color: black;
  font-size: 24px;
  opacity: 0.5;
}

.top-navi {
display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--base);
    padding: 10px 24px;
    box-sizing: border-box;
    position: sticky;
    top: 0px;
    z-index: 12;
}

.top-navi .left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font);
}

.top-navi .left .title {
  color: var(--base);
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-left: 10px;
font-family:var(--fontS);
    text-shadow: 1px 0px 0px var(--point), 0px 1px 0px var(--point), 0px -1px 0px var(--point), -1px 0px 0px var(--point), 2px 2px 0px var(--point);
}

.top-navi .left .subtitle {
  color: var(--point);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-left: 18px;
opacity:.6;
}

.top-navi .left .arrow,
.top-navi .home {
  transition: all ease 0.3s;
}
.top-navi .left .arrow:hover {
  transform: translateX(-5px);
}

.top-navi .material-symbols-outlined {
  font-size: 40px;
}

.top-navi a {
  color: var(--point);
}

.top-navi .home:hover {
  transform: scale(1.15);
}

.top-navi .right a {
  display: flex;
  align-items: center;
  font-family: var(--font);
}
.top-navi .right{
display: flex;
    align-items: center;
}
.top-navi .right .material-symbols-outlined {
  font-size: 40px;
  margin: 0 10px;
}

.top-navi .right .prev,
.top-navi .right .next {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.top-navi .right .c_line {
  display: inline-block;
  margin: 0 22px;
  color: white;
}

@keyframes fadeup {
  0% {
    opacity: 0.5;
    -webkit-transform: translate3d(0, 5%, 0);
    transform: translate3d(0, 5%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
@keyframes fadedown {
  0% {
    opacity: 0.5;
    -webkit-transform: translate3d(0, -30%, 0);
    transform: translate3d(0, -30%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

#source {
  position: fixed;
  left: 20px;
  bottom: 15px;
  opacity: 0.5;
}

#bo_v_bot {
  padding: 10px 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 20px;
  z-index: 5;
}

#bo_v_bot .material-symbols-outlined {
  font-weight: 100 !important;
  color: white;
  font-size: 24px;
  opacity: 0.5;
}

.bo_v_nb {
  float: left;
}
.bo_v_com {
  float: right;
display: flex;
    gap: 10px;
}

.slick-prev {
  left: 10px !important;
}
.slick-next {
  right: 10px !important;
}
.slick-prev,
.slick-next {
  filter: drop-shadow(0 0 3px #0000009c);
  z-index: 10;
}

.slide img {
  object-fit: contain;
}

.slick-dots {
  position: relative !important;
}
.slick-dots li button:before {
  display: none !important;
}
.slick-dots li button {
  font-family: var(--font);
  font-size: 12px !important;
  line-height: 100% !important;

  width: 20px !important;
  height: 20px !important;
  color: rgb(161, 161, 161) !important;
  border-radius: 50%;
}

.slick-dots .slick-active button {
  background: #333;
  color: #fff !important;
}

/* 전체화면 버튼 */
.inside {
  position: relative;
  text-align: center;
  color: black;
  font-family: var(--font);
  font-size: 15px;
white-space: pre-line;
}

.fullscreen-toggle {
  position: sticky;
  top: 90px;
  left: 20px;
  z-index: 100;
  background: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fullscreen-toggle:hover {
  background: #333;
  transform: scale(1.1);
}

.fullscreen-toggle .material-symbols-outlined {
  font-size: 22px;
}

/* 전체화면 오버레이 */
#fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

#fullscreen-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

#fullscreen-overlay .slide {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 100px);
  width: 100%;
  margin: 0 auto;
}

#fullscreen-overlay .slide .slick-list {
  max-height: calc(100vh - 150px);
}

#fullscreen-overlay .slide img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

#fullscreen-overlay .slick-prev {
  left: 80px !important;
}

#fullscreen-overlay .slick-next {
  right: 80px !important;
}

#fullscreen-overlay .slick-prev,
#fullscreen-overlay .slick-next {
  z-index: 10001;
}

#fullscreen-overlay .slick-dots {
  bottom: -40px !important;
}

#fullscreen-overlay .fullscreen-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 10000;
}

/* 이미지 드래그 업로더 스타일 */
.image-upload-wrap {
  margin-bottom: 20px;
  border-radius: 10px;
  background: #f9f9f9;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.image-upload-wrap.drag-over {
  border-color: #333;
  background: #f0f0f0;
}
.image-upload-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #333;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
}
.image-upload-text {
  color: #666;
  font-size: 14px;
}
#sortable-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  min-height: 0;
}
.upload-item {
  position: relative;
  width: 120px;
  height: 120px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  background: white;
  cursor: grab;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-item .del-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
}
.upload-item .seq-num {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
}

/* 미리보기 영역 개선 */
#viewer-preview {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
#preview-content {
  background: #fdfdfd !important;
}

@media all and (max-width: 640px) {
  .slick-prev {
    left: 0px !important;
  }
  .slick-next {
    right: 0px !important;
  }
.thumb_list.gallery{
    grid-template-columns: repeat(2, 1fr) !important;
}

.top-navi .left {
display:none;
}
  .head_wrap {
    position: relative;
    top: 0;
  }
  #bo_v_bot {
    position: relative;
    right: 0px;
  }
  .thumb_list {
    margin-left: auto;
    margin-right: auto;
  }
  .board-viewer {
    flex-direction: column;
    padding: 15px;
    padding-bottom: 50px;
  }
  .board-viewer .right {
    width: 100%;
  }
  .board-viewer .left img {
    max-width: 100%;
  }
.fix-layout.section-body{
padding:0px;
}
  .comic-list li .ico-cate,
  .comic-list li .name,
  .comic-list li .date,
  .comic-list li .hit {
    position: relative;
    width: auto;
    left: auto;
    right: auto;
    bottom: auto;
    line-height: 1.2em;
  }

  .comic-list li .info {
    display: block;
    text-align: right;
    line-height: 1em;
    padding-top: 10px;
  }

  .comic-list li .ico-cate {
    display: inline;
  }
  .comic-list li .ico-cate:before {
    content: "[ ";
  }
  .comic-list li .ico-cate:after {
    content: " ]";
  }

  .comic-list li strong {
    display: inline;
    line-height: 1.2em;
  }

  .comic-list li .name,
  .comic-list li .date,
  .comic-list li .hit {
    display: inline;
    padding: 0 5px;
  }

  .comic-list li {
    width: 100%;
  }

  .top_wrap {
    background-size: cover;         background-position: center;
  }
 

  .top_wrap .info_wrap {
    width: 100%;
  }

  .thumb_list a {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .thumb_list .thumb_right {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  .bottom_wrap {
    padding: 20px;
  }

  .bearcommi {
    z-index: 0;
  }
  .bottom-navi {
    z-index: 5;
  }

  .top-navi .left .title {
    font-size: 18px;
display:none; 
  }
  .top-navi .left .subtitle {
    font-size: 14px;
 
display:none; }

  .top-navi .material-symbols-outlined {
    font-size: 25px;
  }

  .slick-arrow {
    display: none !important;
  }

.top_wrap .keyword {
flex-wrap: wrap;
}
}

#fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 99999;
  display: none;
}

#fullscreen-overlay.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#fullscreen-overlay .fullscreen-slide {
  width: 100%;
  height: 100vh;
}

#fullscreen-overlay .slick-list,
#fullscreen-overlay .slick-track {
  height: 100%;
}

#fullscreen-overlay .slick-slide {
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#fullscreen-overlay .slick-slide .item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fullscreen-overlay .slick-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#fullscreen-overlay .fullscreen-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  z-index: 100000;
  padding: 10px;
  transition: color 0.3s;
}

#fullscreen-overlay .fullscreen-toggle:hover {
  color: #fff;
  transform: scale(1.1);
}

#fullscreen-overlay .slick-prev,
#fullscreen-overlay .slick-next {
  width: 60px;
  height: 60px;
  z-index: 10000;
}
#fullscreen-overlay .slick-prev:before,
#fullscreen-overlay .slick-next:before {
  font-size: 40px;
  opacity: 0.5;
}
#fullscreen-overlay .slick-prev:hover:before,
#fullscreen-overlay .slick-next:hover:before {
  opacity: 1;
}
#fullscreen-overlay .slick-prev {
  left: 20px;
}
#fullscreen-overlay .slick-next {
  right: 20px;
}

#fullscreen-overlay .slick-dots {
  bottom: 20px;
  z-index: 10000;
}
#fullscreen-overlay .slick-dots li button:before {
  color: white;
  font-size: 10px;
}
#fullscreen-overlay .slick-dots li.slick-active button:before {
  color: #fff;
  opacity: 1;
}

/* 전체화면 모바일 반응형 */
@media all and (max-width: 768px) {
  #fullscreen-overlay {
    padding: 0 !important;
  }
  #fullscreen-overlay .slide {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
  #fullscreen-overlay .fullscreen-slide {
    height: 100dvh !important;
  }
  #fullscreen-overlay .slick-list,
  #fullscreen-overlay .slick-track,
  #fullscreen-overlay .slick-slide,
  #fullscreen-overlay .slick-slide .item {
    height: 100% !important;
  }
  #fullscreen-overlay .slick-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
  #fullscreen-overlay .slick-prev,
  #fullscreen-overlay .slick-next {
    display: none !important; 
  }
  #fullscreen-overlay .slick-dots {
    bottom: 10px !important;
  }
  #fullscreen-overlay .fullscreen-toggle {
    top: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
  }
}

@media all and (min-width: 1000px) {

.top_wrap	{     margin-top: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--point);
}
.bottom_wrap{
margin: 20px 0;
width:100%;
}
}

.thumb_list.header a{
position:relative;
display:block;
}

.thumb_list.header .thumbnail{
    overflow: hidden;
border-radius:var(--radius);
border:1px solid var(--theme-box);
    width:100%;
    height: 100%;
    margin-right: 0px;
}
.thumb_list.header .thumbnail div{
width: 100%;
    height: 100%;
}
.thumb_list.header .thumb_right{
display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeup 1s;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
opacity:0;
}

.thumb_list.header .sort-item:hover > a .thumb_right{
opacity:1;
}



.thumb_list.gallery{display: grid;
    grid-template-columns: repeat(4, 1fr);
gap:4px;
}

.thumb_list.gallery .sort-item{
border:1px solid var(--point);
border-radius:var(--radius);
overflow:hidden;
}

.thumb_list.gallery a{
position:relative;
display:block;
width: 100%;
    aspect-ratio: 8 / 9;
}

.thumb_list.gallery .thumbnail{
    overflow: hidden;
border:1px solid var(--theme-box);
    width:100%;
    height: 100%;
    margin-right: 0px;
}
.thumb_list.gallery .thumbnail div{
width: 100%;
    height: 100%;
}
.thumb_list.gallery .thumb_right{
display: flex;
    width: calc(100% - 20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: none;
    position: absolute;
    top: 0px;
    left: 0px;
    height: calc(100% - 20px);
opacity:0;
background-color:var(--point);
padding:10px;
}
.thumb_list.gallery .thumb_right .title_area{
width:100%;
}

.thumb_list.gallery .sort-item:hover > a .thumb_right{
opacity:1;
transition:0.2s;
}
.thumb_list.gallery .comic_title{
text-align: center; color:var(--base); 
}
.thumb_list.gallery .comic_subtitle{text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
width:100%;
color:var(--base);
opacity:.6;
}
.thumb_list.gallery .date{color:var(--base); opacity:.6;}
.thumb_list.gallery .line{
display:none;
}
.postype{
word-break: break-all;
word-spacing: -1px;
letter-spacing: -0.2px;
line-height: 180%;
font-size: 16px;
font-weight: 300;
max-width:700px;
margin:0 auto;
font-family:'Noto Serif KR';}


@media all and (max-width: 999px) {

.thumb_list.gallery{
    grid-template-columns: repeat(3, 1fr);
}
}


