@charset "UTF-8";

/* Original file: files/cache/assets/compiled/22616757e2a5abb0038c5b93fc9a9235f0389ca1.cl_cottenblue_pc.less.css */

/*
  Error while compiling modules/sticker/skins/rain_sticker/less/cl_cottenblue_pc.less

  variable @color-grey5 is undefined: failed at `background-color: @color-grey5;` line: 6
*/

/* Original file: modules/sticker/skins/rain_sticker/cssless/sticker.css */

.price-number {
  font-style: italic;
}
.sticker-notice {
  position: relative;
  border-top: 1px solid;
}
.sticker-list>ul {
  position: relative;
  border-bottom: 1px solid;
}
.sticker-list .lu {
  display: inline-block;
  position: static;
  box-sizing: border-box;
  text-align: center;
  vertical-align: top;
}
.sticker-list .lu::before {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
}
.sticker-list .lu::after {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
}
.sticker-list .le-thumbnail {
  display: inline-block;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition-property: box-shadow;
  transition-duration: 0.3s;
}
.sticker-list .le-price {
  display: block;
  position: relative;
  margin-top: 15px;
  height: 34px;
  line-height: 34px;
  text-align: center;
}
.sticker-list .le-price .count {
  position: absolute;
  top: 1px;
}
.sticker-list .le-price .now-sale {
  height: 34px;
  text-align: left;
}
.darkmode .sticker-list .le-price.bg--yellow {
  background-color: transparent !important;
  border: 1px solid;
}
.sticker-list .le-extra2 {
  width: 100%;
  border-collapse: collapse;
}
.sticker-list .le-extra2:empty {
  display: none;
}
.sticker-list .le-extra2 tr {
  border-bottom: 1px solid;
}
.sticker-list .le-extra2 th {
  padding: 10px 0;
  font-weight: normal;
  text-align: left;
}
.sticker-list .le-extra2 td {
  padding: 10px 0;
  text-align: right;
}
.lm-sticker .list-footer .bt-search-group:empty {
  display: none;
}
.sticker-read .ae-sticker-package {
  font-size: 0;
}
.sticker-read .ae-sticker-package li {
  display: inline-block;
  margin-right: 15px;
}
.sticker-read .ae-sticker-package .sticker-image {
  display: inline-block;
  width: 100%;
  padding-bottom: 100%;
  background-size: cover;
}
.sticker-read .ae-sticker-buy {
  margin-top: 25px;
  text-align: center;
}
.sticker-read .ae-sticker-buy>span {
  display: inline-block;
}
.sticker-read .ae-sticker-buy>span>span {
  display: inline-block;
  padding: 10px 0;
  width: 200px;
  box-sizing: border-box;
}
.sticker-read .ae-sticker-buy>span>button {
  display: inline-block;
  padding: 10px 0;
  width: 200px;
  box-sizing: border-box;
  padding: 8px 15px;
  border: 2px solid;
}
.sticker-read .ae-sticker-buy .bt-buy {
  position: relative;
  text-align: left;
}
.sticker-read .ae-sticker-buy .bt-buy .text-en {
  position: absolute;
  right: 15px;
  top: 8px;
}
.sticker-write input[type="number"]::-webkit-outer-spin-button,
.sticker-write input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sticker-write .we-title .ip-wrap {
  position: relative;
}
.sticker-write .we-title .ip {
  padding-left: 110px;
}
.sticker-write .we-title label {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  padding: 0 10px;
  width: 95px;
  border: 1px solid;
  box-sizing: border-box;
  text-align: center;
}
.sticker-write .we-textarea {
  height: 150px !important;
}
.sticker-write .we-upload .upload-unit {
  display: inline-block;
  position: relative;
}
.sticker-write .we-upload .upload-unit-button {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.sticker-write .we-upload .upload-unit-button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.sticker-write .we-upload .upload-unit-button>span {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  z-index: 2;
  cursor: pointer;
}
.sticker-write .we-upload .upload-unit-number {
  display: inline-block;
  margin-bottom: 7px;
  font-style: italic;
}
.sticker-write .we-upload .image-preview {
  width: 100%;
  padding-bottom: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sticker-write .we-upload .image-preview img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.sticker-write .we-upload .bt-delete {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  z-index: 3;
}
.sticker-write .we-upload .bt-delete svg {
  margin-top: 2px;
  width: 20px;
  height: 20px;
}
.sticker-write .we-upload .hided-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.sticker-setting .le-thumbnail a {
  display: inline-block;
  background-size: cover;
}
.sticker-setting .le-thumbnail::after {
  content: none !important;
}
.sticker-setting .lu-order button {
  position: relative;
  z-index: 2;
}
.sticker-setting .lu-order button.off {
  z-index: 1;
}

/* Original file: modules/sticker/skins/rain_sticker/cssless/sticker_pc.css */

/*** 프리셋 ***/
.price-number {
  margin-right: 5px;
  font-size: 15px;
  vertical-align: middle;
}
/*** 목록 ***/
.list-footer .bt-setting {
  margin-right: 3px;
}
/*** 스티커 공지 ***/
.sticker-notice {
  padding: 22px 25px 22px 75px;
}
.sticker-notice-text {
  position: absolute;
  left: 25px;
  top: 25px;
}
.sticker-notice-content {
  font-size: 15px;
  line-height: 180%;
}
/*** 스티커 목록 ***/
.sticker-list {
  padding-bottom: 10px;
}
.sticker-list .lu-body {
  margin-top: 15px;
}
.sticker-list .le-title {
  font-size: 15px;
  line-height: 140%;
}
.sticker-list .le-price {
  font-size: 13px;
}
.sticker-list .le-price .count {
  right: 15px;
}
.sticker-list .le-price .now-sale {
  padding: 0 15px;
  font-size: 12px;
}
.sticker-list .le-extra2 {
  font-size: 13px;
}
/*** 스티커 보기 ***/
.sticker-read .ae-sticker-package {
  margin-bottom: 10px;
}
.sticker-read .ae-sticker-package li {
  width: calc(20% - 12px);
  margin-bottom: 15px;
}
.sticker-read .ae-sticker-package li:nth-child(5n) {
  margin-right: 0;
}
.sticker-read .ae-sticker-buy .bt-buy .text-en {
  top: 6px;
}
.font-main--nt .sticker-read .ae-sticker-buy .bt-buy .text-en {
  top: 9px;
}
.sticker-read .au-article-bottom {
  margin-top: 25px;
}
/*** 스티커 글쓰기 ***/
.sticker-write .wu-mode--text {
  margin-bottom: 25px;
}
.sticker-write .we-title .ip-wrap {
  display: inline-block;
  width: calc(50% - 5px);
}
.sticker-write .we-title .ip-wrap:last-of-type {
  margin-left: 10px;
}
.sticker-write .we-title label {
  height: 36px;
  line-height: 36px;
  font-size: 13px;
}
.sticker-write .we-upload > ul {
  margin-bottom: -15px;
}
.sticker-write .we-upload .upload-unit {
  width: calc(20% - 12px);
  margin-right: 15px;
  margin-bottom: 15px;
}
.sticker-write .we-upload .upload-unit:nth-child(5n) {
  margin-right: 0;
}
.sticker-write .we-upload .upload-unit-button > span {
  margin-top: -26px;
}
.sticker-write .we-upload .upload-unit-number {
  font-size: 24px;
}
/*** 스티커 관리 ***/
.sticker-setting {
  margin-bottom: 25px;
}
.sticker-setting-header .bt-area {
  position: absolute;
  right: 0;
  top: 0;
}
.sticker-setting .ldn td {
  padding: 12px 15px;
}
.sticker-setting .le-thumbnail a {
  display: inline-block;
  width: 100px;
  height: 100px;
}
.sticker-setting .le-price {
  font-size: 13px;
}
.sticker-setting .lu-order button {
  /* &:not(.off):hover{
					background-color: @color-active;
				} */

}
.sticker-setting .lu-order button:nth-child(2) {
  margin-left: -2px;
}
.sticker-setting .lu-order button.off {
  cursor: default;
}
/* ===== Rain 공통 UI 최소 패치 (PC) ===== */

/* 좌측 버튼바 */
#rain-sticker .list-bts {
  position: fixed;
  left: 20px;
  top: 160px;
  z-index: 1000;
}
#rain-sticker .list-bts > div { }
#rain-sticker .list-bts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#rain-sticker .list-bts li {
  position: relative;
  margin: 10px 0;
}

/* 버튼 */
#rain-sticker .rbt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-decoration: none;
}
#rain-sticker .rbt--square-s { width: 40px; height: 40px; border-radius: 10px; }

/* hover 설명 */
#rain-sticker .list-bts .desc {
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
#rain-sticker .list-bts li:hover .desc { opacity: 1; }

/* 모달 기본 숨김 + 활성화 */
#rain-sticker .rmd {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
#rain-sticker .rmd.r-active { display: flex; }

#rain-sticker .rmd > div {
  position: relative;
  width: 420px;
  max-width: calc(100% - 30px);
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,.20);
}

#rain-sticker .rmd-title { margin: 0 0 14px; font-size: 18px; }
#rain-sticker .rmd-xmark {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#rain-sticker .rmd-inner .unit { margin: 10px 0; }
#rain-sticker .rmd-inner input[type="text"],
#rain-sticker .rmd-inner select {
  width: 100%;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 12px;
}

/* dim */
#rain-dummy.rain-dummy {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0,0,0,.55);
}

/* ===== 중복 버튼 제거 + 페이징 정렬 (PC) ===== */
@media (min-width: 768px) {
  /* PC에선 좌측 고정 버튼바(list-bts)를 쓰므로, 하단 버튼 그룹은 숨김 */
  #rain-sticker .list-footer .list-footer-buttons {
    display: none !important;
  }

  /* 페이징만 가운데로 예쁘게 */
  #rain-sticker .list-footer {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,.10);
  }
  #rain-sticker .paging {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  /* “<첫 페이지입니다” 같은 설명 텍스트가 보이면 숨김(원래는 툴팁 용도) */
  #rain-sticker .paging .rbb-txt,
  #rain-sticker .paging .desc {
    display: none !important;
  }

  /* 번호/버튼 기본 스타일(최소) */
  #rain-sticker .paging a,
  #rain-sticker .paging span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
    text-decoration: none;
    background: #fff;
    box-sizing: border-box;
  }
}

/* ===== 관리자 스킨 설정창(#skin-setting) 기본 숨김 + 모달화 ===== */
#rain-sticker #skin-setting.skin-setting{
  display: none !important;     /* 평소에는 절대 안 보이게 */
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.45);
  overflow: auto;
  padding: 30px 14px;
  box-sizing: border-box;
}

/* jQuery('#skin-setting').show() 하면 inline style="display:block" 이 들어오므로 그때만 노출 */
#rain-sticker #skin-setting.skin-setting[style*="display: block"],
#rain-sticker #skin-setting.skin-setting[style*="display:block"]{
  display: block !important;
}

/* 내부 박스(스킨 HTML)가 너무 커도 가운데 카드처럼 보이게 */
#rain-sticker #skin-setting.skin-setting > *{
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-sizing: border-box;
}
/* ===== 플로팅 '내글' 프로필 이미지 오버플로우 방지 ===== */
#rain-sticker .list-bts .bt-my-article{
  position: relative;
  overflow: hidden;      /* 핵심 */
  padding: 0;            /* 버튼 안쪽 여백 제거 */
}

#rain-sticker .list-bts .bt-my-article img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 정사각 버튼에 꽉 채우기 */
  max-width: 100%;
  max-height: 100%;
}

/* =========================
   READ(상세보기) 헤더/구매 UI 정리
   ========================= */

/* 1) 제목(콘 이름) 가운데 정렬 */
#rain-sticker .stk-read header h1{
  text-align: center;
  margin: 0;
  padding: 4px 0 2px;
}
#rain-sticker .stk-read header h1 a{
  display: inline-block;
  max-width: 100%;
}

/* 2) 작성자/시간 영역을 '테이블(카드)' 느낌으로 */
#rain-sticker .stk-read .ratc-info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 12px;
  padding: 12px 14px;

  background: #fafafa;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
}

#rain-sticker .stk-read .ratc-info-left,
#rain-sticker .stk-read .ratc-info-right{
  display: flex;
  align-items: center;
  gap: 10px;
}

#rain-sticker .stk-read .ratc-info-right{
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* 프로필 원형 + 이미지 넘침 방지 */
#rain-sticker .stk-read .pf-image{
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,.06);
  flex: 0 0 auto;
}
#rain-sticker .stk-read .pf-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 닉네임 강조 */
#rain-sticker .stk-read .ratc-nickname > a{
  font-weight: 700;
}

/* 작성 시간 */
#rain-sticker .stk-read .article-date{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  white-space: nowrap;
  font-size: 13px;
}

/* 수정/삭제 버튼도 칩 형태로 */
#rain-sticker .stk-read .ratc-ctrl{
  display: inline-flex;
  gap: 6px;
}
#rain-sticker .stk-read .ratc-ctrl a{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  font-size: 13px;
}

/* 3) 구매 영역 가운데 정렬 + 버튼/포인트 균형 */
#rain-sticker .stk-read .ratc-sticker-buy{
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

#rain-sticker .stk-read .ratc-sticker-buy .unit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 280px;
  max-width: 420px;
  width: fit-content;

  padding: 12px 18px;
  border-radius: 999px;

  background: #fff;
  border: 2px solid rgba(0,0,0,.18);
  font-weight: 700;
  text-align: center;
}

#rain-sticker .stk-read .ratc-sticker-buy .unit .price-number{
  font-style: normal; /* 기존 italic 해제 */
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
#rain-sticker .stk-read .ratc-sticker-buy .unit .r-count{
  font-weight: 600;
  opacity: .85;
}

/* =========================
   STICKER EDITOR - Upload UI (PC)
   ========================= */
#rain-sticker .rsw-upload ul{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

#rain-sticker .rsw-upload .upload-unit{
  position: relative;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: 10px;

  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

#rain-sticker .rsw-upload .upload-unit.required{
  border-color: rgba(0,0,0,.18);
}

/* 숫자 배지 */
#rain-sticker .rsw-upload .upload-unit-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-weight: 700;
  line-height: 1;
}

/* 파일 선택 버튼(상단) */
#rain-sticker .rsw-upload .upload-unit-button{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 40px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,.18);
  background: #fafafa;
  cursor: pointer;
  user-select: none;
}

#rain-sticker .rsw-upload .upload-unit-button span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* input 숨김 (기존 class 유지) */
#rain-sticker .rsw-upload .upload-unit-button input.hided-input{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 미리보기: 정사각 카드 */
#rain-sticker .rsw-upload .image-preview{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

#rain-sticker .rsw-upload .image-preview img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* 스티커는 contain이 보통 더 예쁨 */
  display: block;
}

/* 삭제 버튼: 우상단 */
#rain-sticker .rsw-upload .bt-delete{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}
#rain-sticker .rsw-upload .bt-delete svg{
  width: 16px;
  height: 16px;
}

/* 호버 */
#rain-sticker .rsw-upload .upload-unit:hover{
  border-color: rgba(0,0,0,.22);
  transform: translateY(-1px);
  transition: .12s ease;
}
/* =========================
   MY STICKER (member_sticker) - table polish (PC)
   ========================= */

#rain-sticker .stk-setting .lss{
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

#rain-sticker .stk-setting .lss thead th{
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 14px;
  background: #fafafa;
  border-bottom: 1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.72);
  white-space: nowrap;
}

#rain-sticker .stk-setting .lss tbody td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  vertical-align: middle;
  font-size: 14px;
}

#rain-sticker .stk-setting .lss tbody tr:last-child td{
  border-bottom: 0;
}

/* hover */
#rain-sticker .stk-setting .lss tbody tr:hover{
  background: rgba(0,0,0,.02);
}

/* 컬럼 폭 정리 */
#rain-sticker .stk-setting .lss th:nth-child(1),
#rain-sticker .stk-setting .lss td:nth-child(1){ width: 70px; }

#rain-sticker .stk-setting .lss th:nth-child(2),
#rain-sticker .stk-setting .lss td:nth-child(2){ width: 110px; }

#rain-sticker .stk-setting .lss th:nth-child(4),
#rain-sticker .stk-setting .lss td:nth-child(4){ width: 120px; }

#rain-sticker .stk-setting .lss th:nth-child(7),
#rain-sticker .stk-setting .lss td:nth-child(7){ width: 120px; text-align: center; }

#rain-sticker .stk-setting .lss th:nth-child(8),
#rain-sticker .stk-setting .lss td:nth-child(8){ width: 90px; text-align: center; }

/* 썸네일: 정사각 + cover + 라운드 */
#rain-sticker .stk-setting .lssu-thumbnail a{
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(0,0,0,.08);
  background-color: rgba(0,0,0,.03);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* 제목: 줄바꿈/말줄임 */
#rain-sticker .stk-setting .lssu-title a{
  display: inline-block;
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* 포인트(구매가격) 칩 */
#rain-sticker .stk-setting .lssu-point .point-number{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  font-weight: 700;
  white-space: nowrap;
}

/* 날짜: 날짜/시간 줄 정돈 */
#rain-sticker .stk-setting .date-msover{
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
#rain-sticker .stk-setting .date-msover-date{ font-weight: 600; }
#rain-sticker .stk-setting .date-msover-time{ font-size: 12px; opacity: .75; }

/* 순서 버튼: 가로로 정렬, 크기 통일 */
#rain-sticker .stk-setting .lssu-order{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
#rain-sticker .stk-setting .lssu-order .rbt{
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

/* 삭제 버튼: 미니 아이콘 버튼 */
#rain-sticker .stk-setting .lssu-button .bt-delete{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
}
#rain-sticker .stk-setting .lssu-button .bt-delete:hover{
  border-color: rgba(0,0,0,.20);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* ========================================================================
   [Hios Skin] Sticker Module UI Fix (헤더, 순서버튼, 페이지네이션)
   ========================================================================== */

/* 1. [상단 헤더] 제목과 뒤로가기 버튼 정렬 */
.sticker-setting-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 15px !important;
    margin-bottom: 0px !important;
}

.sticker-setting-header h1.board-title {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #333 !important;
}

.sticker-setting-header .board-desc {
    display: none !important; /* 설명 문구 숨김 (심플하게) */
}

/* 뒤로가기 버튼 디자인 (회색 박스 버튼) */
.sticker-setting-header .bt-back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 15px !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 2px !important;
    color: #555 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.sticker-setting-header .bt-back:hover {
    background-color: #e0e0e0 !important;
    color: #111 !important;
    border-color: #ccc !important;
}

.sticker-setting-header .rbb-txt {
    font-size: 13px !important;
    margin-left: 5px !important;
}


/* 2. [순서 변경] 버튼 소형화 및 가로 배치 (테이블 높이 축소) */
#rain-sticker .stk-setting .lssu-order {
    display: flex !important;
    gap: 4px !important;            /* 버튼 사이 간격 좁힘 */
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

#rain-sticker .stk-setting .lssu-order .rbt {
    width: 28px !important;         /* 너비 축소 (기존 38px -> 28px) */
    height: 28px !important;        /* 높이 축소 */
    border-radius: 4px !important;  /* 둥글기 줄임 */
    font-size: 12px !important;     /* 아이콘 크기 조절 */
    line-height: 28px !important;
    padding: 0 !important;
    
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
}

#rain-sticker .stk-setting .lssu-order .rbt:hover {
    background-color: #f0f0f0 !important;
    color: #333 !important;
    border-color: #bbb !important;
}

/* 3. [페이지네이션] 디자인 통일 (쪽지함 스타일) */
#rain-sticker .paging {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid #eee !important;
}

#rain-sticker .paging a,
#rain-sticker .paging span,
#rain-sticker .paging strong {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    
    min-width: 32px !important;     /* 쪽지함과 동일한 32px */
    height: 32px !important;
    padding: 0 5px !important;
    
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 2px !important;
    
    color: #555 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* 현재 페이지 (검은 배경) */
#rain-sticker .paging strong,
#rain-sticker .paging .r-active {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
    font-weight: bold !important;
}

/* 페이지 버튼 호버 */
#rain-sticker .paging a:hover {
    background-color: #f5f5f5 !important;
    color: #111 !important;
    border-color: #bbb !important;
}

/* 첫/끝 페이지 아이콘 등 불필요한 텍스트 숨김 */
#rain-sticker .paging .rbb-txt,
#rain-sticker .paging .desc {
    display: none !important;
}

/* ========================================================================
   [Hios Skin] Sticker Module Fix (테두리 중복 제거 & 버튼 정렬)
   ========================================================================== */

/* 1. [테두리 2중 겹침 해결] */
/* 이미 list-wrap div에 테두리가 있으므로 테이블 자체 테두리는 제거 */
#rain-sticker .stk-setting .lss {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 테이블의 맨 마지막 줄 밑줄 제거 (박스 밑줄과 겹침 방지) */
#rain-sticker .stk-setting .lss tbody tr:last-child td {
    border-bottom: none !important;
}

/* 2. [순서 버튼 정렬] 옆칸 높이 중앙에 딱 맞추기 */
/* 테이블 셀(td)을 Flex박스로 만들어 강제 중앙 정렬 */
#rain-sticker .stk-setting .lss td.lssu-order {
    display: flex !important;       /* [핵심] 셀 내부를 Flex로 변경 */
    justify-content: center !important; /* 가로 중앙 */
    align-items: center !important;     /* 세로 중앙 */
    gap: 4px !important;            /* 버튼 사이 간격 */
    
    height: 100% !important;        /* 높이 꽉 채우기 */
    min-height: 85px !important;    /* [핵심] 썸네일(64px)+패딩 포함한 높이 강제 지정 */
    border-bottom: 1px solid rgba(0,0,0,.06) !important; /* 밑줄 유지 */
    padding: 0 !important;          /* 내부 패딩 제거하고 중앙 정렬 */
}

/* 마지막 줄은 밑줄 제거 */
#rain-sticker .stk-setting .lss tbody tr:last-child td.lssu-order {
    border-bottom: none !important;
}

/* 버튼 디자인 (작고 깔끔하게) */
#rain-sticker .stk-setting .lssu-order .rbt {
    width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #666 !important;
    padding: 0 !important;
    line-height: 26px !important;   /* 아이콘 수직 정렬 보정 */
    margin: 0 !important;
    
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 버튼 호버 효과 */
#rain-sticker .stk-setting .lssu-order .rbt:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border-color: #bbb !important;
}

/* ========================================================================
   [Hios Skin] Final Polish (순서 정렬 & 페이지네이션 이중선 제거)
   ========================================================================== */

/* 1. [순서 변경] 버튼 수직 중앙 정렬 완벽 보정 */
/* 테이블 셀 자체를 플렉스 박스로 만들어 강제 중앙 정렬 */
#rain-sticker .stk-setting .lss td.lssu-order {
    display: flex !important;
    flex-direction: row !important; /* 가로 배치 */
    justify-content: center !important; /* 좌우 중앙 */
    align-items: center !important;     /* 상하 중앙 */
    gap: 4px !important;
    
    padding: 0 !important;          /* 내부 패딩 제거 (중앙 정렬 방해 요소) */
    height: auto !important;        /* 높이 자동 */
    
    /* [핵심] 썸네일 셀(약 90px)과 높이를 강제로 맞춰서 정중앙 유도 */
    min-height: 90px !important;    
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
}

/* 마지막 줄 밑줄 제거 */
#rain-sticker .stk-setting .lss tbody tr:last-child td.lssu-order {
    border-bottom: none !important;
}

/* 2. [페이지네이션] 이중 테두리 제거 (안쪽 박스만 남김) */
/* 기존 스킨의 껍데기(.rbb) 스타일을 투명하게 날려버림 */
#rain-sticker .paging .rbb {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important; /* 내부 버튼과 동일하게 배치 */
}

/* 실제 버튼(a, span) 스타일은 유지하되, 겹침 방지 */
#rain-sticker .paging a,
#rain-sticker .paging span,
#rain-sticker .paging strong {
    box-shadow: none !important; /* 혹시 모를 그림자 제거 */
    margin: 0 !important;
}

/* 화살표 아이콘 수직 정렬 미세 조정 */
#rain-sticker .paging .rbb .rbb-bt {
    border: none !important; /* 내부 불필요한 테두리 제거 */
    padding: 0 !important;
}

/* ========================================================================
   [Hios Skin] Sticker List Card Style & Footer Fix
   설명: 스티커 목록을 카드형으로 변경 + 하단 가로줄 제거
   ========================================================================== */

/* 1. [목록 아이템] 카드 디자인 적용 (테두리, 배경, 여백) */
.sticker-list .lu {
    border: 1px solid #e0e0e0 !important;  /* 연한 회색 테두리 */
    background-color: #fff !important;      /* 흰색 배경 */
    box-sizing: border-box !important;      /* 패딩이 너비에 포함되도록 설정 */
    padding: 20px 10px !important;          /* 카드 내부 여백 (상하 20px, 좌우 10px) */
    text-align: center !important;          /* 내부 요소 가운데 정렬 */
    border-radius: 4px !important;          /* 모서리 살짝 둥글게 */
    transition: all 0.2s ease !important;   /* 마우스 오버 시 부드러운 효과 */
    margin-bottom: 20px !important;         /* 카드 아래 간격 확보 */
}

/* 2. [마우스 오버 효과] 살짝 떠오르며 그림자 생성 */
.sticker-list .lu:hover {
    border-color: #bbb !important;          /* 테두리 조금 진하게 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important; /* 그림자 효과 */
    transform: translateY(-3px) !important; /* 살짝 위로 올라감 */
    z-index: 5 !important;
}

/* 3. [썸네일] 가운데 정렬 */
.sticker-list .le-thumbnail {
    display: block !important;
    margin: 0 auto 12px auto !important;    /* 가운데 정렬 및 아래 여백 */
    background-color: transparent !important; /* 썸네일 배경 투명 */
    border: none !important;                /* 썸네일 자체 테두리 제거 */
    box-shadow: none !important;
}

/* 4. [텍스트 영역] 제목 및 정보 가운데 정렬 */
.sticker-list .lu-body {
    margin-top: 0 !important;
    text-align: center !important;
}

.sticker-list .le-title {
    margin-bottom: 8px !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

/* 가격 정보 등 */
.sticker-list .le-price {
    display: flex !important;
    justify-content: center !important;     /* 가격 정보 가운데 정렬 */
    font-size: 13px !important;
    color: #888 !important;
}

/* 5. [하단 가로줄 제거] 요청하신 빨간 박스 부분 삭제 */
#rain-sticker .list-footer {
    border-top: none !important;            /* 상단 선 제거 */
    margin-top: 0 !important;               /* 불필요한 여백 제거 */
    padding-top: 20px !important;
}

/* (혹시 모를) 목록 컨테이너 하단 여백 정리 */
.sticker-list {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Original file: modules/sticker/skins/rain_sticker/cssless/sticker_fix.css */

/* =========================================================
   rain_sticker PHP8.2 레이아웃 보정용 오버라이드
   (하단 설정창 노출 / 검색모달 노출 / 플로팅메뉴 위치)
   ========================================================= */

/* 1) 모달(rmd) 기본은 숨김 — 안 숨겨지면 검색창이 하단에 그대로 나옵니다 */
.rmd { display: none; }
.rmd.r-active { display: flex; }

/* 2) 스킨 설정창(#skin-setting)도 기본 숨김 + 모달처럼 표시 */
#skin-setting {
  display: none;               /* 핵심: 기본은 숨김 */
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,.45);
  overflow: auto;
  padding: 30px 14px;
  box-sizing: border-box;
}
#skin-setting .skin-setting-inner,
#skin-setting > div {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-sizing: border-box;
}

/* 3) PC에서 하단 버튼(검색/쓰기 등) 영역은 숨김(플로팅 메뉴가 있으므로) */
#rain-sticker.is-pc .list-footer-buttons { display: none; }

/* 4) 플로팅 메뉴(.list-bts)를 "본문 오른쪽 옆"으로 이동 */
@media (min-width: 768px) {
  #rain-sticker .list-bts {
    position: fixed;
    top: 160px;
    left: auto !important;
    /* 본문이 1000px 근처로 가운데 정렬된 전형적인 레이아웃 기준:
       (100vw - 1000px)/2 가 본문 좌우 여백. 거기서 약간 안쪽으로. */
    right: max(20px, calc((100vw - 1300px) / 2 - 70px));
    z-index: 1200;
  }

  /* max() 미지원 브라우저 대비 */
  @supports not (right: max(20px, 30px)) {
    #rain-sticker .list-bts { right: 20px; }
  }
}

/* 5) 혹시 스킨 설정 버튼 클릭 시 바로 보이게 했는데도 안 뜨면,
      관리자 버튼이 호출하는 show()가 잘 먹도록 display 우선순위만 확보 */
#skin-setting[style*="display: block"],
#skin-setting[style*="display:block"] { display: block !important; }

