.ymp-pinyin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ymp-pinyin-toolbar[hidden] { display: none; }
.ymp-classic > .ymp-pinyin-toolbar { margin: 12px 0 0 51px; }
.ymp-classic > .ymp-pinyin-toolbar + .ymp-reading { margin-top: 8px; }
.ymp-pinyin-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #dbd1c1;
	border-radius: 9px;
	background: #fffdfa;
	color: #244d3b;
	font: 600 15px/1.25 system-ui, sans-serif;
	cursor: pointer;
}
.ymp-pinyin-toggle:hover, .ymp-pinyin-toggle[aria-pressed="true"] { background: #e6eee5; border-color: #7c9a83; }
.ymp-pinyin-toggle:focus-visible { outline: 2px solid #244d3b; outline-offset: 3px; }
.ymp-pinyin-toggle[aria-busy="true"] { opacity: .7; cursor: wait; }
.ymp-pinyin-symbol { font-size: 17px; }
.ymp-pinyin-feedback { color: #556057; font: 14px/1.5 system-ui, sans-serif; }
.entry-content > :where(.ymp-pinyin-text) > * { margin-top: 0; margin-bottom: 1.5em; }
.ymp-pinyin-text.ymp-pinyin-visible { line-break: strict; }
.ymp-pinyin-text .ymp-pinyin-ruby { ruby-position: over; }
.ymp-pinyin-text .ymp-pinyin-ruby rt {
	padding-inline: .12em;
	color: #526953;
	font: 500 max(11px, .66em)/1.3 system-ui, sans-serif;
	letter-spacing: 0;
	white-space: nowrap;
}
@media (max-width: 680px) {
	.ymp-classic > .ymp-pinyin-toolbar { margin-left: 0; }
}
