/* Local feasibility experiment: desktop theme stays unchanged. */
.mobile-menu { display: none; }
@media (max-width: 800px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  *, *::before, *::after { box-sizing: border-box; }
  body { background: #fff; font: 16px/1.65 Arial, Helvetica, sans-serif; margin: 0; padding: 0; }
  #wrap { width: auto; max-width: 100%; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 20px; }
  #header { order: 0; min-width: 0; }
  #header h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 12px 0; overflow-wrap: anywhere; }
  #toplinks { padding: 0; margin: 0; font-size: .75rem; }
  #toplinks img { max-width: 120px; vertical-align: middle; }
  #slogan { font-size: 1rem; line-height: 1.45; letter-spacing: 0; margin: 0 0 16px; }
  #content, #contentalt { order: 2; width: auto; min-width: 0; max-width: 100%; float: none; margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
  #sidebar { order: 1; float: none; width: auto; min-width: 0; margin: 0; padding: 12px; border: 1px solid #ddd; border-radius: 6px; }
  #sidebar[data-mobile-open="false"] { display: none; }
  #sidebar ul { margin: 0; padding: 0; font-size: 1rem; }
  #sidebar li a { display: inline-block; padding: 7px 0; font-size: 1rem; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid currentColor; border-radius: 6px; color: inherit; background: #fff; font: inherit; cursor: pointer; }
  #content h2 { font-size: 1.4rem; line-height: 1.3; margin: 0 0 20px; padding: 0 0 8px; letter-spacing: -.02em; }
  #content h3 { font-size: 1.15rem; line-height: 1.4; letter-spacing: 0; }
  p { margin: 0 0 1rem; }
  a { overflow-wrap: anywhere; }
  ul, ol { font-size: 1rem; margin: 0 0 1rem; padding-left: 1.4rem; }
  dd { margin-left: 1.2rem; }
  img { max-width: 100%; height: auto !important; }
  img.left, img.right, img.photo { float: none; display: block; margin: 0 auto 20px; max-width: min(100%, 300px); }
  table { display: block; max-width: 100%; overflow-x: auto; }
  pre { max-width: 100%; overflow-x: auto; }
  nobr { white-space: normal; }
  .box, blockquote { margin: 20px 0; padding: 14px; font-size: .95rem; }
  .adsbygoogle, iframe { max-width: 100%; overflow: hidden; }
  #footer { order: 3; width: auto; max-width: 100%; font-size: .85rem; line-height: 1.65; text-align: left; overflow-wrap: anywhere; }
}
