body {
	overflow-x: hidden;
}

.spotlight {
	display: flex;
}

.spotlight .banner {
	display: grid;
	grid-template: 1fr / 1.8fr 1fr;
	border-radius: 1.5625em;
	background: var(--src);
	background-size: 100%;
	background-position: center;
	-o-object-fit: cover;
	object-fit: cover;
	padding: 2.5em 2.5em 3.75em 3.75em;
	position: relative;
	z-index: 1;
	background-repeat: no-repeat;
	flex: 1;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	transition: 1.3s background-size ease-in-out;
}

.spotlight .banner:hover {
	background-size: 105%;
}

.spotlight .banner::after {
	content: '';
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: absolute;
	background: linear-gradient(to right, rgba(12, 12, 12, 0.5), rgba(12, 12, 12, 0.7));
	z-index: -1;
	border-radius: 1.5625em;
}

.spotlight .banner .info {
	display: flex;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spotlight .banner .info h3 {
	margin: 0;
	color: #fff;
}

.spotlight .banner .info h1 {
	font-size: 2.5em;
	color: #fff;
	margin-top: 0.625em;
}

.spotlight .banner .info .title {
	align-self: center;
}

.spotlight .banner .info button {
	border: none;
	background: var(--secondary);
	padding: 0.75em 1.875em;
	display: inline-flex;
	align-items: center;
	height: 3em;
	font-weight: 700;
	border-radius: 0.3125em;
	cursor: pointer;
	transition: 300ms;

	color: #fff;
}

.spotlight .banner .info button span {
	border-right: 0.125em solid;
	padding-right: 0.4375em;
	margin-right: 0.3125em;
}

.spotlight .banner .info button:hover {
	background: var(--surface-raised);
	color: var(--primary);
}

.spotlight .banner .img-holder {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.spotlight .banner .img-holder .book {
	font-size: 1.1em;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spotlight .player {
	background: rgba(12, 12, 12, 0.5);
	margin-left: 1.25em;
	padding: 3.125em;
	padding-left: 4.375em;
	display: flex;
	color: #fff;
	align-items: center;
	position: relative;
	border-radius: 1.5625em;
	overflow: hidden;
}

.spotlight .player::after {
	content: '';
	position: absolute;
	top: 50%;
	left: -5%;
	transform: translate(-50%, -50%);
	width: 18.75em;
	height: 37.5em;
	border-radius: 50%;
	background: rgba(var(--rgb-secondary), 0.6);
	z-index: 1;
	transition: 0.5s;
	-webkit-animation: playerApear 1s;
	animation: playerApear 1s;
}

@-webkit-keyframes playerApear {
	from {
		transform: translate(-100%, -50%);
	}
	to {
		transform: translate(-50%, -50%);
	}
}

@keyframes playerApear {
	from {
		transform: translate(-100%, -50%);
	}
	to {
		transform: translate(-50%, -50%);
	}
}

.spotlight .player:hover::after {
	left: 0;
}

.spotlight .player::before {
	content: '';
	position: absolute;
	top: -5vh;
	left: -5vh;
	right: -5vh;
	bottom: -5vh;
	z-index: -2;
	background: var(--src);
	-webkit-filter: blur(1.25em);
	filter: blur(1.25em);
	background-size: 110%;
	background-position: center;
	border-radius: 100%;
	-webkit-animation: rotate 150s linear infinite;
	animation: rotate 150s linear infinite;
}

.spotlight .player .continue {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 1.5625em;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	-webkit-text-orientation: mixed;
	text-orientation: mixed;
	text-align: center;
	font-size: 1.1em;
	letter-spacing: 1px;
	z-index: 2;
}

.spotlight .player .book {
	font-size: 0.8em;
	padding: 0.3125em;
	z-index: 2;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
}

.spotlight .player .book .cover img {
	border: 0.3125em solid #fff;
}

.spotlight .player .content {
	padding-left: 2.5em;
	width: 15em;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	-webkit-animation-delay: 0.7s;
	animation-delay: 0.7s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes slideInDown {
	from {
		transform: translate3d(0, -100%, 0);
		visibility: visible;
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes slideInDown {
	from {
		transform: translate3d(0, -100%, 0);
		visibility: visible;
	}

	to {
		transform: translate3d(0, 0, 0);
	}
}

.spotlight .player .content .author {
	font-size: 0.8em;
}

.spotlight .player .content .title {
	font-family: var(--lora);
	font-size: 1.3em;
}

.spotlight .player .content .point {
	display: flex;
	color: #fff;
	font-size: 0.7em;
	align-items: center;
	margin-top: 0.625em;
}

.spotlight .player .content .point .dot {
	height: 0.3125em;
	width: 0.3125em;
	border-radius: 50%;
	margin: 0 10px;
	background: #fff;
}

.spotlight .player .content .point .chapter span:first-child {
	font-weight: 600;
}

.spotlight .player .content .play {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-top: 1.25em;
	transition: 300ms;
}

.spotlight .player .content .play .circle {
	width: 3.125em;
	height: 3.125em;
	border-radius: 50%;
	display: flex;
	margin-right: 0.625em;
	background: var(--secondary);
}

.spotlight .player .content .play:hover .circle {
	transform: scale(1.05);
}

.spotlight .player .content .play:hover span {
	color: var(--secondary);
}

.spotlight .player .content .play .circle i {
	margin: auto;
}

.spotlight .player .content .play {
	font-weight: 600;
}

.spotlight .player .listened-pill {
	position: absolute;
	right: 1.25em;
	bottom: 1em;
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.55em 1em;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff;
	font-size: 0.8em;
	font-weight: 600;
	z-index: 3;
	pointer-events: none;
}

.spotlight .player .listened-pill .dot {
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--secondary);
}

.spotlight .player .listened-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	z-index: 3;
	overflow: hidden;
}

.spotlight .player .listened-progress .fill {
	height: 100%;
	background: var(--secondary);
	transition: width 0.4s ease;
}

/* //////////////////////////////// SECTIONS //////////////////// */

section {
	position: relative;
	margin-bottom: 3.125em;
}

section .header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.9375em;
	padding: 1.25em;
	padding-bottom: 0;
}

section .header .title h2 {
	font-weight: 400;
	font-size: 1.875em;
	margin: 0;
	font-family: var(--lora);
}

section .header .controls {
	display: flex;
}

section .header .controls .right-arrow,
section .header .controls .left-arrow {
	background: var(--surface-3);
	height: 2.5em;
	width: 3.75em;
	display: flex;
	border-radius: 0.625em;
	margin-left: 0.625em;
	cursor: pointer;
	color: var(--font-color);
	transition: 0.5s;
}

section .header .controls .right-arrow.disabled,
section .header .controls .left-arrow.disabled {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	opacity: 0.4;
}

section .header .controls .right-arrow:hover,
section .header .controls .left-arrow:hover {
	background: rgba(var(--rgb-primary), 0.15);
}

section .header .controls .right-arrow:active,
section .header .controls .left-arrow:active {
	transform: scale(0.9);
}

section .header .controls i {
	transition: 0.5s;
	margin: auto;
}

section .header .controls .right-arrow:hover i {
	transform: translate(2px);
}

section .header .controls .left-arrow:hover i {
	transform: translate(-2px);
}

.vertical .book {
	margin-right: 4.4em;
	display: flex;
	flex-direction: column;
	transition: 0.5s;
	-webkit-animation: 1s fadeIn;
	animation: 1s fadeIn;
}

.vertical .book:hover {
	transform: translateY(-2px);
}

.vertical .book.collection:hover {
	transform: translateY(0);
}

.horzonal .book,
.recent-books .book {
	display: flex;
	margin-right: 4.375em;
	max-width: unset;
}

.recent-books .book {
	-webkit-animation: 1s fadeIn;
	animation: 1s fadeIn;
}

.book-info {
	position: relative;
	display: flex;
	flex-direction: column;
}

.recent-books .book-info {
	padding: 1.25em;
	width: 18em;
	background: var(--surface-2);
	margin: 0.625em 0;
	box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
}

.recent-books .book-info > * {
	-webkit-animation: 1s fadeIn;
	animation: 1s fadeIn;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.recent-books .book-info .more {
	position: absolute;
	right: 0.3125em;
	top: 0.3125em;
	width: 1.875em;
	height: 1.875em;
	display: flex;
	background: transparent;
	border-radius: 50%;
	cursor: pointer;
	transition: 300ms;
}

.recent-books .book-info .more:hover {
	background: var(--surface-raised);
}

.recent-books .book-info .more:active {
	background: rgba(var(--rgb-primary), 0.06);
}

.recent-books .book-info .more.active {
	background: rgba(var(--rgb-primary), 0.09);
}

.recent-books .book-info .more i {
	margin: auto;
	font-size: 0.8em;
}

.recent-books .book-info .options {
	position: absolute;
	display: none;
	right: 0.625em;
	top: 2.5em;
	width: 16.875em;
	background: var(--body-color);
	padding: 0.9375em 0;
	box-shadow: 0px 10px 50px rgb(0 0 0 / 10%);
	z-index: 2;
	border-radius: 0.375em;
	-webkit-animation: fadeIn 0.5s;
	animation: fadeIn 0.5s;
}

.recent-books .book-info .options .option {
	display: flex;
	align-items: center;
	padding: 0.5em 2em;
	opacity: 0.8;
	margin: 0.3125em 0;
	font-size: 0.9em;
	cursor: pointer;
	transition: 300ms;
}

.recent-books .book-info .options .option:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.recent-books .book-info .options .option i {
	margin-right: 0.625em;
}

.vertical .book-info {
	-webkit-animation: fadeIn 1;
	animation: fadeIn 1;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

section .content {
	display: flex;
	overflow: hidden;
	position: relative;
	z-index: 1;
	padding: 1.25em;
}

.recent-books {
	border-radius: 20px;
	margin-bottom: 50px;
	z-index: 2;
}

.page-load-status {
	display: none;
}

/* // Loading handler */

.loading-animation-holder {
	display: flex;
}

.loading-animation {
	display: inline-flex;
	align-items: center;
	position: relative;
	margin: 1em auto;
	background: rgba(var(--rgb-primary), 0.06);
	padding: 0.5em 2em;
	border-radius: 0.5em;
}

.loading-animation .loader {
	--background: var(--rgb-primary);
	font-size: 3px;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	position: relative;
	animation: mulShdSpin 1.1s infinite ease;
	transform: translateZ(0);
}

.loading-animation span {
	margin-left: 1.3em;
	font-size: 0.9em;
	color: rgba(var(--rgb-primary), 0.6);
}

@keyframes mulShdSpin {
	0%,
	100% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 1), 1.8em -1.8em 0 0em rgba(var(--background), 0.2),
			2.5em 0em 0 0em rgba(var(--background), 0.2), 1.75em 1.75em 0 0em rgba(var(--background), 0.2),
			0em 2.5em 0 0em rgba(var(--background), 0.2), -1.8em 1.8em 0 0em rgba(var(--background), 0.2),
			-2.6em 0em 0 0em rgba(var(--background), 0.5), -1.8em -1.8em 0 0em rgba(var(--background), 0.7);
	}
	12.5% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.7), 1.8em -1.8em 0 0em rgba(var(--background), 1),
			2.5em 0em 0 0em rgba(var(--background), 0.2), 1.75em 1.75em 0 0em rgba(var(--background), 0.2),
			0em 2.5em 0 0em rgba(var(--background), 0.2), -1.8em 1.8em 0 0em rgba(var(--background), 0.2),
			-2.6em 0em 0 0em rgba(var(--background), 0.2), -1.8em -1.8em 0 0em rgba(var(--background), 0.5);
	}
	25% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.5), 1.8em -1.8em 0 0em rgba(var(--background), 0.7),
			2.5em 0em 0 0em rgba(var(--background), 1), 1.75em 1.75em 0 0em rgba(var(--background), 0.2),
			0em 2.5em 0 0em rgba(var(--background), 0.2), -1.8em 1.8em 0 0em rgba(var(--background), 0.2),
			-2.6em 0em 0 0em rgba(var(--background), 0.2), -1.8em -1.8em 0 0em rgba(var(--background), 0.2);
	}
	37.5% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.2), 1.8em -1.8em 0 0em rgba(var(--background), 0.5),
			2.5em 0em 0 0em rgba(var(--background), 0.7), 1.75em 1.75em 0 0em rgba(var(--background), 1),
			0em 2.5em 0 0em rgba(var(--background), 0.2), -1.8em 1.8em 0 0em rgba(var(--background), 0.2),
			-2.6em 0em 0 0em rgba(var(--background), 0.2), -1.8em -1.8em 0 0em rgba(var(--background), 0.2);
	}
	50% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.2), 1.8em -1.8em 0 0em rgba(var(--background), 0.2),
			2.5em 0em 0 0em rgba(var(--background), 0.5), 1.75em 1.75em 0 0em rgba(var(--background), 0.7),
			0em 2.5em 0 0em rgba(var(--background), 1), -1.8em 1.8em 0 0em rgba(var(--background), 0.2),
			-2.6em 0em 0 0em rgba(var(--background), 0.2), -1.8em -1.8em 0 0em rgba(var(--background), 0.2);
	}
	62.5% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.2), 1.8em -1.8em 0 0em rgba(var(--background), 0.2),
			2.5em 0em 0 0em rgba(var(--background), 0.2), 1.75em 1.75em 0 0em rgba(var(--background), 0.5),
			0em 2.5em 0 0em rgba(var(--background), 0.7), -1.8em 1.8em 0 0em rgba(var(--background), 1),
			-2.6em 0em 0 0em rgba(var(--background), 0.2), -1.8em -1.8em 0 0em rgba(var(--background), 0.2);
	}
	75% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.2), 1.8em -1.8em 0 0em rgba(var(--background), 0.2),
			2.5em 0em 0 0em rgba(var(--background), 0.2), 1.75em 1.75em 0 0em rgba(var(--background), 0.2),
			0em 2.5em 0 0em rgba(var(--background), 0.5), -1.8em 1.8em 0 0em rgba(var(--background), 0.7),
			-2.6em 0em 0 0em rgba(var(--background), 1), -1.8em -1.8em 0 0em rgba(var(--background), 0.2);
	}
	87.5% {
		box-shadow: 0em -2.6em 0em 0em rgba(var(--background), 0.2), 1.8em -1.8em 0 0em rgba(var(--background), 0.2),
			2.5em 0em 0 0em rgba(var(--background), 0.2), 1.75em 1.75em 0 0em rgba(var(--background), 0.2),
			0em 2.5em 0 0em rgba(var(--background), 0.2), -1.8em 1.8em 0 0em rgba(var(--background), 0.5),
			-2.6em 0em 0 0em rgba(var(--background), 0.7), -1.8em -1.8em 0 0em rgba(var(--background), 1);
	}
}

/* // Last item on page */

.footer-note {
	margin: 0.5em 0;
	display: flex;
	justify-content: center;
	align-items: center;
	color: rgba(var(--rgb-primary), 0.6);
}

/* // Loading book  */
@media screen and (max-width: 1350px) {
	.spotlight {
		flex-wrap: wrap;
	}

	.spotlight .player {
		width: 100%;
		margin: 20px auto;
	}

	.spotlight .player .content {
		width: unset;
	}
}

@media screen and (max-width: 1000px) {
	body {
		font-size: 0.8rem;
	}

	section,
	.recent-books {
		margin-bottom: 0;
	}

	.horzonal .book,
	.recent-books .book {
		margin-right: 34px;
	}

	.vertical .book {
		margin-right: 47px;
	}

	section .header .controls {
		display: none;
	}
}

@media screen and (max-width: 800px) {
	.spotlight .banner {
		grid-template: auto auto / auto;
		padding: 1.5em 1.5em 2.75em 2.75em;
		background-size: cover;
	}

	.spotlight .banner::after {
		background: rgba(12, 12, 12, 0.5);
	}

	.spotlight .banner:hover {
		background-size: cover;
	}

	.spotlight .banner .info {
		font-size: 0.6rem;
	}

	.spotlight .banner .info button {
		width: 100%;
		height: 48px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 1.5em;
	}

	.spotlight .banner .info button span {
		border-right: none;
		padding: 0;
		margin-right: 0.3em;
	}

	.spotlight .banner .info {
		text-align: center;
		margin: 0 auto;
	}

	.spotlight .banner .img-holder {
		font-size: 0.8em;
		justify-content: center;
		order: -1;
		margin-bottom: 20px;
	}

	.spotlight .player .continue {
		display: none;
	}

	.spotlight .player {
		padding-left: 2em;
	}

	section .header {
		font-size: 0.9em;
		/* margin-bottom: 1.3em;
		margin-top: 1em;  */
		margin: 1em 0;
		padding: 0;
	}

	section .header .title {
		/* this */
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		width: 100%;
	}

	section .header .title::after {
		/* this */
		content: '';
		width: 100%;
		height: 2px;
		margin-right: calc(var(--side-padding) * -1);
		background: var(--hover-bg);
		margin-top: 4px;
		flex: 1;
	}

	section .header .title h2 {
		font-size: 1.6em;
		text-transform: capitalize;
	}

	.vertical .book {
		margin-right: 3em;
		font-size: 0.73rem; /* this */
	}

	.vertical .book .book-info {
		font-size: 0.9rem;
	}

	.vertical .book .book-info .title {
		/* this */
		display: block;
	}

	.vertical .book .book-info .author {
		/* this */
		margin-top: 7px;
	}

	section .content {
		font-size: 0.65rem;
	}

	.recent-books .content {
		font-size: 0.72rem;
	}

	.recent-books .book {
		padding: 1em;
		border-radius: 6px;
		background: var(--surface-2);
		box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
	}

	.recent-books .book .cover {
		font-size: 0.8em;
	}

	.recent-books .book-info {
		margin: 0;
		background: transparent;
		padding: 0 1.25em;
		box-shadow: none;
	}

	.recent-books .book-info .more::before {
		content: '';
		position: absolute;
		top: -5px;
		right: -5px;
		left: -5px;
		bottom: -5px;
	}

	.recent-books .book-info .options {
		font-size: 1rem;
		top: 0;
	}

	.recent-books .book-info .title {
		font-size: 1.3em;
	}

	.recent-books .book-info .progress span {
		font-weight: 600;
	}

	div.sly-frame {
		margin-right: calc(var(--side-padding) * -1);
	}
}

/* // Collection books */
.book.collection{
    position: relative;
}

.book.collection .cover{
    transform: translateX(10px);
	cursor: pointer;
}

.book.collection .cover img{
    border: 2px solid #111;
    border-radius: 6px;
}

.book.collection .cover .blurhash-canvas{
    border-radius: 6px;
}


.book.collection .behind-book-skeleton::before,
.book.collection .behind-book-skeleton::after{
    content: "";
    position: absolute;
    top: var(--value);
    left: var(--value);
    height: 100%;
    width: 100%;
    border: 2px solid var(--primary);
    border-radius: 6px;
    transition: .5s ease-in-out;
}
/* // for items in slider */
.items .book.collection .behind-book-skeleton::before{
    background: #f1f1f1;
}
/* // end */

.book.collection .behind-book-skeleton::before{
    --value: -10px;
    background: #cfcfcf;
    z-index: -1;
}

.book.collection .behind-book-skeleton::after{
    --value: -20px;
    background: #e6e6e6;
    z-index: -2;
}

.book.collection:hover .behind-book-skeleton::before,
.book.collection:hover .behind-book-skeleton::after{
    --value: 4px;
}

.book.collection .square{
    position: relative;
}

.book.collection .square .collection-book-count{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(var(--rgb-primary), .06);
    width: 2.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border-radius: 10px 0 0 10px;
    opacity: 0;
    transition: .5s;
}

.book.collection .square .collection-book-count i{
    font-size: .9em;
    margin-bottom: 5px;
}

.book.collection .square .collection-book-count .count{
    font-size: 1.1em;
}


.book.collection:hover .square .collection-book-count{
    opacity: 1;
}

/* // Colecton popup */
.book-collection-holder{
	background: #fff;
	position: fixed;
	top: 0;
	right: 0;
	max-width: 495px;
    height: 100vh;
    width: 100%;
	z-index: 99;
	box-shadow:0 16px 40px rgba(0,0,0,0.12);
	
	transform: translateX(100%);
	transition: cubic-bezier(0.34, 0.26, 0.54, 1.05) .5s;
;
}

.book-collection-holder.show{
	transform: translateX(0);
}

.book-collection-holder .header{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
    height: 350px;
    max-height: 100%;
	width: 100%;
	overflow: hidden;
}

.book-collection-holder .header::after{
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
	background: rgba(var(--rgb-primary), 0.3);
}

.book-collection-holder .header::before{
	content: '';
	position: absolute;
	top: -20vh;
	right: -20vh;
	left: -20vh;
	bottom: -20vh;
	background: var(--src);
	background-position: center;
	filter: blur(1.23em);
	z-index: 1;
    animation: rotate 150s linear infinite;
}

.book-collection-holder .header > *{
	z-index: 2;;
}

.book-collection-holder .header .close{
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 20px;
	left: 20px;
	background: var(--body-color);
	border-radius: .2em;
	--size: 2.8em;
	height: var(--size);
	width: var(--size);
	translate: .5s;
	cursor: pointer;
}

.book-collection-holder .header .close:hover{
	background: var(--primary);
	color: #fff;
}

.book-collection-holder .header .close:active{
	transform: scale(.95);
}

.book-collection-holder .header .book{
	font-size: .8em;
	margin-bottom: 1.25em;
}

.book-collection-holder .header .stars{
	margin-bottom: -2.5em;
}

.book-collection-holder .header .book-count{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 90px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #fff;
	background: rgba(var(--rgb-primary), .1);
}

.book-collection-holder .header .book-count i{
	margin-bottom: 10px;
	font-size: 1.1em;
}

.book-collection-holder .body{
    display: flex;
    flex-direction: column;
    height: calc(100vh - 280px);
}

.book-collection-holder .body .info-holder.book{
	max-width: unset;
}

.book-collection-holder .body .info-holder{
	padding: 0.625em 1.875em;
	border-bottom: 1px solid rgba(var(--rgb-primary), 0.06);
}

.book-collection-holder .body .cards{
    counter-reset: ord;
    padding:.5em;
    overflow: auto;
    /* height: calc(100vh - 361px); */
    /* height: calc(100vh - 55vw); */
    height: 100%;
}

.book-collection-holder .body .cards.book{
	max-width: unset;
}

.book-collection-holder .body .cards .book-card{
    grid-template: 1fr / 4em 60px 1fr;
	border: none;
}

.book-collection-holder .body .cards .book-card.read{
    position: relative;
    padding-right: 45px;
}

.book-collection-holder .body .cards .book-card.read:hover{
    position: relative;
    padding-right: 45px;
    background: rgba(var(--rgb-primary), .1);
}

.book-collection-holder .body .cards .book-card.read::after{
    --size: 20px;
    content: "\f00c";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: .8em;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    right: 20px;
    color: var(--body-color);
    width: var(--size);
    height: var(--size);
    background: var(--primary);
    border-radius: 50%;
}

.book-collection-holder .body .cards .book-card .ord-num{
    height: 100%;
    display: flex;
    font-weight: 500;
}

.book-collection-holder .body .cards .book-card .ord-num span{
    margin: auto;
    font-size: 1.5em;
    font-family: var(--lora);
}

.book-collection-holder .body .cards .book-card .ord-num span::after{
    counter-increment: ord;
    content: counter(ord) ".";
}


@media screen and (max-width: 1200px){

    .book.collection .behind-book-skeleton::before{
        --value: -5px;
    }

    .book.collection .behind-book-skeleton::after{
        --value: -10px;
    }

    .book-collection-holder .header{
        height: 280px;
    }

    .book-collection-holder .body{
        height: calc(100vh - 170px);
    }

    /* .book-collection-holder .body .cards{
        height: calc(100vh - 398px);
    } */
}

@media screen and (max-width: 900px) {
    .book.collection{
        position: unset;
    }

    .book.collection .cover{
        transform: translateX(0px);
    }

    .book.collection .square .collection-book-count{
        display: none;
    }

    .collection-holder{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        border: 0;
        border-radius: 0;
        width: unset;
    }

    .book-collection-holder .header{
        max-height: 170px;
    }

    .book-collection-holder .body{
        height: calc(100vh - 250px);
    }

    /* .book-collection-holder .body .cards{
        height: calc(100vh - 300px);
    } */

    .book-collection-holder .header .book{
        font-size: .6em;
    }
    .book-collection-holder .header .stars{
        display: none;
    }
}

/* ////// Dark theme overrides ////// */
html[data-theme='dark'] .book.collection .cover img{
    border: 2px solid var(--hairline);
}

html[data-theme='dark'] .book.collection .behind-book-skeleton::before,
html[data-theme='dark'] .book.collection .behind-book-skeleton::after{
    border-color: var(--hairline);
}

html[data-theme='dark'] .items .book.collection .behind-book-skeleton::before{
    background: var(--surface-2);
}

html[data-theme='dark'] .book.collection .behind-book-skeleton::before{
    background: var(--surface-2);
}

html[data-theme='dark'] .book.collection .behind-book-skeleton::after{
    background: var(--surface-1);
}

html[data-theme='dark'] .book-collection-holder{
    background: var(--body-color);
    box-shadow: var(--elevated-shadow);
}

html[data-theme='dark'] .book-collection-holder .header::after{
    background: rgba(0, 0, 0, 0.45);
}

html[data-theme='dark'] .book-collection-holder .header .book-count{
    background: rgba(0, 0, 0, 0.35);
}



