/* 修复缺失插件造成的布局，并保留原站配色与正文。 */
.tm-content { overflow-wrap: anywhere; }
.site-main { overflow-wrap: anywhere; min-width: 0; }
.site-main a { overflow-wrap: anywhere; }
.tm-content img { max-width: 100%; height: auto; }
.restoration-notice { padding: 12px 16px; margin: 0 0 24px; border-left: 3px solid #956f48; background: #f5f1ec; color: #493827; font-size: 14px; line-height: 1.6; }
.restoration-missing { background: #f5f1ec; border: 1px solid #ddd1c3; min-height: 90px; object-fit: contain; }
.restoration-ai-label { display: block; color: #70583d; font: 12px/1.5 Arial, sans-serif; padding: 5px 0 10px; }
.speasyimagegallery-row { display: flex; flex-wrap: wrap; gap: 24px; }
.speasyimagegallery-col-sm-4 { flex: 1 1 220px; min-width: 0; }
.speasyimagegallery-gallery-item { display: block; margin-bottom: 24px; }
.speasyimagegallery-gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.speasyimagegallery-gallery-item-title { display: block; padding: 8px 0; }
.sppb-row { display: flex; flex-wrap: wrap; gap: 20px; }
.sppb-col-md-4 { flex: 1 1 260px; min-width: 0; }
.sppb-col-md-6 { flex: 1 1 360px; min-width: 0; }
.sppb-col-md-12 { flex: 0 0 100%; }
.sppb-text-center { text-align: center; }
.sppb-addon-title { overflow-wrap: anywhere; }
.sppb-addon-divider-wrap { border-top: 1px solid #ddd; margin: 18px 0; }
.uk-navbar-toggle:after { content: '☰'; font-family: Arial, sans-serif; }
.top-scroller .uk-icon-angle-up:before { content: '↑'; font-family: Arial, sans-serif; }
.uk-navbar-nav > .uk-parent > a:after { content: '▾'; font-family: Arial, sans-serif; }
@media (max-width: 767px) {
  /* 行内浮动必须在窄屏覆盖，避免正文被挤成单字列。 */
  .tm-content img[style*="float"] { float: none !important; display: block; margin: 12px auto !important; }
  .tm-content p, .tm-content h1, .tm-content h2 { text-align: left; }
  .tm-content [style*="justify"] { text-align: left !important; }
  .tm-content h1 { font-size: 25px; line-height: 1.45; }
  .speasyimagegallery-col-sm-4 { flex-basis: 100%; }
}
