/* 手机端专属布局。此文件不会在宽度大于700px时加载。 */
@media (max-width: 700px) {
  .toast { top: 82px; width: max-content; max-width: calc(100% - 32px); white-space: normal; }
  .header-inner { width: calc(100% - 28px); height: 58px; }
  .brand { font-size: 15px; }
  .brand-mark { font-size: 21px; }
  nav { gap: 12px; font-size: 13px; }
  .page-shell { width: calc(100% - 24px); margin-top: 16px; }
  .step-card { padding: 18px 15px; margin-bottom: 14px; border-radius: 13px; }
  .step-index { width: 32px; height: 32px; flex-basis: 32px; font-size: 16px; }
  h2 { font-size: 18px; }
  .step-heading p { display: none; }
  .section-bar { margin-bottom: 16px; }
  .raw-input { height: 50px; margin-top: 18px; padding: 0 13px; font-size: 14px; }
  .actions { display: grid; grid-template-columns: 1fr 1.45fr; }
  .button { padding: 12px 8px; }
  .copy-btn { padding: 7px 10px; font-size: 13px; }
  .hash-output { padding: 14px; font-size: 13px; }
  .hex-grid { grid-template-columns: 1fr; }
  .hex-item { padding: 10px 13px; }
  th, td { padding: 10px 8px; font-size: 13px; }
  th:nth-child(4), td:nth-child(4) { display: none; }
  .result-grid { grid-template-columns: repeat(5, 1fr); gap: 16px 9px; }
  .number-tile { font-size: 24px; }
  .result-item small { margin-top: 7px; font-size: 11px; }
  .result-placeholder { padding: 32px 10px; }
  .rules-dialog { width: calc(100% - 20px); max-height: 88vh; border-radius: 13px; }
  .dialog-header { padding: 16px; }
  .dialog-header h2 { font-size: 19px; }
  .dialog-body { padding: 18px 16px 22px; }
  .rule-columns { grid-template-columns: 1fr; }
}
