@media screen and (max-width: 760px) {
  html { scroll-padding-block-end: 84px; }
  main { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sidebar nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 5;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
    background: #f8fdff;
    border-top: 1px solid #dcecf2;
  }
  .sidebar .nav-btn {
    min-height: 54px;
    flex-direction: column;
    gap: 3px;
    font-size: .68rem;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .sidebar .nav-btn span:last-child { display: block; }
  .section-head > *, .setting-row > *, .prompt-card, .today-center { min-width: 0; max-width: 100%; }
  .about-copy, .mention-detail-list { overflow-wrap: anywhere; }
  .lock-card, .modal-card, .onboard-card { max-height: 90dvh; overflow-y: auto; }
  .action-row button { min-height: 48px; }
  textarea { scroll-margin-block: 16px 84px; }
}
