.acl-shell {
	--acl-hanzi-size: 34px;
	--acl-pinyin-size: 22px;
	--acl-meaning-size: 22px;
}

.acl-shell {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 24px 0;
}

.acl-app {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
	width: 100%;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	color: #11211d;
}

.acl-sidebar,
.acl-stage {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid rgba(181, 199, 221, 0.45);
	background: rgba(253, 253, 255, 0.78);
	backdrop-filter: blur(12px);
	box-shadow: 0 20px 50px rgba(27, 43, 70, 0.08);
}

.acl-sidebar {
	display: flex;
	flex-direction: column;
	padding: 22px 18px;
	background:
		radial-gradient(circle at top left, rgba(170, 211, 255, 0.28), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
	min-height: 760px;
}

.acl-sidebar-header {
	margin-bottom: 18px;
}

.acl-sidebar-badge {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(74, 125, 255, 0.08);
	color: #3f63bd;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.acl-sidebar-title {
	margin-top: 14px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.acl-topic-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 792px;
	overflow-y: auto;
	padding-right: 6px;
}

.acl-topic-item {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0 18px;
	border: 1px solid rgba(185, 198, 219, 0.7);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.78);
	color: #23313d;
	text-align: left;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
	box-shadow: none;
}

.acl-topic-item:hover {
	transform: translateY(-1px);
	border-color: rgba(96, 134, 224, 0.55);
	box-shadow: none;
}

.acl-topic-item.is-active {
	background: linear-gradient(135deg, #182f59, #3a67d6 90%);
	border-color: transparent;
	color: #fff;
	box-shadow: none;
}

.acl-topic-name {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.acl-stage {
	min-height: 760px;
	padding: 28px;
	background:
		radial-gradient(circle at top right, rgba(255, 181, 204, 0.22), transparent 22%),
		radial-gradient(circle at 10% 10%, rgba(158, 215, 255, 0.18), transparent 22%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.acl-stage-glow {
	position: absolute;
	border-radius: 999px;
	filter: blur(22px);
	opacity: 0.45;
	pointer-events: none;
}

.acl-stage-glow-one {
	top: 22px;
	right: 42px;
	width: 180px;
	height: 180px;
	background: rgba(255, 170, 205, 0.28);
}

.acl-stage-glow-two {
	left: -20px;
	bottom: 40px;
	width: 220px;
	height: 220px;
	background: rgba(126, 197, 255, 0.2);
}

.acl-stage-top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.acl-stage-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5872b0;
}

.acl-stage-title {
	margin-top: 10px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	max-width: 620px;
}

.acl-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 16px;
	border: 1px solid rgba(177, 191, 214, 0.8);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	color: #304050;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(66, 89, 124, 0.08);
}

.acl-back-arrow {
	font-size: 18px;
	line-height: 1;
}

.acl-view {
	position: relative;
	z-index: 1;
}

.acl-question-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-content: start;
	max-height: 1440px;
	min-height: 0;
	overflow-y: auto;
	padding-right: 8px;
}

.acl-question-item {
	display: inline-block;
	width: auto;
	border: 0;
	background: transparent;
	padding: 0;
	text-align: left;
	cursor: pointer;
}

.acl-question-index {
	display: none;
}

.acl-question-text,
.acl-question-chip {
	display: inline-flex;
	align-items: center;
	width: auto;
	max-width: min(100%, 520px);
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid rgba(191, 198, 214, 0.9);
	background: rgba(255, 255, 255, 0.82);
	color: #2a3540;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	white-space: normal;
	box-shadow: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.acl-question-item:hover .acl-question-text {
	transform: translateY(-1px);
	border-color: rgba(96, 134, 224, 0.6);
	background: rgba(244, 248, 255, 0.96);
	box-shadow: none;
}

.acl-current-chip {
	display: grid;
	grid-template-columns: 1fr 64px;
	align-items: center;
	gap: 16px;
	margin-bottom: 26px;
	padding: 22px 24px;
	border-radius: 24px;
	border: 1px solid rgba(193, 206, 226, 0.7);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.92));
	box-shadow: 0 18px 26px rgba(74, 95, 125, 0.05);
	min-height: auto;
}

.acl-answer-list {
	display: grid;
	gap: 16px;
}

.acl-answer-card {
	display: grid;
	grid-template-columns: 1fr 64px;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	border-radius: 24px;
	border: 1px solid rgba(193, 206, 226, 0.7);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 18px 26px rgba(74, 95, 125, 0.06);
}

.acl-answer-main {
	padding-right: 8px;
}

.acl-answer-hanzi {
	font-size: var(--acl-hanzi-size);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.acl-answer-pinyin {
	margin-top: 8px;
	font-size: var(--acl-pinyin-size);
	line-height: 1.28;
	color: #4a5f78;
}

.acl-answer-meaning {
	margin-top: 4px;
	font-size: var(--acl-meaning-size);
	line-height: 1.32;
	color: #1d2430;
}

.acl-answer-audio {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.92));
	color: #3c4b5f;
	cursor: pointer;
	padding: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 16px rgba(66, 89, 124, 0.08);
	transition: background 0.16s ease, transform 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.acl-answer-audio:hover {
	background: linear-gradient(180deg, rgba(242, 248, 255, 0.98), rgba(226, 236, 255, 0.96));
	color: #214bcb;
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 12px 18px rgba(66, 89, 124, 0.12);
}

.acl-answer-audio.is-disabled {
	opacity: 0.35;
	cursor: default;
}

.acl-speaker {
	display: block;
	width: 26px;
	height: 26px;
}

.acl-message {
	padding: 18px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(193, 206, 226, 0.7);
	font-size: 18px;
	color: #516072;
}

.acl-topic-list::-webkit-scrollbar,
.acl-question-list::-webkit-scrollbar {
	width: 10px;
}

.acl-topic-list::-webkit-scrollbar-track,
.acl-question-list::-webkit-scrollbar-track {
	background: rgba(214, 224, 241, 0.45);
	border-radius: 999px;
}

.acl-topic-list::-webkit-scrollbar-thumb,
.acl-question-list::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(71, 108, 208, 0.78), rgba(117, 160, 242, 0.82));
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
	.acl-app {
		grid-template-columns: 1fr;
	}

	.acl-sidebar,
	.acl-stage {
		min-height: auto;
	}

	.acl-stage-title {
		font-size: 30px;
	}

	.acl-topic-list,
	.acl-question-list {
		padding-right: 4px;
	}

	.acl-topic-list {
		max-height: 332px;
		overflow-y: auto;
	}

	.acl-question-list {
		max-height: 640px;
		overflow-y: auto;
	}

	.acl-question-item {
		flex: 0 0 auto;
	}

	.acl-question-text {
		max-width: 74vw;
		min-height: 38px;
		padding: 8px 14px;
		font-size: 15px;
		line-height: 1.2;
	}
}
