.ct-continuous-topic-nav {
	display: none;
}

.ct-continuous-enabled .ct-continuous-topic-nav {
	display: flex;
	position: sticky;
	top: 0;
	z-index: 1100;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 6px 0 8px;
	padding: 7px;
	border: 1px solid rgba(122, 0, 31, 0.18);
	border-radius: 12px;
	background: rgba(250, 248, 249, 0.97);
	box-shadow: 0 3px 10px rgba(70, 0, 18, 0.13);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.ct-continuous-topic-nav .ct-continuous-edge {
	display: inline-flex;
	box-sizing: border-box;
	min-width: 68px;
	height: 36px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0 10px;
	border: 1px solid #650019;
	border-radius: 999px;
	background: linear-gradient(180deg, #941437 0%, #70001d 100%);
	box-shadow: 0 2px 5px rgba(81, 0, 21, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
	transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
	-webkit-tap-highlight-color: transparent;
}

.ct-continuous-topic-nav .ct-continuous-edge:visited {
	color: #fff;
}

.ct-continuous-topic-nav .ct-continuous-edge:hover,
.ct-continuous-topic-nav .ct-continuous-edge:focus {
	background: linear-gradient(180deg, #a61b43 0%, #7a001f 100%);
	color: #fff;
	outline: none;
	box-shadow: 0 3px 8px rgba(81, 0, 21, 0.3), 0 0 0 2px rgba(122, 0, 31, 0.12);
}

.ct-continuous-topic-nav .ct-continuous-edge:active {
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(81, 0, 21, 0.25), inset 0 1px 3px rgba(0, 0, 0, 0.18);
}

.ct-continuous-topic-nav .ct-continuous-edge i {
	font-size: 17px;
	line-height: 1;
}

.ct-continuous-position {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	align-items: stretch;
	gap: 3px;
}

.ct-continuous-status {
	text-align: center;
	font-weight: bold;
	font-size: 12px;
}

.ct-continuous-busy .ct-continuous-status {
	color: #7a001f;
}

.ct-continuous-error .ct-continuous-status {
	color: #a40000;
}

.ct-continuous-busy .ct-continuous-status::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 5px;
	border: 2px solid #d3bcc2;
	border-top-color: #7a001f;
	border-radius: 50%;
	content: '';
	vertical-align: -2px;
	animation: ct-continuous-spin 700ms linear infinite;
}

@keyframes ct-continuous-spin {
	to {
		transform: rotate(360deg);
	}
}

.ct-continuous-progress {
	display: block;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: #ddd;
}

.ct-continuous-progress > span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: #7a001f;
	transition: width 180ms ease-out;
}

.ct-continuous-page-marker {
	clear: both;
	margin: 16px 0 8px;
	padding: 6px 8px;
	border-top: 1px solid #d3bcc2;
	border-bottom: 1px solid #d3bcc2;
	background: #f8f4f6;
	color: #6b1830;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.02em;
}

.ct-continuous-page {
	clear: both;
}

html.ct-continuous-desktop-enabled .ct-continuous-page-marker {
	clear: none;
}

html.ct-continuous-desktop-enabled .ct-continuous-page {
	display: flow-root;
	clear: none;
}

.ct-continuous-page:first-of-type > .ct-continuous-page-marker {
	margin-top: 4px;
}

.ct-continuous-current-page > .ct-continuous-page-marker {
	border-color: #7a001f;
	background: #7a001f;
	color: #fff;
}

.ct-continuous-loading {
	padding: 14px 8px;
	text-align: center;
	color: #666;
}

.ct-continuous-page-placeholder {
	box-sizing: border-box;
	border: 1px dashed #ccc;
	background: #f7f7f7;
	color: #777;
	text-align: center;
}

.ct-continuous-page-placeholder button {
	margin-top: 12px;
	padding: 7px 12px;
}

.ct-continuous-enabled .ct-page-step-nav,
.ct-continuous-enabled .ct-topic-bottom-pagination,
html.ct-continuous-desktop-enabled .ct-topic-classic-navigation {
	display: none !important;
}

.ct-image-hibernated {
	box-sizing: border-box;
	border: 1px solid #ddd;
	background: #f1f1f1;
	opacity: 0.65;
}

@media (max-width: 380px) {
	.ct-continuous-topic-nav {
		gap: 3px;
	}

	.ct-continuous-topic-nav .ct-continuous-edge {
		min-width: 57px;
		height: 34px;
		gap: 3px;
		padding-right: 7px;
		padding-left: 7px;
		font-size: 11px;
	}

	.ct-continuous-status {
		font-size: 11px;
	}
}
