
html.m, html.m body { transition: background 200ms; }

#body-area { padding-top: 15px; padding-bottom: 30px; }

.btn.active { background-color: #0001!important; opacity: 1!important; }
html.pc .btn:hover { background-color: #0001; }
html.pc .btn:active { background-color: #0002; }
html.pc .btn.del:hover { opacity: 1!important; }
html.dark.pc .btn:hover { background-color: #ffffff1a; }

.btn-white { background: linear-gradient(166deg, #fff 40%, #f1f2f3); border: 1px solid #eee; box-shadow: 1px 1px 4px rgba(0,0,0,0.15); text-shadow: 0 1px #fff; cursor: pointer; }
.btn-white.active { background: linear-gradient(166deg, #f1f2f3, #fff 60%); }
html.pc .btn-white:hover { border-color: #ccc; }
html.pc .btn-white:active { background: linear-gradient(166deg, #f1f2f3, #fff 60%); }
html.dark.pc .btn-white:hover { border-color: #aaa; }

.pop-input-container { display: none; width: 100%; justify-content: center; align-items: center; overflow: hidden; }
.pop-input-body { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.pop-input-container.on { display: flex; }

#input-back { top: 0; left: 0; width: 100%; height: 100%; }

#bottom-ghost { position: absolute; top: 0; left: 0; width: 0; height: constant(safe-area-inset-bottom); height: env(safe-area-inset-bottom); pointer-events: none; }

#btn-open-close { position: relative; z-index: 5; float: right; padding: 0 9px 0 23px; line-height: 27px; font-size: 10px; border-radius: 7px; color: #111; white-space: nowrap; }
#btn-open-close::before {
	content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 100%;
	background-image: url('/svg/close.svg'); background-size: 12px; background-position: 8px center; background-repeat: no-repeat;
}
#btn-open-close.active { border-color: #ccc; }

.section-title { width: 100%; margin-bottom: 5px; font-size: 15px; line-height: 25px; text-align: left; font-weight: bold; }

#container { position: relative; width: 100%; min-height: 100%; }

.my-logo { border-radius: 30px!important; }

.ios-sel-btn-wrap { width: 100%; background: #f1f2f5; padding: 2px; border-radius: 10px; font-size: 11px; line-height: 35px; overflow: hidden; }
.ios-sel-btn-wrap > div { width: 100%; display: flex; text-align: center; gap: 2px; }
.ios-sel-btn { flex: 1; border-radius: 8px; cursor: pointer; }
.ios-sel-btn.on { font-weight: bold; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
html.dark .ios-sel-btn-wrap { background: #222!important; box-shadow: inset 0 2px 9px rgba(0,0,0,0.65)!important; }
html.dark .ios-sel-btn.on { background: #444!important; box-shadow: 0 2px 10px #000; }


#body-wrap3 { width: 100%; }
#body-part { width: 100%; max-width: 420px; }

#body-wrap.href { pointer-events: none; }

#body-part.oil { float: none; display: inline-block; max-width: 420px; }

.gradient { background: linear-gradient(to bottom, #fff5e0, #ffe4b3); }
.gradient2 { background: linear-gradient(to bottom, #ffe4b3, #ffb833); }
.gradient3 { background: linear-gradient(to top, #ffe4b3, #ffb833); }
.gradient_i { background: linear-gradient(to bottom, #ffe4b3, #fff5e0); }

.bg-promo { background: #009994; }
.color-promo { color: #009994; }

.bg-baemin { background: #009994; }
.color-baemin { color: #009994; }
.bg-coupang { background: #009994; }
.color-coupang { color: #009994; }
.bg-yogiyo { background: #009994; }
.color-yogiyo { color: #009994; }
.bg-ilban { background: #009994; }
.color-ilban { color: #009994; }

/* 달력 */
.calendar { width: 100%; text-align: center; background: #fff; border-radius: 15px; padding: 7px; margin-top: 17px; box-shadow: 0 0 10px rgba(0,0,0,0.08); }
.date-box-area { width: 100%; display: grid; grid-template-columns: repeat(7, 1fr); grid-gap: 2px; padding: 2px; }
.date-box { position: relative; width: 100%; height: 53px; padding: 5px 0 0 0; }
.date-num { position: relative; z-index: 1; width: 100%; font-size: 10px; margin-top: 2px; }

.relative-100 { position: relative; width: 100%; height: 100%; }
.absolute-100 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.bar { transition: width 1s; width: 0; height: 100%; }

.week-title-area { width: 100%; display: grid; grid-template-columns: repeat(7, 1fr); font-weight: bold; }
.week-title { font-size: 11px; line-height: 25px; }
.calendar .w6 .date-num { color: #007fff; }
.calendar .w0 .date-num, .calendar .holi .date-num { color: #f44; }


.input-x .x-bar { margin-top: -9px; width: 17px; height: 17px; background: #e5e5e5; border-radius: 10px; }
/*.input-x .x-bar > * { top: 8px; left: 4px; width: 9px; background: #777; }*/
.input-x .x-bar::before { top: 8px; left: 4px; width: 9px; background: #777; }
.input-x .x-bar::after  { top: 8px; left: 4px; width: 9px; background: #777; }





#detail { font-size: 12px; line-height: 14px; white-space: nowrap; }
#detail.fee { float: right; }
#detail th, #detail td { padding: 4px 0; }
#detail th { text-align: left; padding-right: 6px; }
#detail td { text-align: right; padding-left: 6px; min-width: 30px; }
#detail-promo th, #detail-promo td { padding-top: 0; font-size: 11px; line-height: 5px;/* color: #009688;*/ font-weight: bold; }
#detail.fee td { text-align: left; }
#detail.fee td.fee-amount { text-align: right; }
#detail.fee td.fee-per { padding-left: 3px; color: #999; min-width: 12px; }
#detail.fee2 { float: right; }
#detail.fee2 th, #detail.fee2 td { padding: 1px 0; }
#detail.fee2 th { padding-right: 7px; }
#detail.fee2 td { min-width: 30px; }



#select { position: absolute; top: 0; }
#select-wrap { position: relative; height: 24px; font-size: 14px; line-height: 24px; z-index: 5; cursor: pointer; border-radius: 5px; padding: 0 6px; margin: 0 -6px; }
#select-txt { font-weight: bold; }
#select-arrow-wrap { position: relative; width: 8px; height: 100%; margin-left: 5px; }
#select-arrow { position: absolute; top: 50%; left: 0; margin-top: -2px; border: 4px solid transparent; border-top: 5px solid #000; border-bottom: none; }



#input-area { position: relative; width: 100%; }
.input-wrap { position: relative; width: 100%; height: 49px; background: #fff; }
.input { position: relative; width: 100%; height: 49px; padding: 10px 7px; padding: 10px 13px; border: 1px solid #ddd; border-radius: 5px; cursor: text; box-shadow: inset 1px 1px 5px rgb(0,0,0,0.1); }
.input.focus { border-color: #87ceeb; outline: 1px solid #87ceeb!important; }
.input2 { position: relative; width: 100%; height: 100%; overflow: hidden; }
.input3 { position: absolute; top: 0; right: 0; min-width: 100%; height: 100%; }
.input-txt-wrap { position: relative; display: inline-block; float: none; }
.input-txt { position: relative; min-width: 2px; height: 27px; font-size: 19px; line-height: 27px; padding: 0 1px; font-weight: bold; }
.input-txt-after { display: none; font-size: 16px; line-height: 1; padding-top: 6px; }

.input.all .input-txt { background: #add8e6; }
.input.writing .input-txt { background: none; }
.input.null .input-txt { padding: 0; }
.input.writing .input-txt::after { content: ''; display: block; position: absolute; right: 0; top: 0; width: 1px; height: 100%; background: #000; pointer-events: none; }
.input.writing .input-txt::after { animation: cursor 1s infinite step-end; }
@keyframes cursor { 50% { opacity: 0; } }

.input-x { display: none; opacity: 0.6; position: absolute; top: 0; right: 0; padding: 0 12px; width: 41px; height: 49px; font-size: 19px; z-index: 5; cursor: pointer; line-height: 49px; }

.input.notnull .input-txt-after { display: block; }
.input.notnull .input-x { display: block; }
.input.focus .input-place { display: none; }
.input.notnull .input-place { display: none; }

#input-close { position: absolute; top: 10px; right: 30px; width: 40px; height: 40px; padding: 10px; z-index: 5; cursor: pointer; opacity: 0.5; }
#input-close:hover { opacity: 1; }

body.input-date .input:not(.input.date) .input-x { display: none; }





#bar-txt { margin-top: 2px; }
.bar-txt-plus { color: #00a800; }



/* 리스트 */
#list-label { position: sticky; top: 50px; z-index: 9; width: 100%; padding-left: 20px; padding-right: 10px; margin-bottom: 5px; font-size: 15px; line-height: 31px; font-weight: bold; text-align: left; }
#list-label::before { content: ''; position: absolute; top: 0; left: 0; z-index: -1; width: calc(100% - 10px); height: 100%; background: #f8fafb; }


#list-area { position: relative; width: 100%; margin-bottom: 20px; }

.list-group { position: relative; width: 100%; }

.list-wrap { position: relative; width: 100%; padding: 0 20px; margin-bottom: 10px; }
.list { position: relative; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; }
.list { box-shadow: 0 0 10px rgba(0,0,0,0.06); }

.list-head-wrap { position: relative; width: 100%; background: #fff; }

.list-head { position: relative; width: 100%; z-index: 5; cursor: pointer; }
.list-head .amount, .list-head .cnt, .list-head .unit-price { float: right; }

.list-head .week { font-weight: bold; }

.list-body { width: 100%; height: 0; overflow: hidden; text-align: center; }
.list-body-2 { width: 100%; /*background: #fff7e5;*/ }

.list.on .list-head { box-shadow: 0 0 10px rgba(0,0,0,0.07); }
.list.on .list-body { height: auto; }

.list-head-wrap.btn { transition: 0.5s background; }
.list-head-wrap.btn.active { transition: none; }

#list-null { width: 100%; font-size: 13px; opacity: 0.3; padding: 50px 0 80px; }


#pop-input { font-size: 14px; }

#detail-area { width: 100%; margin-top: 17px; }
#detail-area2 { position: relative; width: 100%; }


.solo-page { width: 100%; min-width: 320px; display: flex; flex-direction: column; align-items: center; text-align: center;
	padding-top: constant(safe-area-inset-top);
	padding-top: env(safe-area-inset-top);
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}
.solo-page-top { position: relative; width: 100%; height: 54px; font-size: 18px; line-height: 54px; font-weight: bold; }
.solo-page-body { width: 100%; display: flex; flex-direction: column; align-items: center; }
.solo-page-main { width: 100%; }
.solo-page-main > div { width: 100%; }
.solo-page-main > div > div { width: 100%; }
.solo-page-bottom { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }


.pop-page-top { width: 100%; padding-top: 20px; display: flex; justify-content: center; }
.pop-page-top > div { position: relative; width: 100%; max-width: 440px; height: 50px; font-size: 18px; line-height: 50px; font-weight: bold; }
.pop-page-top .svg-back { height: 100%; }
.pop-page-body { width: 100%; }
.pop-page-body > div { width: 100%; display: flex; justify-content: center; align-items: flex-start; padding: 0 30px; }
.pop-page-body > div > div { width: 100%; max-width: 340px; padding: 20px 0 80px; }
/*.solo-page-main { padding: 20px; }*/


@media all and (display-mode: standalone) {

	.pop-page-top { position: fixed; top: 0; left: 0; z-index: 100; background: #f8fafb;
		padding-top: constant(safe-area-inset-top);
		padding-top: env(safe-area-inset-top); }
	.pop-page-body { padding: 50px 0 0; height: 100%;
		padding-top: calc(constant(safe-area-inset-top) + 50px);
		padding-top: calc(env(safe-area-inset-top) + 50px); }
	.pop-page-body > div { height: 100%; overflow-y: auto; overscroll-behavior: contain;
		padding-bottom: constant(safe-area-inset-bottom);
		padding-bottom: env(safe-area-inset-bottom); }

	html.dark .pop-page-top { background: var(--darkBack); }
}



@media screen and (max-width: 359px) { /* 아이폰 SE 320대응 */

	#input-close { right: 20px; }

	#list-label { padding-left: 15px; }
	.list-wrap { padding: 0 15px; }

	.date-num { font-size: 9px; }

}

@media screen and (min-width: 500px) { /* 태블릿 */

	#body-area { padding-top: 20px; }

}

@media screen and (min-width: 690px) { /* 두줄보기 플립 */

	#body-area { padding-bottom: 100px; }

	#top-logo-area { padding-left: 0; }
	#top-dash-area { padding-left: 0; }
	#body-part { width: 50%; padding: 0; }
	#body-part.body-part-list { float: right; }
	#body-part.oil { max-width: 460px; }
	#body-part.nolist { width: 100%; }
	#body-part.body-part-list { padding: 5px 0 30px; }

}

@media screen and (min-width: 768px) { /* 두줄보기 태블릿 */

	#body-area { padding-top: 25px; padding-left: 15px; padding-right: 15px; }

	.list-head { line-height: 54px; }

	#list-label { padding-left: 15px; }
	.list-wrap { padding: 0 15px; }
	#body-part { max-width: 410px; }

}

@media screen and (min-width: 1024px) { /* 두줄보기 */

	#body-area { padding-top: 35px; padding-left: 20px; padding-right: 20px; }

	#list-label { padding-left: 20px; }
	.list-wrap { padding: 0 20px; }
	#body-part { max-width: 420px; }

}

@media all and (display-mode: browser) {
	html.m #body-wrap { margin-bottom: var(--footerMT); }
	html.m #footer-area {
		margin-bottom: constant(safe-area-inset-bottom);
		margin-bottom: env(safe-area-inset-bottom);
	}
}

@media all and (display-mode: standalone) {

	#body {
		padding-top: calc(constant(safe-area-inset-top) + 61px);
		padding-top: calc(env(safe-area-inset-top) + 61px);
		padding-bottom: max(calc(constant(safe-area-inset-bottom) + 44px), 59px);
		padding-bottom: max(calc(env(safe-area-inset-bottom) + 44px), 59px);
	}

	#body-wrap { padding-bottom: 20px; }

	html.m #footer-area { padding-bottom: 56px; }

	.list-year, #list-label { top: 0!important; }

}


@supports (backdrop-filter: blur()) or (-webkit-backdrop-filter: blur()) {

	#list-label::before {
		background: rgba(248, 250, 251, 0.65);
		backdrop-filter: blur(30px);
		-webkit-backdrop-filter: blur(30px);
	}

}