/* Sportcanheal852 Karate Practice. All presentation stays inside the shortcode. */
.sch852-karate {
	--sch852-ink: #243b39;
	--sch852-muted: #596963;
	--sch852-teal: #17675c;
	--sch852-teal-dark: #0e5148;
	--sch852-teal-light: #e7f2ed;
	--sch852-paper: #faf8f3;
	--sch852-line: #d6ded6;
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 24px 16px;
	border: 1px solid #e6e8df;
	border-radius: 24px;
	background: var(--sch852-paper);
	color: var(--sch852-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans HK", "Noto Sans CJK TC", "Noto Sans CJK HK", "Hiragino Kaku Gothic ProN", "Microsoft JhengHei", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
	text-align: left;
	letter-spacing: 0;
	-webkit-text-size-adjust: 100%;
}

.sch852-karate *,
.sch852-karate *::before,
.sch852-karate *::after {
	box-sizing: border-box;
}

.sch852-karate [hidden] {
	display: none !important;
}

.sch852-karate h1,
.sch852-karate h2,
.sch852-karate h3,
.sch852-karate p,
.sch852-karate figure {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	line-height: inherit;
}

.sch852-karate h1,
.sch852-karate h2,
.sch852-karate h3 {
	font-weight: 700;
	letter-spacing: .015em;
	text-wrap: balance;
}

.sch852-karate button,
.sch852-karate select,
.sch852-karate summary {
	font-family: inherit;
	font-size: inherit;
	line-height: 1.5;
	letter-spacing: inherit;
}

.sch852-karate button {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	box-shadow: none;
}

.sch852-karate img {
	display: block;
	max-width: 100%;
	height: auto;
}

.sch852-karate :is(h1, h2, h3, p, button, label, summary, li, .sch852-reading) {
	overflow-wrap: anywhere;
}

.sch852-karate :is(button, select, summary, a, [tabindex]):focus-visible {
	outline: 3px solid #233c38;
	outline-offset: 4px;
}

.sch852-karate .sch852-screen {
	width: 100%;
	min-width: 0;
}

.sch852-karate .sch852-header {
	margin-bottom: 28px;
}

.sch852-karate .sch852-header h1,
.sch852-karate .sch852-header h2 {
	margin-top: 6px;
	font-size: clamp(28px, 5.6vw, 40px);
	line-height: 1.4;
}

.sch852-karate .sch852-eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	color: var(--sch852-teal);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .055em;
}

.sch852-karate .sch852-eyebrow::before {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.sch852-karate .sch852-subtitle {
	margin-top: 10px;
	color: var(--sch852-muted);
	font-size: 18px;
	line-height: 1.6;
}

.sch852-karate .sch852-intro {
	margin: 24px 0;
	padding: 16px 20px;
	border-left: 3px solid var(--sch852-teal);
	border-radius: 0 12px 12px 0;
	background: var(--sch852-teal-light);
	color: var(--sch852-teal-dark);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: .04em;
}

.sch852-karate .sch852-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 24px 0;
}

.sch852-karate button.sch852-choice-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	min-width: 0;
	min-height: 164px;
	padding: 24px;
	border: 1px solid var(--sch852-line);
	border-radius: 18px;
	background: #fff;
	color: var(--sch852-ink);
	text-align: left;
	transition: border-color 140ms ease, background-color 140ms ease;
}

.sch852-karate .sch852-card-title {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.45;
	text-wrap: balance;
}

.sch852-karate .sch852-card-description {
	display: block;
	color: var(--sch852-muted);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.65;
}

.sch852-karate .sch852-card-count {
	display: inline-block;
	margin-top: auto;
	padding: 4px 12px;
	border-radius: 8px;
	background: #f0f3ed;
	color: #41594e;
	font-size: 18px;
	font-weight: 600;
}

.sch852-karate .sch852-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	min-height: 52px;
	padding: 12px 22px;
	border: 1px solid var(--sch852-line);
	border-radius: 12px;
	background: #fff;
	color: var(--sch852-ink);
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background-color 140ms ease, border-color 140ms ease;
}

.sch852-karate .sch852-button--primary {
	border-color: var(--sch852-teal);
	background: var(--sch852-teal);
	color: #fff;
}

.sch852-karate .sch852-button--secondary {
	border-color: #a4bfb0;
	background: var(--sch852-teal-light);
	color: var(--sch852-teal-dark);
}

.sch852-karate .sch852-button--quiet {
	border-color: var(--sch852-line);
	background: transparent;
	color: var(--sch852-ink);
}

.sch852-karate .sch852-button--stop {
	border-color: #b79284;
	background: #fff2ec;
	color: #813c2b;
}

.sch852-karate .sch852-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0;
}

.sch852-karate .sch852-actions > .sch852-button {
	flex: 1 1 200px;
}

.sch852-karate .sch852-back {
	margin-bottom: 24px;
}

.sch852-karate .sch852-preview-list {
	margin: 24px 0;
	padding: 0;
	border: 1px solid var(--sch852-line);
	border-radius: 16px;
	background: #fff;
	list-style-position: inside;
	overflow: hidden;
}

.sch852-karate .sch852-preview-item {
	margin: 0;
	padding: 18px 20px;
	border-bottom: 1px solid #e7ebe4;
	font-size: 20px;
}

.sch852-karate .sch852-preview-item:last-child {
	border-bottom: 0;
}

.sch852-karate .sch852-preview-item::marker {
	color: var(--sch852-muted);
	font-size: 18px;
}

.sch852-karate .sch852-practice-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 20px;
	margin: 0 0 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--sch852-line);
}

.sch852-karate .sch852-practice-top > :first-child {
	min-width: 0;
}

.sch852-karate .sch852-practice-top h1,
.sch852-karate .sch852-practice-top h2 {
	font-size: 20px;
	line-height: 1.6;
}

.sch852-karate .sch852-practice-top .sch852-back {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	margin: 0;
}

.sch852-karate .sch852-practice-top .sch852-mode {
	grid-column: 1 / -1;
	grid-row: 2;
}

.sch852-karate .sch852-practice-top .sch852-progress {
	grid-column: 2;
	grid-row: 1;
}

.sch852-karate .sch852-progress {
	display: inline-block;
	flex-shrink: 0;
	padding: 8px 14px;
	border: 1px solid #ccdcd0;
	border-radius: 10px;
	background: #fff;
	color: var(--sch852-teal-dark);
	font-size: 21px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.sch852-karate .sch852-mode {
	color: var(--sch852-muted);
	font-size: 18px;
}

.sch852-karate .sch852-technique-name {
	font-size: clamp(34px, 6.5vw, 48px);
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.sch852-karate .sch852-romaji {
	margin-top: 6px;
	color: var(--sch852-muted);
	font-size: 21px;
	line-height: 1.6;
	text-align: center;
}

.sch852-karate .sch852-image,
.sch852-karate .sch852-image-placeholder {
	width: 100%;
	max-width: 760px;
	min-height: 240px;
	margin: 24px auto;
	border: 1px solid var(--sch852-line);
	border-radius: 18px;
	background: #fff;
	object-fit: contain;
	overflow: hidden;
}

.sch852-karate .sch852-image {
	max-height: 460px;
}

.sch852-karate .sch852-image img {
	width: 100%;
	max-height: 460px;
	object-fit: contain;
}

.sch852-karate .sch852-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(240px, 60vw, 350px);
	padding: 24px;
	border-style: dashed;
	background: #f0f1e9;
	color: var(--sch852-muted);
	font-size: 20px;
	text-align: center;
}

.sch852-karate .sch852-image > .sch852-image-placeholder {
	margin: 0;
	border: 0;
	border-radius: inherit;
}

.sch852-karate .sch852-standard-image {
	margin: 16px auto;
}

.sch852-karate .sch852-reading {
	margin: 16px 0;
	text-align: center;
}

.sch852-karate .sch852-hiragana {
	font-size: clamp(26px, 5.6vw, 34px);
	font-weight: 600;
	line-height: 1.65;
	letter-spacing: .035em;
	text-align: center;
}

.sch852-karate .sch852-pronunciation {
	margin-top: 24px;
	text-align: center;
}

.sch852-karate .sch852-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 12px 0;
	color: #6b7c71;
}

.sch852-karate .sch852-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	font-size: 25px;
	line-height: 1;
}

.sch852-karate .sch852-dot.is-active {
	color: var(--sch852-teal);
	font-weight: 700;
}

.sch852-karate .sch852-audio-status {
	min-height: 30px;
	margin: 12px 0;
	color: var(--sch852-teal-dark);
	font-size: 18px;
	text-align: center;
}

.sch852-karate .sch852-missing-media {
	margin: 16px 0;
	padding: 14px 18px;
	border: 1px solid #dcd8c6;
	border-radius: 12px;
	background: #f5f1e5;
	color: #635840;
	font-size: 18px;
	text-align: center;
}

.sch852-karate .sch852-missing-media p + p {
	margin-top: 4px;
}

.sch852-karate .sch852-player-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin: 20px 0;
}

.sch852-karate .sch852-player-controls .sch852-button {
	min-height: 58px;
	font-size: 20px;
}

.sch852-karate .sch852-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.sch852-karate .sch852-continuous {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0;
	padding-top: 20px;
	border-top: 1px solid var(--sch852-line);
}

.sch852-karate .sch852-continuous > .sch852-button {
	flex: 1 1 220px;
}

.sch852-karate .sch852-continuous > .sch852-card-description {
	flex-basis: 100%;
}

.sch852-karate .sch852-jump {
	display: grid;
	gap: 10px;
	margin: 28px 0 0;
}

.sch852-karate .sch852-jump label {
	font-weight: 600;
}

.sch852-karate .sch852-select {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 52px;
	padding: 12px 36px 12px 16px;
	border: 1px solid #a9b9ad;
	border-radius: 10px;
	background-color: #fff;
	color: var(--sch852-ink);
	font-size: 18px;
}

.sch852-karate .sch852-notes {
	margin-top: 28px;
	padding: 0 18px;
	border: 1px solid var(--sch852-line);
	border-radius: 12px;
	background: #fff;
}

.sch852-karate .sch852-notes summary {
	min-height: 54px;
	padding: 14px 0;
	color: var(--sch852-teal-dark);
	font-weight: 600;
	cursor: pointer;
}

.sch852-karate .sch852-notes[open] summary {
	margin-bottom: 16px;
	border-bottom: 1px solid var(--sch852-line);
}

.sch852-karate .sch852-notes p {
	margin: 16px 0;
	white-space: pre-line;
}

.sch852-karate .sch852-notes img {
	margin: 16px auto;
	border-radius: 10px;
}

.sch852-karate .sch852-resume {
	margin-top: 32px;
	padding: 22px;
	border: 1px solid #c9dacf;
	border-radius: 18px;
	background: var(--sch852-teal-light);
}

.sch852-karate .sch852-resume h2,
.sch852-karate .sch852-resume h3 {
	margin-bottom: 8px;
	font-size: 22px;
}

.sch852-karate .sch852-resume .sch852-button {
	margin-top: 16px;
}

.sch852-karate .sch852-empty {
	margin: 24px 0;
	padding: 24px;
	border: 1px solid var(--sch852-line);
	border-radius: 16px;
	background: #fff;
	color: var(--sch852-muted);
}

.sch852-karate .sch852-completion {
	padding: 30px 0;
	text-align: center;
}

.sch852-karate .sch852-completion h1,
.sch852-karate .sch852-completion h2 {
	font-size: clamp(28px, 5.5vw, 36px);
	line-height: 1.5;
}

.sch852-karate .sch852-completion p {
	margin-top: 16px;
	color: var(--sch852-muted);
}

.sch852-karate .sch852-belt-path {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	width: 100%;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
}

.sch852-karate .sch852-belt {
	--sch852-belt-color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.sch852-karate .sch852-belt::before {
	content: "";
	flex: 0 0 24px;
	width: 24px;
	height: 13px;
	border: 1px solid #6d786d;
	border-radius: 2px;
	background: var(--sch852-belt-color);
}

.sch852-karate .sch852-belt[data-belt="yellow"] { --sch852-belt-color: #edc751; }
.sch852-karate .sch852-belt[data-belt="green"] { --sch852-belt-color: #3c825b; }
.sch852-karate .sch852-belt[data-belt="purple"] { --sch852-belt-color: #815d96; }
.sch852-karate .sch852-belt[data-belt="brown"] { --sch852-belt-color: #855e43; }
.sch852-karate .sch852-belt[data-belt="black"] { --sch852-belt-color: #293331; }

.sch852-karate .sch852-belt-arrow {
	color: var(--sch852-muted);
	font-weight: 400;
}

.sch852-karate button:disabled,
.sch852-karate .sch852-button:disabled {
	border-color: #cfd5cc;
	background: #e8ebe4;
	color: #59665c;
	cursor: not-allowed;
	opacity: 1;
}

.sch852-karate .sch852-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

@media (hover: hover) {
	.sch852-karate button.sch852-choice-card:not(:disabled):hover {
		border-color: var(--sch852-teal);
		background: #f4f9f5;
	}

	.sch852-karate .sch852-button:not(:disabled):hover {
		border-color: var(--sch852-teal);
		background: #eff5ef;
	}

	.sch852-karate .sch852-button--primary:not(:disabled):hover {
		border-color: var(--sch852-teal-dark);
		background: var(--sch852-teal-dark);
	}
}

@media (min-width: 600px) {
	.sch852-karate {
		padding: 36px;
	}

	.sch852-karate .sch852-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.sch852-karate .sch852-player-controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sch852-karate .sch852-practice-top {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.sch852-karate .sch852-player-controls .sch852-button--stop {
		grid-column: 1 / -1;
	}

	.sch852-karate .sch852-jump {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 18px;
	}
}

@media (min-width: 900px) {
	.sch852-karate {
		padding: 48px;
	}

	.sch852-karate button.sch852-choice-card {
		min-height: 188px;
		padding: 28px;
	}

	.sch852-karate .sch852-player-controls,
	.sch852-karate .sch852-navigation,
	.sch852-karate .sch852-continuous,
	.sch852-karate .sch852-jump,
	.sch852-karate .sch852-notes {
		max-width: 760px;
		margin-right: auto;
		margin-left: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sch852-karate *,
	.sch852-karate *::before,
	.sch852-karate *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media (forced-colors: active) {
	.sch852-karate .sch852-belt::before {
		forced-color-adjust: none;
	}

	.sch852-karate .sch852-dot.is-active {
		outline: 2px solid Highlight;
		border-radius: 50%;
	}
}
