@charset "utf-8";
@import url('https://cdn.jsdelivr.net/npm/galmuri/dist/galmuri.css');
/* -----------------------------------------------
  * 메인 화면 스타일 정의
--------------------------------------------------
  - 최초 작성일 : 2021.08.15
  - 최초 작성자 : 아보카도
  - 최종 수정일 :
  - 최종 수정자 :
--------------------------------------------------*/

/****************************************************
  메인 레이아웃
****************************************************/

#body {opacity:0;}
#no_design_main {position:relative;}
#no_design_main:after {content:""; display:block; position:relative; clear:both;}


/****************************************************
  메인 슬라이드 배너
****************************************************/

#main_visual_box {
  min-height:100px; 
  margin-bottom:20px;
  position: relative;
}


/****************************************************
  반응형 스타일
****************************************************/

@media all and (max-width:1024px)  {
  #no_design_main {padding-top:20px;}
}
@media all and (max-width:800px)  {
  #main_twitter_box,
  #main_image_box,
  #main_side_box  {width:auto; float:none; margin:0 0px 20px;}
}

/****************************************************
  메인 인벤(즐겨찾기) 위젯
****************************************************/

.main-inv-box{ margin-top:10px; }

.main-inv-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 6px 0;
}

.main-inv-go{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border:1px solid #6b1b1b;
}

.main-inv-slots{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap; 
  gap:0px;
  align-items:center;
}

.main-inv-slot img{
  width:auto;           
  height:auto;
  max-width:100%;      
  max-height:100%;
  display:block;
}

.main-inv-cnt{
  position:absolute;
  right:2px;
  bottom:2px;
  padding:0 4px;
  font-size:11px;
  line-height:14px;
  background:rgba(0,0,0,.6);
  color:#fff;
}

.main-inv-empty{ font-size:12px; opacity:.8; }

.main-inv-title{
  display:inline-flex;
  align-items:center;
  gap:290px;
  font-weight:700;
}

.main-inv-title::after{
  content:"";
  width:18px;     
  height:15px;
  background:url(../img/tri2.png) no-repeat center/contain;
  display:inline-block;
}

/****************************************************
  인벤토리 위젯
****************************************************/
.main-inv-box .inventory-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 69px);
  grid-template-rows: 69px;
  padding-bottom: 3px;
}
.main-inv-box .inventory-list .no-data {
  grid-column: -1;
}
.main-inv-box .inventory-list.grid-5 {
  grid-auto-flow: row;
  grid-template-columns: repeat(5, 72px);
  grid-template-rows: auto;
  overflow-x: visible;
  overflow-y: auto;
}

.main-inv-box .inven-item {
  width: 72px;
  height: 72px;
  background: url("../img/shop/itembg_inven2.png") no-repeat left top;
  position: relative;
  padding: 8px;
  box-sizing: border-box;
  text-align: center;
}

.main-inv-box .inven-item a {
  width: 56px;
  height: 56px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;

  background: none !important;
  padding: 0 !important;
}

.main-inv-box .inven-item i.count {
  position: absolute;
  top: 8px;
  right: 8px;
}

.main-inv-box .inven-item img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

/****************************************************
  인벤토리 팝업
****************************************************/

.inven-popup-viewer {
  padding: 0;
  width: unset;
  height: unset;
  border: none;
}
.inven-popup-viewer .inner-content {
  display: flex;
  gap: 20px;
}

.inven-popup-viewer .inner-content-wrap {
  box-sizing: border-box;
  width: 349px;
  min-height: 138px;
  border-style: solid;
  border-width: 40px 20px 20px 20px;
  border-image: url("../img/shop/item_info_2.png") 40 20 20 20 fill;
  border-image-repeat: stretch;
}

.inven-popup-viewer .inven-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inven-popup-viewer .type-item .item-name {
  margin-bottom: 10px;
}
.inven-popup-viewer .type-item .item-con {
  gap: 10px;
}


/****************************************************
  메인 슬라이더
****************************************************/
.swiper-button-prev {
  transform: translateX(-50px);
}
.swiper-button-prev::after {
  content: url('/img/arrow-prev.png') !important;
}
.swiper-button-next {
  transform: translateX(50px);
}
.swiper-button-next::after {
  content: url('/img/arrow-next.png') !important;
}

/****************************************************
  오염도 게이지
****************************************************/
.pollution-label {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  width: 230px;
}
.pollution-gauge-wrap {
  display: flex;
  width: 100%;
}
.gauge-left-cap {
  content: url('/img/pollution/BAR_L.png');
  width: fit-content;
  height: auto;
}
.gauge-right-cap {
  content: url('/img/pollution/BAR_R.png');
  width: fit-content;
  height: auto;
}

/****************************************************
  한 줄 공지
****************************************************/
#one_notice {
  background: url("/img/one_notice3.png") no-repeat center top;
  background-size: contain;
  width: 100%;
  line-height: 43px;
  padding: 0 30px;
  box-sizing: border-box;
}
#one_notice .flow-wrap {
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-left: 10px;
  line-height: 43px;
  color: #fff;
}
#one_notice span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


/* 메인 데이터 */
#main_data_box {
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 42px;
	margin-top: 42px;
	width: 100%;
	box-sizing: border-box;
}

/* 일정표 */
#main_schedule_box {
	position: relative;
	flex: 0 0 600px;
	width: 600px;
	height: 287px;
	min-width: 600px;
	max-width: 600px;
	background: url('/img/main/schedule_bg.png');
	padding: 30px 46px;
	box-sizing: border-box;
	overflow: hidden;
}

#main_schedule_box .main-content {
	padding: 8px 10px;
	box-sizing: border-box;
}

.schedule-chain-wrap {
	position: absolute;
	top: 0;
	left: 50%;
	width: 304px;
	height: 45px;
	transform: translate(-50%, -100%);
}


/* 로그인 박스 */
#main_login_box {
	position: relative;
	flex: 0 0 370px;
	width: 370px;
	height: 287px;
	min-width: 370px;
	max-width: 370px;
	background: url('/img/main/login_bg.png');
	box-sizing: border-box;
}


/* 반응형 */

@media screen and (max-width: 1050px) {
	#one_notice {
		background-size: cover;
	}
	#main_data_box {
		flex-wrap: wrap;
	}
}

/* MAIN CALENDAR */
#main_schedule_box {
	overflow: visible !important;
}

#main_schedule_box .main-calendar-list {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Galmuri9, sans-serif;
	overflow: visible !important;
}

/* 일정 한 줄 */
#main_schedule_box .main-calendar-item {
	display: flex;
	align-items: center;
	width: 100%;
	height: 24px;
	margin: 0;
	padding: 0 4px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

#main_schedule_box .main-calendar-item:last-child {
	border-bottom: 0;
}

/* 날짜 */
#main_schedule_box .main-calendar-date {
	flex: 0 0 36px;
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	width: 36px;
	margin: 0 6px 0 0;
	padding: 0;
	line-height: 1;
}

#main_schedule_box .main-calendar-date .calendar-month {
	display: inline;
	margin: 0 2px 0 0;
	padding: 0;
	font-size: 8px;
	line-height: 1;
	opacity: 0.5;
}

#main_schedule_box .main-calendar-date .calendar-day {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1;
	font-weight: 700;
}


/* 일정 정보 */
#main_schedule_box .main-calendar-info {
	flex: 1;
	display: flex;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 0;
}


/* 카테고리 / 시간 */
#main_schedule_box .main-calendar-meta {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 3px;
	margin: 0 5px 0 0;
	padding: 0;
	font-size: 8px;
	line-height: 1;
}

#main_schedule_box .main-calendar-meta .today-label {
	display: inline-block;
	margin: 0;
	padding: 2px 3px;
	background: #222;
	color: #fff;
	border-radius: 2px;
	font-size: 7px;
	line-height: 1;
}

#main_schedule_box .main-calendar-meta .calendar-category {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-weight: 700;
	white-space: nowrap;
}

#main_schedule_box .main-calendar-meta .calendar-time {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 8px;
	white-space: nowrap;
	opacity: 0.5;
}


/* 일정 제목 */
#main_schedule_box .main-calendar-title {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 10px;
	line-height: 1.2;
}

#main_schedule_box .main-calendar-title a {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#main_schedule_box .main-calendar-title a:hover {
	text-decoration: underline;
}


/* 일정 카테고리 */
#main_schedule_box .main-calendar-item.opening {
	box-shadow: inset 3px 0 0 #9fe793;
}

#main_schedule_box .main-calendar-item.mission {
	box-shadow: inset 3px 0 0 #87bfea;
}

#main_schedule_box .main-calendar-item.story {
	box-shadow: inset 3px 0 0 #bba7e8;
}

#main_schedule_box .main-calendar-item.salary {
	box-shadow: inset 3px 0 0 #e7c96f;
}

#main_schedule_box .main-calendar-item.raid {
	box-shadow: inset 3px 0 0 #df8a8a;
}


/* FULL CALENDAR */
#ex_calendar_page {
	width: 100%;
	max-width: 1200px;
	margin: 35px auto 80px;
	padding: 0 20px;
	box-sizing: border-box;
	color: #e8ddb9;
	font-family: Galmuri9, sans-serif;
}

/* MONTH HEADER */
#ex_calendar_page .calendar-page-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin: 0 0 22px;
}

#ex_calendar_page .calendar-page-head h1 {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: 0;
	padding: 0;
	color: #e6ca72;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1px;
	text-shadow:
		0 1px 0 #000,
		0 0 8px rgba(214, 176, 70, 0.2);
}

#ex_calendar_page .calendar-page-head h1 span {
	margin: 0;
	color: #b9a66d;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
}

#ex_calendar_page .calendar-page-head .month-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: #e6ca72;
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: .15s;
}

#ex_calendar_page .calendar-page-head .month-nav:hover {
	color: #fff0a8;
	text-shadow: 0 0 8px rgba(255, 216, 90, 0.7);
}


/* LEGEND */
#ex_calendar_page .calendar-legend {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0 0 10px;
}

#ex_calendar_page .calendar-legend span {
	padding: 5px 10px;
	border: 1px solid #6f5e2e;
	border-radius: 0;
	background: #17150f;
	color: #d8c892;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: inset 0 0 0 1px rgba(255, 215, 100, 0.04);
}

#ex_calendar_page .calendar-legend .opening {
	border-color: #80904c;
	color: #c7db7e;
}

#ex_calendar_page .calendar-legend .mission {
	border-color: #55788f;
	color: #a9d1e8;
}

#ex_calendar_page .calendar-legend .story {
	border-color: #78618d;
	color: #cab0e0;
}

#ex_calendar_page .calendar-legend .salary {
	border-color: #b08d38;
	color: #f0d16f;
}

#ex_calendar_page .calendar-legend .raid {
	border-color: #8f4d47;
	color: #e5a19a;
}


/* WEEK HEADER */
#ex_calendar_page .calendar-week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	width: 100%;
	border-top: 1px solid #9b8140;
	border-left: 1px solid #564923;
	box-sizing: border-box;
	background: #0c0b08;
}

#ex_calendar_page .calendar-week > div {
	min-width: 0;
	padding: 10px 6px;
	box-sizing: border-box;
	border-right: 1px solid #564923;
	border-bottom: 1px solid #77642f;
	background:
		linear-gradient(
			to bottom,
			#242016 0%,
			#17140e 100%
		);
	color: #d5c58f;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
}

#ex_calendar_page .calendar-week > div:first-child {
	color: #c88472;
}

#ex_calendar_page .calendar-week > div:last-child {
	color: #8fa6be;
}


/* CALENDAR GRID */
#ex_calendar_page .calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	width: 100%;
	border-left: 1px solid #564923;
	box-sizing: border-box;
	background: #090806;
}

#ex_calendar_page .calendar-cell {
	position: relative;
	min-width: 0;
	min-height: 145px;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	border-right: 1px solid #443b23;
	border-bottom: 1px solid #443b23;
	overflow: hidden;
}

#ex_calendar_page .calendar-cell:before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			to bottom right,
			rgba(255, 221, 120, 0.025),
			transparent 45%
		);
}

#ex_calendar_page .calendar-cell.empty {
	background:
		linear-gradient(
			135deg,
			rgba(8, 8, 7, 0.75),
			rgba(18, 16, 11, 0.65)
		);
}

#ex_calendar_page .calendar-cell.today {
	box-shadow:
		inset 0 0 0 2px #d5ae43,
		inset 0 0 18px rgba(213, 174, 67, 0.12);
	background:
		linear-gradient(
			135deg,
			rgba(48, 40, 20, 0.97),
			rgba(17, 15, 10, 0.97)
		);
}


/* DAY NUMBER */
#ex_calendar_page .calendar-cell-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
	margin: 0 0 8px;
}

#ex_calendar_page .calendar-cell-head {
	color: #c9b77d;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-shadow: 0 1px 2px #000;
}

#ex_calendar_page .calendar-cell:nth-child(7n+1) .calendar-cell-head strong {
	color: #bd7869;
}

#ex_calendar_page .calendar-cell:nth-child(7n) .calendar-cell-head strong {
	color: #849db2;
}

#ex_calendar_page .calendar-cell.today .calendar-cell-head strong {
	color: #ffe17a;
}


/* 일정 개수 */
#ex_calendar_page .calendar-cell-head > span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 21px;
	height: 20px;
	padding: 0 5px;
	box-sizing: border-box;
	border: 1px solid #ad8b32;
	border-radius: 0;
	background: #d5ae43;
	color: #171207;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
}

#ex_calendar_page .calendar-events {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	min-width: 0;
}


/* 일정 박스 */
#ex_calendar_page .calendar-event {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	min-height: 28px;
	margin: 0;
	padding: 5px 7px;
	box-sizing: border-box;
	border: 1px solid #9f7e23;
	border-left: 4px solid #cfa633;
	border-radius: 0;
	background:
		linear-gradient(
			to right,
			#e7c351 0%,
			#f0d576 100%
		);
	color: #19150a;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.35;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.25),
		0 1px 2px rgba(0,0,0,0.4);
	overflow: hidden;
}

#ex_calendar_page .calendar-event small {
	flex: 0 0 auto;
	margin-right: 5px;
	color: #59440e;
	font-size: 9px;
	font-weight: 700;
	white-space: nowrap;
}

#ex_calendar_page .calendar-event span {
	min-width: 0;
	overflow: hidden;
	color: #19150a;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#ex_calendar_page .calendar-event b {
	margin-right: 3px;
	color: #3d2c08;
	font-weight: 800;
}


#ex_calendar_page .calendar-event.opening {
	border-left-color: #76974d;
}

#ex_calendar_page .calendar-event.mission {
	border-left-color: #4d87a7;
}

#ex_calendar_page .calendar-event.story {
	border-left-color: #80639c;
}

#ex_calendar_page .calendar-event.salary {
	border-left-color: #c49a29;
}

#ex_calendar_page .calendar-event.raid {
	border-left-color: #9f5147;
}

#ex_calendar_page .calendar-event.normal {
	border-left-color: #b68b26;
}


/* EVENT HOVER */
#ex_calendar_page .calendar-event:hover {
	background:
		linear-gradient(
			to right,
			#f1ce5d 0%,
			#f8e08c 100%
		);
	border-color: #d1a936;
}


/* MOBILE */
@media screen and (max-width: 800px) {

	#ex_calendar_page {
		padding: 0 10px;
	}

	#ex_calendar_page .calendar-cell {
		min-height: 105px;
		padding: 5px;
	}

	#ex_calendar_page .calendar-cell-head strong {
		font-size: 14px;
	}

	#ex_calendar_page .calendar-event {
		padding: 4px;
		font-size: 9px;
	}

	#ex_calendar_page .calendar-event small {
		display: none;
	}

}