@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
/* SIR 지운아빠 */
@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;
}

#site_bgm_box {overflow:hidden; width:0px; height: 0px;}
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}

.bgm-player_2 {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.bgm-player_2 a {
  color: white;
}

.back-default {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  pointer-events: none;
  background: #5c5c5c;
}

#header {
  z-index: 5;
}
.pg_wrap {
  display: block;
  position: relative;
  text-align: center;
  padding: 20px 0;
}

.modify {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}
.modify .edit {
  font-size: 16px;
  color: #fff;
  filter: drop-shadow(0 0 2px #000);
}

/* 게시판 목록 */

#navi_category ul {
  text-align: center;
}
#navi_category li {
  display: inline-block;
  padding: 5px 0;
}
#navi_category li:before {
  display: inline-block;
  content: "|";
  padding: 0 15px;
  opacity: 0.6;
}
#navi_category li:first-child:before {
  display: none;
  content: "";
}
#navi_category #bo_cate_on {
  font-weight: bold;
}
/* 갤러리 목록 */
#bo_gall {
  margin: 0 auto;
}
#bo_gall h2 {
  margin: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_gall #gall_ul {
  margin: 10px 0;
  padding: 0;
  list-style: none;
}
#bo_gall #gall_ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_gall .gall_box {
  position: relative;
  padding: 0;
  overflow: hidden;
  opacity: 0.999;
}
#bo_gall .gall_box:hover {
  opacity: 1;
}

#bo_gall .gall_li .gall_chk {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
#bo_gall .gall_li .gall_chk label {
  display: block;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.gall_row .col-gn-0,
.gall_row .col-gn-1,
.gall_row .col-gn-2,
.gall_row .col-gn-3,
.gall_row .col-gn-4,
.gall_row .col-gn-5,
.gall_row .col-gn-6,
.gall_row .col-gn-7,
.gall_row .col-gn-8,
.gall_row .col-gn-9,
.gall_row .col-gn-10 {
  position: relative;
  min-height: 1px;
  padding: 5px;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: 0;
}
.gall_row .col-gn-0,
.latest_row .col-gn-1 {
  width: 100%;
}
.gall_row .col-gn-1 {
  width: 100%;
}
.gall_row .col-gn-2 {
  width: 50%;
}
.gall_row .col-gn-3 {
  width: 33.33333333%;
}
.gall_row .col-gn-4 {
  width: 25%;
}
.gall_row .col-gn-5 {
  width: 20%;
}
.gall_row .col-gn-6 {
  width: 16.66666667%;
}
.gall_row .col-gn-7 {
  width: 14.28571428%;
}
.gall_row .col-gn-8 {
  width: 12.5%;
}
.gall_row .col-gn-9 {
  width: 11.11111111%;
}
.gall_row .col-gn-10 {
  width: 10%;
}

.gall_row .box_clear {
  clear: both;
}

#bo_gall .gall_con {
  width: 100%;
  height: 100%;
}

#bo_gall .bo_tit {
  display: block;
  font-weight: bold;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
}
/* 게시판 목록 공통 */
#bo_btn_top {
  margin: 10px 0;
}
#bo_btn_top:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

.btn_bo_user {
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn_bo_user li {
  float: left;
  margin-left: 5px;
}
.btn_bo_adm {
  float: left;
}
.btn_bo_adm li {
  float: left;
  margin-right: 5px;
}
.btn_bo_adm input {
  padding: 0 8px;
  border: 0;
  text-decoration: none;
  vertical-align: middle;
}

#bo_gall li.empty_list {
  padding: 85px 0;
  text-align: center;
}

#bo_gall li.gall_li.bo_notice .gall_name,
#bo_gall li.gall_li.bo_notice .gall_date {
  display: none;
}
#bo_gall li.gall_li.bo_notice,
#bo_gall li.gall_li.bo_notice .gall_box,
#bo_gall li.gall_li.bo_notice .gall_con {
  display: block;
  width: 100%;
  clear: both;
}
#bo_gall li.gall_li.bo_notice .bo_tit {
  padding: 10px;
  height: auto;
}
#bo_gall li.gall_li.bo_notice .gall_chk {
  left: auto;
  right: 0;
  top: 0;
  bottom: 0;
}
#bo_gall li.gall_li.bo_notice .gall_box {
  opacity: 0.8;
}
#bo_gall .bo_notice .notice_icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 18px;
  padding: 0;
  margin-right: 5px;
  font-style: normal;
  text-align: center;
  font-weight: bold;
}

.pg_wrap {
  clear: both;
}

/* 갤러리 뷰 */
#password_box {
  max-width: 300px;
  margin: 20px auto;
  position: relative;
  z-index: 9999;
}
#password_box p {
  padding: 5px;
}
#view_box {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}
#view_box.on {
  display: block;
}
#view_box .fix-layout {
  margin: 0 auto;
  height: 100%;
}
#view_box #close_area {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}
#view_area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 90;
}

.bo_v_com {
  float: right;
  background: #000000a2;
  padding: 5px 15px;
  border-radius: 2em;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 5px;
}
.bo_v_com a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}
.bo_v_com li {
  float: left;
  margin-right: 8px;
}

.bo_v_com .reorder {
  cursor: pointer;
  color: rgb(255, 119, 146);
}

.bo_v_com .reorder.small {
  font-family: "Pretendard";
  background-color: rgb(255, 119, 146);
  color: white;
  border-radius: 2em;
  padding: 3px 8px;
}

#bo_v_con {
  width: 100%;
  overflow: hidden;
}
#bo_v_con img {
  max-width: 100%;
  height: auto;
}

/*글쓰기*/

.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;
}

/* 게시판 댓글 (현재 사용안함) */

.gall_con .source {
  filter: drop-shadow(0 0 3px #000);
  text-align: right;
  padding: 0 15px 7px 15px;
  color: #f9f9f9;
  font-size: 11px;
  font-weight: 100;
  font-family: "Pretendard";
}
.gall_con .list_img {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}
.gall_con .list_img img {
  max-width: 80%;
  margin-bottom: 20px;
  text-align: center;
}
#bo_gall .gall_box:hover .info_movie {
  opacity: 1;
}
#bo_gall .gall_box:hover .list_img {
  opacity: 0;
}

.gall_con .play_btn {
  font-family: "Pretendard";
  background-color: white;
  color: black;
  width: 30px;
  height: 30px;
  padding-left: 5px;
  box-sizing: border-box;
  display: inline-block;
  border-radius: 50%;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  position: relative;
}
.gall_con .plus_btn {
  font-family: "Pretendard";
  border: 1px solid rgb(175, 175, 175);
  color: rgb(175, 175, 175);
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  display: inline-block;
  border-radius: 50%;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
  position: relative;
}
.play_btn,
.plus_btn {
  pointer-events: none;
}

.gall_con .ornament {
  padding-right: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
#bo_gall .gall_box:hover {
  border: 2px solid #fff;
  box-shadow: 0 21px 54px rgba(0, 0, 0, 0.637);
}

.gall_box.theme-box {
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 20px #00000042;
}
#bo_gall .gall_box {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#bo_gall .gall_box:hover {
  animation: slide 20s infinite linear;
  background-position: left center;
}
@keyframes slide {
  50% {
    background-position: right center;
  }
}

.gall_con .subject {
  font-size: 22px;
  text-align: right;
  font-family: "GmarketSansMedium";
  color: #f9f9f9;
  padding: 5px 15px;
  filter: drop-shadow(0 0 3px #000);
}
.gall_con .movie_date {
  color: #f9f9f9;
  padding-top: 2px;
  filter: drop-shadow(0 0 3px #000);
  text-align: right;
  padding: 0px 15px 12px 15px;
  font-weight: 100;
  letter-spacing: 1px;
  font-family: "Pretendard";
}

.gall_con .info_movie {
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 30%, transparent);
  padding-top: 50px;
  bottom: 0;
  position: absolute;
  width: 100%;
  opacity: 0;
  font-family: "Pretendard";
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.flyout {
  display: none !important;
}

@media all and (max-width: 1000px) {
  .gall_con .source {
    font-size: 8pt;
    word-break: keep-all;
    padding: 2px;
  }
  .gall_con .subject {
    font-size: 15px;
    width: 90%;
    padding: 2px;
  }
}

.board-viewer.theme-box {
  display: block;
  position: relative;
  padding: 20px;
}

.board-viewer .subject {
  display: inline-block;
  min-height: 350px;
  text-align: left;
  margin-left: 250px;
  margin-top: 50px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.363));
  color: #fff;
}

.board-viewer.wide .subject {
  display: block;
  text-align: center;
  margin-left: 0;
  min-height: auto;
  margin-bottom: 30px;
}

.board-viewer .subject strong {
  display: block;
  position: relative;
  font-size: 50px;
  margin-bottom: 15px;
  line-height: 50px;
  font-family: "GmarketSansMedium";
}

.board-viewer.wide.list {
  filter: drop-shadow(0 0 12px #00000079);
}

.board-viewer.wide.list #thumb_poster {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  margin-bottom: 0px;
  align-items: center;
  background-size: cover;
  height: 500px;
  border-radius: 15px;
  justify-content: flex-end;
  background-position: center;
}

.board-viewer.wide.list #thumb_poster .subject {
  background: linear-gradient(to bottom, transparent, rgba(15, 14, 15, 1) 80%);
  margin-bottom: 0;
  width: 100%;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 30px;
}

.board-viewer.wide.list .summary {
  width: 80%;
  margin: 15px;
  color: rgb(211, 211, 211);
  font-size: 15px;
  word-break: keep-all;
}

.board-viewer .date {
  color: rgb(209, 209, 209);
  font-family: "Pretendard";
}
.board-viewer .info .info_title {
  font-weight: 800;
  font-size: 11px;
  color: #a8a8a8;
  margin-right: 8px;
}
.board-viewer .genre {
  background-color: #333333;
  border-radius: 2em;
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid #fff;
  margin: 10px 0;
  font-family: "Pretendard";
}

.board-viewer .info {
  margin-top: 20px;
  font-family: "Pretendard";
}

.summary {
  width: 100%;
  margin-bottom: 50px;
  font-family: "Pretendard";
  font-size: 13px;
}

.wide .summary {
  width: 50%;
  margin: auto;
}

@media all and (max-width: 1000px) {
  .board-viewer.wide .subject {
    width: 100%;
  }
  .wide .summary {
    width: 90%;
    margin: auto;
  }

  .thumb_list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

.title_img {
  max-height: 200px;
}
.board-viewer .contents {
  display: block;
  position: relative;
  margin: 10px 0;
  padding: 40px 15px;
  border-left-width: 0;
  border-right-width: 0;
  color: #f2f2f2;
}

.cate {
  background-color: #333333;
  color: white;
  border-radius: 2em;
  display: inline-block;
  padding: 2px 8px;
  margin: 10px;
  font-family: "Pretendard";
}
/* image modal */
.modal {
  display: none;
  z-index: 500;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}
.modalBox {
  position: relative;
  text-align: center;
  top: 15%;
}

.modalBox img {
  max-width: 60%;
}

#bo_v_bot {
  padding: 20px 0;
  overflow: hidden;
}

.bo_v_com {
  float: right;
}

.board-comment-list {
  position: relative;
}
.board-comment-list .co-line {
  display: block;
  position: relative;
  clear: both;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: none;
}
.board-comment-list .item {
  position: relative;
  padding: 10px 10px 10px 100px;
}
.board-comment-list .co-name {
  position: absolute;
  top: 0px;
  left: 0;
  bottom: 0;
  width: 90px;
  padding: 10px 10px;
  box-sizing: border-box;
}
.board-comment-list .co-info {
  display: block;
  text-align: right;
  padding-top: 15px;
  font-size: 11px;
  opacity: 0.7;
}
.board-comment-list .co-info span {
  display: inline-block;
  opacity: 0.8;
}
.board-comment-list .co-info span + span:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 8px;
  vertical-align: middle;
  margin: 0 10px;
}

.board-comment-list .item.reply {
  border-left: 5px solid rgba(255, 255, 255, 0.1);
}
.board-comment-list .item.reply .co-name {
  background: none;
}

.board-comment-list + .board-comment-write {
  margin-top: 20px;
}

.board-comment-form {
  position: relative;
  padding-right: 80px;
}
.board-comment-form .btn_confirm {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 29px;
  width: 80px;
}
.board-comment-form .btn_confirm .ui-btn {
  width: 100%;
  height: 100%;
}
.board-comment-form p {
  margin: 0;
  padding: 5px 10px;
}
.board-comment-form textarea {
  display: block;
  height: 100px;
  resize: none;
  border: none;
}

#thumb_poster {
  display: inline-block;
  position: absolute;
}
#thumb_poster img {
  width: 220px;
  height: 320px !important;
  object-fit: cover;
  border-radius: 1em;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.459));
}

.wide #thumb_poster {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  margin-bottom: 15px;
  align-items: center;
}
.wide #thumb_poster img {
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 1em;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.459));
}

#thumb_poster .play_btn_view {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  font-size: 14px;
  background-color: white;
  border-radius: 10px;
  color: black;
  padding: 5px 15px;
  font-weight: bold;
  font-family: "Pretendard";
  height: 30px;
  line-height: 20px;
  box-sizing: border-box;
}
#thumb_poster .play_btn_view::before {
  content: "▶ ";
  font-size: 18px;
}
#thumb_poster .plus_btn_view {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 18px;
  border-radius: 50%;
  border: 2px solid #cccccc;
  color: #cccccc;
  font-weight: bold;
  text-align: center;
  line-height: 26px;
  box-sizing: border-box;
}
#thumb_poster .play_line {
  width: 100%;
  height: 3px;
  margin-left: 8px;
  border-radius: 2em;
  background-color: rgba(151, 151, 151, 0.452);
  position: relative;
  display: inline-block;
}
#thumb_poster .play_line::after {
  content: "";
  display: block;
  width: 70%;
  height: 3px;
  border-radius: 2em;
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
}

#thumb_poster .ornament {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
.wide #thumb_poster .ornament {
  width: 50%;
}

.episode {
  background-color: rgba(15, 14, 15, 1);
  padding: 30px;
  border-radius: 0 0 15px 15px;
}

.comic_info {
  font-size: 14px;
  font-family: "Pretendard";
  text-align: center;
  margin-bottom: 50px;
}

.comic_info .point {
  color: #fff;
}

.thumb_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.thumb_list li {
  padding: 10px;
  transition: all ease 0.3s;
}

.thumb_list .number {
  font-size: 22px;
  font-family: "GmarketSansMedium";
  color: white;
  margin-right: 15px;
}

.thumb_list li:hover {
  background-color: rgba(128, 128, 128, 0.322);
}

.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 .title_area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.thumb_list .comic_title {
  font-family: "GmarketSansMedium";
  color: #ffffff;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

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

.thumb_list .date {
  color: #c9c9c9;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  font-family: "Pretendard";
}

@media all and (max-width: 640px) {
  #thumb_poster {
    position: absolute;
  }
  #thumb_poster {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    align-items: center;
  }
  #thumb_poster img {
    width: auto;
    height: auto !important;
    object-fit: cover;
    border-radius: 1em;
    filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.459));
  }

  #thumb_poster .play_line {
    position: relative;
  }
  .wide #thumb_poster .ornament {
    width: 100%;
  }
  .board-viewer .subject {
    width: 100%;
    display: block;
    text-align: center;
    margin-left: 0;
  }
  .summary {
    width: 90%;
    margin: auto;
  }

  .thumb_list .thumb_right {
    width: 100%;
  }
  .thumb_list .title_area {
    flex-direction: column;
  }

  .thumb_list .date {
    font-size: 14px;
  }
}

/* 작성창 썸네일 */
.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%;
  }
}

.back-img {
  width: 105vw;
  height: 70vh;
  position: fixed;
  z-index: -1;
  left: -10px;
  top: -10px;
  background: linear-gradient(to bottom, gray, transparent);
  overflow: hidden;
  filter: blur(2px);
  background-size: cover !important;
}
.back-img {
  -webkit-mask-image: linear-gradient(black, transparent);
  mask-image: linear-gradient (black, transparent);
  filter: brightness(0.7);
}

/*roll20호환*/
.message .avatar {
  position: absolute;
  top: 4px;
  left: 5px;
}
.avatar img {
  width: 100% !important;
}

.message.you {
  color: #000000 !important;
  background-color: #d3e5f5 !important;
}
.message.desc {
  background-color: #f1f1f1 !important;
  color: #333333 !important;
}

.message {
  position: relative;
  background-color: #ffffff !important;
  color: #000000 !important;
}
.message .spacer {
  background: transparent !important;
}

.emote {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: #d4b8a0 !important;
}

#preview_box {
  display: none;
  border: 1px solid #ccc;
  padding: 15px;
  margin-top: 15px;
  background: #fff;
  max-height: 800px;
  overflow: auto;
  position: relative;
}

/* 스티커 사이드 핸들 및 레이아웃 */
.sticker-side-handle {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  padding: 15px 5px;
  cursor: pointer;
  z-index: 1000;
  writing-mode: vertical-rl;
  border-radius: 5px 0 0 5px;
  font-size: 12px;
  transition: background 0.2s;
  user-select: none;
}
.sticker-side-handle:hover {
  background: #333;
}

.sticker-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  display: none;
  justify-content: center;
  gap: 10px;
  z-index: 1001;
  backdrop-filter: blur(10px);
}

/* 스티커 기본 스타일 */
.sticker_handout {
  position: absolute;
  min-width: 30px;
  min-height: 20px;
  padding: 0;
  background: transparent;
  cursor: move;
  z-index: 1000;
  overflow: hidden;
  user-select: none;
  will-change: top, left;
}

.sticker_handout .sticker-content {
  width: 100%;
  height: 100%;
}

.sticker_handout img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* 관리 모드 스타일 */
.sticker-mode-active .sticker_handout {
  opacity: 0.8;
}

.sticker-delete-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #e74c3c;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: none;
  z-index: 1002;
}

.sticker-edit-btn {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #2ecc71;
  color: #fff;
  padding: 2px 5px;
  font-size: 10px;
  border-radius: 3px;
  cursor: pointer;
  display: none;
  z-index: 1002;
}

.sticker-resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 15px;
  height: 15px;
  background: #3498db;
  cursor: se-resize;
  display: none;
  z-index: 1002;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.sticker-mode-active .sticker-delete-btn,
.sticker-mode-active .sticker-edit-btn,
.sticker-mode-active .sticker-resize-handle {
  display: block;
}

/* 스티커 편집 모달 */
.sticker-edit-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.sticker-edit-modal .modal-box.theme-box {
  width: 600px;
  max-width: 90%;
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.sticker-edit-modal h3 {
  margin-top: 0;
  color: #333;
}
.sticker-edit-modal textarea {
  width: 100%;
  height: 200px;
  margin: 15px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  resize: none;
}
.sticker-edit-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.message-wrap,
.ccl-wrap {
  position: relative;
  margin-bottom: 5px;
}
.message-wrap .controls,
.ccl-wrap .controls {
  position: absolute;
  right: 5px;
  top: 5px;
  display: none;
  z-index: 10;
  gap: 4px;
}
.message-wrap:hover .controls,
.ccl-wrap:hover .controls {
  display: flex;
}
.preview-btn-item {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s;
}
.preview-btn-item:hover {
  background: rgba(0, 0, 0, 0.9);
}
.preview-btn-item.del-btn:hover {
  background: #e74c3c;
}

/* 편집 모드시 스타일 */
.edit-textarea {
  width: 100%;
  min-height: 60px;
  font-size: 13px;
  padding: 5px;
  margin: 5px 0;
}
.edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 10px;
}

.sticker_handout_wrap {
  font-family: "Pretendard", sans-serif;
}

@media all and (max-width: 800px) {
  .sticker_handout {
    display: none;
  }
}
@media all and (max-width: 1000px) {
  .gall_row .col-gn-0,
  .gall_row .col-gn-1,
  .gall_row .col-gn-2,
  .gall_row .col-gn-3,
  .gall_row .col-gn-4,
  .gall_row .col-gn-5,
  .gall_row .col-gn-6,
  .gall_row .col-gn-7,
  .gall_row .col-gn-8,
  .gall_row .col-gn-9,
  .gall_row .col-gn-10 {
    width: 90%;
    margin: auto;
  }
  #bo_gall #gall_ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/*roll20호환*/
.message .avatar {
  position: absolute;
  top: 4px;
  left: 5px;
}
.avatar img {
  width: 100% !important;
}

.message a {
  color: inherit;
}

.message.you {
  color: #000000 !important;
  background-color: #d3e5f5 !important;
}
.message.desc {
  background-color: #f1f1f1 !important;
  color: #333333 !important;
}

.message {
  position: relative;
  background-color: #ffffff !important;
  color: #000000 !important;
}
.message .spacer {
  background: transparent !important;
}

.emote {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: #d4b8a0 !important;
}

.sheet-rolltemplate-coc-1 {
  width: 100%;
  position: relative;
}
.__se_tbl_ext {
  width: 100% !important;
  color: #000000 !important;
}

.sheet-template_label {
  width: 25% !important;
}
.formula,
.rolled {
  display: inline;
  color: #0d0d0d !important;
  word-wrap: break-word;
  border: none !important;
}
.dicegrouping {
  float: left;
}

.dicon {
  display: inline-block !important;
}
.diceroll {
  display: inline-block;
}

caption {
  display: table-caption !important;
}

.sheet-template_value {
  padding: 0px !important;
}

.inlinerollresult {
  margin: 2px 0;
}
