@charset "utf-8";
/* -----------------------------------------------
	* 사이트 전체 기본 스타일 정의
--------------------------------------------------
	- 최초 작성일 :2021.08.15
	- 최초 작성자 :아보카도
	- 최종 수정일 :
	- 최종 수정자 :
--------------------------------------------------*/

/*********************************
	기본 스타일
**********************************/
@font-face {
  font-family: "KoPubWorld Batang Bold";
  src: url("fonts/KoPubWorld Batang Bold.ttf") format("truetype");
}

@font-face {
  font-family: "KoPubWorld Batang Medium";
  src: url("fonts/KoPubWorld Batang Medium.ttf") format("truetype");
}

@font-face {
  font-family: "KoPubWorld Batang Light";
  src: url("fonts/KoPubWorld Batang Light.ttf") format("truetype");
}

@font-face {
  font-family: "KoPubWorld Dotum Bold";
  src: url("fonts/KoPubWorld Dotum Bold.ttf") format("truetype");
}

@font-face {
  font-family: "KoPubWorld Dotum Medium";
  src: url("fonts/KoPubWorld Dotum Medium.ttf") format("truetype");
}

@font-face {
  font-family: "KoPubWorld Dotum Light";
  src: url("fonts/KoPubWorld Dotum Light.ttf") format("truetype");
}

@font-face {
  font-family: "icon";
  src: url("fonts/icomoon.eot");
  src:
    url("fonts/icomoon.eot?#iefix") format("embedded-opentype"),
    url("fonts/icomoon.woff") format("woff"),
    url("fonts/icomoon.ttf") format("truetype"),
    url("fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* 폰트 */
*,
*::before,
*::after {
  font-family: "KoPubWorld Batang Bold";
}

html,
body {
  height: 100%;
  letter-spacing: 2px;
}

body {
  line-height: 1.5em;
  font-size: 12px;
}
caption {
  display: none;
}
html.single:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/*********************************
	폼 요소 스타일
**********************************/

button {
  font-size: 12px;
}
.form-input {
  display: block;
  line-height: 30px !important;
}
input[type="file"] {
  padding-left: 0 !important;
}

.form-input,
input[type="text"],
input[type="password"],
input[type="file"],
select {
  box-sizing: border-box;
  height: 36px;
  border-width: 1px;
  border-style: solid;
  padding: 0 20px;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.2;
}

.form-input,
input[type="text"].full,
input[type="password"].full,
input[type="file"].full,
select.full {
  width: 100%;
}

textarea {
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  padding: 5px;
  width: 100%;
  min-height: 50px;
  font-size: 12px;
  resize: none;
}

/*********************************
	Ajax 검색 리스트
**********************************/

.ajax-list-box {
  height: 100px;
  overflow-y: auto;
  margin-top: 10px;
  padding: 5px;
}
.ajax-list-box ul,
.ajax-list-box li {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}
.ajax-list-box li {
  margin-bottom: 5px;
}
.ajax-list-box li a {
  display: block;
  position: relative;
  padding: 10px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
}
.ajax-list-box li a .ui-thumb {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  text-align: center;
}
.ajax-list-box li a .ui-thumb img {
  max-width: 100%;
}
.ajax-list-box li a .ui-info {
  margin-left: 40px;
}
.ajax-list-box .no-data {
  line-height: 50px;
  text-align: center;
  margin-top: 10px;
}

/*********************************
	기본 라인 스타일
**********************************/

hr.line {
  display: block;
  position: relative;
  clear: both;
  margin: 10px 0;
  border: none;
  padding: 0;
  height: 1px;
}
hr.padding {
  display: block;
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  height: 30px;
}
hr.padding.small {
  height: 5px;
}

#bo_v_img img {
  height: auto !important;
}

/**************************************************************
	버튼
***************************************************************/

.ui-btn {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
}

a.ui-btn {
  line-height: 26px;
}
.ui-btn.small {
  height: 25px;
  line-height: 23px;
  font-size: 12px;
}
.ui-btn.full {
  width: 100%;
}

.ui-btn.admin {
  background: #8c1e1e;
  color: #fff;
  border-color: #691010;
}
.ui-btn.disable {
  opacity: 0.3;
}

.ui-btn.ico {
  width: 15px;
  height: 15px;
  text-align: left;
  line-height: 15px;
  padding: 0;
  font-size: 11px;
  overflow: hidden;
  text-indent: -999px;
}
.ui-btn.ico.default {
  width: 28px;
  height: 28px;
  line-height: 28px;
}
.ui-btn.ico:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  text-indent: 0;
  font-family: "KoPubWorld-Batang-Bold";
}
.ui-btn.ico.big {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
}
.ui-btn.ico.circle {
  border-radius: 9em;
}

.ui-btn.ico.del {
  background: #a40000;
  color: #fff;
  border: none;
  border-radius: 2px;
  margin-left: 5px;
}
.ui-btn.ico.del:before {
  content: "\e9ac";
}
.ui-btn.ico.camera:before {
  content: "\e90f";
}
.ui-btn.ico.search:before {
  content: "\e986";
}
.ui-btn.ico.exp:before {
  content: "\e923";
}
.ui-btn.ico.search:before {
  content: "\e986";
}

/**************************************************************
	기본박스
***************************************************************/

.theme-box {
  display: block;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
}

/**************************************************************
	테이블
***************************************************************/

table {
  width: 100%;
  padding: 0;
  border-spacing: 0px;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}
th,
td {
  border: none;
}

.theme-form {
}
.theme-form td {
  padding: 5px;
  height: 30px;
}
.theme-form th {
  padding: 5px 10px;
}
.theme-form .frm_info {
  display: block;
  font-size: 12px;
  padding: 0 0 8px 0;
}

.theme-list {
  table-layout: fixed;
}
.theme-list thead th {
  height: 30px;
}
.theme-list td {
  padding: 5px;
  height: 30px;
}
.theme-list td.no-data {
  padding: 5px;
  text-align: center;
  line-height: 200px;
}

/**************************************************************
	도움말 정보
**************************************************************/

.frm_info {
  display: block;
  font-size: 12px;
  padding: 0 0 8px 0;
  opacity: 0.7;
}
.status-bar .frm_info {
  padding: 0;
}

/**************************************************************
	Status Bar
***************************************************************/

.status-bar {
  display: flex;
  width: 100%;
  padding: 0 0 0 20px;
  flex-direction: column;
  justify-content: space-around;
  flex: 1 1 auto;
  min-height: 0;
}

.status-bar dl,
.status-bar dd,
.status-bar dt {
  margin: 0;
  padding: 0;
}
.status-bar dl {
  display: block;
  position: relative;
  margin: 1px 0;
  padding-left: 100px;
  line-height: 28px;
}
.status-bar dt {
  position: absolute;
  top: 0;
  left: 0;
}
.status-bar dd p {
  position: relative;
}
.status-bar dd p span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 0;
}
.status-bar dd p sup {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 0;
}
.status-bar dd p i {
  display: block;
  position: relative;
  padding-left: 5px;
  font-size: 11px;
  z-index: 1;
}

/** Bar Control 추가 **/
.status-bar dl.ui-control {
  padding-right: 130px;
}
.status-bar dl dd.control {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 130px;
  display: flex;
}
.status-bar dl dd.control .status-step-input {
  display: block;
  float: left;
  width: 40px;
  height: auto;
  margin: 0 4px 0 8px;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  line-height: normal;
}
.status-bar dl dd.control a {
  display: block;
  position: relative;
  width: 36px;
  float: left;
  margin: 0;
  padding: 0;
  text-indent: -999px;
  overflow: hidden;
}
.status-bar dl dd.control a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: 0;
  text-align: center;
  line-height: 28px;
  font-size: 16px;
  font-family: "icon";
}
.status-bar dl dd.control a + a {
  border-left-width: 0;
}
.status-bar dl dd.control a[data-function="plus"]:before {
  content: "\ea0a";
}
.status-bar dl dd.control a[data-function="minus"]:before {
  content: "\ea0b";
}

/**************************************************************
	배경음악 이퀄라이저 효과
***************************************************************/

html.single .bgm-player {
  display: none !important;
}

.bgm-player {
  text-align: center;
}
.bgm-player .title {
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
  font-size: 13px;
}
.bgm-player ul {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}
.bar-equalizer {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 90px;
  height: 25px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
  margin-left: 15px;
}
.bar-equalizer i {
  display: block;
  float: left;
  width: 1px;
  margin-right: 2px;
  border-radius: 5px;
  margin-top: 15px;
  transform: translateY(-50%);
  transition: height 0.3s linear;
  -webkit-transition: height 0.3s linear;
}
.bgm-player li {
  display: inline-block;
}
.bgm-player li a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  line-height: 27px;
  text-align: left;
  text-indent: -999px;
  overflow: hidden;
}
.bgm-player li a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: 0;
  text-align: center;
  font-family: "KoPubWorld-Batang-Bold";
  font-size: 12px;
}
.bgm-player li a.play:before {
  content: "\ea1c";
}
.bgm-player li a.stop:before {
  content: "\ea1e";
}

/*******************************************
	게임 HUD 레이아웃
	기준: 1920×1080 디자인
********************************************/

/* 뷰포트 컨테이너: 게임 캔버스를 담는 그릇 */
html,
body {
  width: 100%;
  height: 100%;
  overflow: auto;
  margin: 0;
  padding: 0;
}

/* section#body = 1920×1080 게임 캔버스 (JS가 transform/left/top 설정) */
#body {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: top left;
  display: flex;
  overflow: hidden;
  transition: none !important;
}

/* 왼쪽 패널: 456px 고정 */
#header {
  width: 456px;
  height: 1080px;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
  position: relative;
  left: 150px;
}

/* 콘텐츠 영역 */
#body > .fix-layout {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

#logo img {
  max-width: 100%;
}

.close-header #header {
  width: 0 !important;
  overflow: hidden !important;
}
.close-header body {
  min-width: 0;
}

/**************************************************************
	탭 설정
***************************************************************/

#tab_list {
  display: block;
  position: relative;
  overflow: hidden;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}
#tab_list li {
  display: block;
  position: relative;
  float: left;
}
#tab_list li a {
  display: block;
  position: relative;
  border-bottom-width: 0;
}
#tab_list li + li a {
  border-left-width: 0px;
}

/**************************************************************
	페이지 설정
***************************************************************/

.pg_wrap {
  display: block;
  position: relative;
  text-align: center;
  padding: 20px 0;
}
.pg_wrap .pg_page {
  display: inline-block;
  position: relative;
  height: 30px;
  line-height: 28px;
  min-width: 30px;
  box-sizing: border-box;
  padding: 0 5px;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  border-width: 1px;
  border-style: solid;
}
.pg_wrap .pg_control {
  overflow: hidden;
  text-align: left;
  text-indent: -999px;
}
.pg_wrap .pg_control:before {
  font-family: "KoPubWorld-Batang-Bold";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: 0;
  text-align: center;
  font-size: 14px;
}
.pg_wrap .pg_start,
.pg_wrap .pg_end {
  display: none;
}
.pg_wrap .pg_prev:before {
  content: "\ea23";
}
.pg_wrap .pg_next:before {
  content: "\ea24";
}

/****************************************************
	Search Box
****************************************************/

.searc-sub-box {
  position: relative;
  clear: both;
  padding: 30px 0px;
}
.ui-search-box {
  position: relative;
  padding-left: 100px;
  padding-right: 80px;
  margin-top: 5px;
}
.ui-search-box .sch_category {
  position: absolute;
  top: 0;
  left: 0;
  width: 95px;
  line-height: 30px;
}
.ui-search-box .sch_button {
  position: absolute;
  top: 0;
  right: 0;
  width: 75px;
}
.ui-search-box span {
  display: block;
  padding: 0 15px;
}
.ui-search-box select,
.ui-search-box input[type="text"],
.ui-search-box button {
  display: block;
  width: 100%;
}

/****************************************************
	공용 팝업 (도서관 작성 팝업 스타일 기준으로 통일)
****************************************************/

/* 팝업 관련 CSS(메커니즘 + 인벤토리/레시피 등 팝업 전용 콘텐츠 스타일)는 전부 css/ui_popup.css로 이전됨 */

/****************************************************
	알림(메일) 실시간 토스트
****************************************************/

#main_alert {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 10500;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(41, 199, 201, 0.5);
  border-radius: 24px;
  padding: 10px 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
#main_alert p {
  margin: 0;
  color: #fff;
  font-size: 13px;
}
#main_alert.new {
  display: block;
  animation: main-alert-pop 0.25s ease-out;
}
@keyframes main-alert-pop {
  from {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/****************************************************
	Top 버튼
****************************************************/

#goto_top {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 50;
}
@media all and (max-width: 580px) {
  #goto_top {
    width: 50px;
  }
}

/****************************************************
	서브메뉴 레이아웃
****************************************************/

#submenu {
  display: block;
  position: relative;
  text-align: center;
}
#submenu li {
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
}
#subpage {
  margin-top: 20px;
}
#subpage section {
  padding-bottom: 50px;
}

@media all and (max-width: 1024px) {
  #submenu {
    margin: 0 -10px;
  }
  #submenu li {
    padding: 5px;
    font-size: 12px;
  }
  #subpage {
    margin-left: 0;
  }
}

/****************************************************
	페이지 타이틀
****************************************************/

.page-title {
  font-size: 18px;
  padding: 10px 0 20px;
}
.page-title span {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 400;
}

.sub-title {
  font-size: 14px;
  padding: 0 0 10px;
}
.sub-title:before {
  display: inline-block;
  vertical-align: middle;
  font-family: "KoPubWorld-Batang-Bold";
  margin-right: 8px;
}

/****************************************************
	알람 팝업
****************************************************/

.ui-memo-alram-box,
.ui-call-alram-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  text-align: center;
}

/****************************************************
	마퀴 (우 ▶ 좌) 흐름
****************************************************/

.marquee span {
  display: block;
  position: relative;
  overflow: hidden;
}
.marquee span i:after {
  content: "";
  white-space: nowrap;
  padding-right: 50px;
}
.marquee span i {
  margin: 0;
  padding-left: 100%;
  display: inline-block;
  white-space: nowrap;
  -webkit-animation-name: marquee;
  -webkit-animation-timing-function: linear;
  -webkit-animation-duration: 10s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-name: marquee;
  -moz-animation-timing-function: linear;
  -moz-animation-duration: 10s;
  -moz-animation-iteration-count: infinite;
  -ms-animation-name: marquee;
  -ms-animation-timing-function: linear;
  -ms-animation-duration: 10s;
  -ms-animation-iteration-count: infinite;
  -o-animation-name: marquee;
  -o-animation-timing-function: linear;
  -o-animation-duration: 10s;
  -o-animation-iteration-count: infinite;
  animation-name: marquee;
  animation-timing-function: linear;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}
@-webkit-keyframes marquee {
  from {
    -webkit-transform: translate(0%);
  }
  99%,
  to {
    -webkit-transform: translate(-100%);
  }
}
@-moz-keyframes marquee {
  from {
    -moz-transform: translate(0%);
  }
  99%,
  to {
    -moz-transform: translate(-100%);
  }
}
@-ms-keyframes marquee {
  from {
    -ms-transform: translate(0%);
  }
  99%,
  to {
    -ms-transform: translate(-100%);
  }
}
@-o-keyframes marquee {
  from {
    -o-transform: translate(0%);
  }
  99%,
  to {
    -o-transform: translate(-100%);
  }
}
@keyframes marquee {
  from {
    transform: translate(0%);
  }
  99%,
  to {
    transform: translate(-100%);
  }
}

/****************************************************
	사이드 패널 (헤더 내 캐릭터 정보창)
****************************************************/

#side-panel {
  position: relative;
  display: flex;
  top: 16px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#side-top {
  position: relative;
  top: -46px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 두상 초상화 & 로그인창 */
#side-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  top: -45px;
}

/* 이미지 겹침 컨테이너 */
#portrait-clip {
  position: relative;
  width: 263px;
  height: 263px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 캐릭터 이미지: 뒤쪽, 다이아몬드 클립 */
#portrait-clip img:not(.portrait-frame) {
  position: absolute;
  inset: 0;
  width: 263px;
  height: 263px;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  z-index: 1;
}

/* 프레임 이미지: 앞쪽, 클립 없음 */
#portrait-clip .portrait-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

/* 아이콘 버튼 행 */
#side-icons {
  display: flex;
  gap: 170px;
  justify-content: center;
  position: relative;
  top: -80px;
}

.side-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hd-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e33;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

/* 스탯 텍스트 */
#side-stats {
  width: 250px;
  font-size: 15px;
  position: relative;
  top: -50px;
}

.side-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 6px;
}

.side-stat-row span {
  white-space: nowrap;
}

/* 탐색/일과 등 네비 버튼 */
#side-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 275px;
}

.side-nav-row {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  position: relative;
  top: -20px;
}

.side-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 15;
  color: white;
}

#side-logout {
  position: fixed;
  top: 947px;
  left: 69px;
}

/* 각 페이지 컨텐츠 */
#content {
  position: fixed;
  top: 43px;
  left: 700px;
  /* width: 1220px; */
  height: 85%;
}

/* 카테고리 선택용 */
#cate {
  overflow: hidden;
  padding-bottom: 20px;
  font-size: 22px;
  display: flex;
  padding: 20px 0;
}
