/* Quest Book Steam Price 2.0 */

.qbsp-box {
	margin: 3.0769vw 0;
	padding: 2.1538vw;
	border: none;
	border-radius: 1.0769vw;
	background: #000;
	box-shadow: none;
	color: #fff;
}

.qbsp-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.8462vw;
	margin-bottom: 1.6923vw;
}

.qbsp-kicker {
	margin: 0 0 0.3846vw;
	color: #aeb6bf;
	font-size: 0.8462vw;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.qbsp-title {
	margin: 0;
	color: #fff;
	font-size: 1.6923vw;
	line-height: 1.5;
}

.qbsp-price-area {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	gap: 0.9231vw;
}

.qbsp-currency-switch {
	display: inline-flex;
	padding: 0.2308vw;
	border: none;
	border-radius: 76.8462vw;
	background: #1b1b1b;
}

.qbsp-currency-switch button {
	min-width: 4.1538vw;
	padding: 0.4615vw 0.9231vw;
	border: 0;
	border-radius: 76.8462vw;
	background: transparent;
	color: #aeb6bf;
	font: inherit;
	font-size: 0.9231vw;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.qbsp-currency-switch button.is-active {
	background: #fff;
	color: #000;
}

.qbsp-current {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.6923vw;
	white-space: nowrap;
}

.qbsp-current strong {
	color: #fff;
	font-size: 2.0769vw;
	line-height: 1;
}

.qbsp-current del {
	color: #8f969d;
	font-size: 1.0769vw;
}

.qbsp-discount {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.3846vw 0.6923vw;
	border-radius: 0.3077vw;
	background: #d63b32;
	color: #fff;
	font-size: 0.9231vw;
	font-weight: 700;
}

.qbsp-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.7692vw;
	margin-bottom: 1.8462vw;
}

.qbsp-summary > div {
	padding: 1.0769vw;
	border-radius: 0.6154vw;
	background: #171717;
}

.qbsp-summary span {
	display: block;
	margin-bottom: 0.3077vw;
	color: #aeb6bf;
	font-size: 0.9231vw;
}

.qbsp-summary strong {
	color: #fff;
	font-size: 1.3846vw;
}

.qbsp-chart-wrap {
	position: relative;
	width: 100%;
	height: 27.6923vw;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.qbsp-chart-wrap canvas {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
}

.qbsp-note {
	margin: 1.0769vw 0 0;
	color: #aeb6bf;
	font-size: 0.9231vw;
	line-height: 1.7;
}

.qbsp-error {
	margin: 1.9231vw 0;
	padding: 1.0769vw 1.2308vw;
	border-radius: 0.4615vw;
	background: #171717;
	color: #c3c8cd;
}

@media screen and (max-width: 767px) {
	.qbsp-box {
		margin: 8vw 0;
		padding: 5.3333vw 4vw;
		border-radius: 3.7333vw;
	}

	.qbsp-head {
		display: block;
		margin-bottom: 5.3333vw;
	}

	.qbsp-kicker {
		margin-bottom: 1.3333vw;
		font-size: 3.2vw;
	}

	.qbsp-title {
		margin-bottom: 3.7333vw;
		font-size: 4.8vw;
	}

	.qbsp-price-area {
		align-items: flex-start;
		gap: 3.2vw;
	}

	.qbsp-currency-switch {
		padding: 0.8vw;
	}

	.qbsp-currency-switch button {
		min-width: 14.4vw;
		padding: 2.1333vw 3.2vw;
		font-size: 3.2vw;
	}

	.qbsp-current {
		justify-content: flex-start;
		gap: 2.4vw;
	}

	.qbsp-current strong {
		font-size: 6.1333vw;
	}

	.qbsp-current del {
		font-size: 3.7333vw;
	}

	.qbsp-discount {
		padding: 1.3333vw 2.4vw;
		border-radius: 1.0667vw;
		font-size: 3.2vw;
	}

	.qbsp-summary {
		grid-template-columns: 1fr;
		gap: 2.6667vw;
		margin-bottom: 6.4vw;
	}

	.qbsp-summary > div {
		padding: 3.7333vw;
		border-radius: 2.1333vw;
	}

	.qbsp-summary span {
		margin-bottom: 1.0667vw;
		font-size: 3.2vw;
	}

	.qbsp-summary strong {
		font-size: 4.8vw;
	}

	.qbsp-chart-wrap {
		height: 74.6667vw;
	}

	.qbsp-note {
		margin-top: 3.7333vw;
		font-size: 3.2vw;
		line-height: 1.7;
	}

	.qbsp-error {
		margin: 6.6667vw 0;
		padding: 3.7333vw 4.2667vw;
		border-radius: 1.6vw;
		font-size: 3.7333vw;
	}
}