.hbl-cr-root {
	--hbl-cr-coral: var(--color-content-primary, #fb746e);
	--hbl-cr-text: var(--color-content-neutral-strong, #000000);
	--hbl-cr-muted: var(--color-content-neutral-medium, #7c7c7c);
	--hbl-cr-bg: var(--color-background-main-content, #ffffff);
	--hbl-cr-subtle: var(--color-background-sub-content, #ebebeb);
	--hbl-cr-border: var(--color-border-neutral, #dddddd);
	position: relative;
	min-height: 100vh;
	padding-bottom: 79px;
	background: var(--hbl-cr-bg);
	color: var(--hbl-cr-text);
}

.hbl-cr-root,
.hbl-cr-root *,
.hbl-cr-root *::before,
.hbl-cr-root *::after {
	box-sizing: border-box;
}

.hbl-cr-reader {
	width: min(100%, 1110px);
	margin: 0 auto;
	padding: 0 15px;
}

.hbl-cr-chapters {
	width: 100%;
}

/* A transformed header traps its fixed mobile drawer inside the header box. */
body.hbl-continuous-reading.hbl-novel.reading-manga[data-setting="1"] .hbl-header {
	z-index: 1001;
	opacity: 1 !important;
	transform: none !important;
}

body.hbl-continuous-reading #hbl-mobile-nav {
	right: 0;
	left: auto;
	transform: translateX(100%);
}

body.hbl-continuous-reading #hbl-mobile-nav.show {
	transform: translateX(0);
}

body.hbl-continuous-reading .hbl-header .hbl-logo,
body.hbl-continuous-reading .hbl-header .hbl-main-menu {
	display: none;
}

body.hbl-continuous-reading .hbl-header .hbl-cr-series-nav {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	font-family: "Inter", sans-serif;
}

body.hbl-continuous-reading .hbl-cr-series-nav a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	color: var(--color-content-neutral-strong, #000000);
}

body.hbl-continuous-reading .hbl-cr-series-nav i {
	flex: 0 0 auto;
	font-size: 18px;
}

body.hbl-continuous-reading .hbl-cr-series-nav span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hbl-cr-unavailable {
	padding: 48px 0;
	font-family: "Inter", sans-serif;
	text-align: center;
}

.hbl-cr-unavailable h2 {
	margin: 0;
	font-size: 20px;
	line-height: 28px;
	color: var(--hbl-cr-text);
}

.hbl-cr-unavailable p {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 20px;
	color: var(--hbl-cr-muted);
}

.hbl-cr-chapter {
	position: relative;
	width: 100%;
}

.hbl-cr-chapter__header {
	padding-top: 32px;
	margin-bottom: 36px;
}

.hbl-cr-chapter:first-child .hbl-cr-chapter__header {
	padding-top: 24px;
}

.hbl-cr-chapter__header h2 {
	margin: 0;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: 25px;
	font-weight: 700;
	font-variation-settings: "opsz" 14, "wdth" 100;
	line-height: 29px;
	color: var(--hbl-cr-text);
}

.hbl-cr-chapter__content,
.hbl-cr-preview__copy {
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-variation-settings: "opsz" 14, "wdth" 100;
	line-height: 30px;
	color: var(--hbl-cr-text);
}

/* Madara adds 15px only to unlocked .reading-content; CR owns this gutter. */
.hbl-cr-root .hbl-cr-chapter__content.reading-content {
	padding: 0 !important;
	background: transparent;
}

.hbl-cr-root #text-chapter-toolbar {
	display: none;
}

.hbl-cr-chapter__content > * + *,
.hbl-cr-chapter__content .text-left > * + *,
.hbl-cr-chapter__content p + p,
.hbl-cr-preview__copy > * + *,
.hbl-cr-preview__copy p + p {
	margin-top: 20px;
}

.hbl-cr-chapter__content p,
.hbl-cr-preview__copy p {
	margin-bottom: 0;
	font: inherit;
	color: inherit;
}

.hbl-cr-chapter__boundary {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding-top: 40px;
}

.hbl-cr-chapter__boundary hr,
.hbl-cr-caught-up > hr {
	width: 100%;
	height: 1px;
	margin: 28px 0 0;
	border: 0;
	background: var(--hbl-cr-subtle);
}

.hbl-cr-comments-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	padding: 9px 16px;
	border: 0;
	border-radius: 999px;
	background: #f5f5f5;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	color: #7c7c7c;
	cursor: pointer;
}

.hbl-cr-comments-button:hover,
.hbl-cr-comments-button:focus-visible {
	background: #ededed;
	color: #555555;
}

.hbl-cr-comments-button img {
	display: block;
	width: 15px;
	height: 15px;
	object-fit: contain;
}

.hbl-cr-comments-button strong {
	font-weight: 700;
	color: var(--hbl-cr-coral);
}

.hbl-cr-preview {
	width: 100%;
}

.hbl-cr-preview__tail {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	height: 96px;
	margin-top: 20px;
	overflow: hidden;
	filter: blur(2px);
}

.hbl-cr-preview__tail::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent, var(--hbl-cr-bg));
	content: "";
}

.hbl-cr-preview__tail span {
	display: block;
	width: 100%;
	height: 14px;
	border-radius: 3px;
	background: var(--hbl-cr-muted);
	opacity: 0.22;
}

.hbl-cr-preview__tail span:nth-child(2) {
	width: 93.33%;
}

.hbl-cr-preview__tail span:nth-child(3) {
	width: 80.56%;
}

.hbl-cr-gate {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	margin: 24px auto 0;
	font-family: "Inter", sans-serif;
}

.hbl-cr-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	min-height: 48px;
	padding: 13px 16px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: "Inter", sans-serif;
	text-align: center;
	cursor: pointer;
}

.hbl-cr-button strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
}

.hbl-cr-button small {
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
}

.hbl-cr-button--primary {
	border-color: var(--hbl-cr-coral);
	background: var(--hbl-cr-coral);
	color: #ffffff;
}

.hbl-cr-button--primary small {
	color: rgb(255 255 255 / 85%);
}

.hbl-cr-button--primary:hover,
.hbl-cr-button--primary:focus-visible {
	border-color: #de635d;
	background: #de635d;
	color: #ffffff;
}

.hbl-cr-button--secondary {
	border-color: var(--hbl-cr-border);
	background: transparent;
	color: var(--hbl-cr-text);
}

.hbl-cr-button--secondary small {
	color: var(--hbl-cr-muted);
}

.hbl-cr-button--secondary:hover,
.hbl-cr-button--secondary:focus-visible {
	background: rgb(124 124 124 / 8%);
	color: var(--hbl-cr-text);
}

.hbl-cr-button:disabled,
.hbl-cr-button.is-loading {
	opacity: 0.6;
	cursor: wait;
}

.hbl-cr-gate--insufficient_balance {
	gap: 10px;
}

.hbl-cr-gate__helper {
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	text-align: center;
	color: var(--hbl-cr-muted);
}

.hbl-cr-auto-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 46px;
	margin: 4px 0 0;
	padding: 12px 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: var(--hbl-cr-muted);
	cursor: pointer;
}

.hbl-cr-switch {
	position: relative;
	display: inline-flex;
	flex: 0 0 40px;
	width: 40px;
	height: 22px;
	padding: 2px;
	border-radius: 999px;
	background: #cfcfcf;
	transition: background 160ms ease;
}

.hbl-cr-switch > span {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
	transition: transform 160ms ease;
}

[data-hbl-cr-auto-input]:checked + .hbl-cr-switch,
.hbl-cr-auto-chip.is-on .hbl-cr-switch {
	background: var(--hbl-cr-coral);
}

[data-hbl-cr-auto-input]:checked + .hbl-cr-switch > span,
.hbl-cr-auto-chip.is-on .hbl-cr-switch > span {
	transform: translateX(18px);
}

.hbl-cr-switch--mini {
	flex-basis: 24px;
	width: 24px;
	height: 14px;
	padding: 2px;
}

.hbl-cr-switch--mini > span {
	width: 10px;
	height: 10px;
}

.hbl-cr-auto-chip.is-on .hbl-cr-switch--mini > span {
	transform: translateX(10px);
}

.hbl-cr-gate__character {
	align-self: center;
	width: 72px;
	height: auto;
	margin-bottom: 12px;
	object-fit: contain;
}

.hbl-cr-gate__login {
	margin: 12px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 19px;
	text-align: center;
	color: var(--hbl-cr-muted);
}

.hbl-cr-gate__login button {
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 600;
	color: var(--hbl-cr-coral);
	cursor: pointer;
}

.hbl-cr-gate__message {
	margin: 0;
	font-size: 13px;
	line-height: 20px;
	text-align: center;
	color: var(--hbl-cr-muted);
}

.hbl-cr-sentinel {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 24px;
}

.hbl-cr-sentinel.is-loading {
	min-height: 64px;
}

.hbl-cr-spinner {
	width: 24px;
	height: 24px;
	border: 2px solid var(--hbl-cr-subtle);
	border-top-color: var(--hbl-cr-coral);
	border-radius: 50%;
	animation: hbl-cr-spin 700ms linear infinite;
}

@keyframes hbl-cr-spin {
	to { transform: rotate(360deg); }
}

.hbl-cr-footer {
	position: fixed;
	z-index: 1000;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	height: 55px;
	margin: 0;
	padding: 0;
	background: var(--hbl-cr-subtle);
	font-family: "Inter", sans-serif;
	transition: opacity 180ms ease, transform 180ms ease;
}

.hbl-cr-footer.hide,
.hbl-cr-root.is-chrome-hidden .hbl-cr-footer {
	opacity: 0;
	transform: translateY(100%);
	pointer-events: none;
}

.hbl-cr-footer__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: min(100%, 1110px);
	height: 55px;
	margin: 0 auto;
	padding: 0 15px;
}

.hbl-cr-footer__left,
.hbl-cr-footer__right {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.hbl-cr-footer__left {
	flex: 1 1 auto;
}

.hbl-cr-footer__right {
	flex: 0 0 auto;
}

.hbl-cr-footer__button,
.hbl-cr-footer__nav,
.hbl-cr-auto-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: "Inter", sans-serif;
	color: var(--hbl-cr-text);
	cursor: pointer;
}

.hbl-cr-footer .hbl-cr-footer__button,
.hbl-cr-footer .hbl-cr-footer__nav,
.hbl-cr-footer .hbl-cr-auto-chip {
	border-color: transparent;
	background: transparent;
	color: var(--hbl-cr-text);
}

.hbl-cr-footer__button {
	min-width: 18px;
	height: 32px;
	font-size: 15px;
	font-weight: 600;
}

.hbl-cr-footer__title {
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hbl-cr-footer__nav {
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	white-space: nowrap;
}

.hbl-cr-footer__nav:disabled {
	color: var(--hbl-cr-muted);
	cursor: default;
}

.hbl-cr-auto-chip {
	flex: 0 0 auto;
	gap: 6px;
	min-height: 26px;
	padding: 5px 10px 5px 6px;
	border: 1px solid #cfcfcf;
	border-radius: 999px;
	background: var(--hbl-cr-bg);
	font-size: 11px;
	font-weight: 600;
	line-height: 14px;
	color: var(--hbl-cr-muted);
}

.hbl-cr-footer .hbl-cr-auto-chip {
	border-color: #cfcfcf;
	background: var(--hbl-cr-bg);
	color: var(--hbl-cr-muted);
}

.hbl-cr-auto-chip.is-on {
	border-color: transparent;
	background: rgb(251 116 110 / 14%);
	color: var(--hbl-cr-coral);
}

.hbl-cr-footer .hbl-cr-auto-chip.is-on {
	border-color: transparent;
	background: rgb(251 116 110 / 14%);
	color: var(--hbl-cr-coral);
}

.hbl-cr-reading-settings {
	position: relative;
}

.hbl-cr-reading-settings #childx-reader-settings {
	width: 310px;
	color: #ffffff;
}

.hbl-cr-reading-settings #childx-reader-settings .box-header {
	display: flex;
	justify-content: flex-end;
}

.hbl-cr-reading-settings #childx-reader-settings .close {
	color: #ffffff;
}

.hbl-cr-overlay {
	position: fixed;
	z-index: 10002;
	inset: 0;
	background: rgb(0 0 0 / 35%);
	opacity: 0;
	transition: opacity 180ms ease;
}

.hbl-cr-overlay.is-visible {
	opacity: 1;
}

body.hbl-cr-panel-open {
	overflow: hidden;
}

.hbl-cr-comments-drawer,
.hbl-cr-sheet {
	position: fixed;
	z-index: 10003;
	background: var(--hbl-cr-bg);
	color: var(--hbl-cr-text);
	font-family: "Inter", sans-serif;
	visibility: hidden;
	transition: transform 220ms ease, visibility 220ms step-end;
}

.hbl-cr-comments-drawer.is-open,
.hbl-cr-sheet.is-open {
	visibility: visible;
	transition: transform 220ms ease, visibility 0ms;
}

.hbl-cr-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px;
	border-bottom: 1px solid var(--hbl-cr-border);
}

.hbl-cr-panel__eyebrow {
	margin: 0 0 2px;
	font-size: 12px;
	line-height: 17px;
	color: var(--hbl-cr-muted);
}

.hbl-cr-panel__header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	color: var(--hbl-cr-text);
}

.hbl-cr-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: "Inter", sans-serif;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	color: var(--hbl-cr-text);
	cursor: pointer;
}

.hbl-cr-comments-drawer__body {
	height: calc(100% - 87px);
	padding: 16px 20px 30px;
	overflow-y: auto;
}

.hbl-cr-comments-drawer__body #madara-comments {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hbl-cr-comments-drawer__body > .hr,
.hbl-cr-comments-drawer__body #madara-comments > .hr,
.hbl-cr-comments-drawer__body .manga-discussion.wrapper > .hr {
	display: none;
}

.hbl-cr-comments-drawer__body > h4:not(.comment-reply-title),
.hbl-cr-comments-drawer__body .manga-discussion.wrapper > h4:not(.comment-reply-title) {
	margin: 0;
	padding-bottom: 24px;
}

.hbl-cr-comments-drawer__body .logged-in-as {
	display: none;
}

.hbl-cr-comment-feedback {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--hbl-cr-subtle);
	font-size: 13px;
	line-height: 20px;
	color: var(--hbl-cr-text);
}

.hbl-cr-comment-feedback.is-error {
	color: #b42318;
}

body.hbl-continuous-reading.hbl-novel .hbl-auth-modal.modal .modal-dialog {
	display: flex;
	height: auto;
	min-height: calc(100% - 16px);
	margin-top: 8px;
	margin-bottom: 8px;
	align-items: center;
}

body.hbl-continuous-reading.hbl-novel .hbl-auth-modal.modal .modal-content {
	max-height: calc(100vh - 16px);
	overflow: hidden;
}

body.hbl-continuous-reading.hbl-novel .hbl-auth-modal.modal .modal-body {
	display: block;
	height: auto;
	max-height: calc(100vh - 16px);
	overflow-y: auto;
}

body.hbl-continuous-reading .hbl-auth-modal .nsl-container,
body.hbl-continuous-reading .hbl-auth-modal .nsl-container-buttons {
	width: 100%;
}

.hbl-cr-panel-loading,
.hbl-cr-panel-error {
	margin: 28px 0;
	font-size: 13px;
	line-height: 20px;
	color: var(--hbl-cr-muted);
}

.hbl-cr-sheet {
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding: 24px 20px;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -4px 20px rgb(0 0 0 / 12%);
	transform: translateY(105%);
}

.hbl-cr-sheet.is-open {
	transform: translateY(0);
}

.hbl-cr-sheet h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 24px;
	color: var(--hbl-cr-text);
}

.hbl-cr-sheet > p {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: var(--hbl-cr-muted);
}

.hbl-cr-sheet__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 20px;
}

.hbl-cr-sheet__grabber {
	align-self: center;
	width: 40px;
	height: 4px;
	margin: -16px 0 18px;
	border-radius: 2px;
	background: #dddddd;
}

.hbl-cr-checkout {
	padding-top: 24px;
}

.hbl-cr-checkout__close {
	position: absolute;
	top: 8px;
	right: 10px;
}

.hbl-cr-checkout__character {
	position: absolute;
	top: -56px;
	right: 20px;
	width: 72px;
	height: auto;
	object-fit: contain;
}

.hbl-cr-checkout__product {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--hbl-cr-coral);
	border-radius: 16px;
	background: rgb(251 116 110 / 10%);
	color: var(--hbl-cr-coral);
}

.hbl-cr-checkout__product > img {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.hbl-cr-checkout__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.hbl-cr-checkout__copy h2 {
	font-size: 15px;
	line-height: 22px;
	color: var(--hbl-cr-coral);
}

.hbl-cr-checkout__copy p {
	margin: 2px 0 0;
	white-space: pre-line;
	font-size: 13px;
	line-height: 19px;
	color: var(--hbl-cr-coral);
}

.hbl-cr-checkout__price {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
}

.hbl-cr-checkout__price small {
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	color: #00be23;
}

.hbl-cr-checkout__price strong {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: var(--hbl-cr-coral);
}

.hbl-cr-checkout > .hbl-cr-button {
	margin-top: 16px;
}

.hbl-cr-toast-region {
	position: fixed;
	z-index: 10005;
	top: 14px;
	left: 50%;
	width: max-content;
	max-width: calc(100vw - 30px);
	transform: translateX(-50%);
	pointer-events: none;
}

.hbl-cr-toast {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	padding: 13px 18px 13px 16px;
	border-radius: 3px;
	box-shadow: 0 0 12px rgb(153 153 153 / 90%);
	font-family: "Inter", sans-serif;
	color: #ffffff;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.hbl-cr-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hbl-cr-toast--coral {
	background: var(--hbl-cr-coral);
}

.hbl-cr-toast--dark {
	background: #2b2b2e;
}

.hbl-cr-toast__icon {
	flex: 0 0 16px;
	width: 16px;
	font-size: 16px;
	text-align: center;
}

.hbl-cr-toast__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.hbl-cr-toast__copy strong {
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hbl-cr-toast__copy span {
	overflow: hidden;
	font-size: 12px;
	font-weight: 400;
	line-height: 17px;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgb(255 255 255 / 92%);
}

.hbl-cr-caught-up {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 32px 0 48px;
	font-family: "Inter", sans-serif;
	text-align: center;
}

.hbl-cr-caught-up > hr {
	margin-top: 56px;
	margin-bottom: 32px;
}

.hbl-cr-caught-up__character {
	width: 72px;
	height: auto;
	object-fit: contain;
}

.hbl-cr-caught-up h2 {
	margin: 20px 0 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	color: var(--hbl-cr-text);
}

.hbl-cr-caught-up > p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 20px;
	color: var(--hbl-cr-muted);
}

.hbl-cr-caught-up > .hbl-cr-button {
	margin-top: 20px;
}

.hbl-cr-related {
	width: 100%;
	margin-top: 32px;
	text-align: left;
}

.hbl-cr-related h3 {
	margin: 0 0 14px;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	color: var(--hbl-cr-text);
}

.hbl-cr-related .novel-single-related,
.hbl-cr-related .hbl-on-sale {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hbl-cr-related .hbl-related-static {
	display: flex;
	width: 100%;
	margin: 0;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
}

.hbl-cr-related .hbl-related-static::-webkit-scrollbar {
	display: none;
}

.hbl-cr-related .hbl-related-static__item {
	width: 112px;
	max-width: 112px;
	padding: 0;
	flex: 0 0 112px;
}

.hbl-cr-related .hbl-novel-item.style-3 {
	gap: 8px;
}

.hbl-cr-related .hbl-novel-item.style-3 .hbl-novel-thumb {
	width: 112px;
	height: 158px;
	padding-top: 0;
	border-radius: 8px;
}

.hbl-cr-related .hbl-novel-item.style-3 .hbl-novel-content {
	gap: 8px;
}

.hbl-cr-related .hbl-novel-item.style-3 .hbl-novel-content h4,
.hbl-cr-related .hbl-novel-item.style-3 .hbl-novel-content h4 a {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 17px;
}

@media (max-width: 767px) {
	.hbl-cr-footer__left,
	.hbl-cr-footer__right {
		gap: 12px;
	}

	.hbl-cr-footer__title {
		max-width: 104px;
	}

	.hbl-cr-comments-drawer {
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: min(82vh, 700px);
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -4px 20px rgb(0 0 0 / 12%);
		transform: translateY(105%);
	}

	.hbl-cr-comments-drawer.is-open {
		transform: translateY(0);
	}

	.hbl-cr-reading-settings #childx-reader-settings {
		right: -110px;
		width: min(310px, calc(100vw - 30px));
	}
}

@media (max-width: 374px) {
	.hbl-cr-footer__left,
	.hbl-cr-footer__right {
		gap: 8px;
	}

	.hbl-cr-footer__title {
		max-width: 72px;
	}

	.hbl-cr-auto-chip {
		padding-right: 7px;
	}
}

@media (min-width: 768px) {
	.hbl-cr-footer__inner {
		width: min(calc(100% - 30px), 1110px);
		padding-right: 0;
		padding-left: 0;
	}

	.hbl-cr-chapter__header h2 {
		font-size: 24px;
		line-height: 28px;
	}

	.hbl-cr-gate,
	.hbl-cr-caught-up > .hbl-cr-button {
		max-width: 420px;
	}

	.hbl-cr-comments-drawer {
		top: 0;
		right: 0;
		bottom: 0;
		width: min(440px, 44vw);
		box-shadow: -4px 0 20px rgb(0 0 0 / 12%);
		transform: translateX(105%);
	}

	.hbl-cr-comments-drawer.is-open {
		transform: translateX(0);
	}

	.hbl-cr-sheet {
		right: 24px;
		left: auto;
		width: min(480px, calc(100vw - 48px));
	}

	.hbl-cr-footer__nav {
		font-size: 13px;
		line-height: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hbl-cr-footer,
	.hbl-cr-overlay,
	.hbl-cr-comments-drawer,
	.hbl-cr-sheet,
	.hbl-cr-toast,
	.hbl-cr-switch,
	.hbl-cr-switch > span {
		transition-duration: 0.01ms !important;
	}

	.hbl-cr-spinner {
		animation-duration: 1400ms;
	}
}
