.dm {
	--dm-ink: #14202e;
	--dm-muted: #55657a;
	--dm-surface: #ffffff;
	--dm-soft: #f1f5f9;
	--dm-line: #d8e0ea;
	--dm-accent: #0b6bcb;
	--dm-accent-soft: #e3f0fc;
	--dm-warm: #d9660f;
	--dm-good: #12805c;
	--dm-sky: #dbeafe;
	--dm-ground: #eef2f6;
	--dm-grid: #c3cedb;
	--dm-radius: 12px;
	box-sizing: border-box;
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 28px 16px 56px;
	background: var(--dm-surface);
	color: var(--dm-ink);
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
}

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

.dm [hidden] {
	display: none !important;
}

.dm h1,
.dm h2 {
	margin: 0 0 12px;
	color: var(--dm-ink);
	line-height: 1.2;
}

.dm h1 {
	font-size: clamp(30px, 6vw, 44px);
}

.dm h2 {
	font-size: clamp(21px, 4vw, 26px);
}

.dm p {
	margin: 0 0 14px;
}

.dm a {
	color: var(--dm-accent);
}

.dm-head {
	margin-bottom: 24px;
}

.dm-kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--dm-muted);
	font-size: 14px;
}

.dm-count {
	margin-left: auto;
}

.dm-lead {
	color: var(--dm-muted);
	font-size: 19px;
}

.dm-definition {
	font-size: clamp(19px, 3vw, 22px);
	line-height: 1.5;
}

.dm-aside {
	color: var(--dm-muted);
	font-size: 15px;
}

.dm-text,
.dm-map,
.dm-shop,
.dm-next {
	margin-top: 40px;
}

.dm-ready .dm-step {
	display: none;
}

.dm-ready .dm-step.is-active {
	display: block;
}

.dm-step + .dm-step {
	margin-top: 28px;
}

.dm-ready .dm-step + .dm-step {
	margin-top: 0;
}

.dm .dm-task {
	padding: 10px 14px;
	border-left: 4px solid var(--dm-warm);
	background: var(--dm-soft);
	font-weight: 600;
}

.dm-player {
	margin-top: 20px;
}

.dm:not(.dm-ready) .dm-controls {
	display: none;
}

.dm-stage {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dm-screen {
	position: relative;
}

.dm .dm-canvas {
	display: block;
	width: 100%;
	height: clamp(260px, 52vw, 420px);
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
	background: var(--dm-sky);
}

.dm .dm-canvas:focus-visible {
	outline: 3px solid var(--dm-accent);
	outline-offset: 2px;
}

.dm .dm-hud {
	position: absolute;
	top: 10px;
	left: 10px;
	margin: 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.dm .dm-banner {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 10px;
	border: 2px solid var(--dm-warm);
	border-radius: var(--dm-radius);
	background: var(--dm-surface);
	font-weight: 600;
}

.dm-motors {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.dm-motor {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 8px;
	padding: 8px 10px;
	border: 2px solid var(--dm-line);
	border-radius: var(--dm-radius);
	font-size: 14px;
	line-height: 1.35;
}

.dm-motor.is-faster {
	border-color: var(--dm-warm);
	background: #fff3e8;
}

.dm-motor.is-slower {
	border-style: dashed;
	opacity: 0.75;
}

.dm-motor-name {
	font-weight: 600;
}

.dm-motor b {
	font-variant-numeric: tabular-nums;
}

.dm-meter,
.dm-motor-spin {
	grid-column: 1 / -1;
}

.dm-meter {
	display: block;
	height: 6px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--dm-soft);
}

.dm-meter i {
	display: block;
	height: 100%;
	background: var(--dm-accent);
}

.dm-motor-spin {
	color: var(--dm-muted);
	font-size: 12px;
}

.dm-pads {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.dm-pad {
	display: grid;
	flex: 1 1 140px;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	max-width: 300px;
	margin: 0 auto;
}

.dm-pad .dm-key-up,
.dm-pad .dm-key-down,
.dm-pad .dm-key-forward,
.dm-pad .dm-key-back {
	grid-column: 1 / -1;
}

.dm .dm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--dm-line);
	border-radius: 8px;
	background: var(--dm-surface);
	box-shadow: none;
	color: var(--dm-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.dm .dm-btn:hover {
	border-color: var(--dm-accent);
}

.dm .dm-btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.dm .dm-btn.is-down {
	border-color: var(--dm-accent);
	background: var(--dm-accent-soft);
}

.dm .dm-btn-primary {
	border-color: var(--dm-accent);
	background: var(--dm-accent);
	color: #ffffff;
}

.dm .dm-key {
	padding: 8px 6px;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.dm .dm-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
}

.dm-range {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.dm .dm-range input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	accent-color: var(--dm-accent);
}

.dm-range-value {
	min-width: 3.2em;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.dm-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dm-stat {
	display: flex;
	flex: 1 1 140px;
	flex-direction: column;
	padding: 8px 12px;
	border-radius: var(--dm-radius);
	background: var(--dm-soft);
}

.dm-stat b {
	font-size: 20px;
	font-variant-numeric: tabular-nums;
}

.dm-stat span {
	color: var(--dm-muted);
	font-size: 13px;
}

.dm .dm-tasks {
	margin: 0;
	padding-left: 22px;
}

.dm-tasks li {
	color: var(--dm-muted);
}

.dm-tasks li.is-active {
	color: var(--dm-ink);
	font-weight: 700;
}

.dm-tasks li.is-done {
	color: var(--dm-good);
	text-decoration: line-through;
}

.dm .dm-note {
	min-height: 1.6em;
	margin: 0;
	font-weight: 600;
}

.dm-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--dm-line);
}

.dm-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.dm .dm-dots button {
	width: 28px;
	height: 28px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 9px solid transparent;
	border-radius: 50%;
	background: var(--dm-grid);
	background-clip: padding-box;
	box-shadow: none;
	cursor: pointer;
}

.dm .dm-dots button.is-done {
	background-color: #8fbbe6;
}

.dm .dm-dots button.is-active {
	background-color: var(--dm-accent);
}

.dm-map {
	display: grid;
	gap: 28px;
}

.dm .dm-map ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-map li {
	display: flex;
	margin: 0;
}

.dm .dm-card {
	display: flex;
	width: 100%;
	flex-direction: column;
	padding: 12px 14px;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
	background: var(--dm-soft);
	color: var(--dm-ink);
	line-height: 1.35;
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.dm-card span {
	color: var(--dm-muted);
	font-size: 14px;
}

.dm a.dm-card:hover,
.dm a.dm-card:focus-visible {
	border-color: var(--dm-accent);
	box-shadow: 0 0 0 1px var(--dm-accent);
	color: var(--dm-ink);
	text-decoration: none;
}

.dm .dm-card.is-current {
	border-color: var(--dm-accent);
	background: var(--dm-accent-soft);
}

.dm .dm-card.is-soon {
	border-style: dashed;
	background: var(--dm-surface);
}

.dm-card em {
	margin-top: 4px;
	color: var(--dm-warm);
	font-size: 13px;
}

.dm-text h2 {
	margin-top: 32px;
}

.dm-text h2:first-child {
	margin-top: 0;
}

.dm .dm-text ul {
	margin: 0 0 14px;
	padding-left: 22px;
	list-style: disc;
}

.dm-text li {
	margin-bottom: 6px;
}

.dm-shop {
	padding: 20px;
	border-radius: var(--dm-radius);
	background: var(--dm-soft);
}

.dm .dm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.dm .dm-chip {
	padding: 8px 14px;
	border: 1px solid var(--dm-line);
	border-radius: 999px;
	background: var(--dm-surface);
	font-size: 15px;
	text-decoration: none;
}

.dm .dm-next a {
	display: flex;
	flex-direction: column;
	padding: 14px 18px;
	border: 1px solid var(--dm-accent);
	border-radius: var(--dm-radius);
	text-align: right;
	text-decoration: none;
}

.dm .dm-btn-sm {
	min-height: 36px;
	padding: 5px 12px;
	font-size: 14px;
}

.dm a.dm-btn {
	color: var(--dm-ink);
}

.dm-parts {
	display: block;
	width: 100%;
	max-height: 420px;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
	background: var(--dm-ground);
}

.dm-parts g {
	cursor: pointer;
}

.dm-face {
	stroke: #33445a;
	stroke-width: 0.8;
	stroke-linejoin: round;
}

.dm-face-top {
	fill: #cbd5e3;
}

.dm-face-front {
	fill: #8796ac;
}

.dm-face-side {
	fill: #a6b3c6;
}

.dm-face-glass {
	fill: rgba(11, 107, 203, 0.1);
	stroke: rgba(11, 107, 203, 0.55);
}

.dm-parts .is-selected .dm-face {
	stroke: #7a3600;
}

.dm-parts .is-selected .dm-face-top {
	fill: #ffb374;
}

.dm-parts .is-selected .dm-face-front {
	fill: #d9660f;
}

.dm-parts .is-selected .dm-face-side {
	fill: #f08a3c;
}

.dm-parts .is-selected .dm-face-glass {
	fill: rgba(217, 102, 15, 0.22);
}

.dm-guide {
	stroke: var(--dm-grid);
	stroke-width: 1.5;
	stroke-dasharray: 6 5;
}

.dm-arrow {
	stroke: var(--dm-warm);
	stroke-width: 3;
}

.dm-arrow-head {
	fill: var(--dm-warm);
}

.dm-info {
	min-height: 11em;
	padding: 14px 16px;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
}

.dm .dm-info h3 {
	margin: 0 0 8px;
	color: var(--dm-ink);
	font-size: 19px;
}

.dm .dm-info p:last-child {
	margin-bottom: 0;
}

.dm-range-name {
	min-width: 7.5em;
}

.dm-view {
	display: block;
	width: 100%;
	max-height: 380px;
	overflow: hidden;
	border: 6px solid var(--dm-ink);
	border-radius: var(--dm-radius);
	background: #bfdbfe;
}

.dm-view-sky {
	fill: #bfdbfe;
}

.dm-view-ground {
	fill: #86b96a;
}

.dm-view-sun {
	fill: #fbbf24;
}

.dm-view-hill {
	fill: #5f9a55;
}

.dm-view-house {
	fill: #f1f5f9;
}

.dm-view-roof {
	fill: #b4532a;
}

.dm-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px;
}

.dm-field {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 4px 8px;
	padding: 10px 12px;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
}

.dm-field-name {
	font-size: 15px;
	font-weight: 600;
}

.dm .dm-field-value input {
	width: 6.5em;
	height: auto;
	margin: 0 6px 0 0;
	padding: 4px 8px;
	border: 1px solid var(--dm-line);
	border-radius: 6px;
	background: var(--dm-surface);
	color: var(--dm-ink);
	font: inherit;
	font-size: 16px;
	text-align: right;
}

.dm .dm-field input[type="range"] {
	grid-column: 1 / -1;
	width: 100%;
	min-height: 36px;
	accent-color: var(--dm-accent);
}

.dm-result {
	padding: 14px 18px;
	border-radius: var(--dm-radius);
	background: var(--dm-accent-soft);
	text-align: center;
}

.dm .dm-hero {
	margin: 0;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
}

.dm .dm-stage h2 {
	margin: 12px 0 0;
}

.dm-chart-box {
	position: relative;
}

.dm-chart {
	display: block;
	max-width: 100%;
	touch-action: pan-y;
}

.dm-chart text {
	fill: var(--dm-muted);
	font-size: 12px;
}

.dm-chart .dm-label {
	fill: var(--dm-ink);
	font-weight: 600;
}

.dm-gridline {
	stroke: var(--dm-line);
	stroke-width: 1;
}

.dm-line {
	fill: none;
	stroke: var(--dm-accent);
	stroke-width: 2;
	stroke-linejoin: round;
}

.dm-dot {
	fill: var(--dm-accent);
	stroke: var(--dm-surface);
	stroke-width: 2;
}

.dm-cross {
	stroke: var(--dm-muted);
	stroke-width: 1;
}

.dm-tip {
	position: absolute;
	top: 4px;
	display: flex;
	flex-direction: column;
	padding: 6px 10px;
	transform: translateX(-50%);
	border: 1px solid var(--dm-line);
	border-radius: 8px;
	background: var(--dm-surface);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
	font-size: 13px;
	line-height: 1.35;
	white-space: nowrap;
	pointer-events: none;
}

.dm .dm-table table {
	width: 100%;
	margin: 8px 0 0;
	border-collapse: collapse;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

.dm .dm-table th,
.dm .dm-table td {
	padding: 6px 8px;
	border: 0;
	border-bottom: 1px solid var(--dm-line);
	color: var(--dm-ink);
	text-align: right;
}

.dm-tool-page .dm-text {
	margin-top: 40px;
}

.dm-diagram {
	display: block;
	width: 100%;
	max-height: 380px;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
	background: var(--dm-ground);
}

.dm-diagram text {
	fill: var(--dm-muted);
	font-size: 13px;
}

.dm-beam {
	stroke: #33445a;
	stroke-width: 7;
	stroke-linecap: round;
}

.dm-disc {
	fill: rgba(11, 107, 203, 0.14);
	stroke: var(--dm-accent);
	stroke-width: 1.5;
}

.dm-hub {
	fill: var(--dm-ink);
}

.dm-rotor {
	cursor: pointer;
}

.dm-rotor.is-dead .dm-disc {
	fill: rgba(217, 102, 15, 0.12);
	stroke: var(--dm-warm);
	stroke-dasharray: 5 4;
}

.dm-cross-mark {
	stroke: var(--dm-warm);
	stroke-width: 5;
	stroke-linecap: round;
}

.dm-air {
	stroke: #93b4d6;
	stroke-width: 2;
	stroke-dasharray: 22 14;
}

.dm-view-gate {
	fill: none;
	stroke: var(--dm-warm);
	stroke-width: 4;
}

.dm-view-aim {
	fill: none;
	stroke: var(--dm-ink);
	stroke-width: 2.5;
}

.dm-scale {
	aspect-ratio: 16 / 9;
	background: var(--dm-sky);
}

.dm-scale .dm-view-ground {
	fill: #d7e3cf;
}

.dm-shape {
	fill: #7d8ca3;
}

.dm-shape-dark {
	fill: #33445a;
}

.dm-shape-accent {
	fill: var(--dm-accent);
}

.dm-scale .is-focus .dm-shape {
	fill: #d9660f;
}

.dm-scale .is-focus .dm-shape-dark {
	fill: #8a3f08;
}

.dm .dm-caption {
	display: flex;
	flex-direction: column;
	margin: 0;
	text-align: center;
}

.dm-caption span {
	color: var(--dm-muted);
}

.dm-compare-heads,
.dm-compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 16px;
}

.dm .dm-select {
	width: 100%;
	height: auto;
	min-height: 44px;
	padding: 8px;
	border: 1px solid var(--dm-line);
	border-radius: 8px;
	background: var(--dm-surface);
	color: var(--dm-ink);
	font: inherit;
	font-size: 15px;
}

.dm .dm-compare-name {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	font-weight: 600;
}

.dm-compare-bar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dm-compare-bar .dm-meter {
	flex: 1;
	height: 10px;
}

.dm-compare-bar b {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.dm-compare-bar.is-second .dm-meter i {
	background: var(--dm-warm);
}

.dm-question p {
	margin: 0 0 6px;
	font-weight: 600;
	text-align: center;
}

.dm-answer {
	padding: 18px;
	border: 2px solid var(--dm-accent);
	border-radius: var(--dm-radius);
}

.dm .dm-answer h2 {
	margin-top: 0;
}

.dm .dm-answer-kicker {
	margin: 0;
	color: var(--dm-muted);
	font-size: 14px;
}

.dm .dm-answer ul {
	margin: 0 0 14px;
	padding-left: 22px;
	list-style: disc;
}

.dm-parts {
	max-height: 520px;
	background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #e8eef6 60%, #d3ddea 100%);
}

.dm-parts .dm-guide {
	stroke: #8796ac;
	stroke-width: 0.9;
	stroke-dasharray: 3 3;
}

.dm-parts.dm-air-back {
	background: linear-gradient(#a9cdf2, #eef6fd);
}

.dm-diagram {
	background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #e8eef6 60%, #d3ddea 100%);
}

.dm-diagram.dm-sky {
	background: #9cc8f0 url(../img/sky.webp) no-repeat center bottom / cover;
}

.dm-diagram.dm-sky .dm-air {
	stroke: #ffffff;
	stroke-width: 1.6;
	opacity: 0.8;
}

.dm-diagram.dm-scale {
	background: #a9cdf2 url(../img/sky.webp) no-repeat center top / auto 86%;
}

.dm-hit {
	fill: transparent;
}

.dm-rotor:focus-visible .dm-hit {
	stroke: var(--dm-accent);
	stroke-width: 3;
}

.dm-view {
	border-radius: 22px;
}

.dm-view .dm-view-aim {
	stroke: #ffffff;
	stroke-width: 1.8;
}

.dm-view .dm-osd {
	fill: #ffffff;
	stroke: #14202e;
	stroke-width: 2.4;
	paint-order: stroke;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 10px;
	font-weight: 700;
}

.dm-portrait {
	display: block;
	width: 100%;
	max-height: 260px;
	margin-bottom: 12px;
	border-radius: var(--dm-radius);
	background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #e4ecf7 70%, #d3ddea 100%);
}

.dm-screen {
	overflow: hidden;
	border-radius: var(--dm-radius);
}

.dm-picture,
.dm-shot {
	display: block;
	width: 100%;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
}

.dm-picture {
	aspect-ratio: 340 / 190;
}

.dm-shot {
	height: auto;
	aspect-ratio: 16 / 9;
}

.dm .dm-cloud {
	touch-action: none;
	cursor: grab;
}

.dm-timeline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.dm .dm-timeline button {
	min-height: 32px;
	margin: 0;
	padding: 4px 12px;
	border: 1px solid var(--dm-line);
	border-radius: 999px;
	background: var(--dm-surface);
	box-shadow: none;
	color: var(--dm-ink);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.dm .dm-timeline button.is-active {
	border-color: var(--dm-accent);
	background: var(--dm-accent);
	color: #ffffff;
}

.dm-with-map {
	display: grid;
	grid-template-columns: minmax(120px, 220px) 1fr;
	align-items: center;
	gap: 12px;
}

.dm-minimap {
	display: block;
	width: 100%;
	border-radius: 8px;
	cursor: crosshair;
	touch-action: none;
}

.dm-footprint {
	fill: rgba(255, 255, 255, 0.18);
	stroke: #ffffff;
	stroke-width: 3;
}

.dm-compare-view {
	position: relative;
	max-width: 520px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--dm-radius);
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
}

.dm .dm-compare-view img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	pointer-events: none;
}

.dm .dm-compare-view .dm-over {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

.dm-edge {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 3px;
	margin-left: -1px;
	background: #ffffff;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.dm-legend {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--dm-muted);
	font-size: 14px;
}

.dm-legend i {
	width: 180px;
	height: 12px;
	border-radius: 6px;
}

.dm-legend .is-heat {
	background: linear-gradient(90deg, #04061e, #24146a, #7e1c8c, #d63c46, #fa961e, #ffe85a);
}

.dm-legend .is-plant {
	background: linear-gradient(90deg, #283c96, #b03c2c, #f09628, #f5e046, #78be3c, #0c682c);
}

.dm-bench {
	max-height: 380px;
	margin: 0;
	cursor: grab;
	touch-action: pan-y;
}

.dm .dm-warnings {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-warnings li {
	margin: 0 0 6px;
	padding: 8px 12px;
	border-left: 4px solid var(--dm-warm);
	background: #fff3e8;
}

.dm-warnings li.is-good {
	border-left-color: var(--dm-good);
	background: #e6f5ef;
}

.dm-ratings,
.dm-weights {
	display: grid;
	grid-template-columns: max-content 1fr;
	align-items: center;
	gap: 8px 12px;
	font-size: 15px;
}

.dm-weights {
	grid-template-columns: max-content 1fr max-content;
}

.dm-ratings .dm-meter,
.dm-weights .dm-meter {
	grid-column: auto;
	height: 10px;
}

.dm-weights b {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.dm a.dm-btn.dm-btn-primary {
	color: #ffffff;
}

.dm-compare-view {
	aspect-ratio: 1;
}

@media (max-width: 420px) {
	.dm .dm-dots button {
		width: 18px;
		height: 18px;
		border-width: 5px;
	}
}

.dm .dm-sources {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0 0 14px;
	color: var(--dm-muted);
	font-size: 14px;
}

.dm-sources span {
	font-weight: 600;
}

.dm .dm-search {
	width: 100%;
	height: auto;
	min-height: 48px;
	padding: 10px 14px;
	border: 2px solid var(--dm-accent);
	border-radius: var(--dm-radius);
	background: var(--dm-surface);
	color: var(--dm-ink);
	font: inherit;
}

.dm .dm-terms dl {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
	margin: 0 0 24px;
}

.dm .dm-term {
	padding: 10px 14px;
	border: 1px solid var(--dm-line);
	border-radius: var(--dm-radius);
}

.dm .dm-term dt {
	margin: 0;
	color: var(--dm-ink);
	font-size: 18px;
	font-weight: 700;
}

.dm .dm-term dt span {
	display: block;
	color: var(--dm-accent);
	font-size: 14px;
	font-weight: 600;
}

.dm .dm-term dd {
	margin: 4px 0 0;
	font-size: 15px;
}

.dm .dm-text ul {
	margin: 0 0 14px;
	padding-left: 22px;
	list-style: disc;
}

.dm-checks p {
	margin: 0 0 4px;
	font-weight: 700;
}

.dm .dm-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	margin: 0;
	cursor: pointer;
}

.dm .dm-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	flex: none;
	accent-color: var(--dm-good);
}

.dm-check input:checked + span {
	color: var(--dm-muted);
	text-decoration: line-through;
}

.dm-costs {
	display: grid;
	gap: 6px;
}

.dm .dm-cost {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}

.dm .dm-cost input {
	width: 8em;
	height: auto;
	min-height: 40px;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid var(--dm-line);
	border-radius: 8px;
	background: var(--dm-surface);
	color: var(--dm-ink);
	font: inherit;
	text-align: right;
}

.dm .dm-quiz-text {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	text-align: center;
}

.dm .dm-stage .dm-info {
	min-height: 5.5em;
}

.dm .dm-facts {
	margin: 0 0 10px;
	padding-left: 30px;
	list-style: decimal;
}

.dm-facts li {
	margin-bottom: 8px;
}

.dm-frame {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: #ffffff;
}

.dm.dm-embed {
	padding: 12px;
}

.dm-embed .dm-step h2 {
	margin-top: 0;
}

.dm-embed[data-single] .dm-controls,
.dm-embed[data-single] .dm-timeline {
	display: none;
}

.dm-embed .dm-text > .dm-aside {
	display: none;
}

.dm .dm-credit {
	margin: 12px 0 0;
	color: var(--dm-muted);
	font-size: 13px;
	text-align: right;
}
